[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
From:       "Roberto A. Foglietta" <roberto.foglietta () gmail ! com>
Date:       2021-08-31 1:37:39
Message-ID: CAJGKYO6DvnyHQ2_CiitBsMrtprrLmLr4Zdsw_+R_pEjVmeB5SQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Il giorno lun 30 ago 2021 alle ore 20:24 Angelo Dureghello <
angelo@kernel-space.org> ha scritto:

> Hi Roberto,
>
> On 30/08/21 7:43 PM, Roberto A. Foglietta wrote:
> > 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.
>

If you like to use them in production, I suggest you replace 'sleep 3' with
'sync'. You have to investigate your kernel, IMHO.
I use these scripts for emergency halt/reboot and in my case sync could
lock the flow but in your case would be safe to call it.

Best regards,
-- 
Roberto A. Foglietta
+39.349.33.30.697

[Attachment #5 (text/html)]

<div dir="ltr"><div dir="ltr">Il giorno lun 30 ago 2021 alle ore 20:24 Angelo \
Dureghello &lt;<a href="mailto:angelo@kernel-space.org">angelo@kernel-space.org</a>&gt; \
ha scritto:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">Hi Roberto,<br> <br>
On 30/08/21 7:43 PM, Roberto A. Foglietta wrote:<br>
&gt; Hi Angelo,<br>
&gt; <br>
&gt;     try these two, they do halt and reboot by-passing the busybox<br>
&gt; <br>
&gt; <a href="https://github.com/robang74/tinycore-editor/blob/main/tinycore/changes/shutdown.sh" \
rel="noreferrer" target="_blank">https://github.com/robang74/tinycore-editor/blob/main/tinycore/changes/shutdown.sh</a><br>
 &gt; <a href="https://github.com/robang74/tinycore-editor/blob/main/tinycore/changes/reboot.sh" \
rel="noreferrer" target="_blank">https://github.com/robang74/tinycore-editor/blob/main/tinycore/changes/reboot.sh</a><br>
 &gt; <br>
<br>
thanks a lot, your scripts are working and a good workaround<br>
for now.<br></blockquote><div><br></div><div>If you like to use them in production, I \
suggest you replace  &#39;sleep 3&#39; with &#39;sync&#39;. You have to investigate \
your kernel, IMHO.</div><div>I use these scripts for emergency halt/reboot and in my \
case sync could lock the flow but in your case would be safe to call \
it.</div><div><br></div><div>Best regards,</div></div>-- <br><div dir="ltr" \
class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Roberto A. \
Foglietta</div><div>+39.349.33.30.697</div></div></div></div></div></div>



_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic