• Can't use kvm image - hangs at boot

    From Samuel Thibault@21:1/5 to All on Fri Feb 19 12:50:01 2021
    Hello,

    Philipp Klaus Krause, le ven. 19 févr. 2021 12:35:26 +0100, a ecrit:
    I tried running Debian GNU/Hurd in a VM (host is Debian GNU/Linux
    testing amd64 on Ryzen 4800H) using the instructions at https://cdimage.debian.org/cdimage/ports/stable/hurd-i386/README.txt,
    section "Pre-installed image".

    However, boot hangs at the followign line:

    start ext2fs: Hurd server bootstrap : ext2fs[device:hd0s2] exec

    Please retry a few times. There was a bootstrap race condition, which
    will be fixed in the next pre-installed image.

    Samuel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Philipp Klaus Krause@21:1/5 to All on Fri Feb 19 12:40:02 2021
    Hello,

    I tried running Debian GNU/Hurd in a VM (host is Debian GNU/Linux
    testing amd64 on Ryzen 4800H) using the instructions at https://cdimage.debian.org/cdimage/ports/stable/hurd-i386/README.txt,
    section "Pre-installed image".

    However, boot hangs at the followign line:

    start ext2fs: Hurd server bootstrap : ext2fs[device:hd0s2] exec

    Regards,

    Philipp

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Philipp Klaus Krause@21:1/5 to All on Fri Feb 19 13:00:02 2021
    Am 19.02.21 um 12:40 schrieb Samuel Thibault:
    Hello,

    Philipp Klaus Krause, le ven. 19 févr. 2021 12:35:26 +0100, a ecrit:
    I tried running Debian GNU/Hurd in a VM (host is Debian GNU/Linux
    testing amd64 on Ryzen 4800H) using the instructions at
    https://cdimage.debian.org/cdimage/ports/stable/hurd-i386/README.txt,
    section "Pre-installed image".

    However, boot hangs at the followign line:

    start ext2fs: Hurd server bootstrap : ext2fs[device:hd0s2] exec

    Please retry a few times. There was a bootstrap race condition, which
    will be fixed in the next pre-installed image.

    Samuel


    I've tried 10 times, and got the hang at that line each time.

    Philipp

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Philipp Klaus Krause@21:1/5 to All on Fri Feb 19 19:10:01 2021
    Am 19.02.21 um 18:01 schrieb Paul Dufresne:
    I was not able to reproduce your problem.

    Did:
    wget http://cdimage.debian.org/cdimage/ports/10.0/hurd-i386/debian-hurd.img.tar.xz <http://cdimage.debian.org/cdimage/ports/10.0/hurd-i386/debian-hurd.img.tar.xz>
    paul@jacko:~/hurd1905$ sha1sum debian-hurd.img.tar.xz 1fe25529095a30d5b8fe7c889566f6af56ae41cf  debian-hurd.img.tar.xz

    Each time I try to launch, I erase the old .img and:
    tar xJf debian-hurd.img.tar.xz
    resulting with:
    paul@jacko:~/hurd1905$ sha1sum debian-hurd-20190705.img 332c6ae2ca9ebc8d01c429b0f9dfebe625800e21  debian-hurd-20190705.img

    paul@jacko:~/hurd1905$ kvm --version
    QEMU emulator version 5.0.0 (Debian 1:5.0-5ubuntu9.4)
    Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers

    I suggest you try:
    kvm -m 1G -smp cpus=1,cores=1  -drive file=debian-hurd-20190705.img,cache=writeback
    or:

    Based on your post, I tried the following command six times, ans got the
    hang as before each time:

    rm debian-hurd-20190705.img && tar xJf debian-hurd.img.tar.xz && kvm -m
    1G -smp cpus=1,cores=1 -drive file=debian-hurd-20190705.img,cache=writeback

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Paul Dufresne@21:1/5 to All on Fri Feb 19 18:20:01 2021
    I was not able to reproduce your problem.



    Did:

    wget http://cdimage.debian.org/cdimage/ports/10.0/hurd-i386/debian-hurd.img.tar.xz

    paul@jacko:~/hurd1905$ sha1sum debian-hurd.img.tar.xz

    1fe25529095a30d5b8fe7c889566f6af56ae41cf  debian-hurd.img.tar.xz



    Each time I try to launch, I erase the old .img and:

    tar xJf debian-hurd.img.tar.xz

    resulting with:

    paul@jacko:~/hurd1905$ sha1sum debian-hurd-20190705.img

    332c6ae2ca9ebc8d01c429b0f9dfebe625800e21  debian-hurd-20190705.img



    paul@jacko:~/hurd1905$ kvm --version

    QEMU emulator version 5.0.0 (Debian 1:5.0-5ubuntu9.4)

    Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers



    I suggest you try:

    kvm -m 1G -smp cpus=1,cores=1  -drive file=debian-hurd-20190705.img,cache=writeback

    or:

    kvm -cpu help

    have suggested me to try:



    kvm -m 1G -cpu 486  -drive file=debian-hurd-20190705.img,cache=writeback

    which works for me.
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div>I was not
    able to reproduce your problem.<br></div><div><br></div><div>Did:<br></div><div>wget <a target="_blank" href="http://cdimage.debian.org/cdimage/ports/10.0/hurd-i386/debian-hurd.img.tar.xz">http://cdimage.debian.org/cdimage/ports/10.0/hurd-i386/debian-
    hurd.img.tar.xz</a><br></div><div>paul@jacko:~/hurd1905$ sha1sum debian-hurd.img.tar.xz <br></div><div>1fe25529095a30d5b8fe7c889566f6af56ae41cf&nbsp; debian-hurd.img.tar.xz<br></div><div><br></div><div>Each time I try to launch, I erase the old .img and:<
    </div><div>tar xJf debian-hurd.img.tar.xz<br></div><div>resulting with:<br></div><div>paul@jacko:~/hurd1905$ sha1sum debian-hurd-20190705.img <br></div><div>332c6ae2ca9ebc8d01c429b0f9dfebe625800e21&nbsp; debian-hurd-20190705.img<br></div><div><br></
    <div>paul@jacko:~/hurd1905$ kvm --version<br></div><div>QEMU emulator version 5.0.0 (Debian 1:5.0-5ubuntu9.4)<br></div><div>Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers<br></div><div><br></div><div>I suggest you try:<br></
    <div>kvm -m 1G -smp cpus=1,cores=1&nbsp; -drive file=debian-hurd-20190705.img,cache=writeback<br></div><div>or:<br></div><div>kvm -cpu help<br></div><div>have suggested me to try:<br></div><div><br></div><div>kvm -m 1G -cpu 486&nbsp; -drive file=
    debian-hurd-20190705.img,cache=writeback<br></div><div>which works for me.<br></div><div><br></div></div><br></body></html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Paul Dufresne@21:1/5 to All on Sat Feb 20 01:40:02 2021
    You might want to try:

    qemu-system-i386 -machine pc-i440fx-2.2  -m 1G -drive file=debian-hurd-20190705.img,cache=writethrough



    If -machine pc-i440fx-2.2

    does not work for you, you can remove it... I have selected a not deprecated one, nor the latest, which works for me.



    This also disable kvm, and make sure to emulate in 32 bits (normally qemu-system-x86_64 works too, but GMU Mach is only 32 bits for now... I think).



    If it works, feel free to try to add:

    --enable-kvm

    at the end to have a faster emulation.
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div>You might
    want to try:<br></div><div>qemu-system-i386 -machine pc-i440fx-2.2&nbsp; -m 1G -drive file=debian-hurd-20190705.img,cache=writethrough<br></div><div><br></div><div>If -machine pc-i440fx-2.2<br></div><div>does not work for you, you can remove it... I have
    selected a not deprecated one, nor the latest, which works for me.<br></div><div><br></div><div>This also disable kvm, and make sure to emulate in 32 bits (normally qemu-system-x86_64 works too, but GMU Mach is only 32 bits for now... I think).<br></div><
    <br></div><div>If it works, feel free to try to add: <br></div><div>--enable-kvm<br></div><div>at the end to have a faster emulation.<br></div><br><div><br></div></div><br></body></html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Samuel Thibault@21:1/5 to All on Sat Feb 20 01:30:01 2021
    Hello,

    Philipp Klaus Krause, le ven. 19 févr. 2021 12:53:42 +0100, a ecrit:
    Am 19.02.21 um 12:40 schrieb Samuel Thibault:
    Philipp Klaus Krause, le ven. 19 févr. 2021 12:35:26 +0100, a ecrit:
    I tried running Debian GNU/Hurd in a VM (host is Debian GNU/Linux
    testing amd64 on Ryzen 4800H) using the instructions at
    https://cdimage.debian.org/cdimage/ports/stable/hurd-i386/README.txt,
    section "Pre-installed image".

    However, boot hangs at the followign line:

    start ext2fs: Hurd server bootstrap : ext2fs[device:hd0s2] exec

    Please try the latest image documented on https://cdimage.debian.org/cdimage/ports/latest/hurd-i386/README

    it includes the bootstrap fix.

    Samuel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Philipp Klaus Krause@21:1/5 to All on Sat Feb 20 22:10:01 2021
    Am 20.02.21 um 01:27 schrieb Samuel Thibault:
    Hello,

    Philipp Klaus Krause, le ven. 19 févr. 2021 12:53:42 +0100, a ecrit:
    Am 19.02.21 um 12:40 schrieb Samuel Thibault:
    Philipp Klaus Krause, le ven. 19 févr. 2021 12:35:26 +0100, a ecrit:
    I tried running Debian GNU/Hurd in a VM (host is Debian GNU/Linux
    testing amd64 on Ryzen 4800H) using the instructions at
    https://cdimage.debian.org/cdimage/ports/stable/hurd-i386/README.txt,
    section "Pre-installed image".

    However, boot hangs at the followign line:

    start ext2fs: Hurd server bootstrap : ext2fs[device:hd0s2] exec

    Please try the latest image documented on https://cdimage.debian.org/cdimage/ports/latest/hurd-i386/README

    it includes the bootstrap fix.

    Samuel


    Thanks. I can confirm that the new version works for me.

    Philipp

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