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: 5972695540 ns
[    0.000093] sched_clock: 32 bits at 320MHz, resolution 3ns, wraps every 6710893566ns
[    0.008820] Console: colour dummy device 80x25
[    0.011151] Calibrating delay loop... 2174.97 BogoMIPS (lpj=4349952)
[    0.074896] pid_max: default: 32768 minimum: 301
[    0.077069] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.077305] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.100332] rcu: Hierarchical SRCU implementation.
[    0.100523] rcu: 	Max phase no-delay instances is 1000.
[    0.103069] smp: Bringing up secondary CPUs ...
[    0.103685] smp: Brought up 1 node, 1 CPU
[    0.113442] devtmpfs: initialized
[    0.119301] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.119965] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.124619] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.143238] SCSI subsystem initialized
[    0.144448] usbcore: registered new interface driver usbfs
[    0.144794] usbcore: registered new interface driver hub
[    0.145046] usbcore: registered new device driver usb
[    0.145453] pps_core: LinuxPPS API ver. 1 registered
[    0.145582] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti 
[    0.145860] PTP clock support registered
[    0.154431] PCI host bridge to bus 0000:00
[    0.154813] pci_bus 0000:00: root bus resource [mem 0x10000000-0x17ffffff]
[    0.155362] pci_bus 0000:00: root bus resource [io  0x1000-0x1fffff]
[    0.155610] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.157111] pci 0000:00:00.0: [11ab:4620] type 00 class 0x060000
[    0.157851] pci 0000:00:00.0: [Firmware Bug]: reg 0x14: invalid BAR (can't size)
[    0.158050] pci 0000:00:00.0: [Firmware Bug]: reg 0x18: invalid BAR (can't size)
[    0.158233] pci 0000:00:00.0: [Firmware Bug]: reg 0x1c: invalid BAR (can't size)
[    0.158411] pci 0000:00:00.0: [Firmware Bug]: reg 0x20: invalid BAR (can't size)
[    0.158598] pci 0000:00:00.0: [Firmware Bug]: reg 0x24: invalid BAR (can't size)
[    0.160800] pci 0000:00:0a.0: [8086:7110] type 00 class 0x060100
[    0.161475] pci 0000:00:0a.1: [8086:7111] type 00 class 0x010180
[    0.161834] pci 0000:00:0a.1: reg 0x20: [io  0x0000-0x000f]
[    0.162063] pci 0000:00:0a.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
[    0.162249] pci 0000:00:0a.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    0.162441] pci 0000:00:0a.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
[    0.162621] pci 0000:00:0a.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    0.163028] pci 0000:00:0a.2: [8086:7112] type 00 class 0x0c0300
[    0.163252] pci 0000:00:0a.2: reg 0x20: [io  0x0000-0x001f]
[    0.163765] pci 0000:00:0a.3: [8086:7113] type 00 class 0x068000
[    0.164335] pci 0000:00:0a.3: quirk: [io  0x1000-0x103f] claimed by PIIX4 ACPI
[    0.164647] pci 0000:00:0a.3: quirk: [io  0x1100-0x110f] claimed by PIIX4 SMB
[    0.165148] pci 0000:00:0b.0: [1022:2000] type 00 class 0x020000
[    0.165333] pci 0000:00:0b.0: reg 0x10: [io  0x0000-0x001f]
[    0.165481] pci 0000:00:0b.0: reg 0x14: [mem 0x00000000-0x0000001f]
[    0.165680] pci 0000:00:0b.0: reg 0x30: [mem 0x00000000-0x0003ffff pref]
[    0.166121] pci 0000:00:12.0: [1013:00b8] type 00 class 0x030000
[    0.166302] pci 0000:00:12.0: reg 0x10: [mem 0x00000000-0x01ffffff pref]
[    0.166473] pci 0000:00:12.0: reg 0x14: [mem 0x00000000-0x00000fff]
[    0.166671] pci 0000:00:12.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    0.167297] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.168681] pci 0000:00:12.0: BAR 0: assigned [mem 0x10000000-0x11ffffff pref]
[    0.169085] pci 0000:00:0b.0: BAR 6: assigned [mem 0x12000000-0x1203ffff pref]
[    0.169310] pci 0000:00:12.0: BAR 6: assigned [mem 0x12040000-0x1204ffff pref]
[    0.169503] pci 0000:00:12.0: BAR 1: assigned [mem 0x12050000-0x12050fff]
[    0.169701] pci 0000:00:0a.2: BAR 4: assigned [io  0x1040-0x105f]
[    0.169871] pci 0000:00:0b.0: BAR 0: assigned [io  0x1060-0x107f]
[    0.170025] pci 0000:00:0b.0: BAR 1: assigned [mem 0x12051000-0x1205101f]
[    0.170191] pci 0000:00:0a.1: BAR 4: assigned [io  0x1080-0x108f]
[    0.174308] pci 0000:00:12.0: vgaarb: setting as boot VGA device
[    0.174523] pci 0000:00:12.0: vgaarb: bridge control possible
[    0.174708] pci 0000:00:12.0: vgaarb: VGA device added: decodes=io+mem,owns=none,locks=none
[    0.174939] vgaarb: loaded
[    0.176502] clocksource: Switched to clocksource MIPS
[    0.188028] NET: Registered PF_INET protocol family
[    0.189595] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.194402] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.194702] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.194939] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.195274] TCP bind hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.195803] TCP: Hash tables configured (established 4096 bind 4096)
[    0.197423] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.197788] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.198890] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.199932] pci 0000:00:0a.2: enabling device (0000 -> 0001)
[    0.200829] PCI: CLS 0 bytes, default 32
[    0.206878] Unpacking initramfs...
[    0.224479] workingset: timestamp_bits=62 max_order=17 bucket_order=0
[    0.227189] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.227474] io scheduler mq-deadline registered
[    0.227639] io scheduler kyber registered
[    0.236144] cirrusfb 0000:00:12.0: vgaarb: deactivate vga console
[    0.236583] cirrusfb 0000:00:12.0: enabling device (0000 -> 0002)
[    0.237572] cirrusfb 0000:00:12.0: Cirrus Logic chipset on PCI bus, RAM (4096 kB) at 0x10000000
[    0.309167] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.317780] printk: console [ttyS0] disabled
[    0.340812] serial8250.0: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    0.341057] serial8250.0: ttyS0 extra baud rates supported: 230400, 460800
[    0.341057] serial8250.0: ttyS0 extra baud rates supported: 230400, 460800
[    0.342570] printk: console [ttyS0] enabled
[    0.342570] printk: console [ttyS0] enabled
[    0.343383] printk: bootconsole [uart8250] disabled
[    0.343383] printk: bootconsole [uart8250] disabled
[    0.360101] Freeing initrd memory: 10260K
[    0.382517] serial8250.0: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
[    0.382725] serial8250.0: ttyS1 extra baud rates supported: 230400, 460800
[    0.405367] serial8250.0: ttyS2 at MMIO 0x1f000900 (irq = 20, base_baud = 230400) is a 16550A
[    0.408005] ata_piix 0000:00:0a.1: enabling device (0000 -> 0001)
[    0.414046] scsi host0: ata_piix
[    0.416194] scsi host1: ata_piix
[    0.416654] ata1: PATA max UDMA/33 cmd 0x1f0 ctl 0x3f6 bmdma 0x1080 irq 14
[    0.416861] ata2: PATA max UDMA/33 cmd 0x170 ctl 0x376 bmdma 0x1088 irq 15
[    0.417935] pcnet32 0000:00:0b.0: enabling device (0000 -> 0003)
[    0.419093] pcnet32: PCnet/PCI II 79C970A at 0x1060, 52:54:00:12:34:56 assigned IRQ 11
[    0.421825] pcnet32: eth0: registered as PCnet/PCI II 79C970A
[    0.422178] pcnet32: 1 cards_found
[    0.423230] uhci_hcd 0000:00:0a.2: UHCI Host Controller
[    0.423752] uhci_hcd 0000:00:0a.2: new USB bus registered, assigned bus number 1
[    0.424684] uhci_hcd 0000:00:0a.2: irq 10, io port 0x00001040
[    0.434464] hub 1-0:1.0: USB hub found
[    0.435059] hub 1-0:1.0: 2 ports detected
[    0.438846] usbcore: registered new interface driver usbhid
[    0.439011] usbhid: USB HID core driver
[    0.439974] NET: Registered PF_INET6 protocol family
[    0.445946] Segment Routing with IPv6
[    0.446190] In-situ OAM (IOAM) with IPv6
[    0.446609] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.448967] NET: Registered PF_PACKET protocol family
[    0.463024] clk: Disabling unused clocks
[    0.588806] ata2: found unknown device (class 0)
[    0.594148] ata2.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100
[    0.606909] scsi 1:0:0:0: CD-ROM            QEMU     QEMU DVD-ROM     2.5+ PQ: 0 ANSI: 5
[    0.636816] Freeing unused kernel image (initmem) memory: 304K
[    0.636991] This architecture does not have kernel memory protection.
[    0.637311] Run /init as init process
[    0.646642] process '/bin/busybox' started with executable stack
test console
test ttyS0
Disabled Tests :export NO_THREADS=1 NO_MATH=1 NO_TLS=1 NO_LOCALE=1 NO_NPTL=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
	Usage: tst-argp1 [OPTION...]
	
	 FAIL tst-argp2 got 139 expected 0
	Segmentation fault
	  -1, --opt1=NUMBER          Option 1
	
	 child1
	  -2, --opt2=NUMBER          Option 2
	
	 child3
	  -4, --opt4=NUMBER          Option 4
	
	 child4
	  -5, --opt5=NUMBER          Option 5
	
	 child2
	  -3, --opt3=NUMBER          Option 3
	
	Mandatory or optional arguments to long options are also mandatory or optional
	for any corresponding short options.
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 malloc-standard-alignment
PASS tst_wcsncpy
PASS malloc
PASS tst_wcspbrk
PASS mallocbug
PASS tst_wcsrtombs
PASS tst_wcsspn
PASS tst_wcsstr
PASS tst_wcstok
PASS realloc-can-shrink
PASS tst_wcstombs
PASS tst_wcswidth
PASS realloc0
PASS tst_wcsxfrm
PASS tst_wctob
PASS tst_wctomb
PASS tst_wctrans
PASS tst_wctype
PASS tst_wcwidth
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
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 sem
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)
PASS stdarg
FAIL tst-mmap-fflushsync got 139 expected 0
	Segmentation fault
	feof = 0, ferror = 0 immediately after fgets
	wrote more to file
