Qemu Command : qemu-system-mips64 -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) (mips64-openadk-linux-uclibcabin32-gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.41) #1 SMP Wed Nov 22 23:54:41 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 (10506240 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-0x000000009fffefff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000009fffefff]
[    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=10506240 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: 122111
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] Memory: 467096K/524284K available (6410K kernel code, 769K rwdata, 1412K rodata, 288K init, 321K bss, 57188K 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: 5972696156 ns
[    0.000093] sched_clock: 32 bits at 320MHz, resolution 3ns, wraps every 6710894590ns
[    0.008518] Console: colour dummy device 80x25
[    0.010851] Calibrating delay loop... 2131.96 BogoMIPS (lpj=4263936)
[    0.045990] pid_max: default: 32768 minimum: 301
[    0.048116] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.048350] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.071169] rcu: Hierarchical SRCU implementation.
[    0.071332] rcu: 	Max phase no-delay instances is 1000.
[    0.073842] smp: Bringing up secondary CPUs ...
[    0.074105] smp: Brought up 1 node, 1 CPU
[    0.084164] devtmpfs: initialized
[    0.090282] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.090657] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.095498] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.113899] SCSI subsystem initialized
[    0.115098] usbcore: registered new interface driver usbfs
[    0.115536] usbcore: registered new interface driver hub
[    0.115798] usbcore: registered new device driver usb
[    0.116223] pps_core: LinuxPPS API ver. 1 registered
[    0.116354] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti 
[    0.116627] PTP clock support registered
[    0.125545] PCI host bridge to bus 0000:00
[    0.125932] pci_bus 0000:00: root bus resource [mem 0x10000000-0x17ffffff]
[    0.126473] pci_bus 0000:00: root bus resource [io  0x1000-0x1fffff]
[    0.126714] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.128231] pci 0000:00:00.0: [2046:ab11] type 00 class 0x100000
[    0.128966] pci 0000:00:00.0: [Firmware Bug]: reg 0x10: invalid BAR (can't size)
[    0.129212] pci 0000:00:00.0: [Firmware Bug]: reg 0x14: invalid BAR (can't size)
[    0.129479] pci 0000:00:00.0: [Firmware Bug]: reg 0x18: invalid BAR (can't size)
[    0.129695] pci 0000:00:00.0: [Firmware Bug]: reg 0x1c: invalid BAR (can't size)
[    0.129894] pci 0000:00:00.0: [Firmware Bug]: reg 0x20: invalid BAR (can't size)
[    0.130090] pci 0000:00:00.0: [Firmware Bug]: reg 0x24: invalid BAR (can't size)
[    0.132365] pci 0000:00:0a.0: [8086:7110] type 00 class 0x060100
[    0.133095] pci 0000:00:0a.1: [8086:7111] type 00 class 0x010180
[    0.133452] pci 0000:00:0a.1: reg 0x20: [io  0x0000-0x000f]
[    0.133682] pci 0000:00:0a.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
[    0.133877] pci 0000:00:0a.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    0.134071] pci 0000:00:0a.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
[    0.134250] pci 0000:00:0a.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    0.134664] pci 0000:00:0a.2: [8086:7112] type 00 class 0x0c0300
[    0.134899] pci 0000:00:0a.2: reg 0x20: [io  0x0000-0x001f]
[    0.135459] pci 0000:00:0a.3: [8086:7113] type 00 class 0x068000
[    0.136129] pci 0000:00:0a.3: quirk: [io  0x1000-0x103f] claimed by PIIX4 ACPI
[    0.136361] pci 0000:00:0a.3: quirk: [io  0x1100-0x110f] claimed by PIIX4 SMB
[    0.136862] pci 0000:00:0b.0: [1022:2000] type 00 class 0x020000
[    0.137047] pci 0000:00:0b.0: reg 0x10: [io  0x0000-0x001f]
[    0.137197] pci 0000:00:0b.0: reg 0x14: [mem 0x00000000-0x0000001f]
[    0.137397] pci 0000:00:0b.0: reg 0x30: [mem 0x00000000-0x0003ffff pref]
[    0.137854] pci 0000:00:12.0: [1013:00b8] type 00 class 0x030000
[    0.138035] pci 0000:00:12.0: reg 0x10: [mem 0x00000000-0x01ffffff pref]
[    0.138208] pci 0000:00:12.0: reg 0x14: [mem 0x00000000-0x00000fff]
[    0.138406] pci 0000:00:12.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    0.139091] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.140531] pci 0000:00:12.0: BAR 0: assigned [mem 0x10000000-0x11ffffff pref]
[    0.140921] pci 0000:00:0b.0: BAR 6: assigned [mem 0x12000000-0x1203ffff pref]
[    0.141145] pci 0000:00:12.0: BAR 6: assigned [mem 0x12040000-0x1204ffff pref]
[    0.141338] pci 0000:00:12.0: BAR 1: assigned [mem 0x12050000-0x12050fff]
[    0.141537] pci 0000:00:0a.2: BAR 4: assigned [io  0x1040-0x105f]
[    0.141706] pci 0000:00:0b.0: BAR 0: assigned [io  0x1060-0x107f]
[    0.141860] pci 0000:00:0b.0: BAR 1: assigned [mem 0x12051000-0x1205101f]
[    0.142057] pci 0000:00:0a.1: BAR 4: assigned [io  0x1080-0x108f]
[    0.146293] pci 0000:00:12.0: vgaarb: setting as boot VGA device
[    0.146505] pci 0000:00:12.0: vgaarb: bridge control possible
[    0.146692] pci 0000:00:12.0: vgaarb: VGA device added: decodes=io+mem,owns=none,locks=none
[    0.146924] vgaarb: loaded
[    0.148581] clocksource: Switched to clocksource MIPS
[    0.160076] NET: Registered PF_INET protocol family
[    0.161608] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.166510] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.166800] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.167055] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.167394] TCP bind hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.167903] TCP: Hash tables configured (established 4096 bind 4096)
[    0.169508] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.169867] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.170988] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.171927] pci 0000:00:0a.2: enabling device (0000 -> 0001)
[    0.172839] PCI: CLS 0 bytes, default 32
[    0.178828] Unpacking initramfs...
[    0.200721] workingset: timestamp_bits=62 max_order=17 bucket_order=0
[    0.203290] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.203577] io scheduler mq-deadline registered
[    0.203734] io scheduler kyber registered
[    0.211878] cirrusfb 0000:00:12.0: vgaarb: deactivate vga console
[    0.212234] cirrusfb 0000:00:12.0: enabling device (0000 -> 0002)
[    0.213323] 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.293884] printk: console [ttyS0] disabled
[    0.316673] serial8250.0: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    0.316910] serial8250.0: ttyS0 extra baud rates supported: 230400, 460800
[    0.316910] serial8250.0: ttyS0 extra baud rates supported: 230400, 460800
[    0.318252] printk: console [ttyS0] enabled
[    0.318252] printk: console [ttyS0] enabled
[    0.319098] printk: bootconsole [uart8250] disabled
[    0.319098] printk: bootconsole [uart8250] disabled
[    0.332405] Freeing initrd memory: 10260K
[    0.354818] serial8250.0: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
[    0.355060] serial8250.0: ttyS1 extra baud rates supported: 230400, 460800
[    0.376370] serial8250.0: ttyS2 at MMIO 0x1f000900 (irq = 20, base_baud = 230400) is a 16550A
[    0.378894] ata_piix 0000:00:0a.1: enabling device (0000 -> 0001)
[    0.385013] scsi host0: ata_piix
[    0.387136] scsi host1: ata_piix
[    0.387526] ata1: PATA max UDMA/33 cmd 0x1f0 ctl 0x3f6 bmdma 0x1080 irq 14
[    0.387731] ata2: PATA max UDMA/33 cmd 0x170 ctl 0x376 bmdma 0x1088 irq 15
[    0.388878] pcnet32 0000:00:0b.0: enabling device (0000 -> 0003)
[    0.390045] pcnet32: PCnet/PCI II 79C970A at 0x1060, 52:54:00:12:34:56 assigned IRQ 10
[    0.392787] pcnet32: eth0: registered as PCnet/PCI II 79C970A
[    0.393140] pcnet32: 1 cards_found
[    0.394209] uhci_hcd 0000:00:0a.2: UHCI Host Controller
[    0.394711] uhci_hcd 0000:00:0a.2: new USB bus registered, assigned bus number 1
[    0.395614] uhci_hcd 0000:00:0a.2: irq 11, io port 0x00001040
[    0.405817] hub 1-0:1.0: USB hub found
[    0.406375] hub 1-0:1.0: 2 ports detected
[    0.410440] usbcore: registered new interface driver usbhid
[    0.410605] usbhid: USB HID core driver
[    0.411598] NET: Registered PF_INET6 protocol family
[    0.418889] Segment Routing with IPv6
[    0.419206] In-situ OAM (IOAM) with IPv6
[    0.419662] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.422132] NET: Registered PF_PACKET protocol family
[    0.436467] clk: Disabling unused clocks
[    0.560846] ata2: found unknown device (class 0)
[    0.566216] ata2.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100
[    0.579166] scsi 1:0:0:0: CD-ROM            QEMU     QEMU DVD-ROM     2.5+ PQ: 0 ANSI: 5
[    0.609247] Freeing unused kernel image (initmem) memory: 288K
[    0.609394] This architecture does not have kernel memory protection.
[    0.609730] Run /init as init process
[    0.619152] process '/bin/busybox' started with executable stack
test console
test ttyS0
Disabled Tests :export NO_THREADS=1 NO_NPTL=1 NO_LOCALE=1 NO_MATH=1 NO_TLS=1 
-------------------- tests_start ------------------------
PASS argp-ex1
PASS argp-ex2
PASS argp-ex3
PASS argp-ex4
PASS argp-test
FAIL bug-argp1 got 139 expected 0
	Segmentation fault
	Usage: bug-argp1 [OPTION...]
	
	  -?, --help                 Give this help list
	      --usage                Give a short usage message
FAIL tst-argp1 got 139 expected 0
	Segmentation fault
FAIL tst-argp2 got 139 expected 0
	Segmentation fault
PASS arg_test
PASS assert
PASS crypt
PASS md5c-test
FAIL sha256c-test got 139 expected 0
	Segmentation fault
FAIL sha512c-test 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
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 mmap
PASS seek
PASS sem
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
PASS stdarg
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-hasmntopt got 139 expected 0
	Segmentation fault
FAIL tst-mmap-fflushsync got 139 expected 0
	Segmentation fault
	feof = 0, ferror = 0 immediately after fgets
	wrote more to file
FAIL tst-inotify got 139 expected 0
	Segmentation fault
PASS tst-mmap-setvbuf
FAIL tst-mmap-offend got 139 expected 0
	Segmentation fault
	fread 6: "hello
	"
	ftell 2048
	fread after rewind 6: "hello
	"
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
PASS getgroups
PASS grcat
FAIL tst-preadvwritev got 139 expected 0
	Segmentation fault
PASS pwcat
PASS test_grp
PASS tst-rlimit
PASS test_pwd
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
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
PASS sigjmpbug
FAIL tst-setjmp got 139 expected 0
	Segmentation fault
PASS tst-vfork-longjmp
FAIL sigchld got 139 expected 0
	waiting for a SIGCHLD
	caught SIGCHLD
	Segmentation fault
