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] Booting Linux on hartid 0
[    0.000000] Linux version 6.18.33 (ramin@ramin-pc) (riscv32-openadk-linux-uclibc-gcc (GCC) 10.5.0, GNU ld (GNU Binutils) 2.39) #1 SMP Thu May 28 13:43:30 CEST 2026
[    0.000000] random: crng init done
[    0.000000] Machine model: riscv-virtio,qemu
[    0.000000] earlycon: uart8250 at MMIO 0x10000000 (options '115200n8')
[    0.000000] printk: legacy bootconsole [uart8250] enabled
[    0.000000] OF: reserved mem: Reserved memory: No reserved-memory node in the DT
[    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] Falling back to deprecated "riscv,isa"
[    0.000000] riscv: base ISA extensions acdfhim
[    0.000000] riscv: ELF capabilities acdfim
[    0.000000] Ticket spinlock: enabled
[    0.000000] percpu: max_distance=0xa000 too large for vmalloc space 0x0
[    0.000000] percpu: Embedded 10 pages/cpu s20304 r0 d20656 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] printk: log buffer data + meta data: 65536 + 204800 = 270336 bytes
[    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: 32768
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    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] 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.000082] sched_clock: 64 bits at 10MHz, resolution 100ns, wraps every 4398046511100ns
[    0.004742] Console: colour dummy device 80x25
[    0.008680] Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj=40000)
[    0.009019] pid_max: default: 4096 minimum: 301
[    0.010411] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.010593] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.030956] rcu: Hierarchical SRCU implementation.
[    0.031158] rcu: 	Max phase no-delay instances is 1000.
[    0.034134] smp: Bringing up secondary CPUs ...
[    0.034651] smp: Brought up 1 node, 1 CPU
[    0.037966] Memory: 100888K/131072K available (1656K kernel code, 719K rwdata, 221K rodata, 372K init, 108K bss, 29820K reserved, 0K cma-reserved)
[    0.042682] devtmpfs: initialized
[    0.051011] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.051321] posixtimers hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.051565] futex hash table entries: 16 (1024 bytes on 1 NUMA nodes, total 1 KiB, linear).
[    0.077622] cpu0: Ratio of byte access time to unaligned word access is 3.42, unaligned accesses are fast
[    0.091798] clocksource: Switched to clocksource clint_clocksource
[    0.113151] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.116565] Unpacking initramfs...
[    0.123834] riscv-plic: plic@c000000: mapped 95 interrupts with 1 handlers for 2 contexts.
[    0.128116] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.140470] printk: legacy console [ttyS0] disabled
[    0.142700] 10000000.serial: ttyS0 at MMIO 0x10000000 (irq = 12, base_baud = 230400) is a 16550A
[    0.144085] printk: legacy console [ttyS0] enabled
[    0.144085] printk: legacy console [ttyS0] enabled
[    0.199989] printk: legacy bootconsole [uart8250] disabled
[    0.199989] printk: legacy bootconsole [uart8250] disabled
[    0.293156] clk: Disabling unused clocks
[    0.293463] PM: genpd: Disabling unused power domains
[    0.383119] Freeing initrd memory: 25548K
[    0.408377] Freeing unused kernel image (initmem) memory: 368K
[    0.408660] This architecture does not have kernel memory protection.
[    0.408911] Run /init as init process
test console
test ttyS0
Disabled Tests :export NO_DL=1 NO_MATH=1 NO_NPTL=1 NO_THREADS=1 NO_LOCALE=1 NO_TLS=1 
-------------------- tests_start ------------------------
PASS argp-ex1
PASS arg_test
PASS argp-ex2
PASS argp-ex3
PASS assert
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
PASS tst-regex2
SKIP tst-regexloc
PASS getrpcent
PASS tst-posix_spawn
PASS bug269-setjmp
PASS jmpbug
PASS sigchld
PASS sigjmpbug
PASS signal
PASS tst-setjmp
PASS tst-raise
PASS tst-vfork-longjmp
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
PASS tiny
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 bug-strcoll1-O2
PASS test-canon
PASS bug-strcoll1
PASS test-canon2
PASS termios
PASS bug-strncat1-O2
PASS test-mkostemp-O_CLOEXEC
PASS bug-strncat1
PASS bug-strpbrk1-O2
PASS test-mkostemp-child
PASS bug-strpbrk1
PASS testatexit
PASS teston_exit
PASS bug-strspn1-O2
PASS bug-strspn1
PASS teststrtol
PASS stratcliff-O2
PASS stratcliff
PASS teststrtoq
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
PASS tst-memmove-O2
PASS tst-memmove
PASS tst-strlen-O2
PASS tst-strlen
PASS tst-strtok-O2
PASS tst-strtok
PASS tst-strxfrm-O2
PASS tst-strxfrm
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: 8278270000000000
PASS clone
PASS errno
PASS exec-null
PASS fork
PASS getcwd
PASS getopt
PASS getopt_long
FAIL tst-fallocate got 1 expected 0
	1st fallocate call failed
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: 7
Total failed: 12
Total passed: 204