NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Network and port redirection with QEMU not working with package compiled on 10.0_RC1



Marc Baudoin <babafou%babafou.eu.org@localhost> écrit :
> 
> With all the recent revbumps in pkgsrc, emulators/qemu had to be
> recompiled quite a few times in the last weeks.  In the meantime,
> I have upgraded my computer to 10.0_RC1.

I delved a little more into this problem.  Using a Debian 12
guest, the logging of dhclient is different (lines from a correct
QEMU are prefixed with <, lines from a faulty QEMU with >):

   9,10c9,10
   < DHCPDISCOVER on ens3 to 255.255.255.255 port 67 interval 5
   < DHCPOFFER of 10.0.2.15 from 10.0.2.2
   ---
   > DHCPDISCOVER on ens3 to 255.255.255.255 port 67 interval 7
   > DHCPOFFER of 10.0.2.15 from 255.255.0.10
   12,13c12,14
   < DHCPACK of 10.0.2.15 from 10.0.2.2
   < bound to 10.0.2.15 -- renewal in 42303 seconds.
   ---
   > DHCPACK of 10.0.2.15 from 255.255.0.10
   > Error: inet prefix is expected rather than "10.0.2.15/0.2.0.255".
   > bound to 10.0.2.15 -- renewal in 40924 seconds.

Any other kind of guest system has the same problem (but the
traces are more extensive with Debian) so it's a general QEMU
problem.

The last correct version of QEMU working for me is qemu-8.1.2nb1
compiled on NetBSD/amd64 9.3.  Then I upgraded to 10.0_RC1 (and
RC2 is no better) and recompiled QEMU because of several
revbumps.  qemu-8.1.2nb2 and later exhibit the problem above,
although the version of QEMU was the same at the beginning (but
8.1.3 and 8.2.0 do not work either), so I suspect the problem
lies with NetBSD 10.0 (probably a static library because behavior
should be identical between versions with a shared library).

Has anybody got a working QEMU (at least network-wise) compiled
on NetBSD 10.0_RC[12]?


Home | Main Index | Thread Index | Old Index