* Re: [Lguest] networking in lguest: strange error: lguest: Guest moved used index from 6 to 256 [not found] ` <200803052206.31266.rusty@rustcorp.com.au> @ 2008-03-05 23:03 ` Dor Laor [not found] ` <1204758239.4708.25.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Dor Laor @ 2008-03-05 23:03 UTC (permalink / raw) To: Rusty Russell, virtualization@lists.linux-foundation.org, Anthony Liguori, Avi Kivity <avik Cc: lguest 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/ ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <1204758239.4708.25.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>]
* Re: networking in lguest: strange error: lguest: Guest moved used index from 6 to 256 [not found] ` <1204758239.4708.25.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org> @ 2008-03-05 23:10 ` Anthony Liguori 2008-03-05 23:30 ` [Lguest] " Dor Laor 0 siblings, 1 reply; 4+ messages in thread From: Anthony Liguori @ 2008-03-05 23:10 UTC (permalink / raw) To: dor.laor-atKUWr5tajBWk0Htik3J/w Cc: kvm-devel, Avi Kivity, lguest-mnsaURCQ41sdnm+yROfE0A, virtualization-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Dor Laor wrote: > 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. > Hrm, I thought we were standardizing on http://www.kernel.org/pub/scm/virt/kvm/kvm-guest-drivers-linux.git I'll just kill my mercurial repository. Regards, Anthony Liguori > Cheers, > Dor > > > >> Thanks for the report, >> Rusty. >> _______________________________________________ >> Lguest mailing list >> Lguest-mnsaURCQ41sdnm+yROfE0A@public.gmane.org >> https://ozlabs.org/mailman/listinfo/lguest >> > > ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Lguest] networking in lguest: strange error: lguest: Guest moved used index from 6 to 256 2008-03-05 23:10 ` Anthony Liguori @ 2008-03-05 23:30 ` Dor Laor 2008-03-06 10:45 ` Avi Kivity 0 siblings, 1 reply; 4+ messages in thread From: Dor Laor @ 2008-03-05 23:30 UTC (permalink / raw) To: Anthony Liguori Cc: kvm-devel, Avi Kivity, lguest, virtualization@lists.linux-foundation.org [-- Attachment #1: Type: text/plain, Size: 832 bytes --] On Wed, 2008-03-05 at 17:10 -0600, Anthony Liguori wrote: > Dor Laor wrote: > > 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. > > > > Hrm, I thought we were standardizing on > http://www.kernel.org/pub/scm/virt/kvm/kvm-guest-drivers-linux.git > Better this way, attached 3 patches needed for compilation. > I'll just kill my mercurial repository. > Regards, > > Anthony Liguori > > > Cheers, > > Dor > > > > > > > >> Thanks for the report, > >> Rusty. > >> _______________________________________________ > >> Lguest mailing list > >> Lguest@ozlabs.org > >> https://ozlabs.org/mailman/listinfo/lguest > >> > > > > > [-- Attachment #2: 0001-Backward-compat-to-replace-napi-in-rx_schedule.patch --] [-- Type: application/mbox, Size: 1688 bytes --] [-- Attachment #3: 0002-Move-COMPAT_csum_offset-to-kernels-.24-Also-add-e.patch --] [-- Type: application/mbox, Size: 1512 bytes --] [-- Attachment #4: 0003-Backport-skb_transport_header-as-a-BUG.-Since-kvm-h.patch --] [-- Type: application/mbox, Size: 1260 bytes --] [-- Attachment #5: Type: text/plain, Size: 228 bytes --] ------------------------------------------------------------------------- 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/ [-- Attachment #6: Type: text/plain, Size: 158 bytes --] _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Lguest] networking in lguest: strange error: lguest: Guest moved used index from 6 to 256 2008-03-05 23:30 ` [Lguest] " Dor Laor @ 2008-03-06 10:45 ` Avi Kivity 0 siblings, 0 replies; 4+ messages in thread From: Avi Kivity @ 2008-03-06 10:45 UTC (permalink / raw) To: dor.laor; +Cc: kvm-devel, lguest, virtualization@lists.linux-foundation.org Dor Laor wrote: > On Wed, 2008-03-05 at 17:10 -0600, Anthony Liguori wrote: > >> Dor Laor wrote: >> >>> 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. >>> >>> >> Hrm, I thought we were standardizing on >> http://www.kernel.org/pub/scm/virt/kvm/kvm-guest-drivers-linux.git >> >> > > Better this way, attached 3 patches needed for compilation. > > Applied (as you saw), thanks -- but please, one patch per email next time. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. ------------------------------------------------------------------------- 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/ ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-03-06 10:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1204560316.47cc21bc513ed@webmail.alinto.com>
[not found] ` <200803052206.31266.rusty@rustcorp.com.au>
2008-03-05 23:03 ` [Lguest] networking in lguest: strange error: lguest: Guest moved used index from 6 to 256 Dor Laor
[not found] ` <1204758239.4708.25.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2008-03-05 23:10 ` Anthony Liguori
2008-03-05 23:30 ` [Lguest] " Dor Laor
2008-03-06 10:45 ` Avi Kivity
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox