Qemu Command : qemu-system-nios2 -M 10m50-ghrd -nographic -kernel kernel.img -initrd rootfs.img.xz -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] OF: fdt: Ignoring memory block 0x0 - 0x400 [ 0.000000] earlycon: ns16550a0 at MMIO32 0x18001600 (options '') [ 0.000000] printk: bootconsole [ns16550a0] enabled [ 0.000000] Linux version 6.5.10 (ramin@ramin-pc) (nios2-openadk-linux-uclibc-gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.41) #3 Sat Nov 11 17:11:52 CET 2023 [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000008000000-0x00000000ffffefff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000008000000-0x000000000fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000008000000-0x000000000fffffff] [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Kernel command line: debug earlycon console=ttyS0,115200 [ 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] Sorting __ex_table... [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32512 [ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off [ 0.000000] Memory: 124100K/131072K available (3193K kernel code, 483K rwdata, 484K rodata, 144K init, 196K bss, 6972K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] clocksource: nios2-clksrc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 25483472618 ns [ 0.000000] Calibrating delay loop (skipped), value calculated using timer frequency.. 150.00 BogoMIPS (lpj=300000) [ 0.000000] pid_max: default: 4096 minimum: 301 [ 0.004000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.004000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.024000] devtmpfs: initialized [ 0.032000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.032000] futex hash table entries: 16 (order: -5, 192 bytes, linear) [ 0.032000] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.048000] SCSI subsystem initialized [ 0.056000] clocksource: Switched to clocksource nios2-clksrc [ 0.060000] NET: Registered PF_INET protocol family [ 0.060000] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.064000] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.064000] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.064000] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.064000] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.064000] TCP: Hash tables configured (established 1024 bind 1024) [ 0.064000] UDP hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.064000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.064000] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.072000] Unpacking initramfs... [ 0.076000] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 0.096000] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.104000] printk: console [ttyS0] disabled [ 0.104000] 18001600.serial: ttyS0 at MMIO 0x18001600 (irq = 2, base_baud = 3125000) is a Altera 16550 FIFO32 [ 0.108000] printk: console [ttyS0] enabled [ 0.108000] printk: console [ttyS0] enabled [ 0.108000] printk: bootconsole [ns16550a0] disabled [ 0.108000] printk: bootconsole [ns16550a0] disabled [ 0.112000] altera_tse 400.ethernet: resource pcs not defined [ 0.916000] Freeing initrd memory: 1288K [ 0.940000] altera_tse 400.ethernet (unnamed net_device) (uninitialized): MDIO bus altera_tse-0: created [ 0.944000] altera_tse 400.ethernet: Altera TSE MAC version 0.0 at 0x00000400 irq 3/4 [ 0.944000] NET: Registered PF_PACKET protocol family [ 0.956000] clk: Disabling unused clocks [ 0.984000] Freeing unused kernel image (initmem) memory: 144K [ 0.984000] This architecture does not have kernel memory protection. [ 0.984000] Run /init as init process [ 0.984000] with arguments: [ 0.984000] /init [ 0.984000] with environment: [ 0.984000] HOME=/ [ 0.984000] TERM=linux test console test ttyS0 Disabled Tests :export NO_DL=1 NO_THREADS=1 NO_TLS=1 NO_LOCALE=1 NO_MATH=1 NO_NPTL=1 -------------------- tests_start ------------------------ PASS argp-ex1 PASS argp-ex2 PASS argp-ex3 PASS arg_test PASS argp-ex4 PASS argp-test PASS bug-argp1 PASS tst-argp1 PASS assert PASS tst-argp2 PASS crypt PASS ctype PASS md5c-test PASS sha256c-test SKIP tst-iconv1 PASS sha512c-test SKIP tst-iconv2 PASS bug-if1 SKIP tst-iconv3 PASS gethost SKIP tst-iconv4 PASS gethost_r-align SKIP tst-iconv5 PASS gethostid SKIP tst-iconv6 PASS getnetent PASS if_nameindex PASS tst-aton PASS tst2_mbrtowc PASS tst-ether_aton PASS tst_iswalnum PASS tst-ethers-line PASS tst-ethers PASS tst_iswalpha PASS tst-getni1 PASS tst_iswcntrl PASS tst-getni2 PASS tst_iswctype PASS tst-ifaddrs PASS tst_iswdigit PASS tst-network PASS tst_iswgraph PASS tst-ntoa PASS tst_iswlower PASS tst-res PASS tst_iswprint PASS tst-sock-nonblock 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 malloc-standard-alignment PASS tst_wcrtomb PASS malloc PASS tst_wcscat PASS mallocbug PASS tst_wcschr PASS realloc-can-shrink PASS tst_wcscmp PASS realloc0 PASS testmalloc PASS tst_wcscoll PASS tst_wcscpy PASS tst-calloc PASS tst-malloc PASS tst_wcscspn PASS tst_wcslen PASS tst-mallocfork PASS tst_wcsncat PASS tst-mcheck PASS bug-glob2 PASS tst_wcsncmp PASS bug-readdir1 PASS tst-valloc PASS tst_wcsncpy PASS dirent PASS tst_wcspbrk PASS dirent64 PASS tst_wcsrtombs PASS fdopen PASS tst_wcsspn PASS opendir-tst1 PASS tst_wcsstr FAIL popen got 1 expected 0 popen.c:42: pclose(f) failed (exit status ffffffff != 0000) PASS tst_wcstok PASS seek PASS mmap PASS tst_wcstombs PASS sem PASS mmap2 PASS stdarg PASS tst_wcswidth PASS mmap64 PASS tst-hasmntopt PASS tst_wcsxfrm PASS getgroups PASS grcat PASS pwcat PASS test_grp PASS tst-mmap-eofsync PASS test_pwd PASS tst-inotify PASS tst_wctob PASS tst-regex2 PASS tst-mmap-fflushsync PASS tst_wctomb PASS tst-mkostemps PASS tst-mmap-offend SKIP tst-regexloc PASS tst-nftw PASS getrpcent PASS tst-mmap-setvbuf PASS tst_wctrans PASS tst-preadvwritev PASS tst-posix_spawn PASS tst_wctype PASS tst-rlimit PASS tst_wcwidth PASS tst-rlimit64 PASS bug269-setjmp PASS tst-scandir PASS jmpbug PASS sigchld PASS tst-seekdir PASS sigjmpbug PASS tst-setjmp PASS signal PASS tst-statfs PASS tst-vfork-longjmp PASS tst-raise PASS tst-statvfs PASS tst-signal PASS tst-syscall0 PASS tst-signalfd PASS tst-syscall1 PASS tst-sigset PASS tst-syscall6 PASS tst-utmp PASS tst-utmpx 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 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 PASS bug-strncat1 PASS bug-strpbrk1 PASS bug-strspn1 PASS stratcliff PASS test-ffs PASS testcopy PASS tester PASS tst-bswap PASS termios PASS tst-inlcall PASS tst-memmove PASS tst-strlen PASS clocktest PASS tst-strtok PASS test_time PASS tst-strxfrm PASS tst-ctime PASS tst-futimens1 PASS tst-mktime PASS tst-mktime3 PASS tst-strptime2 PASS tst-timerfd PASS clone FAIL errno got 139 expected 0 Segmentation fault PASS exec-null PASS fork PASS getcwd PASS getopt PASS getopt_long PASS tst-fallocate PASS tst-getcwd PASS tst-posix_fallocate PASS tst-preadwrite PASS tst-preadwrite64 FAIL tst-pselect got 1 expected 0 sending ourselves a signal signal is pending; calling pselect() got signal pselect() returned -1, errno 514 (Unknown error 514) PASS tstgetopt PASS vfork Total skipped: 7 Total failed: 3 Total passed: 196