PASS signal
PASS tst-raise
PASS tst-signal
FAIL tst-signalfd got 139 expected 0
	Segmentation fault
FAIL tst-sigset got 139 expected 0
	Segmentation fault
PASS hello
PASS tiny
PASS memcmp-stat
PASS stat-loop256
PASS stat
PASS 64bit
PASS fclose-loop
PASS lseek_no_lfs
PASS scanf_m
PASS qsort
PASS bug-strcoll1
FAIL test-canon got 139 expected 0
	Segmentation fault
	No errors.
FAIL test-canon2 got 139 expected 0
	Segmentation fault
	create symlinks from /tmp/canonZ1G1DZ to /tmp/canonFRvJ9o and vice versa
PASS bug-strncat1
PASS test-mkostemp-O_CLOEXEC
PASS bug-strpbrk1
PASS test-mkostemp-child
PASS bug-strspn1
PASS testatexit
PASS stratcliff
PASS teston_exit
PASS test-ffs
PASS teststrtol
PASS testcopy
PASS tester
PASS tst-bswap
PASS teststrtoq
PASS tst-inlcall
PASS tst-memmove
PASS tst-strlen
PASS tst-strtok
PASS tst-strxfrm
PASS termios
PASS clocktest
PASS test_time
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 tst-mktime
PASS tst-mktime3
PASS tst-strptime2
FAIL tst-timerfd got 139 expected 0
	Segmentation fault
FAIL clone got 139 expected 0
	Segmentation fault
PASS errno
PASS exec-null
FAIL fork got 139 expected 0
	The child process sleeps 3 seconds...
	Parent: waiting for the child to die.
	Segmentation fault
	The child process sleeps 2 seconds...
	The child process sleeps 4 seconds...
PASS getcwd
PASS getopt
PASS getopt_long
FAIL tst-fallocate got 139 expected 0
	Segmentation fault
	file size after 1st fallocate call is 32768, expected 32896
FAIL tst-getcwd got 139 expected 0
	Segmentation fault
	everything OK
FAIL tst-posix_fallocate got 139 expected 0
	Segmentation fault
	file size after 1st posix_fallocate call is 512, expected 1280
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