[Lguest] networking in lguest: strange error: lguest: Guest moved used index from 6 to 256

Rusty Russell rusty at rustcorp.com.au
Wed Mar 5 22:06:31 EST 2008


On Tuesday 04 March 2008 03:05:16 octane indice wrote:
> Hello
>
> I have some difficulty to use network inside lguest.
> I use a slackware 12 for guest and host with a 2.6.24 kernel.
>
> I boot lguest like that:
> # tunctl
> # ifconfig tap0 192.168.19.1
> # lguest --tunnet=192.168.19.1 --block=/var/samba/iso/lguest.img 48
> /usr/src/linux/arch/i386/boot/bzImage root=/dev/vda rw
>
> The init script files try to do a DHCP. It doesn't work (I do'nt have a
> DHCP server).
>
> If in the host I try to configure the eth0, lguest crashes strangely:
> root at slack12:~# ifconfig eth0 192.168.19.5
> root at slack12:~# lguest: Guest moved used index from 6 to 256

Damn.  This is fixed in Linus' tree, but I've reproduced it here for 2.6.24.

It's non-trivial to repair, unfortunately (2.6.25 has a complete reset 
infrastructure for this).  It will occur whenever the network device is 
reopened, after packets were sent (or received).

The workaround is to disable the dhcp in the init scripts...

Thanks for the report,
Rusty.



More information about the Lguest mailing list