Re: SR-IOV problem with Intel 82599EB (not enough MMIO resourcesfor SR-IOV)

From: Don Dutile
Date: Tue Nov 13 2012 - 12:26:09 EST


On 11/13/2012 11:04 AM, Li, Sibai wrote:


-----Original Message-----
From: Jason Gao [mailto:pkill.2012@xxxxxxxxx]
Sent: Tuesday, November 13, 2012 5:38 AM
To: bhelgaas@xxxxxxxxxx; Rose, Gregory V; Li, Sibai
Cc: ddutile@xxxxxxxxxx; Kirsher, Jeffrey T; linux-kernel; netdev; kvm; e1000-
devel@xxxxxxxxxxxxxxxxxxxxx; linux-pci@xxxxxxxxxxxxxxx; Yinghai Lu
Subject: Re: SR-IOV problem with Intel 82599EB (not enough MMIO resources
for SR-IOV)

I'm very sorry for delayed reply.now SR-IOV works for me in Centos 6.3,thank all
of you.


On Fri, Nov 9, 2012 at 11:26 PM, Bjorn Helgaas<bhelgaas@xxxxxxxxxx> wrote:
Linux normally uses the resource assignments done by the BIOS, but it
is possible for the kernel to reassign those. We don't have good
automatic support for that yet, but on a recent upstream kernel, you
can try "pci=realloc". I doubt this option is in CentOS 6.3, though

Thank you very much,I try "pci=realloc" in Centos 6.3,and now it works for me.



On Sat, Nov 10, 2012 at 2:08 AM, Li, Sibai<sibai.li@xxxxxxxxx> wrote:
DellR710 with the latest BIOS should work fine for SR-IOV. My BIOS is
v.6.3.0 and release date is 07/24/2012 Please check if you configured
intel_iommu=on in the grub.conf file.
If you did, check your kernel .config file under Device Drivers-> IOMMU
Hardware support->enable Support for Intel IOMMU using DMA remapping
Devices, enable Intel DMA Remapping Devices by Default, enable Support for
Interrupt Remapping.

thank you Sibai,Our server "Dell R710",its BIOS version is just
v.6.3.0 and release date is 07/24/2012,and I also configured intel_iommu=on in
the grub.conf file,but I can't find these IOMMU options in "Device Drivers" in my
Sibai is referring to kernel config options. RHEL6.3 has the IOMMU options built into
the kernel, but not enabled by default -- have to add 'intel_iommu=on' to the kernel
cmdline to enable IOMMU. SRIOV support (CONFIG_IOV) is built into the RHEL6.3 kernel as well.

kernel(2.6.32-279) .config file , btw my os is Centos 6.3(RHEL6.3),although the
problem solved,I'd like to know what's your os version ,kernel version?

I am using RHEL6.3 with unstable kernel 3.7.0-rc
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/