Qemu Command : qemu-system-riscv32 -M virt -nographic -bios none -kernel kernel.img -initrd rootfs.img -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) (riscv32-openadk-linux-uclibc-gcc (GCC) 10.5.0, GNU ld (GNU Binutils) 2.39) #1 SMP Thu May 28 10:53:33 CEST 2026
[    0.000000] random: crng init done
[    0.000000] Machine model: riscv-virtio,qemu
[    0.000000] Forcing kernel command line to: root=/dev/vda rw earlycon=uart8250,mmio,0x10000000,115200n8 console=ttyS0
[    0.000000] earlycon: uart8250 at MMIO 0x10000000 (options '115200n8')
[    0.000000] printk: bootconsole [uart8250] enabled
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000080000000-0x0000000087ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x0000000087ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x0000000087ffffff]
[    0.000000] riscv: base ISA extensions acdfhim
[    0.000000] riscv: ELF capabilities acdfim
[    0.000000] percpu: max_distance=0xa000 too large for vmalloc space 0x0
[    0.000000] percpu: Embedded 10 pages/cpu s18960 r0 d22000 u40960
[    0.000000] percpu: wasting 6 pages per chunk
[    0.000000] Kernel command line: root=/dev/vda rw earlycon=uart8250,mmio,0x10000000,115200n8 console=ttyS0
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 113704K/131072K available (1464K kernel code, 293K rwdata, 198K rodata, 130K init, 107K bss, 17368K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-1, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=64 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: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] riscv-intc: 32 local interrupts mapped
[    0.000000] plic: plic@c000000: mapped 95 interrupts with 1 handlers for 2 contexts.
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] clint: clint@2000000: timer running at 10000000 Hz
[    0.000000] clocksource: clint_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns
[    0.000080] sched_clock: 64 bits at 10MHz, resolution 100ns, wraps every 4398046511100ns
[    0.004124] Console: colour dummy device 80x25
[    0.005106] Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj=40000)
[    0.005413] pid_max: default: 4096 minimum: 301
[    0.010858] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.011057] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.029128] rcu: Hierarchical SRCU implementation.
[    0.029274] rcu: 	Max phase no-delay instances is 1000.
[    0.034173] smp: Bringing up secondary CPUs ...
[    0.034684] smp: Brought up 1 node, 1 CPU
[    0.041148] devtmpfs: initialized
[    0.046340] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.046638] futex hash table entries: 16 (order: -2, 1024 bytes, linear)
[    0.063186] clocksource: Switched to clocksource clint_clocksource
[    0.081561] Unpacking initramfs...
[    0.087296] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.100420] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.112152] printk: console [ttyS0] disabled
[    0.114498] 10000000.serial: ttyS0 at MMIO 0x10000000 (irq = 12, base_baud = 230400) is a 16550A
[    0.115756] printk: console [ttyS0] enabled
[    0.115756] printk: console [ttyS0] enabled
[    0.116200] printk: bootconsole [uart8250] disabled
[    0.116200] printk: bootconsole [uart8250] disabled
[    0.139469] clk: Disabling unused clocks
[    0.324635] Freeing initrd memory: 13984K
[    0.347108] Freeing unused kernel image (initmem) memory: 124K
[    0.347369] This architecture does not have kernel memory protection.
[    0.347620] Run /init as init process
test console
test ttyS0
Disabled Tests :export NO_TLS=1 NO_THREADS=1 NO_LOCALE=1 NO_MATH=1 NO_DL=1 NO_NPTL=1 
-------------------- tests_start ------------------------
PASS argp-ex1
PASS arg_test
PASS assert
PASS argp-ex2
PASS argp-ex3
PASS argp-ex4
PASS argp-test
PASS bug-argp1
PASS tst-argp1
PASS tst-argp2
PASS crypt
PASS md5c-test
PASS sha256c-test
PASS sha512c-test
PASS ctype
SKIP tst-iconv1
SKIP tst-iconv2
SKIP tst-iconv3
SKIP tst-iconv4
SKIP tst-iconv5
SKIP tst-iconv6
FAIL bug-if1 got 1 expected 0
	errno = 38 (Function not implemented), expected 6 (No such device or address)
PASS gethost
PASS gethost_r-align
PASS gethostid
PASS getnetent
FAIL if_nameindex got 1 expected 0
	if_nameindex(): Function not implemented
PASS tst-aton
PASS tst-ether_aton
PASS tst-ethers-line
PASS tst-ethers
PASS tst-getni1
PASS tst-getni2
PASS tst-ifaddrs
PASS tst-network
PASS tst-ntoa
PASS tst-res
FAIL tst-sock-nonblock got 1 expected 0
	socket(): Function not implemented
	bind(): Function not implemented
	./tst-sock-nonblock: Nonblocking read returned -1
PASS tst2_mbrtowc
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
PASS tst-mallocfork
PASS tst-mcheck
PASS tst-valloc
PASS bug-glob2
PASS bug-readdir1
PASS dirent
PASS dirent64
PASS fdopen
PASS opendir-tst1
PASS popen
PASS seek
FAIL sem got 1 expected 0
	semget failed: Function not implemented
	semget(IPC_CREAT) = -1
