mbox series

[bug#63527,v3,0/7] Rumpdisk support for the Hurd

Message ID cover.1684398787.git.janneke@gnu.org
Headers show
Series Rumpdisk support for the Hurd | expand


Janneke Nieuwenhuizen May 18, 2023, 8:45 a.m. UTC
So, good progress and amazing news since the v2 series:

    * Add libpciaccess-0.17, and
    * Use that for the Hurd,
    * Actually setup translators for pci.arbiter and rumpdisk,
    * For QEMU update the memory-size to 2048MB, and
    * Suggest to do so in our bare-hurd.tmpl example, and
    * It boots! \o/

I had a lot of kind debugging help from Samuel Thibault and Sergey Bugaev on
libera.chat #hurd (https://logs.guix.gnu.org/hurd/2023-05-17.log#132259) as
well as on the bug-hurd list
(https://lists.gnu.org/archive/html/bug-hurd/2023-05//msg00326.html) to get
here, thank you!

With https://issues.guix.gnu.org/63501 by Josselin Poiret being merged
yesterday and this patch series we now have Rumpkernel/rumpdisk support for
the Hurd!

I've now succesfully been doing something like

--8<---------------cut here---------------start------------->8---
./pre-inst-env guix system image -t hurd-raw gnu/system/examples/bare-hurd.tmpl
guix shell qemu -- qemu-system-i386                     \
-m 4096                                                 \
--enable-kvm                                            \
--device rtl8139,netdev=net0                            \
--netdev user,id=net0,hostfwd=tcp:   \
--snapshot                                              \
--no-reboot                                             \
--hda /gnu/store/r5dpblnfsj08jh3hdmn8s6l9xaczwn65-disk-image
--8<---------------cut here---------------end--------------->8---

and ssh into the Hurd VM again.

(Should we update the the Childhurds blogpost too, it suggest -m 512


Janneke Nieuwenhuizen (7):
  gnu: Add libpciaccess-0.17.
  gnu: hurd: Update libpciaccess to 0.17.
  gnu: Add rumpkernel.
  gnu: hurd: Add rumpkernel.
  hurd-boot: Setup pci-arbiter and rumpdisk translators.
  services: childhurd: Bump default qemu memory to 2048MB.
  system: hurd: Boot with pci.arbiter and rumpdisk.

 gnu/build/hurd-boot.scm            |  10 +-
 gnu/packages/hurd.scm              | 231 ++++++++++++++++++++++++++++-
 gnu/packages/xorg.scm              |  17 +++
 gnu/services/virtualization.scm    |   4 +-
 gnu/system.scm                     |  25 +++-
 gnu/system/examples/bare-hurd.tmpl |   4 +-
 6 files changed, 271 insertions(+), 20 deletions(-)

base-commit: 5b700945fb0b33eec410de8979cae2fbf0d4f118


Janneke Nieuwenhuizen May 18, 2023, 9:14 a.m. UTC | #1
Janneke Nieuwenhuizen writes:

> So, good progress and amazing news since the v2 series:

Oops, there is still good news, but the updated MONOTONIC (and possibly
centiseconds) time patches from Debian Salsa are still needed!

In testing with all different builds I must have confused myself in the
final test, sorry!  Anyway, the rest of the story and the good news
still holds, we just need another ugly cross-glibc patch for the Hurd.

I'll be preparing a new patch series.