FAIL tst-hasmntopt got 139 expected 0
	Segmentation fault
FAIL tst-mmap-offend got 139 expected 0
	Segmentation fault
	fread 6: "hello
	"
FAIL tst-inotify got 139 expected 0
	Segmentation fault
PASS tst-mmap-setvbuf
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
	Processing d1 in working dir /tmp/stest_dir
	Processing stest_dir in working dir /tmp
PASS getgroups
FAIL tst-preadvwritev got 139 expected 0
	Segmentation fault
PASS grcat
PASS tst-rlimit
PASS pwcat
PASS tst-rlimit64
PASS test_grp
PASS tst-scandir
PASS test_pwd
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
FAIL test-canon got 139 expected 0
	Segmentation fault
	No errors.
FAIL test-canon2 got 139 expected 0
	Segmentation fault
	create symlinks from /tmp/canon6DKUhs to /tmp/canonz8kBBY and vice versa
PASS test-mkostemp-O_CLOEXEC
PASS test-mkostemp-child
PASS testatexit
PASS teston_exit
PASS teststrtol
PASS teststrtoq
PASS bug-strcoll1
PASS bug-strncat1
PASS bug-strpbrk1
PASS bug-strspn1
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 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 2 seconds...
	Parent: waiting for the child to die.
	Segmentation fault
	The child process sleeps 4 seconds...
	The child process sleeps 3 seconds...
PASS getcwd
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