PASS stdarg
PASS tst-hasmntopt
FAIL tst-inotify got 1 expected 0
	inotify_init1(): Function not implemented
	inotify_add_watch(): Function not implemented
	first read() returned -1
	second read() returned -1
	incorrect event mask: 1
PASS tst-mkostemps
FAIL tst-msgctl got 1 expected 0
	msgget: Function not implemented
PASS tst-nftw
PASS tst-preadvwritev
PASS tst-rlimit
PASS tst-rlimit64
PASS tst-scandir
PASS tst-seekdir
FAIL tst-semctl got 1 expected 0
	semget failed: Function not implemented
FAIL tst-shmctl got 1 expected 0
	shmget: Function not implemented
PASS tst-statfs
PASS tst-statvfs
PASS tst-syscall0
PASS tst-syscall1
PASS tst-syscall6
PASS tst-utmp
PASS tst-utmpx
PASS mmap
PASS mmap64
PASS tst-mmap-eofsync
PASS tst-mmap-fflushsync
PASS tst-mmap-offend
PASS tst-mmap-setvbuf
PASS getgroups
PASS grcat
PASS pwcat
PASS test_grp
PASS test_pwd
FAIL tst-regex2 got 1 expected 0
	test 0 pattern 0 '.?.?.?.?.?.?.?Log\.13'
	 0.043806s
	test 0 pattern 1 '(.?)(.?)(.?)(.?)(.?)(.?)(.?)Log\.13'
	 0.066658s
	test 0 pattern 2 '((((((((((.?))))))))))((((((((((.?))))))))))((((((((((.?))))))))))((((((((((.?))))))))))((((((((((.?))))))))))((((((((((.?))))))))))((((((((((.?))))))))))Log\.13'
	Didn't expect signal from child: got `Segmentation fault'
FAIL getrpcent got 139 expected 0
FAIL tst-regexloc got 139 expected 0
PASS tst-posix_spawn
PASS bug269-setjmp
PASS jmpbug
PASS sigjmpbug
PASS tst-setjmp
PASS tst-vfork-longjmp
PASS sigchld
PASS signal
PASS tst-raise
PASS tst-signal
FAIL tst-signalfd got 1 expected 0
	signalfd() failed: Function not implemented
	./tst-signalfd: first read() returned -1
	./tst-signalfd: second read() returned -1
	./tst-signalfd: ssi contains bogus signo
PASS tst-sigset
PASS hello
FAIL tiny got 139 expected 42
PASS memcmp-stat
PASS stat-loop256
PASS stat-time64
PASS stat
PASS 64bit
PASS fclose-loop
PASS lseek_no_lfs
PASS scanf_m
PASS qsort
PASS test-canon
PASS test-canon2
PASS test-mkostemp-O_CLOEXEC
PASS test-mkostemp-child
PASS testatexit
PASS teston_exit
PASS teststrtol
PASS teststrtoq
PASS bug-strcoll1-O2
PASS bug-strcoll1
PASS bug-strncat1-O2
PASS bug-strncat1
FAIL bug-strpbrk1-O2 got 139 expected 0
FAIL bug-strpbrk1 got 139 expected 0
FAIL bug-strspn1-O2 got 139 expected 0
FAIL bug-strspn1 got 139 expected 0
PASS stratcliff-O2
PASS stratcliff
PASS test-ffs-O2
PASS test-ffs
PASS testcopy-O2
PASS testcopy
PASS tester-O2
PASS tester
PASS tst-bswap-O2
PASS tst-bswap
PASS tst-inlcall-O2
PASS tst-inlcall
FAIL tst-memmove-O2 got 132 expected 0
PASS tst-memmove
PASS tst-strlen-O2
PASS tst-strlen
PASS tst-strtok-O2
PASS tst-strtok
PASS termios
FAIL tst-strxfrm-O2 got 139 expected 0
FAIL tst-strxfrm got 139 expected 0
PASS clocktest
PASS test_time
PASS tst-ctime
PASS tst-futimens1
PASS tst-mktime
PASS tst-mktime3
PASS tst-strptime2
FAIL tst-timerfd got 1 expected 0
	timerfd() failed: Function not implemented
	./tst-timerfd: first read() returned -1
	./tst-timerfd: second read() returned -1
	./tst-timerfd: wrong number of expirations: 1488191df20
PASS clone
PASS errno
FAIL exec-null got 139 expected 0
PASS fork
PASS getcwd
PASS getopt
PASS getopt_long
FAIL tst-fallocate got 1 expected 0
	1st fallocate call failed
	Didn't expect signal from child: got `Segmentation fault'
PASS tst-getcwd
FAIL tst-posix_fallocate got 1 expected 0
	1st posix_fallocate call failed
PASS tst-preadwrite
PASS tst-preadwrite64
PASS tst-pselect
PASS tstgetopt
PASS vfork
Total skipped: 6
Total failed: 24
Total passed: 193