Qemu Command : qemu-system-microblazeel -M petalogix-s3adsp1800 -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] random: crng init done [ 0.000000] Ramdisk addr 0x90bd1e50, [ 0.000000] FDT at 0x90d38b84 [ 0.000000] Linux version 6.5.10 (ramin@ramin-pc) (microblazeel-openadk-linux-uclibc-gcc (GCC) 12.3.0, GNU ld (GNU Binutils) 2.41) #2 Fri Nov 24 21:02:57 CET 2023 [ 0.000000] setup_memory: max_mapnr: 0x8000 [ 0.000000] setup_memory: min_low_pfn: 0x90000 [ 0.000000] setup_memory: max_low_pfn: 0x98000 [ 0.000000] setup_memory: max_pfn: 0x98000 [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000090000000-0x0000000097ffffff] [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000090000000-0x0000000097ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000090000000-0x0000000097ffffff] [ 0.000000] setup_cpuinfo: initialising [ 0.000000] setup_cpuinfo: No PVR support. Using static CPU info from FDT [ 0.000000] wt_msr [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Kernel command line: [ 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:all(zero), heap alloc:off, heap free:off [ 0.000000] Memory: 122068K/131072K available (4471K kernel code, 509K rwdata, 832K rodata, 163K init, 220K bss, 9004K 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] irq-xilinx: /plb/interrupt-controller@81800000: num_irq=4, edge=0xa [ 0.000000] ERROR: CPU CCF input clock not found [ 0.000000] /plb/timer@83c00000: irq=1 [ 0.000000] ERROR: timer CCF input clock not found [ 0.000000] ERROR: Using CPU clock frequency [ 0.000000] clocksource: xilinx_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 30580167144 ns [ 0.000000] xilinx_timer_shutdown [ 0.000000] xilinx_timer_set_periodic [ 0.000134] sched_clock: 32 bits at 63MHz, resolution 16ns, wraps every 34359738360ns [ 0.002275] Console: colour dummy device 80x25 [ 0.002514] printk: console [tty0] enabled [ 0.006435] Calibrating delay loop... 2160.64 BogoMIPS (lpj=4321280) [ 0.036599] pid_max: default: 32768 minimum: 301 [ 0.038715] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.038818] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.057787] devtmpfs: initialized [ 0.063202] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.063371] futex hash table entries: 256 (order: -1, 3072 bytes, linear) [ 0.066279] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.068915] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations [ 0.069297] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.079668] pps_core: LinuxPPS API ver. 1 registered [ 0.079715] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [ 0.079817] PTP clock support registered [ 0.086719] clocksource: Switched to clocksource xilinx_clocksource [ 0.099173] NET: Registered PF_INET protocol family [ 0.100467] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.102709] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.102833] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.102909] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.103008] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.103144] TCP: Hash tables configured (established 1024 bind 1024) [ 0.104277] UDP hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.104454] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.105213] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.110582] Unpacking initramfs... [ 0.119142] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 0.120746] io scheduler mq-deadline registered [ 0.120830] io scheduler kyber registered [ 0.239408] 84000000.serial: ttyUL0 at MMIO 0x84000000 (irq = 3, base_baud = 0) is a uartlite [ 0.240224] printk: console [ttyUL0] enabled [ 0.266541] xilinx_emaclite 81000000.ethernet: Device Tree Probing [ 0.267768] xilinx_emaclite 81000000.ethernet: Failed to register mdio bus. [ 0.268003] xilinx_emaclite 81000000.ethernet: MAC address is now 02:00:00:00:00:00 [ 0.269492] xilinx_emaclite 81000000.ethernet: Xilinx EmacLite at 0x81000000 mapped to 0x5b0e719b, irq=2 [ 0.271294] NET: Registered PF_INET6 protocol family [ 0.287324] Segment Routing with IPv6 [ 0.287613] In-situ OAM (IOAM) with IPv6 [ 0.288035] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 0.290321] NET: Registered PF_PACKET protocol family [ 0.309768] clk: Disabling unused clocks [ 1.163732] Freeing initrd memory: 1424K [ 1.191746] Freeing unused kernel image (initmem) memory: 160K [ 1.191968] This architecture does not have kernel memory protection. [ 1.192239] Run /init as init process [ 1.192382] with arguments: [ 1.192492] /init [ 1.192586] with environment: [ 1.192692] HOME=/ [ 1.192781] TERM=linux test console Disabled Tests :export NO_LOCALE=1 NO_MATH=1 -------------------- tests_start ------------------------ PASS argp-ex1 PASS arg_test PASS argp-ex2 PASS assert PASS argp-ex3 PASS argp-ex4 PASS crypt PASS argp-test PASS bug-argp1 PASS md5c-test PASS tst-argp1 PASS sha256c-test PASS ctype PASS sha512c-test PASS tst-argp2 PASS dladdr PASS dlafk SKIP tst-iconv1 PASS dlstatic SKIP tst-iconv2 PASS dltest PASS dltest2 SKIP tst-iconv3 PASS dlundef SKIP tst-iconv4 PASS nodelete PASS nodelete1 SKIP tst-iconv5 PASS test1 SKIP tst-iconv6 PASS test2 PASS testscope PASS tst-origin PASS bug-if1 PASS gethost PASS tst2_mbrtowc PASS gethost_r-align PASS tst_iswalnum PASS gethostid PASS tst_iswalpha PASS getnetent PASS if_nameindex PASS tst_iswcntrl PASS tst-aton PASS tst_iswctype PASS tst_iswdigit PASS tst-ether_aton PASS tst-ethers-line PASS tst_iswgraph PASS tst-ethers PASS tst_iswlower PASS tst-getni1 PASS tst_iswprint PASS tst_iswpunct PASS tst-getni2 PASS tst_iswspace PASS tst_iswupper PASS tst-ifaddrs PASS tst-network PASS tst_iswxdigit PASS tst-ntoa PASS tst_mblen PASS tst-res PASS tst_mbrlen PASS tst-sock-nonblock 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 malloc-standard-alignment PASS tst_wcschr PASS malloc PASS tst_wcscmp PASS mallocbug PASS bug-glob2 PASS realloc-can-shrink PASS realloc0 PASS tst_wcscoll PASS bug-readdir1 PASS dirent PASS tst_wcscpy PASS testmalloc PASS dirent64 PASS mmap PASS tst_wcscspn PASS tst-calloc PASS fdopen FAIL mmap2 got 1 expected 0 /dev/mem opened. Error at line 40, file mmap2.c (75) [Value too large for defined data type] PASS tst-malloc PASS tst_wcslen PASS mmap64 PASS opendir-tst1 PASS tst-mallocfork PASS popen PASS tst-mcheck PASS seek PASS tst-valloc PASS tst_wcsncat PASS tst-mmap-eofsync PASS tst_wcsncmp PASS sem PASS stdarg PASS tst-mmap-fflushsync PASS tst_wcsncpy PASS tst-mmap-offend PASS tst-hasmntopt PASS tst-mmap-setvbuf PASS tst_wcspbrk PASS tst-inotify PASS tst-mkostemps PASS tst_wcsrtombs PASS ex1 PASS tst_wcsspn PASS tst-nftw PASS tst-align PASS ex2 PASS tst-preadvwritev PASS tst_wcsstr PASS tst-align2 PASS tst-rlimit PASS ex3 PASS tst_wcstok PASS tst-align3 PASS tst-rlimit64 PASS ex4 PASS tst_wcstombs PASS tst-atfork1 PASS tst-scandir PASS tst_wcswidth PASS ex5 PASS tst-seekdir PASS tst-atfork2 PASS tst_wcsxfrm PASS ex6 PASS tst-statfs PASS ex7 PASS tst-statvfs PASS tst-attr1 PASS tst_wctob PASS ex8-mtx-odd PASS tst-attr2 PASS tst-syscall0 PASS tst-c99 PASS tst-attr3 PASS tst_wctomb PASS tst-syscall1 PASS tst-join2 PASS tst_wctrans PASS tst-barrier1 PASS tst-syscall6 PASS tst-join3 PASS tst-barrier2 PASS tst_wctype PASS tst-utmp PASS tst-too-many-cleanups PASS tst-barrier3 PASS tst-utmpx PASS tst_wcwidth PASS tst-barrier4 PASS tst-basic1 PASS tst-basic2 PASS tst-basic3 PASS tst-basic4 PASS tst-basic5 PASS tst-basic6 PASS tst-basic7 PASS tst-cancel1 PASS tst-cancel10 PASS tst-cancel11 FAIL tst-cancel12 got 1 expected 0 Didn't expect signal from child: got `Segmentation fault' PASS tst-cancel13 FAIL tst-cancel14 got 1 expected 0 Didn't expect signal from child: got `Segmentation fault' PASS tst-cancel15 PASS getgroups PASS tst-cancel16 PASS grcat PASS tst-cancel18 PASS tst-cancel19 PASS pwcat PASS tst-cancel2 FAIL tst-cancel20 got 1 expected 0 sigaltstack failed Function not implemented PASS test_grp PASS test_pwd FAIL tst-cancel21 got 1 expected 0 sigaltstack failed Function not implemented PASS tst-cancel22 PASS tst-cancel23 PASS tst-cancel25 PASS tst-cancel3 PASS tst-cancel4 PASS tst-cancel5 PASS tst-cancel6 PASS tst-cancel7 PASS tst-cancel8 FAIL tst-cancel9 got 1 expected 0 cancel now waiting for the child Didn't expect signal from child: got `Segmentation fault' FAIL tst-cancelx10 got 1 expected 0 cleanup for 2 cleanup for 4 Didn't expect signal from child: got `Segmentation fault' FAIL tst-cancelx11 got 1 expected 0 cleanup call #1 Didn't expect signal from child: got `Segmentation fault' FAIL tst-cancelx12 got 1 expected 0 Didn't expect signal from child: got `Segmentation fault' PASS tst-cancelx13 FAIL tst-cancelx14 got 1 expected 0 Didn't expect signal from child: got `Segmentation fault' PASS tst-cancelx15 FAIL tst-cancelx16 got 1 expected 0 cleanup handler not called FAIL tst-cancelx18 got 1 expected 0 going to cancel in-time cleanup handler not called FAIL tst-cancelx2 got 1 expected 0 Didn't expect signal from child: got `Segmentation fault' FAIL tst-cancelx20 got 1 expected 0 sigaltstack failed Function not implemented PASS tst-regex2 FAIL tst-cancelx21 got 1 expected 0 sigaltstack failed Function not implemented SKIP tst-regexloc FAIL tst-cancelx3 got 1 expected 0 Didn't expect signal from child: got `Segmentation fault' FAIL tst-cancelx4 got 1 expected 0 cleanup handler not called for 'read' cleanup handler not called for 'readv' cleanup handler not called for 'select' cleanup handler not called for 'pselect' cleanup handler not called for 'poll' cleanup handler not called for 'ppoll' cleanup handler not called for 'write' cleanup handler not called for 'writev' cleanup handler not called for 'usleep' cleanup handler not called for 'nanosleep' cleanup handler not called for 'wait' cleanup handler not called for 'waitid' cleanup handler not called for 'waitpid' cleanup handler not called for 'sigpause' cleanup handler not called for 'sigsuspend' cleanup handler not called for 'sigwait' cleanup handler not called for 'sigwaitinfo' cleanup handler not called for 'sigtimedwait' cleanup handler not called for 'pause' cleanup handler not called for 'accept' cleanup handler not called for 'send' cleanup handler not called for 'recv' cleanup handler not called for 'recvfrom' cleanup handler not called for 'recvmsg' cleanup handler not called for 'msgrcv' Didn't expect signal from child: got `Segmentation fault' PASS tst-cancelx6 PASS tst-cancelx7 FAIL tst-cancelx8 got 1 expected 0 Didn't expect signal from child: got `Segmentation fault' FAIL tst-cancelx9 got 1 expected 0 cancel now waiting for the child Didn't expect signal from child: got `Segmentation fault' PASS tst-cleanup0 PASS tst-cleanup1 PASS tst-cleanup2 PASS tst-cleanup3 PASS tst-cleanup4 PASS tst-cleanupx0 FAIL tst-cleanupx1 got 1 expected 0 ch (3) ch (2) ch (1) Didn't expect signal from child: got `Segmentation fault' PASS tst-cleanupx2 FAIL tst-cleanupx3 got 1 expected 0 ch (3) ch (2) ch (1) Didn't expect signal from child: got `Segmentation fault' PASS tst-cleanupx4 PASS tst-clock PASS getrpcent PASS tst-clock1 PASS tst-clock2 PASS tst-clock_nanosleep PASS tst-posix_spawn PASS tst-clockid PASS tst-cond-deadlock PASS tst-cond1 PASS tst-cond10 PASS tst-cond11 PASS tst-cond12 PASS tst-cond13 PASS tst-cond14 PASS tst-cond15 FAIL tst-cond16 got 1 expected 0 Timed out: killed the child process FAIL tst-cond17 got 1 expected 0 Timed out: killed the child process PASS tst-cond18 PASS tst-cond19 PASS tst-cond2 PASS tst-cond20 PASS tst-cond21 PASS tst-cond22 PASS tst-cond23 PASS tst-cond3 PASS tst-cond4 PASS tst-cond5 PASS tst-cond6 PASS tst-cond7 PASS tst-cond8 PASS tst-cond9 PASS tst-cpuclock1 PASS tst-cpuclock2 FAIL tst-cputimer1 got 1 expected 0 clock_gettime returned timespec = { 0, 986544 } clock_getres returned timespec = { 0, 1 } *** errors occurred in sig1 handler 4 *** errors occurred in sig2 handler 4 *** errors occurred in sig1 handler 4 *** errors occurred in sig2 handler 4 FAIL tst-cputimer2 got 1 expected 0 clock_gettime returned timespec = { 0, 0 } clock_getres returned timespec = { 0, 1 } *** errors occurred in sig1 handler 4 *** errors occurred in sig2 handler 4 *** errors occurred in sig1 handler 4 *** errors occurred in sig2 handler 4 FAIL tst-cputimer3 got 1 expected 0 clock_gettime returned timespec = { 0, 0 } clock_getres returned timespec = { 0, 1 } *** errors occurred in sig1 handler 4 *** errors occurred in sig2 handler 4 *** errors occurred in sig1 handler 4 *** errors occurred in sig2 handler 4 PASS tst-detach1 PASS tst-eintr1 PASS tst-eintr2 PASS tst-eintr3 PASS tst-eintr4 PASS tst-eintr5 PASS tst-exec2 PASS tst-exec3 PASS tst-exec4 PASS tst-exit1 PASS tst-exit2 PASS tst-exit3 PASS tst-flock1 PASS tst-flock2 PASS tst-fork1 PASS tst-fork2 PASS tst-fork3 PASS tst-fork4 PASS tst-getpid1 PASS tst-getpid2 PASS tst-getpid3 PASS tst-initializers1-c89 PASS tst-initializers1-c99 PASS tst-initializers1-gnu89 PASS tst-initializers1-gnu99 PASS tst-initializers1 PASS tst-join1 PASS tst-join2 PASS tst-join3 PASS tst-join4 PASS tst-join5 PASS tst-join6 PASS tst-key1 PASS tst-key2 PASS tst-key3 PASS tst-key4 PASS tst-kill1 PASS tst-kill2 PASS tst-kill3 PASS tst-kill4 PASS tst-kill5 PASS tst-kill6 PASS tst-mqueue1 PASS tst-mqueue2 PASS tst-mqueue3 PASS tst-mqueue4 FAIL tst-mqueue5 got 1 expected 0 unexpected siginfo_t fields: pid 3220265624 (22607), uid 0 (0), code -1074701800 (-3), si_int 26 (26) unexpected siginfo_t fields: pid 3220265592 (22607), uid 0 (0), code -1074701832 (-3), si_ptr 0xbff15b94 (0xbff15b94) unexpected siginfo_t fields: pid 3220265744 (22608), uid 0 (0), code -1074701680 (-3), si_int 15 (15) unexpected siginfo_t fields: pid 3220265576 (22607), uid 0 (0), code -1074701848 (-3), si_int -559038737 (-559038737) child failed with status 256 PASS tst-mqueue6 PASS tst-mqueue7 FAIL tst-mqueue8 got 1 expected 0 going to cancel mq_receive in-time in-time mq_receive cancellation succeeded going to cancel mq_receive early Didn't expect signal from child: got `Segmentation fault' PASS tst-mqueue9 PASS tst-mutex1 PASS tst-mutex2 PASS tst-mutex3 PASS tst-mutex4 PASS tst-mutex5 PASS tst-mutex5a PASS tst-mutex6 PASS tst-mutex7 PASS tst-mutex7a PASS tst-mutex8 PASS tst-mutex9 PASS tst-oddstacklimit PASS tst-once1 PASS tst-once2 PASS tst-once3 PASS tst-once4 FAIL tst-oncex3 got 1 expected 0 once_handler1: locked going to cancel Didn't expect signal from child: got `Segmentation fault' FAIL tst-oncex4 got 1 expected 0 joined first thread cl_called = 0 PASS tst-popen1 PASS tst-raise1 PASS tst-rwlock1 PASS tst-rwlock10 PASS tst-rwlock11 PASS tst-rwlock12 PASS tst-rwlock13 PASS tst-rwlock14 PASS tst-rwlock2 PASS tst-rwlock2a PASS tst-rwlock3 PASS tst-rwlock4 PASS tst-rwlock5 PASS tst-rwlock6 PASS tst-rwlock7 PASS tst-rwlock8 PASS tst-rwlock9 PASS tst-sched1 PASS tst-sem1 PASS tst-sem10 PASS tst-sem11 PASS tst-sem12 PASS tst-sem2 PASS tst-sem3 PASS tst-sem4 PASS tst-sem5 PASS tst-sem6 PASS tst-sem7 PASS tst-sem8 PASS tst-sem9 PASS tst-signal1 PASS tst-signal2 PASS tst-signal3 PASS tst-signal4 PASS tst-signal5 FAIL tst-signal6 got 1 expected 0 tf: sigaltstack failed PASS tst-signal7 PASS tst-spin1 PASS tst-spin2 PASS tst-spin3 PASS tst-stack1 PASS tst-stack2 PASS tst-stdio1 PASS tst-stdio2 PASS tst-sysconf PASS tst-timer2 PASS tst-timer3 FAIL tst-timer4 got 1 expected 0 clock_gettime returned timespec = { 1170, 217501344 } clock_getres returned timespec = { 0, 4000000 } *** errors occurred in sig1 handler 4 *** errors occurred in sig2 handler 4 *** errors occurred in sig1 handler 4 *** errors occurred in sig2 handler 4 FAIL tst-timer5 got 1 expected 0 clock_gettime returned timespec = { 1174, 155029872 } clock_getres returned timespec = { 0, 4000000 } *** errors occurred in sig1 handler 4 *** errors occurred in sig2 handler 4 *** errors occurred in sig1 handler 4 *** errors occurred in sig2 handler 4 PASS tst-tls1 PASS tst-tls3 PASS tst-tls4 PASS tst-tls5 PASS tst-tsd1 PASS tst-tsd2 PASS bug269-setjmp PASS tst-tsd3 PASS jmpbug PASS tst-tsd4 PASS sigjmpbug PASS tst-tsd5 PASS tst-setjmp PASS tst-tsd6 PASS tst-vfork-longjmp PASS tst-umask1 PASS tst-vfork1x PASS tst-vfork2x PASS sigchld PASS signal PASS tst-raise PASS tst-signal PASS tst-signalfd PASS tst-sigset 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 tst-inlcall PASS tst-memmove PASS tst-strlen PASS tst-strtok PASS tst-strxfrm PASS termios PASS clocktest PASS test_time PASS tst-ctime PASS tst-futimens1 PASS tst-tls-at-ctor FAIL tst-tls1 got 1 expected 0 set bar to 1 (LE) Didn't expect signal from child: got `Segmentation fault' PASS tst-mktime PASS tst-mktime3 FAIL tst-tls10 got 139 expected 0 Segmentation fault PASS tst-strptime2 FAIL tst-tls11 got 134 expected 0 Aborted PASS tst-timerfd PASS tst-tls12 PASS tst-tls13 PASS clone PASS tst-tls14 PASS errno PASS tst-tls15 PASS exec-null PASS tst-tls17 PASS fork PASS tst-tls18 PASS getcwd FAIL tst-tls2 got 1 expected 0 set bar to 1 (LE) Didn't expect signal from child: got `Segmentation fault' PASS getopt FAIL tst-tls3 got 1 expected 0 set baz to 3 (LE) Didn't expect signal from child: got `Segmentation fault' PASS getopt_long PASS tst-tls4 PASS tst-fallocate PASS tst-tls5 PASS tst-getcwd PASS tst-posix_fallocate PASS tst-tls6 PASS tst-preadwrite PASS tst-tls7 PASS tst-preadwrite64 PASS tst-tls8 PASS tst-pselect PASS tstgetopt PASS tst-tls9 PASS vfork Total skipped: 7 Total failed: 38 Total passed: 437