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: 5972677304 ns
[    0.000093] sched_clock: 32 bits at 320MHz, resolution 3ns, wraps every 6710873086ns
[    0.008862] Console: colour dummy device 80x25
[    0.011231] Calibrating delay loop... 2139.13 BogoMIPS (lpj=4278272)
[    0.070862] pid_max: default: 32768 minimum: 301
[    0.073057] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.073289] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.096898] rcu: Hierarchical SRCU implementation.
[    0.097091] rcu: 	Max phase no-delay instances is 1000.
[    0.100575] smp: Bringing up secondary CPUs ...
[    0.100849] smp: Brought up 1 node, 1 CPU
[    0.110550] devtmpfs: initialized
[    0.117041] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.117439] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.122313] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.141780] SCSI subsystem initialized
[    0.143044] usbcore: registered new interface driver usbfs
[    0.143403] usbcore: registered new interface driver hub
[    0.143663] usbcore: registered new device driver usb
[    0.144089] pps_core: LinuxPPS API ver. 1 registered
[    0.144221] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti 
[    0.144638] PTP clock support registered
[    0.153894] PCI host bridge to bus 0000:00
[    0.154313] pci_bus 0000:00: root bus resource [mem 0x10000000-0x17ffffff]
[    0.154864] pci_bus 0000:00: root bus resource [io  0x1000-0x1fffff]
[    0.155111] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.156524] pci 0000:00:00.0: [2046:ab11] type 00 class 0x100000
[    0.157374] pci 0000:00:00.0: [Firmware Bug]: reg 0x10: invalid BAR (can't size)
[    0.157654] pci 0000:00:00.0: [Firmware Bug]: reg 0x14: invalid BAR (can't size)
[    0.157919] pci 0000:00:00.0: [Firmware Bug]: reg 0x18: invalid BAR (can't size)
[    0.158116] pci 0000:00:00.0: [Firmware Bug]: reg 0x1c: invalid BAR (can't size)
[    0.158326] pci 0000:00:00.0: [Firmware Bug]: reg 0x20: invalid BAR (can't size)
[    0.158536] pci 0000:00:00.0: [Firmware Bug]: reg 0x24: invalid BAR (can't size)
[    0.160756] pci 0000:00:0a.0: [8086:7110] type 00 class 0x060100
[    0.161641] pci 0000:00:0a.1: [8086:7111] type 00 class 0x010180
[    0.162008] pci 0000:00:0a.1: reg 0x20: [io  0x0000-0x000f]
[    0.162238] pci 0000:00:0a.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
[    0.162425] pci 0000:00:0a.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    0.162620] pci 0000:00:0a.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
[    0.162800] pci 0000:00:0a.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    0.163221] pci 0000:00:0a.2: [8086:7112] type 00 class 0x0c0300
[    0.163457] pci 0000:00:0a.2: reg 0x20: [io  0x0000-0x001f]
[    0.164002] pci 0000:00:0a.3: [8086:7113] type 00 class 0x068000
[    0.164582] pci 0000:00:0a.3: quirk: [io  0x1000-0x103f] claimed by PIIX4 ACPI
[    0.164817] pci 0000:00:0a.3: quirk: [io  0x1100-0x110f] claimed by PIIX4 SMB
[    0.165445] pci 0000:00:0b.0: [1022:2000] type 00 class 0x020000
[    0.165658] pci 0000:00:0b.0: reg 0x10: [io  0x0000-0x001f]
[    0.165811] pci 0000:00:0b.0: reg 0x14: [mem 0x00000000-0x0000001f]
[    0.166012] pci 0000:00:0b.0: reg 0x30: [mem 0x00000000-0x0003ffff pref]
[    0.166478] pci 0000:00:12.0: [1013:00b8] type 00 class 0x030000
[    0.166660] pci 0000:00:12.0: reg 0x10: [mem 0x00000000-0x01ffffff pref]
[    0.166833] pci 0000:00:12.0: reg 0x14: [mem 0x00000000-0x00000fff]
[    0.167031] pci 0000:00:12.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    0.167683] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.169043] pci 0000:00:12.0: BAR 0: assigned [mem 0x10000000-0x11ffffff pref]
[    0.169580] pci 0000:00:0b.0: BAR 6: assigned [mem 0x12000000-0x1203ffff pref]
[    0.169825] pci 0000:00:12.0: BAR 6: assigned [mem 0x12040000-0x1204ffff pref]
[    0.170023] pci 0000:00:12.0: BAR 1: assigned [mem 0x12050000-0x12050fff]
[    0.170226] pci 0000:00:0a.2: BAR 4: assigned [io  0x1040-0x105f]
[    0.170400] pci 0000:00:0b.0: BAR 0: assigned [io  0x1060-0x107f]
[    0.170555] pci 0000:00:0b.0: BAR 1: assigned [mem 0x12051000-0x1205101f]
[    0.170723] pci 0000:00:0a.1: BAR 4: assigned [io  0x1080-0x108f]
[    0.175140] pci 0000:00:12.0: vgaarb: setting as boot VGA device
[    0.175371] pci 0000:00:12.0: vgaarb: bridge control possible
[    0.175561] pci 0000:00:12.0: vgaarb: VGA device added: decodes=io+mem,owns=none,locks=none
[    0.175799] vgaarb: loaded
[    0.177452] clocksource: Switched to clocksource MIPS
[    0.189855] NET: Registered PF_INET protocol family
[    0.191080] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.196253] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.196550] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.196778] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.197111] TCP bind hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.197776] TCP: Hash tables configured (established 4096 bind 4096)
[    0.199366] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.199725] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.200862] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.201973] pci 0000:00:0a.2: enabling device (0000 -> 0001)
[    0.202807] PCI: CLS 0 bytes, default 32
[    0.209323] Unpacking initramfs...
[    0.229778] workingset: timestamp_bits=62 max_order=17 bucket_order=0
[    0.232507] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.232801] io scheduler mq-deadline registered
[    0.232963] io scheduler kyber registered
[    0.241013] cirrusfb 0000:00:12.0: vgaarb: deactivate vga console
[    0.241484] cirrusfb 0000:00:12.0: enabling device (0000 -> 0002)
[    0.242533] cirrusfb 0000:00:12.0: Cirrus Logic chipset on PCI bus, RAM (4096 kB) at 0x10000000
[    0.318180] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.326864] printk: console [ttyS0] disabled
[    0.350982] serial8250.0: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    0.351262] serial8250.0: ttyS0 extra baud rates supported: 230400, 460800
[    0.351262] serial8250.0: ttyS0 extra baud rates supported: 230400, 460800
[    0.352672] printk: console [ttyS0] enabled
[    0.352672] printk: console [ttyS0] enabled
[    0.353651] printk: bootconsole [uart8250] disabled
[    0.353651] printk: bootconsole [uart8250] disabled
[    0.367671] Freeing initrd memory: 10260K
[    0.390669] serial8250.0: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
[    0.390918] serial8250.0: ttyS1 extra baud rates supported: 230400, 460800
[    0.413104] serial8250.0: ttyS2 at MMIO 0x1f000900 (irq = 20, base_baud = 230400) is a 16550A
[    0.416043] ata_piix 0000:00:0a.1: enabling device (0000 -> 0001)
[    0.422402] scsi host0: ata_piix
[    0.424562] scsi host1: ata_piix
[    0.424955] ata1: PATA max UDMA/33 cmd 0x1f0 ctl 0x3f6 bmdma 0x1080 irq 14
[    0.425264] ata2: PATA max UDMA/33 cmd 0x170 ctl 0x376 bmdma 0x1088 irq 15
[    0.426407] pcnet32 0000:00:0b.0: enabling device (0000 -> 0003)
[    0.427591] pcnet32: PCnet/PCI II 79C970A at 0x1060, 52:54:00:12:34:56 assigned IRQ 10
[    0.430404] pcnet32: eth0: registered as PCnet/PCI II 79C970A
[    0.430769] pcnet32: 1 cards_found
[    0.431877] uhci_hcd 0000:00:0a.2: UHCI Host Controller
[    0.432405] uhci_hcd 0000:00:0a.2: new USB bus registered, assigned bus number 1
[    0.433390] uhci_hcd 0000:00:0a.2: irq 11, io port 0x00001040
[    0.444118] hub 1-0:1.0: USB hub found
[    0.444743] hub 1-0:1.0: 2 ports detected
[    0.448965] usbcore: registered new interface driver usbhid
[    0.449141] usbhid: USB HID core driver
[    0.450287] NET: Registered PF_INET6 protocol family
[    0.457879] Segment Routing with IPv6
[    0.458154] In-situ OAM (IOAM) with IPv6
[    0.458624] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.461088] NET: Registered PF_PACKET protocol family
[    0.475705] clk: Disabling unused clocks
[    0.597755] ata2: found unknown device (class 0)
[    0.603181] ata2.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100
[    0.616036] scsi 1:0:0:0: CD-ROM            QEMU     QEMU DVD-ROM     2.5+ PQ: 0 ANSI: 5
[    0.646447] Freeing unused kernel image (initmem) memory: 288K
[    0.646681] This architecture does not have kernel memory protection.
[    0.647017] Run /init as init process
[    0.656793] process '/bin/busybox' started with executable stack
test console
test ttyS0
Disabled Tests :export NO_LOCALE=1 NO_NPTL=1 NO_MATH=1 NO_TLS=1 NO_THREADS=1 
-------------------- tests_start ------------------------
PASS argp-ex1
PASS argp-ex2
PASS arg_test
PASS argp-ex3
PASS assert
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
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
	Name           Flags   Address         Netmask         Broadcast/Destination
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 malloc-standard-alignment
PASS malloc
PASS tst_iswprint
PASS mallocbug
PASS tst_iswpunct
PASS realloc-can-shrink
PASS tst_iswspace
PASS realloc0
PASS tst_iswupper
PASS testmalloc
PASS tst_iswxdigit
PASS tst-calloc
PASS tst_mblen
PASS tst-malloc
FAIL tst-mallocfork got 139 expected 0
	Segmentation fault
	kill: No such process
PASS tst_mbrlen
PASS tst-mcheck
PASS tst_mbrtowc
PASS tst-valloc
PASS tst_mbsrtowcs
FAIL bug-glob2 got 139 expected 0
	Segmentation fault
PASS tst_mbstowcs
PASS bug-readdir1
PASS tst_mbtowc
PASS dirent
PASS dirent64
PASS tst_strcoll
PASS tst_strxfrm
PASS fdopen
PASS tst_towctrans
PASS tst_towlower
FAIL opendir-tst1 got 139 expected 0
	Segmentation fault
PASS tst_towupper
PASS tst_wcrtomb
PASS popen
PASS tst_wcscat
PASS seek
PASS tst_wcschr
PASS sem
PASS tst_wcscmp
PASS stdarg
FAIL tst-hasmntopt got 139 expected 0
	Segmentation fault
PASS tst_wcscoll
FAIL tst-inotify got 139 expected 0
	Segmentation fault
PASS tst_wcscpy
PASS tst-mkostemps
PASS tst_wcscspn
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 tst_wcslen
FAIL tst-preadvwritev got 139 expected 0
	Segmentation fault
PASS tst_wcsncat
PASS tst-rlimit
PASS tst-rlimit64
PASS tst_wcsncmp
PASS tst-scandir
PASS tst_wcsncpy
PASS tst-seekdir
PASS tst_wcspbrk
PASS mmap
PASS tst-statfs
PASS tst_wcsrtombs
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 tst-statvfs
PASS mmap64
PASS tst_wcsspn
PASS tst-syscall0
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 tst-syscall1
PASS tst_wcsstr
FAIL tst-mmap-fflushsync got 139 expected 0
	Segmentation fault
	feof = 0, ferror = 0 immediately after fgets
	wrote more to file
