Qemu Command : qemu-system-mips64el -kernel kernel.img -initrd rootfs.img -append console=ttyS0 -m 512M -nographic -serial pipe:guest_pipe -no-reboot Qemu Version : QEMU emulator version 8.1.2 Copyright (c) 2003-2023 Fabrice Bellard and the QEMU Project developers [ 0.000000] Linux version 6.5.10 (ramin@ramin-pc) (mips64el-openadk-linux-uclibcabin32-gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.41) #1 SMP Wed Nov 22 23:43:59 CET 2023 [ 0.000000] earlycon: uart8250 at I/O port 0x3f8 (options '38400n8') [ 0.000000] printk: bootconsole [uart8250] enabled [ 0.000000] CPU0 revision is: 000182a0 (MIPS 20Kc) [ 0.000000] FPU revision is: 000f8200 [ 0.000000] MIPS: machine is mti,malta [ 0.000000] Software DMA cache coherency enabled [ 0.000000] Initial ramdisk at: 0x900000000f5e0000 (10507776 bytes) [ 0.000000] Primary instruction cache 32kB, VIVT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000000000-0x0000000000ffffff] [ 0.000000] DMA32 [mem 0x0000000001000000-0x00000000ffffffff] [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x000000000fffffff] [ 0.000000] node 0: [mem 0x0000000090000000-0x000000009fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000009fffffff] [ 0.000000] random: crng init done [ 0.000000] percpu: Embedded 14 pages/cpu s20336 r8192 d28816 u57344 [ 0.000000] Kernel command line: rd_start=0xffffffff8f5e0000 rd_size=10507776 console=ttyS0 [ 0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.000000] Enable cache parity protection for MIPS 20KC/25KF CPUs. [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 122112 [ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off [ 0.000000] Memory: 467096K/524288K available (6381K kernel code, 782K rwdata, 1412K rodata, 304K init, 321K bss, 57192K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1 [ 0.000000] NR_IRQS: 256 [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 0.000000] CPU frequency 320.00 MHz [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5972697034 ns [ 0.000104] sched_clock: 32 bits at 320MHz, resolution 3ns, wraps every 6710895614ns [ 0.008554] Console: colour dummy device 80x25 [ 0.010987] Calibrating delay loop... 2146.30 BogoMIPS (lpj=4292608) [ 0.046144] pid_max: default: 32768 minimum: 301 [ 0.048481] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.048721] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.071825] rcu: Hierarchical SRCU implementation. [ 0.071989] rcu: Max phase no-delay instances is 1000. [ 0.075443] smp: Bringing up secondary CPUs ... [ 0.075716] smp: Brought up 1 node, 1 CPU [ 0.085190] devtmpfs: initialized [ 0.091204] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.091738] futex hash table entries: 256 (order: 2, 16384 bytes, linear) [ 0.096421] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.115178] SCSI subsystem initialized [ 0.116431] usbcore: registered new interface driver usbfs [ 0.116774] usbcore: registered new interface driver hub [ 0.117028] usbcore: registered new device driver usb [ 0.117438] pps_core: LinuxPPS API ver. 1 registered [ 0.117568] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [ 0.117842] PTP clock support registered [ 0.126559] PCI host bridge to bus 0000:00 [ 0.126940] pci_bus 0000:00: root bus resource [mem 0x10000000-0x17ffffff] [ 0.127489] pci_bus 0000:00: root bus resource [io 0x1000-0x1fffff] [ 0.127842] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 0.129301] pci 0000:00:00.0: [11ab:4620] type 00 class 0x060000 [ 0.130031] pci 0000:00:00.0: [Firmware Bug]: reg 0x14: invalid BAR (can't size) [ 0.130237] pci 0000:00:00.0: [Firmware Bug]: reg 0x18: invalid BAR (can't size) [ 0.130439] pci 0000:00:00.0: [Firmware Bug]: reg 0x1c: invalid BAR (can't size) [ 0.130625] pci 0000:00:00.0: [Firmware Bug]: reg 0x20: invalid BAR (can't size) [ 0.130818] pci 0000:00:00.0: [Firmware Bug]: reg 0x24: invalid BAR (can't size) [ 0.133046] pci 0000:00:0a.0: [8086:7110] type 00 class 0x060100 [ 0.133716] pci 0000:00:0a.1: [8086:7111] type 00 class 0x010180 [ 0.134084] pci 0000:00:0a.1: reg 0x20: [io 0x0000-0x000f] [ 0.134314] pci 0000:00:0a.1: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7] [ 0.134537] pci 0000:00:0a.1: legacy IDE quirk: reg 0x14: [io 0x03f6] [ 0.134738] pci 0000:00:0a.1: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177] [ 0.134931] pci 0000:00:0a.1: legacy IDE quirk: reg 0x1c: [io 0x0376] [ 0.135342] pci 0000:00:0a.2: [8086:7112] type 00 class 0x0c0300 [ 0.135568] pci 0000:00:0a.2: reg 0x20: [io 0x0000-0x001f] [ 0.136201] pci 0000:00:0a.3: [8086:7113] type 00 class 0x068000 [ 0.136762] pci 0000:00:0a.3: quirk: [io 0x1000-0x103f] claimed by PIIX4 ACPI [ 0.136994] pci 0000:00:0a.3: quirk: [io 0x1100-0x110f] claimed by PIIX4 SMB [ 0.137489] pci 0000:00:0b.0: [1022:2000] type 00 class 0x020000 [ 0.137676] pci 0000:00:0b.0: reg 0x10: [io 0x0000-0x001f] [ 0.137828] pci 0000:00:0b.0: reg 0x14: [mem 0x00000000-0x0000001f] [ 0.138030] pci 0000:00:0b.0: reg 0x30: [mem 0x00000000-0x0003ffff pref] [ 0.138511] pci 0000:00:12.0: [1013:00b8] type 00 class 0x030000 [ 0.138699] pci 0000:00:12.0: reg 0x10: [mem 0x00000000-0x01ffffff pref] [ 0.138874] pci 0000:00:12.0: reg 0x14: [mem 0x00000000-0x00000fff] [ 0.139076] pci 0000:00:12.0: reg 0x30: [mem 0x00000000-0x0000ffff pref] [ 0.139708] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00 [ 0.141151] pci 0000:00:12.0: BAR 0: assigned [mem 0x10000000-0x11ffffff pref] [ 0.141550] pci 0000:00:0b.0: BAR 6: assigned [mem 0x12000000-0x1203ffff pref] [ 0.141777] pci 0000:00:12.0: BAR 6: assigned [mem 0x12040000-0x1204ffff pref] [ 0.141972] pci 0000:00:12.0: BAR 1: assigned [mem 0x12050000-0x12050fff] [ 0.142170] pci 0000:00:0a.2: BAR 4: assigned [io 0x1040-0x105f] [ 0.142342] pci 0000:00:0b.0: BAR 0: assigned [io 0x1060-0x107f] [ 0.142519] pci 0000:00:0b.0: BAR 1: assigned [mem 0x12051000-0x1205101f] [ 0.142690] pci 0000:00:0a.1: BAR 4: assigned [io 0x1080-0x108f] [ 0.146901] pci 0000:00:12.0: vgaarb: setting as boot VGA device [ 0.147116] pci 0000:00:12.0: vgaarb: bridge control possible [ 0.147302] pci 0000:00:12.0: vgaarb: VGA device added: decodes=io+mem,owns=none,locks=none [ 0.147541] vgaarb: loaded [ 0.149166] clocksource: Switched to clocksource MIPS [ 0.160645] NET: Registered PF_INET protocol family [ 0.162177] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.166910] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.167203] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.167434] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.167762] TCP bind hash table entries: 4096 (order: 5, 131072 bytes, linear) [ 0.168258] TCP: Hash tables configured (established 4096 bind 4096) [ 0.169832] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.170196] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.171294] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.172247] pci 0000:00:0a.2: enabling device (0000 -> 0001) [ 0.173156] PCI: CLS 0 bytes, default 32 [ 0.179329] Unpacking initramfs... [ 0.201294] workingset: timestamp_bits=62 max_order=17 bucket_order=0 [ 0.203774] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 0.204064] io scheduler mq-deadline registered [ 0.204231] io scheduler kyber registered [ 0.208761] cirrusfb 0000:00:12.0: vgaarb: deactivate vga console [ 0.209216] cirrusfb 0000:00:12.0: enabling device (0000 -> 0002) [ 0.210183] cirrusfb 0000:00:12.0: Cirrus Logic chipset on PCI bus, RAM (4096 kB) at 0x10000000 [ 0.286763] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.294481] printk: console [ttyS0] disabled [ 0.317372] serial8250.0: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A [ 0.317610] serial8250.0: ttyS0 extra baud rates supported: 230400, 460800 [ 0.317610] serial8250.0: ttyS0 extra baud rates supported: 230400, 460800 [ 0.319157] printk: console [ttyS0] enabled [ 0.319157] printk: console [ttyS0] enabled [ 0.319971] printk: bootconsole [uart8250] disabled [ 0.319971] printk: bootconsole [uart8250] disabled [ 0.333319] Freeing initrd memory: 10260K [ 0.355807] serial8250.0: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A [ 0.356014] serial8250.0: ttyS1 extra baud rates supported: 230400, 460800 [ 0.378147] serial8250.0: ttyS2 at MMIO 0x1f000900 (irq = 20, base_baud = 230400) is a 16550A [ 0.380719] ata_piix 0000:00:0a.1: enabling device (0000 -> 0001) [ 0.386910] scsi host0: ata_piix [ 0.389190] scsi host1: ata_piix [ 0.389575] ata1: PATA max UDMA/33 cmd 0x1f0 ctl 0x3f6 bmdma 0x1080 irq 14 [ 0.389780] ata2: PATA max UDMA/33 cmd 0x170 ctl 0x376 bmdma 0x1088 irq 15 [ 0.390859] pcnet32 0000:00:0b.0: enabling device (0000 -> 0003) [ 0.392014] pcnet32: PCnet/PCI II 79C970A at 0x1060, 52:54:00:12:34:56 assigned IRQ 11 [ 0.394777] pcnet32: eth0: registered as PCnet/PCI II 79C970A [ 0.395120] pcnet32: 1 cards_found [ 0.396182] uhci_hcd 0000:00:0a.2: UHCI Host Controller [ 0.396699] uhci_hcd 0000:00:0a.2: new USB bus registered, assigned bus number 1 [ 0.397648] uhci_hcd 0000:00:0a.2: irq 10, io port 0x00001040 [ 0.407763] hub 1-0:1.0: USB hub found [ 0.408310] hub 1-0:1.0: 2 ports detected [ 0.412252] usbcore: registered new interface driver usbhid [ 0.412417] usbhid: USB HID core driver [ 0.413455] NET: Registered PF_INET6 protocol family [ 0.420612] Segment Routing with IPv6 [ 0.420858] In-situ OAM (IOAM) with IPv6 [ 0.421409] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 0.423783] NET: Registered PF_PACKET protocol family [ 0.437569] clk: Disabling unused clocks [ 0.561426] ata2: found unknown device (class 0) [ 0.566868] ata2.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100 [ 0.579768] scsi 1:0:0:0: CD-ROM QEMU QEMU DVD-ROM 2.5+ PQ: 0 ANSI: 5 [ 0.609691] Freeing unused kernel image (initmem) memory: 304K [ 0.609855] This architecture does not have kernel memory protection. [ 0.610165] Run /init as init process [ 0.619673] process '/bin/busybox' started with executable stack test console test ttyS0 Disabled Tests :export NO_TLS=1 NO_LOCALE=1 NO_THREADS=1 NO_NPTL=1 NO_MATH=1 -------------------- tests_start ------------------------ PASS argp-ex1 PASS arg_test PASS argp-ex2 PASS assert PASS argp-ex3 PASS argp-ex4 PASS crypt PASS md5c-test PASS argp-test FAIL sha256c-test got 139 expected 0 Segmentation fault FAIL bug-argp1 got 139 expected 0 Segmentation fault FAIL sha512c-test got 139 expected 0 Segmentation fault FAIL tst-argp1 got 139 expected 0 Segmentation fault FAIL tst-argp2 got 139 expected 0 Segmentation fault PASS ctype FAIL tst-iconv1 got 139 expected 0 Segmentation fault FAIL tst-iconv2 got 139 expected 0 Segmentation fault FAIL tst-iconv3 got 139 expected 0 Segmentation fault FAIL tst-iconv4 got 139 expected 0 Segmentation fault FAIL tst-iconv5 got 139 expected 0 Segmentation fault FAIL tst-iconv6 got 139 expected 0 Segmentation fault FAIL bug-if1 got 139 expected 0 Segmentation fault PASS gethost PASS gethost_r-align PASS gethostid PASS getnetent PASS if_nameindex PASS tst-aton PASS tst-ether_aton PASS tst-ethers-line PASS tst-ethers FAIL tst-getni1 got 139 expected 0 Segmentation fault r = 0 r = -2 FAIL tst-getni2 got 139 expected 0 Segmentation fault FAIL tst-ifaddrs got 139 expected 0 Segmentation fault Name Flags Address Netmask Broadcast/Destination lo 0x0008 eth0 0x1002 sit0 0x0080 PASS tst-network PASS tst-ntoa PASS tst-res FAIL tst-sock-nonblock got 139 expected 0 Segmentation fault FAIL tst2_mbrtowc got 139 expected 0 Segmentation fault PASS tst_iswalnum PASS tst_iswalpha PASS tst_iswcntrl PASS tst_iswctype PASS tst_iswdigit PASS tst_iswgraph PASS tst_iswlower PASS tst_iswprint PASS tst_iswpunct PASS tst_iswspace PASS tst_iswupper PASS tst_iswxdigit PASS tst_mblen PASS tst_mbrlen PASS tst_mbrtowc PASS tst_mbsrtowcs PASS tst_mbstowcs PASS tst_mbtowc PASS tst_strcoll PASS tst_strxfrm PASS tst_towctrans PASS tst_towlower PASS tst_towupper PASS tst_wcrtomb PASS tst_wcscat PASS tst_wcschr PASS tst_wcscmp PASS tst_wcscoll PASS tst_wcscpy PASS tst_wcscspn PASS tst_wcslen PASS tst_wcsncat PASS tst_wcsncmp PASS tst_wcsncpy PASS tst_wcspbrk PASS tst_wcsrtombs PASS tst_wcsspn PASS tst_wcsstr PASS tst_wcstok PASS tst_wcstombs PASS tst_wcswidth PASS tst_wcsxfrm PASS tst_wctob PASS tst_wctomb PASS tst_wctrans PASS tst_wctype PASS tst_wcwidth PASS malloc-standard-alignment PASS malloc PASS mallocbug PASS realloc-can-shrink PASS realloc0 PASS testmalloc PASS tst-calloc PASS tst-malloc FAIL tst-mallocfork got 139 expected 0 Segmentation fault kill: No such process PASS tst-mcheck PASS tst-valloc FAIL bug-glob2 got 139 expected 0 Segmentation fault PASS bug-readdir1 PASS dirent PASS dirent64 PASS fdopen FAIL opendir-tst1 got 139 expected 0 Segmentation fault PASS popen PASS seek PASS sem PASS stdarg FAIL tst-hasmntopt got 139 expected 0 Segmentation fault FAIL tst-inotify got 139 expected 0 Segmentation fault PASS tst-mkostemps FAIL tst-nftw got 139 expected 0 Segmentation fault Processing f1 in working dir /tmp/stest_dir Processing f2 in working dir /tmp/stest_dir/d1 FAIL tst-preadvwritev got 139 expected 0 Segmentation fault PASS tst-rlimit PASS tst-rlimit64 PASS tst-scandir PASS tst-seekdir PASS tst-statfs PASS tst-statvfs PASS tst-syscall0 PASS tst-syscall1 PASS tst-syscall6 FAIL tst-utmp got 139 expected 0 Segmentation fault FAIL tst-utmpx got 139 expected 0 Segmentation fault PASS mmap FAIL mmap2 got 1 expected 0 /dev/mem opened. Error at line 40, file mmap2.c (79) [Value too large for defined data type] PASS mmap64 FAIL tst-mmap-eofsync got 139 expected 0 Segmentation fault feof = 0, ferror = 0 immediately after fgets fgetc -> EOF (feof = 4, ferror = 0) wrote more to file second fgets fails: feof = 4, ferror = 0 (Success) FAIL tst-mmap-fflushsync got 139 expected 0 Segmentation fault feof = 0, ferror = 0 immediately after fgets wrote more to file FAIL tst-mmap-offend got 139 expected 0 Segmentation fault fread 6: "hello " ftell 2048 fread after rewind 6: "hello " PASS tst-mmap-setvbuf PASS getgroups PASS grcat PASS pwcat PASS test_grp PASS test_pwd FAIL tst-regex2 got 139 expected 0 Segmentation fault test 0 pattern 0 '.?.?.?.?.?.?.?Log\.13' SKIP tst-regexloc PASS getrpcent FAIL tst-posix_spawn got 139 expected 0 Segmentation fault FAIL bug269-setjmp got 139 expected 0 Segmentation fault Test succeeded! PASS jmpbug FAIL sigchld got 139 expected 0 waiting for a SIGCHLD caught SIGCHLD Segmentation fault PASS sigjmpbug PASS signal FAIL tst-setjmp got 139 expected 0 Segmentation fault PASS tst-raise PASS tst-vfork-longjmp PASS tst-signal FAIL tst-signalfd got 139 expected 0 Segmentation fault PASS hello FAIL tst-sigset got 139 expected 0 Segmentation fault PASS tiny PASS memcmp-stat PASS stat-loop256 PASS 64bit PASS fclose-loop PASS stat PASS lseek_no_lfs PASS scanf_m PASS qsort FAIL test-canon got 139 expected 0 Segmentation fault No errors. FAIL test-canon2 got 139 expected 0 Segmentation fault create symlinks from /tmp/canoncTZNf4 to /tmp/canonCoA1a2 and vice versa PASS test-mkostemp-O_CLOEXEC PASS test-mkostemp-child PASS bug-strcoll1 PASS testatexit PASS bug-strncat1 PASS teston_exit PASS bug-strpbrk1 PASS teststrtol PASS bug-strspn1 PASS teststrtoq PASS stratcliff PASS test-ffs PASS testcopy PASS tester PASS tst-bswap PASS tst-inlcall PASS tst-memmove PASS tst-strlen PASS tst-strtok PASS termios PASS tst-strxfrm PASS clocktest PASS test_time FAIL clone got 139 expected 0 Segmentation fault FAIL tst-ctime got 139 expected 0 Segmentation fault ANSI: Tue Jan 19 02:57:03 2038 uClibc: Tue Jan 19 02:57:03 2038 FAIL tst-futimens1 got 139 expected 0 Segmentation fault 0 errors. PASS errno PASS tst-mktime PASS exec-null PASS tst-mktime3 FAIL fork got 139 expected 0 Parent: waiting for the child to die. Segmentation fault The child process sleeps 4 seconds... The child process sleeps 3 seconds... The child process sleeps 2 seconds... PASS tst-strptime2 PASS getcwd FAIL tst-timerfd got 139 expected 0 Segmentation fault PASS getopt PASS getopt_long FAIL tst-fallocate got 139 expected 0 Segmentation fault 1st fallocate call failed FAIL tst-getcwd got 139 expected 0 Segmentation fault everything OK FAIL tst-posix_fallocate got 139 expected 0 Segmentation fault 1st posix_fallocate call failed FAIL tst-preadwrite got 139 expected 0 Segmentation fault FAIL tst-preadwrite64 got 139 expected 0 Segmentation fault FAIL tst-pselect got 139 expected 0 Segmentation fault sending ourselves a signal signal is pending; calling pselect() got signal PASS tstgetopt PASS vfork Total skipped: 1 Total failed: 50 Total passed: 155