[ 0.000000] Compiled-in FDT at c02e6680 [ 0.000000] Linux version 4.9.38-1 (wbx@gcc68) (gcc version 5.4.0 (GCC) ) #7 Mon Jul 31 08:52:53 CEST 2017 [ 0.000000] CPU: OpenRISC-0 (revision 0) @20 MHz [ 0.000000] -- dcache disabled [ 0.000000] -- icache disabled [ 0.000000] -- dmmu: 64 entries, 1 way(s) [ 0.000000] -- immu: 64 entries, 1 way(s) [ 0.000000] -- additional features: [ 0.000000] -- PIC [ 0.000000] -- timer [ 0.000000] setup_memory: Memory: 0x0-0x4000000 [ 0.000000] Reserved - 0x03fff270-0x00000d57 [ 0.000000] Setting up paging and PTEs. [ 0.000000] map_ram: Memory: 0x0-0x4000000 [ 0.000000] itlb_miss_handler c0002198 [ 0.000000] dtlb_miss_handler c0002000 [ 0.000000] OpenRISC Linux -- http://openrisc.net [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8160 [ 0.000000] Kernel command line: console=uart,mmio,0x90000000,115200 [ 0.000000] earlycon: uart0 at MMIO 0x90000000 (options '115200') [ 0.000000] bootconsole [uart0] enabled [ 0.000000] PID hash table entries: 256 (order: -3, 1024 bytes) [ 0.000000] Dentry cache hash table entries: 8192 (order: 2, 32768 bytes) [ 0.000000] Inode-cache hash table entries: 4096 (order: 1, 16384 bytes) [ 0.000000] Sorting __ex_table... [ 0.000000] Memory: 42992K/65536K available (2239K kernel code, 95K rwdata, 520K rodata, 19080K init, 183K bss, 22544K reserved, 0K cma-reserved) [ 0.000000] mem_init_done ........................................... [ 0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:32 [ 0.000000] clocksource: openrisc_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 95563022313 ns [ 0.000000] 40.00 BogoMIPS (lpj=80000) [ 0.000000] pid_max: default: 4096 minimum: 301 [ 0.000000] Mount-cache hash table entries: 2048 (order: 0, 8192 bytes) [ 0.004000] Mountpoint-cache hash table entries: 2048 (order: 0, 8192 bytes) [ 0.048000] devtmpfs: initialized [ 0.064000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.064000] futex hash table entries: 16 (order: -6, 192 bytes) [ 0.072000] NET: Registered protocol family 16 [ 0.196000] clocksource: Switched to clocksource openrisc_timer [ 0.252000] NET: Registered protocol family 2 [ 0.272000] TCP established hash table entries: 2048 (order: 0, 8192 bytes) [ 0.276000] TCP bind hash table entries: 2048 (order: 0, 8192 bytes) [ 0.276000] TCP: Hash tables configured (established 2048 bind 2048) [ 0.276000] UDP hash table entries: 512 (order: 0, 8192 bytes) [ 0.280000] UDP-Lite hash table entries: 512 (order: 0, 8192 bytes) [ 0.280000] NET: Registered protocol family 1 [ 3.908000] devtmpfs: mounted [ 4.000000] workingset: timestamp_bits=30 max_order=13 bucket_order=0 [ 11.012000] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 11.368000] 90000000.serial: ttyS0 at MMIO 0x90000000 (irq = 2, base_baud = 1250000) is a 16550A [ 11.372000] console [ttyS0] enabled [ 11.372000] console [ttyS0] enabled [ 11.372000] bootconsole [uart0] disabled [ 11.372000] bootconsole [uart0] disabled [ 11.496000] libphy: Fixed MDIO Bus: probed [ 11.500000] NET: Registered protocol family 17 [ 12.128000] Starting Linux (built with OpenADK). [ 12.156000] Freeing unused kernel memory: 19080K (c02cc000 - c156e000) [ 12.156000] This architecture does not have kernel memory protection. System initialization ... Starting network... ip: SIOCGIFFLAGS: No such device failed (1). Starting adktest... Starting test script ... Linux openadk 4.9.38-1 #7 Mon Jul 31 08:52:53 CEST 2017 openrisc GNU/Linux rdate: bad address 'ptbtime1.ptb.de' .... termios PASS termios .... crypt PASS crypt .... md5c-test PASS md5c-test .... sha256c-test PASS sha256c-test .... sha512c-test PASS sha512c-test .... qsort PASS qsort .... test-canon PASS test-canon .... test-canon2 PASS test-canon2 .... test-mkostemp-O_CLOEXEC PASS test-mkostemp-O_CLOEXEC .... test-mkostemp-child PASS test-mkostemp-child .... testatexit PASS testatexit .... teston_exit PASS teston_exit .... teststrtol PASS teststrtol .... teststrtoq PASS teststrtoq .... getgroups PASS getgroups .... grcat PASS grcat .... pwcat PASS pwcat .... test_grp PASS test_grp .... test_pwd PASS test_pwd .... tst2_mbrtowc PASS tst2_mbrtowc .... tst_iswalnum PASS tst_iswalnum .... tst_iswalpha PASS tst_iswalpha .... tst_iswcntrl PASS tst_iswcntrl .... tst_iswctype PASS tst_iswctype .... tst_iswdigit PASS tst_iswdigit .... tst_iswgraph PASS tst_iswgraph .... tst_iswlower PASS tst_iswlower .... tst_iswprint PASS tst_iswprint .... tst_iswpunct PASS tst_iswpunct .... tst_iswspace PASS tst_iswspace .... tst_iswupper PASS tst_iswupper .... tst_iswxdigit PASS tst_iswxdigit .... tst_mblen PASS tst_mblen .... tst_mbrlen PASS tst_mbrlen .... tst_mbrtowc PASS tst_mbrtowc .... tst_mbsrtowcs PASS tst_mbsrtowcs .... tst_mbstowcs PASS tst_mbstowcs .... tst_mbtowc PASS tst_mbtowc .... tst_strcoll PASS tst_strcoll .... tst_strxfrm PASS tst_strxfrm .... tst_towctrans PASS tst_towctrans .... tst_towlower PASS tst_towlower .... tst_towupper PASS tst_towupper .... tst_wcrtomb PASS tst_wcrtomb .... tst_wcscat PASS tst_wcscat .... tst_wcschr PASS tst_wcschr .... tst_wcscmp PASS tst_wcscmp .... tst_wcscoll PASS tst_wcscoll .... tst_wcscpy PASS tst_wcscpy .... tst_wcscspn PASS tst_wcscspn .... tst_wcslen PASS tst_wcslen .... tst_wcsncat PASS tst_wcsncat .... tst_wcsncmp PASS tst_wcsncmp .... tst_wcsncpy PASS tst_wcsncpy .... tst_wcspbrk PASS tst_wcspbrk .... tst_wcsrtombs PASS tst_wcsrtombs .... tst_wcsspn PASS tst_wcsspn .... tst_wcsstr PASS tst_wcsstr .... tst_wcstok PASS tst_wcstok .... tst_wcstombs PASS tst_wcstombs .... tst_wcswidth PASS tst_wcswidth .... tst_wcsxfrm PASS tst_wcsxfrm .... tst_wctob PASS tst_wctob .... tst_wctomb PASS tst_wctomb .... tst_wctrans PASS tst_wctrans .... tst_wctype PASS tst_wctype .... tst_wcwidth PASS tst_wcwidth .... bug-strcoll1 PASS bug-strcoll1 .... bug-strncat1 PASS bug-strncat1 .... bug-strpbrk1 PASS bug-strpbrk1 .... bug-strspn1 PASS bug-strspn1 .... stratcliff PASS stratcliff .... test-ffs PASS test-ffs .... testcopy PASS testcopy .... tester PASS tester .... tst-bswap PASS tst-bswap .... tst-inlcall PASS tst-inlcall .... tst-memmove PASS tst-memmove .... tst-strlen PASS tst-strlen .... tst-strtok PASS tst-strtok .... tst-strxfrm PASS tst-strxfrm .... bug-glob2 PASS bug-glob2 .... bug-readdir1 PASS bug-readdir1 .... dirent PASS dirent .... dirent64 PASS dirent64 .... fdopen PASS fdopen .... opendir-tst1 PASS opendir-tst1 .... popen PASS popen .... seek PASS seek .... sem PASS sem .... stdarg PASS stdarg .... tst-inotify PASS tst-inotify .... tst-mkostemps PASS tst-mkostemps .... tst-nftw PASS tst-nftw .... tst-preadvwritev SKIP tst-preadvwritev .... tst-scandir PASS tst-scandir .... tst-seekdir PASS tst-seekdir .... tst-statfs PASS tst-statfs .... tst-statvfs PASS tst-statvfs .... tst-utmp FAIL tst-utmp got 1 expected 0 UTMP entry does not match UTMP entry does not match UTMP entry does not match UTMP entry does not match UTMP entry does not match UTMP entry does not match bogus login entry for `ttyp0' UTMP entry does not match UTMP entry does not match .... tst-utmpx FAIL tst-utmpx got 1 expected 0 UTMP entry does not match UTMP entry does not match UTMP entry does not match UTMP entry does not match UTMP entry does not match UTMP entry does not match bogus login entry for `ttyp0' UTMP entry does not match UTMP entry does not match .... 64bit PASS 64bit .... fclose-loop PASS fclose-loop .... lseek_no_lfs PASS lseek_no_lfs .... scanf_m PASS scanf_m .... argp-ex1 PASS argp-ex1 .... argp-ex2 PASS argp-ex2 .... argp-ex3 PASS argp-ex3 .... argp-ex4 PASS argp-ex4 .... argp-test PASS argp-test .... bug-argp1 PASS bug-argp1 .... tst-argp1 PASS tst-argp1 .... tst-argp2 PASS tst-argp2 .... tst-align PASS tst-align .... tst-align2 PASS tst-align2 .... tst-align3 PASS tst-align3 .... tst-atfork1 PASS tst-atfork1 .... tst-atfork2 PASS tst-atfork2 .... tst-attr1 PASS tst-attr1 .... tst-attr2 PASS tst-attr2 .... tst-attr3 FAIL tst-attr3 got 1 expected 0 initial thread stack 0x7f360000-0x7fb60000 (0x800000) ./tst-attr3: pthread_attr_getstack returned range does not cover thread's stack ./tst-attr3: guardsize differs 0 != 8192 ./tst-attr3: pthread_attr_getstack returned range does not cover thread's stack ./tst-attr3: guardsize differs 0 != 8192 ./tst-attr3: pthread_attr_getstack returned range does not cover thread's stack ./tst-attr3: guardsize differs 0 != 131072 .... tst-barrier1 PASS tst-barrier1 .... tst-barrier2 FAIL tst-barrier2 got 1 expected 0 going to fork now Didn't expect signal from child: got `Alarm clock' .... tst-barrier3 FAIL tst-barrier3 got 1 expected 0 Timed out: killed the child process .... tst-barrier4 FAIL tst-barrier4 got 1 expected 0 Timed out: killed the child process .... tst-basic1 PASS tst-basic1 .... tst-basic2 PASS tst-basic2 .... tst-basic3 FAIL tst-basic3 got 1 expected 0 starting 20 + 1 threads join failed while 4 are running Expected signal 'User defined signal 1' from child, got none .... tst-basic4 PASS tst-basic4 .... tst-basic5 PASS tst-basic5 .... tst-basic6 FAIL tst-basic6 got 1 expected 0 Timed out: killed the child process .... tst-basic7 PASS tst-basic7 .... tst-cancel1 FAIL tst-cancel1 got 1 expected 0 Timed out: killed the child process .... tst-cancel10 FAIL tst-cancel10 got 1 expected 0 libgcc_s.so.1 must be installed for pthread_cancel to work libgcc_s.so.1 must be installed for pthread_cancel to work Didn't expect signal from child: got `Aborted' .... tst-cancel11 FAIL tst-cancel11 got 1 expected 0 Timed out: killed the child process .... tst-cancel12 FAIL tst-cancel12 got 1 expected 0 Timed out: killed the child process .... tst-cancel13 FAIL tst-cancel13 got 1 expected 0 Timed out: killed the child process .... tst-cancel14 FAIL tst-cancel14 got 1 expected 0 Timed out: killed the child process .... tst-cancel15 FAIL tst-cancel15 got 1 expected 0 sem_timedwait returned, e = -1, errno = 110 Timed out: killed the child process .... tst-cancel16 FAIL tst-cancel16 got 1 expected 0 Timed out: killed the child process .... tst-cancel18 FAIL tst-cancel18 got 1 expected 0 Timed out: killed the child process .... tst-cancel19 PASS tst-cancel19 .... tst-cancel2 FAIL tst-cancel2 got 1 expected 0 write succeeded result is wrong: expected 0xffffffff, got 0x1 .... tst-cancel20 FAIL tst-cancel20 got 1 expected 0 sa_flags = 0 test Timed out: killed the child process .... tst-cancel21 FAIL tst-cancel21 got 1 expected 0 sa_flags = 0 test pthread_kill failed No such process .... tst-cancel22 FAIL tst-cancel22 got 1 expected 0 .... tst-cancel23 FAIL tst-cancel23 got 1 expected 0 .... tst-cancel25 FAIL tst-cancel25 got 1 expected 0 Timed out: killed the child process .... tst-cancel3 FAIL tst-cancel3 got 1 expected 0 Timed out: killed the child process .... tst-cancel4 FAIL tst-cancel4 got 1 expected 0 Timed out: killed the child process .... tst-cancel5 FAIL tst-cancel5 got 1 expected 0 Timed out: killed the child process .... tst-cancel6 FAIL tst-cancel6 got 1 expected 0 Timed out: killed the child process .... tst-cancel7 FAIL tst-cancel7 got 1 expected 0 Timed out: killed the child process .... tst-cancel8 FAIL tst-cancel8 got 1 expected 0 Timed out: killed the child process .... tst-cancel9 FAIL tst-cancel9 got 1 expected 0 Timed out: killed the child process .... tst-cancelx10 FAIL tst-cancelx10 got 1 expected 0 cancel failedcancel failed .... tst-cancelx11 FAIL tst-cancelx11 got 1 expected 0 Timed out: killed the child process .... tst-cancelx12 FAIL tst-cancelx12 got 1 expected 0 Timed out: killed the child process .... tst-cancelx13 FAIL tst-cancelx13 got 1 expected 0 Timed out: killed the child process .... tst-cancelx14 FAIL tst-cancelx14 got 1 expected 0 Timed out: killed the child process .... tst-cancelx15 FAIL tst-cancelx15 got 1 expected 0 Segmentation fault OpenADK git version: e89670d5b776de9e51f76fd98976cd8b2989eb55 Compiler used: Using built-in specs. COLLECT_GCC=/home/wbx/embedded-test/openadk/toolchain_qemu-or1k_uclibc-ng/usr/bin/or1k-openadk-linux-uclibc-gcc COLLECT_LTO_WRAPPER=/home/wbx/embedded-test/openadk/toolchain_qemu-or1k_uclibc-ng/usr/libexec/gcc/or1k-openadk-linux-uclibc/5.4.0/lto-wrapper Target: or1k-openadk-linux-uclibc Configured with: /home/wbx/embedded-test/openadk/toolchain_build_qemu-or1k_uclibc-ng/w-gcc-musl-5.4.0-1/gcc-musl-5.4.0/configure --prefix=/home/wbx/embedded-test/openadk/toolchain_qemu-or1k_uclibc-ng/usr --with-bugurl=http://www.openadk.org/ --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=or1k-openadk-linux-uclibc --with-gmp=/home/wbx/embedded-test/openadk/host_x86_64-linux-gnu/usr --with-mpfr=/home/wbx/embedded-test/openadk/host_x86_64-linux-gnu/usr --disable-__cxa_atexit --with-system-zlib --with-gnu-ld --with-gnu-as --disable-libsanitizer --disable-install-libiberty --disable-libitm --disable-libmudflap --disable-libgomp --disable-libmpx --disable-libcilkrts --disable-libquadmath --disable-libquadmath-support --disable-decimal-float --disable-libstdcxx-pch --disable-ppl-version-check --disable-cloog-version-check --without-ppl --without-cloog --without-isl --disable-werror --disable-nls --disable-lto --enable-tls --enable-threads --enable-libatomic --enable-shared --enable-cxx-flags=-fPIC --disable-libssp --disable-biarch --disable-multilib --enable-languages=c --with-build-sysroot='/../../target_qemu-or1k_uclibc-ng' --with-sysroot='/../../target_qemu-or1k_uclibc-ng' Thread model: posix gcc version 5.4.0 (GCC) Linker used: GNU ld (GNU Binutils) 2.28 done. Your ip address is 127.0.0.1/8 : Stopping adktest... done. ifdown: interface eth0 not configured : Stopping network... done. The system is going down NOW! Sent SIGTERM to all processes Sent SIGKILL to all processes Requesting system poweroff