PASS tst-syscall6
PASS tst_wcstok
FAIL tst-mmap-offend got 139 expected 0
	Segmentation fault
	fread 6: "hello
	"
	ftell 2048
	fread after rewind 6: "hello
	"
FAIL tst-utmp got 139 expected 0
	Segmentation fault
PASS tst_wcstombs
PASS tst-mmap-setvbuf
FAIL tst-utmpx got 139 expected 0
	Segmentation fault
PASS tst_wcswidth
PASS tst_wcsxfrm
PASS getgroups
PASS tst_wctob
PASS grcat
PASS pwcat
PASS tst_wctomb
PASS test_grp
PASS tst_wctrans
PASS test_pwd
PASS tst_wctype
PASS tst_wcwidth
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/canoneeGfU0 to /tmp/canonWNElw6 and vice versa
PASS test-mkostemp-O_CLOEXEC
PASS test-mkostemp-child
PASS testatexit
PASS bug-strcoll1
PASS teston_exit
PASS bug-strncat1
PASS teststrtol
PASS bug-strpbrk1
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 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 clone got 139 expected 0
	Segmentation fault
FAIL tst-timerfd 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
	file size after 1st fallocate call is 32768, expected 32896
FAIL tst-getcwd got 139 expected 0
	everything OK
	Segmentation fault
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