Re: virtio_net sometimes didn't work

2011-06-22 Thread lidong chen
I find this problem have already solved by this patch:) Subject: [PATCH] [virtio] Replace virtio-net with native gPXE driver http://git.etherboot.org/gpxe.git/commitdiff/180dcf4363bf1d8889a2398a4944e94ca150b311 2011/2/16 Michael S. Tsirkin : > On Wed, Feb 16, 2011 at 04:00:15PM +0800, lidong chen

Re: virtio_net sometimes didn't work

2011-02-16 Thread Michael S. Tsirkin
On Wed, Feb 16, 2011 at 04:00:15PM +0800, lidong chen wrote: > how to info pci in qemu? just type it at the monitor prompt. > the usb controller also used irq 11, i think the interrupt maybe cause by > this. > i will modify qemu, ignore -usb,and try again. > > i add some debug code, printk the

Re: virtio_net sometimes didn't work

2011-02-16 Thread lidong chen
how to info pci in qemu? the usb controller also used irq 11, i think the interrupt maybe cause by this. i will modify qemu, ignore -usb,and try again. i add some debug code, printk the ioaddr of vdev. static int i; /* reading the ISR has the effect of also clearing it so it's ve

Re: virtio_net sometimes didn't work

2011-02-15 Thread Michael S. Tsirkin
On Wed, Feb 16, 2011 at 09:53:25AM +0800, lidong chen wrote: > because of some other work, i could not focus on this problem last month. > > now i find the wrong vaule of isr cause this problem. > in function vp_interrupt, the isr is 0, and the virtio_balloon pci > device have 10 times initerr

Re: virtio_net sometimes didn't work

2011-02-15 Thread lidong chen
because of some other work, i could not focus on this problem last month. now i find the wrong vaule of isr cause this problem. in function vp_interrupt, the isr is 0, and the virtio_balloon pci device have 10 times initerrupts. then IRQ #11 disabled. static irqreturn_t vp_interrupt(int irq,

Re: virtio_net sometimes didn't work

2010-12-09 Thread Michael S. Tsirkin
On Fri, Nov 26, 2010 at 10:38:33AM +0800, lidong chen wrote: > Does this message appear on boot, or after some stress? > on boot, and only appear when boot from network. > > Which qemu-kvm version? > [r...@kvm-4slot ~]# /usr/libexec/qemu-kvm --version > QEMU PC emulator version 0.12.1 (qemu-kvm-0.

Re: virtio_net sometimes didn't work

2010-11-25 Thread lidong chen
Does this message appear on boot, or after some stress? on boot, and only appear when boot from network. Which qemu-kvm version? [r...@kvm-4slot ~]# /usr/libexec/qemu-kvm --version QEMU PC emulator version 0.12.1 (qemu-kvm-0.12.1.2), Copyright (c) 2003-2008 Fabrice Bellard Does cherry-picking 3ff

Re: virtio_net sometimes didn't work

2010-11-25 Thread Michael S. Tsirkin
On Thu, Nov 25, 2010 at 10:21:24PM +0800, lidong chen wrote: > [version] > the host os version is 2.6.32 Which qemu-kvm version? > the guest os version is 2.6.16 > > [dmesg] > ACPI: (supports S3 S4 S5) > Freeing unused kernel memory: 200k freed > input: ImExPS/2 Generic Explorer Mouse as /class/

virtio_net sometimes didn't work

2010-11-25 Thread lidong chen
[version] the host os version is 2.6.32 the guest os version is 2.6.16 [dmesg] ACPI: (supports S3 S4 S5) Freeing unused kernel memory: 200k freed input: ImExPS/2 Generic Explorer Mouse as /class/input/input2 ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11 ACPI: PCI Interrupt :00:03.0[A] -> L