Bug 577179

Summary: not enough MMIO resources for SR-IOV error on Xen kernel
Product: Red Hat Enterprise Linux 5 Reporter: Masroor <masroor.vettuparambil>
Component: kernel-xenAssignee: Xen Maintainance List <xen-maint>
Status: CLOSED DUPLICATE QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: medium Docs Contact:
Priority: low    
Version: 5.5CC: ddutile, drjones, xen-maint
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-30 12:01:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Masroor 2010-03-26 11:59:20 UTC
Description of problem:
When loading a driver for a PCIe device which supports SR-IOV, the BARs
associated with the SR-IOV capability may not be reliably requested, even if
there is space.
The bug is similar (identical?) to 523341
(https://bugzilla.redhat.com/show_bug.cgi?id=523341)

Version-Release number of selected component (if applicable):
RHEL 5.5 2.6.18-190.el5xen

How reproducible:
Platform dependent, but when it happens it happens 100% of the time.


Steps to Reproduce:
1. Enable SR-IOV in system BIOS
2. Boot RHEL-5.4
3. Load relevant driver (for SR-IOV capable device)
  
Actual results:
Driver modprobe fails and produces an error like:
“PCI: Failed to allocate mem resource #12:1800000@b4800000 for 0000:02:00.0
vxge 0000:02:00.0: not enough MMIO resources for SR-IOV”

This means the physical device (aka Physical Function or PF) will not work,
and, of course, no virtual devices (aka Virtual Function or VF) associated w/
that PF can be allocated.

Expected results:
Driver is successfully loaded and VFs are successfully allocated making both
the PF and its VFs functional.

Additional info:

Comment 1 Andrew Jones 2010-03-26 12:42:30 UTC
The BZ you reference has a test kernel linked to it in the last comment. Have you tried that one? Or any later releases? -194 is available at http://people.redhat.com/jwilson/el5/194.el5/

Comment 2 Masroor 2010-03-30 11:22:45 UTC
This bug is there in 194 build as well. This bug is a duplicate of 577182, https://bugzilla.redhat.com/show_bug.cgi?id=577182. Please see it for more details.

Comment 3 Andrew Jones 2010-03-30 12:01:14 UTC

*** This bug has been marked as a duplicate of bug 523341 ***