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

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

 



On Wed, 2008-03-05 at 22:06 +1100, Rusty Russell wrote:
> 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@slack12:~# ifconfig eth0 192.168.19.5
> > root@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...
> 

You can also try to use backport scripts that automatically backport
virtio to older guest kernels >= 2.6.18.
It was written by Anthony Liguori and was decorated also by Avi and
myself.
Seems to work reliably with kvm, should do the same trick for lguest.
You can download it from
git://kvm.qumranet.com/home/dor/src/kvm-guest-drivers-linux

Anthony, you can update your mercurial repository with our changes.

Cheers,
Dor


> Thanks for the report,
> Rusty.
> _______________________________________________
> Lguest mailing list
> Lguest@xxxxxxxxxx
> https://ozlabs.org/mailman/listinfo/lguest

_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/virtualization

[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux