Hi Michael,

> Your test program succeeds on my 2GiB Debian Hurd virtual machine for
> many hundreds of iterations.
>
> When you test with the Debian GNU/Hurd, what versions of gnumach and
> Hurd are you using?
>
Thanks for testing.

To clarify: all the test program results I sent earlier were from a
Guix System x86_64 image, not Debian. On Debian I had only run
rumpnet. As I wrote in my other reply, the test program also works
right after boot on the Guix image; the failure there only happens
while rumpnet is running.

I have now tried the same on Debian GNU/Hurd amd64 (2 GiB guest).
Right after boot the test program works, as in your runs:

  size= 65536 pmin=0 pmax=0x100000000 align=0x1000 -> kr=0 pa=0x6ab50000
  free -m: used 387 MB, free 1601 MB

Then, after stopping pfinet (settrans -fga /servers/socket/2) and
killing netdde, I started rumpnet. It fails the same way as on Guix:

  wm0 at pci0 dev 2 function 0, 64-bit DMA: Intel i82540EM 1000BASE-T
Ethernet (rev. 0x03)
  wm0: unable to allocate TX control data, error = 1
  wm0: cannot allocate queues 1

After that, on Debian, the system stops responding, so I could not
measure with rumpnet running as I did on Guix. To check, I started a
background loop before rumpnet that writes a line to a file and syncs
every 10 seconds; after rebooting, the file had no entries after
rumpnet was started. This happened in all three attempts. (Unlike the
Guix image, this Debian VM has 952 MB of swap, and netdde had been
running before I killed it.)

Debian versions:

  uname: GNU-Mach 1.8+git20260224-up-amd64/Hurd-0.9 x86_64
  gnumach-image-1.8-amd64-up  2:1.8+git20260224-4
  hurd                        1:0.9.git20251029-7
  librumpnet0                 0~20250111-7
  image: debian-hurd-amd64-20260314.img

QEMU command line:

  qemu-system-x86_64 -m 2048 -M q35 -enable-kvm \
      -device e1000,netdev=net0 -netdev user,id=net0 \
      -hda debian-hurd-amd64-20260314.img

To reproduce on your VM: start /hurd/rumpnet
(settrans -cfga /dev/rumpnet /hurd/rumpnet) with the e1000 device and
2 GiB of RAM.

Thanks,
Tristan

Reply via email to