[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Issue with PCI-passthrough and pvops



On Wed, Oct 19, 2011 at 4:10 PM, Konrad Rzeszutek Wilk
<konrad.wilk@xxxxxxxxxx> 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
>
> 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.
>
Yeah, in fact passing other cards the box have to the very same domain
seems to just work.

> 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?
>
I might be wrong, but it doesn't seem quite so to me:

# cat /proc/iomem
00000000-0000ffff : reserved
00010000-0009ffff : System RAM
000a0000-000fffff : reserved
  000f0000-000fffff : System ROM
00100000-1fffffff : System RAM
  01000000-01b88b4b : Kernel code
  01b88b4c-02352a7f : Kernel data
  02652000-02ee6fff : Kernel bss
20000000-bf698fff : Unusable memory
bf6af000-bf6cdfff : ACPI Tables
d58f8000-d58fbfff : 0000:00:00.0
d5900000-d597ffff : 0000:00:00.0
df200000-e71fffff : 0000:00:00.0
100000000-1000fffff : System RAM

The probe function is huge... But I'll se if I can find the time to take
a look at it in the next days...

Thanks a lot for now. :-)

Dario

-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
----------------------------------------------------------------------
Dario Faggioli, <http://retis.sssup.it/people/faggioli>
Senior Software Engineer, Citrix Systems R&D, Cambridge (UK)
PhD Candidate, ReTiS Lab, Scuola Superiore Sant'Anna, Pisa  (Italy)

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.