All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Adams <mark@campbell-lange.net>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	"xen-users@lists.xensource.com" <xen-users@lists.xensource.com>,
	"JBeulich@novell.com" <JBeulich@novell.com>
Subject: Re: [Xen-users] Re: pci-passthrough in pvops causing offline raid
Date: Fri, 26 Nov 2010 15:25:58 +0000	[thread overview]
Message-ID: <20101126152558.GA21191@campbell-lange.net> (raw)
In-Reply-To: <20101126111520.GA17221@campbell-lange.net>

On Fri, Nov 26, 2010 at 11:15:20AM +0000, Mark Adams wrote:
> On Wed, Nov 24, 2010 at 03:28:43PM -0500, Konrad Rzeszutek Wilk wrote:
> > On Wed, Nov 24, 2010 at 05:59:26PM +0000, Mark Adams wrote:
> > > > > > > > >>>> 
> > > > > > > > >>>> (XEN) msi.c:715: MSI is already in use on device 02:00.0
> > > > > > > > >>>> (XEN) msi.c:715: MSI is already in use on device 02:00.0
> > > > > > > > >>>> (XEN) msi.c:715: MSI is already in use on device 02:00.0
> > > > > > > 
> > > > > > > Looking briefly at the code it means that somebody enabled the MSI
> > > > > > > already on the device and did not disable them. But I wonder how
> > > > > > > you got those in the first place. Did you use xen-pciback.hide (for PVOPS kernels)
> > > > > > > or pciback.hide (for older kernels) to "hide" the devices away from the
> > > > > > > Linux Dom0 kernel?
> > > 
> > > I've got a test setup in place now, and am trying to reproduce this.
> > > I've not connected up serial as yet, but can see the following logs in
> > > the qemu-dm log file when I get the "MSI is already in use" errors
> > > above. Note also that this error -always- shows for the first specified
> > > device in the pci= field, and not the 2nd.
> > > 
> 
> In my new test setup, I have seen some strange behaviour. 1 of the HVM's
> (with identical config in dom0 and domU) suddenly would not allow the
> igb driver to be loaded in domU, even though the device was visible in
> lspci. Shutting the machine down, removing the power cord, waiting 5
> seconds then plugging it in again corrected that issue - Is this
> possibly a motherboard bug? I have also disabled the SR-IOV
> functionality in the BIOS incase this is causing any issues.
> 
> In addition, to try to correct the MSI issue noted above, I have changed
> my pci= line to the following:
> 
> pci=[ '08:00.0,msitranslate=0', '08:00.1,msitranslate=0' ]

Apologies for replying to my own post, but I'm having an issue with this
setup in that I can not get a link on the 2nd interface that I'm passing
through. I've tried with msitranslate both on and off, with no success.

The device shows in the domU as an interface correctly, but even with
the link up (link led's show on the interface) domU always shows the
eth2 interface as not ready.

[    7.001784] ADDRCONF(NETDEV_UP): eth1: link is not ready
[    7.047903] ADDRCONF(NETDEV_UP): eth2: link is not ready
[   10.108995] e1000e: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
[   10.109653] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   16.468102] eth0: no IPv6 routers present
[   20.404092] eth1: no IPv6 routers present

I've tried using the ET dual port card (igb) aswell as the onboard
interfaces (e1000e) with exactly the same result. 

The eth0 interface is a xen bridge device, and if I remove this, both
passthrough interfaces work correctly.

Can you not have a bridge and pci-passthrough operational? is there a
limit of 2 NIC's in a HVM domU? (this doesn't sound right...)

Regards,
Mark

  reply	other threads:[~2010-11-26 15:25 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-11 10:24 pci-passthrough in pvops causing offline raid Mark Adams
2010-11-11 11:13 ` Olivier Hanesse
2010-11-11 12:03   ` Re: [Xen-users] " Mark Adams
2010-11-11 16:53 ` [Xen-devel] " Konrad Rzeszutek Wilk
2010-11-11 17:38   ` Mark Adams
2010-11-11 17:58     ` Konrad Rzeszutek Wilk
2010-11-11 18:13       ` [Xen-devel] " Mark Adams
2010-11-11 18:47         ` Mark Adams
2010-11-11 19:06           ` Konrad Rzeszutek Wilk
2010-11-11 19:22             ` [Xen-users] " Mark Adams
2010-11-11 19:42               ` Re: [Xen-devel] " Mark Adams
2010-11-12 17:10             ` [Xen-users] " Mark Adams
2010-11-12 22:22               ` Konrad Rzeszutek Wilk
2010-11-14 17:15                 ` Re: [Xen-devel] " Mark Adams
2010-11-15 17:11                   ` [Xen-users] " Mark Adams
2010-11-15 17:15                   ` Re: [Xen-devel] " Konrad Rzeszutek Wilk
2010-11-15 17:23                     ` [Xen-users] " Mark Adams
2010-11-15 17:44                       ` Re: [Xen-devel] " Konrad Rzeszutek Wilk
2010-11-15 17:56                         ` [Xen-users] " Mark Adams
2010-11-24 17:59                           ` Mark Adams
2010-11-24 20:28                             ` Re: [Xen-devel] " Konrad Rzeszutek Wilk
2010-11-26 11:15                               ` Mark Adams
2010-11-26 15:25                                 ` Mark Adams [this message]
2010-11-29 16:36                                 ` HVM DomU, msi_translate=0, MSI/MSI-X PCI passthrough fails Konrad Rzeszutek Wilk
2010-12-08 12:58                                   ` Mark Adams
2010-12-08 13:37                                     ` Sander Eikelenboom
2010-12-08 13:48                                       ` Mark Adams
2010-12-08 14:05                                         ` Sander Eikelenboom
2010-12-08 15:48                                           ` [Xen-users] " Mark Adams
2010-12-08 16:44                                             ` Sander Eikelenboom
2010-12-09 10:39                                               ` Mark Adams
2010-12-08 17:01                                         ` [Xen-devel] " Konrad Rzeszutek Wilk
2010-12-08 17:15                                           ` Sander Eikelenboom
2010-12-08 19:51                                             ` Jeremy Fitzhardinge
2010-12-08 17:18                                           ` [Xen-devel] " Sander Eikelenboom
2010-12-08 17:43                                             ` Konrad Rzeszutek Wilk
2010-12-09 10:49                                           ` Mark Adams
2010-12-08 13:48                                     ` Dietmar Hahn
2010-11-15 19:26                         ` [Xen-users] Re: pci-passthrough in pvops causing offline raid Pasi Kärkkäinen
2010-11-16 10:37                         ` Re: [Xen-devel] " Mark Adams
2010-11-16 16:04                           ` [Xen-users] " Konrad Rzeszutek Wilk
2010-11-16 16:47                             ` Mark Adams
2010-11-18  8:42                               ` Re: [Xen-devel] " Stephan Austermühle
2010-11-18  8:45                                 ` [Xen-users] " Pasi Kärkkäinen
2010-11-18  8:48                                   ` Re: [Xen-devel] " Stephan Austermühle
2010-11-16 21:19                             ` [Xen-users] " Pasi Kärkkäinen
2010-11-11 18:57         ` Konrad Rzeszutek Wilk
2010-11-11 17:40   ` Re: [Xen-devel] " Richie

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=20101126152558.GA21191@campbell-lange.net \
    --to=mark@campbell-lange.net \
    --cc=JBeulich@novell.com \
    --cc=konrad.wilk@oracle.com \
    --cc=xen-devel@lists.xensource.com \
    --cc=xen-users@lists.xensource.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.