Hi Roberto,

On 30/08/21 7:43 PM, Roberto A. Foglietta wrote:
Il giorno lun 30 ago 2021 alle ore 17:33 Angelo Dureghello <
[email protected]> ha scritto:

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


  [...]

[   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.


Hi Angelo,

  try these two, they do halt and reboot by-passing the busybox

https://github.com/robang74/tinycore-editor/blob/main/tinycore/changes/shutdown.sh
https://github.com/robang74/tinycore-editor/blob/main/tinycore/changes/reboot.sh


thanks a lot, your scripts are working and a good workaround
for now.


  Best regards,


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