From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Dario Faggioli <raistlin@linux.it>
Cc: xen-devel <xen-devel@lists.xensource.com>,
Ian Campbell <Ian.Campbell@citrix.com>
Subject: Re: Issue with PCI-passthrough and pvops
Date: Wed, 19 Oct 2011 10:10:32 -0400 [thread overview]
Message-ID: <20111019141032.GB8033@phenom.dumpdata.com> (raw)
In-Reply-To: <CAAWQecut9-ouRfZEwmvFYkA8W98XZRFc3LtdPYPyWbhuaZzYiw@mail.gmail.com>
On Wed, Oct 19, 2011 at 03:46:26PM +0200, Dario Faggioli wrote:
> On Wed, Oct 19, 2011 at 9:40 AM, Ian Campbell <Ian.Campbell@citrix.com> wrote:
> >> > Guest:
> >> > [ 19.607997] ixgbe: Intel(R) 10 Gigabit PCI Express Network Driver - version 3.4.8-k
> >> > [ 19.608670] ixgbe: Copyright (c) 1999-2011 Intel Corporation.
> >> > [ 19.609465] ixgbe 0000:00:00.0: device not available (can't reserve [mem 0xdf300000-0xe32fffff 64bit])
> >> > [ 19.610878] ixgbe: probe of 0000:00:00.0 failed with error -22
> >>
> >> Well, that is the problem.
> >
> > Does he need "e820_host=1" in his cfg?
> >
> Mmm... If you mean putting that line in my DomU config file
> (I checked 23428:131f19c67d85, and it seems so), that is not
> helping.
That option is usually required if the guest has more than 2GB. As we
would end up setting an E820 that would trample over the PCI hole.
(In this case it looks like part of the PCI hole is DF300000).
Dario,
I've seen this bug before with .. Hm, some similar adapter. I know
that if pass in 'igb.max_vfs=2' and passed in the igbvf PCI cards the
guest worked just fine. It just did not like being passed in as a real device.
Otherwise, older MSI/MSI-X (non SR-IOV) cards worked fine so I never go
further in debugging this.
I would recommend you take a look at the probe function and figure out why
it can't reserve that region. And easy way to figure that out is to
boot the guest and look in /proc/iomem and see what is in the df30000-e32ffffff
region. Perhaps something else is overlapping it?
next prev parent reply other threads:[~2011-10-19 14:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-17 15:36 Issue with PCI-passthrough and pvops Dario Faggioli
2011-10-17 16:40 ` Konrad Rzeszutek Wilk
2011-10-18 23:54 ` Dario Faggioli
2011-10-19 1:10 ` Konrad Rzeszutek Wilk
2011-10-19 7:40 ` Ian Campbell
2011-10-19 13:46 ` Dario Faggioli
2011-10-19 14:10 ` Konrad Rzeszutek Wilk [this message]
2011-10-19 17:27 ` Dario Faggioli
2011-10-20 1:42 ` Konrad Rzeszutek Wilk
2011-10-19 7:39 ` Ian Campbell
2011-10-19 16:12 ` Dario Faggioli
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=20111019141032.GB8033@phenom.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=Ian.Campbell@citrix.com \
--cc=raistlin@linux.it \
--cc=xen-devel@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.