From: Dor Laor <dor.laor@gmail.com>
To: Rusty Russell <rusty@rustcorp.com.au>,
"virtualization@lists.linux-foundation.org"
<virtualization@lists.linux-foundation.org>,
Anthony Liguori <aliguori@us.ibm.com>,
Avi Kivity <avik
Cc: lguest@ozlabs.org
Subject: Re: [Lguest] networking in lguest: strange error: lguest: Guest moved used index from 6 to 256
Date: Thu, 06 Mar 2008 01:03:59 +0200 [thread overview]
Message-ID: <1204758239.4708.25.camel@localhost.localdomain> (raw)
In-Reply-To: <200803052206.31266.rusty@rustcorp.com.au>
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@ozlabs.org
> https://ozlabs.org/mailman/listinfo/lguest
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
next parent reply other threads:[~2008-03-05 23:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1204560316.47cc21bc513ed@webmail.alinto.com>
[not found] ` <200803052206.31266.rusty@rustcorp.com.au>
2008-03-05 23:03 ` Dor Laor [this message]
[not found] ` <1204758239.4708.25.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2008-03-05 23:10 ` networking in lguest: strange error: lguest: Guest moved used index from 6 to 256 Anthony Liguori
2008-03-05 23:30 ` [Lguest] " Dor Laor
2008-03-06 10:45 ` Avi Kivity
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1204758239.4708.25.camel@localhost.localdomain \
--to=dor.laor@gmail.com \
--cc=aliguori@us.ibm.com \
--cc=dor.laor@qumranet.com \
--cc=lguest@ozlabs.org \
--cc=rusty@rustcorp.com.au \
--cc=virtualization@lists.linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox