Hi all,

i am using busybox 1.28.21, built statically, as elf, for
m68k (mcf54415), with kernel init=/sbin/init .

All busybox tools works fine, but at "halt, or "reboot" i get


/ # halt
[   20.010000] urandom_read: 6 callbacks suppressed
[   20.010000] random: halt: uninitialized urandom read (4 bytes read)
[ 20.140000] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 20.140000] CPU: 0 PID: 1 Comm: init Not tainted 5.14.0-rc6stmark2-001-00208-g8a2fd503c17c-dirty #699
[   20.140000] Stack from 40811e4c:
[ 20.140000] 40811e4c 4036ce71 4036ce71 402e6e96 0000000b 000000ff 4000fc80 4080c970 [ 20.140000] 4080c500 40810000 40811eb4 40008f88 403668dd 0000000b 0000000b 40811f80 [ 20.140000] 4000fc80 4080c970 400004d8 4080ca38 4080af10 4080af10 4000da90 000000cd [ 20.140000] 00000000 00000000 4080ca44 400095d0 0000000b 0000000b 40811f6c 400106fc [ 20.140000] 0000000b 40811f6c 0000000a 00000080 bf8c3c6c 00000002 00000000 40811fcc [ 20.140000] 80038c8a 8008a000 40811fa4 40810007 40003672 40811f6c bf8c3c30 0000000a
[   20.140000] Call Trace: [<402e6e96>] panic+0xc2/0x29e
[   20.140000]  [<4000fc80>] do_signal_stop+0x0/0x15c
[   20.140000]  [<40008f88>] do_exit+0x152/0x71c
[   20.140000]  [<4000fc80>] do_signal_stop+0x0/0x15c
[   20.140000]  [<4000da90>] arch_local_irq_disable+0x0/0xc
[   20.140000]  [<400095d0>] do_group_exit+0x4e/0x88
[   20.140000]  [<400106fc>] get_signal+0x15c/0x4b4
[   20.140000]  [<40003672>] do_notify_resume+0x40/0x44a
[   20.140000]  [<4001057a>] force_sig_fault_to_task+0x30/0x3c
[   20.140000]  [<4001059a>] force_sig_fault+0x14/0x1a
[   20.140000]  [<40003ce2>] buserr_c+0x86/0x112
[   20.140000]  [<40004ac6>] Lsignal_return+0x14/0x26
[   20.140000]
[ 20.140000] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b ]---

Could it be a busybox issue ? Or maybe uclibc/gcc related ?
If any hint on how to debug this, very appreciated.



Toolchain version:

/opt/toolchains/m68k/m68k-openadk-linux-uclibc/toolchain_generic-m68k_uclibc-ng_cf54415/usr/bin/m68k-openadk-linux-uclibc-gcc -v
Using built-in specs.
COLLECT_GCC=/opt/toolchains/m68k/m68k-openadk-linux-uclibc/toolchain_generic-m68k_uclibc-ng_cf54415/usr/bin/m68k-openadk-linux-uclibc-gcc
COLLECT_LTO_WRAPPER=/opt/toolchains/m68k/m68k-openadk-linux-uclibc/toolchain_generic-m68k_uclibc-ng_cf54415/usr/bin/../libexec/gcc/m68k-openadk-linux-uclibc/10.3.0/lto-wrapper
Target: m68k-openadk-linux-uclibc
Configured with: /home/angelo/dev-sysam/openadk/toolchain_build_generic-m68k_uclibc-ng_cf54415/w-gcc-10.3.0-1/gcc-10.3.0/configure --prefix=/home/angelo/dev-sysam/openadk/toolchain_generic-m68k_uclibc-ng_cf54415/usr --with-bugurl=https://openadk.org --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=m68k-openadk-linux-uclibc --with-gmp=/home/angelo/dev-sysam/openadk/host_x86_64-pc-linux-gnu/usr --with-mpfr=/home/angelo/dev-sysam/openadk/host_x86_64-pc-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-libcc1 --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 --enable-obsolete --disable-lto --with-cpu=54415 --with-arch=cf --disable-multilib --disable-tls --enable-threads --disable-libatomic --disable-shared --enable-libssp --enable-languages=c --with-build-sysroot='/../../target_generic-m68k_uclibc-ng_cf54415' --with-sysroot='/../../target_generic-m68k_uclibc-ng_cf54415'
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.3.0 (GCC)


Thanks,
best regards,
--
Angelo Dureghello
+++ kernelspace +++
+E: angelo AT kernel-space.org
+W: www.kernel-space.org
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to