kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Shirley Ma <xma@us.ibm.com>
Cc: David Stevens <dlstevens@us.ibm.com>,
	kvm@vger.kernel.org, sri@linux.vnet.ibm.com
Subject: Re: vhost-net patches
Date: Wed, 21 Oct 2009 22:19:24 +0200	[thread overview]
Message-ID: <20091021201923.GA25520@redhat.com> (raw)
In-Reply-To: <OFAA36418A.2A0716E0-ON87257656.006D1231-88257656.006DD91D@us.ibm.com>

On Wed, Oct 21, 2009 at 12:59:50PM -0700, Shirley Ma wrote:
> Hello Micahel,
> 
> I have set up guest kernel 2.6.32-rc5 with MSI configured. Here are errors what
> I have got:
> 
> 1. First, qemu complained extboot.bin not found, I copied the file from
> optionrom/ dir to pc-bios/ dir, this problem is gone.
> 
> 2. Second, when guest boot up, it has lots of errors as below. Without vhost
> support, I still saw same errors but the guest interface can communicate with
> host, but with vhost, it doesn't work.

There was a ecent bugfix in qemu-kvm I pushed.
Could you please verify that you have cec75e39151e49cc90c849eab5d0d729667c9e68 ?


> I am posting the errors from /var/log/
> messages here:
> 
> virtio-pci 0000:00:03.0: can't find IRQ for PCI INT A; probably buggy MP table
> virtio-pci 0000:00:04.0: can't find IRQ for PCI INT A; probably buggy MP table
> virtio-pci 0000:00:04.0: irq 24 for MSI/MSI-X
> virtio-pci 0000:00:04.0: irq 25 for MSI/MSI-X
> IRQ handler type mismatch for IRQ 1
> current handler: i8042
> Pid: 335, comm: modprobe Not tainted 2.6.32-rc5 #3
> Call Trace:
> __setup_irq+0x24c/0x2ac
> request_threaded_irq+0x113/0x179
> ? vring_interrupt+0x0/0x2f
> vp_try_to_find_vqs+0x4a3/0x4e0 [virtio_pci]
> ? blk_done+0x0/0xa7 [virtio_blk]
> vp_find_vqs+0x1b/0x62 [virtio_pci]
> virtblk_probe+0xbd/0x3d0 [virtio_blk]
> ? sysfs_do_create_link+0xbb/0xfd
> ? blk_done+0x0/0xa7 [virtio_blk]
> ? add_status+0x1f/0x24
> virtio_dev_probe+0x91/0xb0
> driver_probe_device+0x79/0x105
> __driver_attach+0x43/0x5f
> bus_for_each_dev+0x3d/0x67
> driver_attach+0x14/0x16
> ? __driver_attach+0x0/0x5f
> bus_add_driver+0xa2/0x1c9
> driver_register+0x8b/0xeb
> ? init+0x0/0x24 [virtio_blk]
> register_virtio_driver+0x1f/0x22
> init+0x22/0x24 [virtio_blk]
> do_one_initcall+0x4c/0x13a
> sys_init_module+0xa7/0x1db
> syscall_call+0x7/0xb
> virtio-pci 0000:00:04.0: irq 24 for MSI/MSI-X
> virtio-pci 0000:00:04.0: irq 25 for MSI/MSI-X

This was recently reported without vhost, did not
reproduce it here yet.
And you say you do not see the above without vhost?

> vda: vda1 vda2
> EXT3-fs: INFO: recovery required on readonly filesystem.
> EXT3-fs: write access will be enabled during recovery.
> kjournald starting. Commit interval 5 seconds
> EXT3-fs: recovery complete.
> EXT3-fs: mounted filesystem with writeback data mode.
> udevd version 127 started
> virtio-pci 0000:00:03.0: irq 26 for MSI/MSI-X
> virtio-pci 0000:00:03.0: irq 27 for MSI/MSI-X
> virtio-pci 0000:00:03.0: irq 28 for MSI/MSI-X
> IRQ handler type mismatch for IRQ 1
> current handler: i8042
> Pid: 440, comm: modprobe Not tainted 2.6.32-rc5 #3
> Call Trace:
> __setup_irq+0x24c/0x2ac
> request_threaded_irq+0x113/0x179
> ? vring_interrupt+0x0/0x2f
> vp_try_to_find_vqs+0x4a3/0x4e0 [virtio_pci]
> ? skb_recv_done+0x0/0x36 [virtio_net]
> vp_find_vqs+0x1b/0x62 [virtio_pci]
> virtnet_probe+0x265/0x347 [virtio_net]
> ? skb_recv_done+0x0/0x36 [virtio_net]
> ? skb_xmit_done+0x0/0x1e [virtio_net]
> ? add_status+0x1f/0x24
> virtio_dev_probe+0x91/0xb0
> driver_probe_device+0x79/0x105
> __driver_attach+0x43/0x5f
> bus_for_each_dev+0x3d/0x67
> driver_attach+0x14/0x16
> ? __driver_attach+0x0/0x5f
> bus_add_driver+0xa2/0x1c9
> driver_register+0x8b/0xeb
> ? init+0x0/0xf [virtio_net]
> register_virtio_driver+0x1f/0x22
> init+0xd/0xf [virtio_net]
> do_one_initcall+0x4c/0x13a
> sys_init_module+0xa7/0x1db
> syscall_call+0x7/0xb
> virtio-pci 0000:00:03.0: irq 26 for MSI/MSI-X
> virtio-pci 0000:00:03.0: irq 27 for MSI/MSI-X
> 
> 3. The guest interface is up, and cat /proc/interrupts outputs:
> 
> 24: 0 PCI-MSI-edge virtio1-config
> 25: 2571 PCI-MSI-edge virtio1-virtqueues
> 26: 0 PCI-MSI-edge virtio0-config
> 27: 0 PCI-MSI-edge virtio0-virtqueues
> 
> Thanks
> Shirley

  parent reply	other threads:[~2009-10-21 20:21 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1255721369.10322.38.camel@w-sridhar.beaverton.ibm.com>
     [not found] ` <20091018105356.GA8374@redhat.com>
     [not found]   ` <20091018173202.GA32441@redhat.com>
2009-10-19 22:56     ` vhost-net patches Sridhar Samudrala
2009-10-20 10:24       ` Michael S. Tsirkin
     [not found]       ` <OFE487449E.75D4E72D-ON87257654.007E61BF-88257654.007F1CCC@us.ibm.com>
2009-10-20 11:34         ` Michael S. Tsirkin
     [not found]           ` <OF491C5580.D14A9827-ON87257655.005E2B42-88257655.005EBFDD@us.ibm.com>
2009-10-20 17:18             ` Michael S. Tsirkin
     [not found]               ` <OF519C21FE.3A50884E-ON87257655.005FB73B-88257655.005FEA00@us.ibm.com>
2009-10-20 17:33                 ` Michael S. Tsirkin
     [not found]                   ` <OFAA36418A.2A0716E0-ON87257656.006D1231-88257656.006DD91D@us.ibm.com>
2009-10-21 20:19                     ` Michael S. Tsirkin [this message]
     [not found]                       ` <OF2487602C.0F4CA77B-ON87257656.00834AC0-88257656.0083C68B@us.ibm.com>
2009-10-22  9:24                         ` Michael S. Tsirkin
2009-10-22 10:56                         ` Michael S. Tsirkin
2009-10-22 12:34                         ` Michael S. Tsirkin
2009-10-22 13:13                           ` Michael S. Tsirkin
2009-10-22 17:23                             ` Shirley Ma
2009-10-22 17:32                               ` Shirley Ma
2009-10-22 17:36                                 ` Michael S. Tsirkin
2009-10-22 17:44                                   ` Shirley Ma
2009-10-22 17:47                                     ` Michael S. Tsirkin
2009-10-22 17:56                                       ` Shirley Ma
2009-10-22 18:13                                         ` Shirley Ma
2009-10-22 17:43                               ` Michael S. Tsirkin
2009-10-22 18:00                                 ` Sridhar Samudrala
2009-10-23  7:12                                   ` Michael S. Tsirkin
2009-10-23 11:04                                   ` Michael S. Tsirkin
2009-10-23 15:02                                     ` Shirley Ma
2009-10-23 15:12                                       ` Shirley Ma
2009-10-23 16:23                                         ` Shirley Ma
2009-10-25 10:52                                           ` Michael S. Tsirkin
2009-10-25 17:05                                           ` Michael S. Tsirkin
2009-10-26  9:27                                           ` Michael S. Tsirkin
2009-10-26 21:35                                             ` Shirley Ma
2009-10-26 20:05                                           ` Michael S. Tsirkin
2009-10-26 21:34                                             ` Shirley Ma
2009-10-27  6:43                                               ` Michael S. Tsirkin
2009-10-27 14:46                                                 ` Shirley Ma
2009-10-27 15:27                                                   ` Michael S. Tsirkin
2009-10-27 16:36                                                     ` Shirley Ma
2009-10-27 20:58                                                       ` Michael S. Tsirkin
2009-10-28 15:55                                                         ` Shirley Ma
2009-10-28 15:39                                                       ` Michael S. Tsirkin
2009-10-28 16:45                                                         ` Shirley Ma
2009-10-28 16:53                                                           ` Michael S. Tsirkin
2009-10-28 18:12                                                             ` Shirley Ma
2009-10-29  7:11                                                               ` Shirley Ma
2009-11-02 19:46                                                                 ` Michael S. Tsirkin
2009-11-03  1:06                                                                   ` Xin, Xiaohui
2009-11-03 15:52                                                                     ` Shirley Ma
2009-10-28 20:55                                                             ` Shirley Ma
2009-10-28 16:46                                                       ` kvm memory leak (Was Re: vhost-net patches) Michael S. Tsirkin
2009-10-29 12:21                                                         ` Avi Kivity
2009-10-29 12:50                                                           ` Avi Kivity
2009-10-23 19:24                                         ` vhost-net patches Shirley Ma
2009-10-25  9:11                                           ` Michael S. Tsirkin
2009-10-26 21:37                                             ` Shirley Ma
2009-10-27  6:38                                               ` Michael S. Tsirkin
2009-10-27 14:48                                                 ` Shirley Ma
2009-10-28 17:46                                               ` Arnd Bergmann
2009-10-28 18:13                                                 ` Shirley Ma

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=20091021201923.GA25520@redhat.com \
    --to=mst@redhat.com \
    --cc=dlstevens@us.ibm.com \
    --cc=kvm@vger.kernel.org \
    --cc=sri@linux.vnet.ibm.com \
    --cc=xma@us.ibm.com \
    /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;
as well as URLs for NNTP newsgroup(s).