• System hangs on 'reboot'.

    From Marcin Laszewski@21:1/5 to All on Mon May 2 09:10:01 2022
    I have had my Debian/Hurd on real machine (Celleron, 512MB RAM) for 2 years
    and it frequently hangs when rebotin (no messages, just hangs). I don't
    know te reason but this seems to solve the problem:

    ..........................
    $ sync; sync; sync; reboot
    ..........................

    ml.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From guy fleury iteriteka@21:1/5 to All on Mon May 2 09:20:01 2022
    Hi,

    On Mon, May 2, 2022, 9:03 AM Marcin Laszewski <marcin.laszewski@gmail.com> wrote:

    I have had my Debian/Hurd on real machine (Celleron, 512MB RAM) for 2 years and it frequently hangs when rebotin (no messages, just hangs). I don't
    know te reason but this seems to solve the problem:

    ..........................
    $ sync; sync; sync; reboot
    ..........................

    Try reboot-hurd instead of reboot


    ml.



    <div dir="auto"><div>Hi,<br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 2, 2022, 9:03 AM Marcin Laszewski &lt;<a href="mailto:marcin.laszewski@gmail.com">marcin.laszewski@gmail.com</a>&gt; wrote:<br></div><blockquote class="
    gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have had my Debian/Hurd on real machine (Celleron, 512MB RAM) for 2 years<br>
    and it frequently hangs when rebotin (no messages, just hangs).  I don&#39;t<br>
    know te reason but this seems to solve the problem:<br>

    ..........................<br>
    $ sync; sync; sync; reboot<br> ..........................<br></blockquote></div></div><div dir="auto">Try reboot-hurd instead of reboot</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

    ml.<br>

    </blockquote></div></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marcin Laszewski@21:1/5 to All on Tue May 3 15:00:01 2022
    2022-05-02 9:18 GMT+02:00, guy fleury iteriteka <hoonandon@gmail.com>:
    (...)
    Try reboot-hurd instead of reboot

    Thank you, it works.

    What is the diffrence between this 'reboot-hurd' and regular 'reboot' ?

    ml.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From guy fleury iteriteka@21:1/5 to All on Tue May 3 16:40:01 2022
    On Tue, May 3, 2022, 2:51 PM Marcin Laszewski <marcin.laszewski@gmail.com> wrote:

    2022-05-02 9:18 GMT+02:00, guy fleury iteriteka <hoonandon@gmail.com>:
    (...)
    Try reboot-hurd instead of reboot

    Thank you, it works.

    Great


    What is the diffrence between this 'reboot-hurd' and regular 'reboot' ?

    I'm not sure but I think reboot-hurd ensure that core servers like ext2fs
    sync their buffers before shutdown.

    Samuel is that correct?


    ml.



    <div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 3, 2022, 2:51 PM Marcin Laszewski &lt;<a href="mailto:marcin.laszewski@gmail.com">marcin.laszewski@gmail.com</a>&gt; wrote:<br></div><blockquote class="
    gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">2022-05-02 9:18 GMT+02:00, guy fleury iteriteka &lt;<a href="mailto:hoonandon@gmail.com" target="_blank" rel="noreferrer">hoonandon@gmail.com</a>&gt;:<br>
    &gt; (...)<br>
    &gt; Try reboot-hurd instead of reboot<br>

    Thank you, it works.<br></blockquote></div></div><div dir="auto">Great</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

    What is the diffrence between this &#39;reboot-hurd&#39; and regular &#39;reboot&#39; ?<br></blockquote></div></div><div dir="auto">I&#39;m not sure but I think reboot-hurd ensure that core servers like ext2fs sync their buffers before shutdown.</div><
    div dir="auto"><br></div><div dir="auto">Samuel is that correct?</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

    ml.<br>

    </blockquote></div></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Samuel Thibault@21:1/5 to All on Wed May 4 19:30:01 2022
    Hello,

    guy fleury iteriteka, le mar. 03 mai 2022 16:34:29 +0200, a ecrit:
    What is the diffrence between this 'reboot-hurd' and regular 'reboot' ?

    I'm not sure but I think reboot-hurd ensure that core servers like ext2fs sync
    their buffers before shutdown.

    Samuel is that correct?

    reboot actually eventually does the same as reboot-hurd, so there is no difference in that concern.

    The difference is that reboot first tries to shutdown running processes.
    If that hangs that should be investigated to make it work.

    Put another way: reboot-hurd is quite harder on rebooting immediately,
    it only takes care of syncing the disk, without telling processes
    themselves to write their data.

    The consequence is also that removed-but-still-mapped files (e.g. after
    a library upgrade) won't be suppressed until next fsck, see https://darnassus.sceen.net/~hurd-web/open_issues/ext2fs_dtime/

    Samuel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)