Bug 672470 - Failed when assigned VFs or PFs to a RHEL6 PV guest
Summary: Failed when assigned VFs or PFs to a RHEL6 PV guest
Keywords:
Status: CLOSED DUPLICATE of bug 611423
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel
Version: 6.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Red Hat Kernel Manager
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-25 08:21 UTC by Yuyu Zhou
Modified: 2013-07-29 01:26 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-25 10:28:21 UTC
Target Upstream Version:


Attachments (Terms of Use)
xend log (11.93 KB, text/plain)
2011-01-25 08:23 UTC, Yuyu Zhou
no flags Details
xm dmesg log (1.14 KB, text/plain)
2011-01-25 08:23 UTC, Yuyu Zhou
no flags Details
PV guest dmesg log (12.38 KB, text/plain)
2011-01-25 08:24 UTC, Yuyu Zhou
no flags Details

Description Yuyu Zhou 2011-01-25 08:21:55 UTC
Description of problem:
When assigned VFs or PFs to a PV guest, VFs can be seen as attatched in Dom0, but not in DomU.

Version-Release number of sellected component:
xen:host:kernel_version: 2.6.18-240.el5xen
host_arch:x86_64
guest:guest_name: RHEL-Sever-6.0
Xen:guest:kernel_version: kernel-2.6.32-71.el6.x86_64
host:xen_version: xen-3.0.3-122.el5

How reproducible:
100%

Steps to Reproduce:
1- Make sure you have enabled VT-d(for Intel machine) or AMD-Vi(for AMD machine) in BIOS.
2- SR-IOV supported hardware. (for example: Intel 82576 NIC) for VF assignment.
3- boot up xen host with iommu and pci_pt_e820_access enabled
   Add "iommu=1" in kernel line
   Add "pci_pt_e820_access=on" in module line
4- Check whether PF enabled in Dom0
   Example:
   # lspci | grep 82576
   Two PF NIC should be shown

0000:0f:00.0 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01)

5-  Reload igb (driver for intel 82576 NIC) module with max_vfs=7 parameter
   # modprobe -r igb
   # modprobe igb max_vfs=7
6- Load pciback driver:
   # modprobe pciback
   check whether pciback was loaded:
   # lsmod | grep pciback
7- install a REHEL6 PV guest via virt-manager
8- assign one of the VF on host to the PV guest via virt-manager

Actual Results:
1- Check whether N VFs attached to guest correctly in Dom0:
   # xm pci-list ${DomU_ID}
   domain   bus   slot   func
   0    f     10     0      

2- Check whether N VFs attached to guest correctly in DomU:
   [guest]# lspci
   None of the VFs can be seen in lspci output.

Expected Results:
1- Check whether N VFs attached to guest correctly in Dom0:
   # xm pci-list ${DomU_ID}
   Corresponding number of VFs should be shown.

2- Check whether N VFs attached to guest correctly in DomU:
   [guest]# lspci


Additional info:
   Same result via xm commands.
   Similar experiments for only one VF, and PF of Intel 82576 NIC, BCM5764M and USB controller are implemented. In these case, also only in Dom0 we can see the attached PFs or VFs.
   Same test passed with RHEL5.5 PV guest and REHEL6.0 	HVM guest.

Comment 1 Yuyu Zhou 2011-01-25 08:23:01 UTC
Created attachment 475121 [details]
xend log

Comment 2 Yuyu Zhou 2011-01-25 08:23:39 UTC
Created attachment 475122 [details]
xm dmesg log

Comment 3 Yuyu Zhou 2011-01-25 08:24:13 UTC
Created attachment 475123 [details]
PV guest dmesg log

Comment 4 Andrew Jones 2011-01-25 10:28:21 UTC

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


Note You need to log in before you can comment on or make changes to this bug.