Bug 560665

Summary: [SR-IOV] VF can not be enabled in Dom0 [rhel-5.4.z]
Product: Red Hat Enterprise Linux 5 Reporter: RHEL Program Management <pm-rhel>
Component: kernel-xenAssignee: Jiri Pirko <jpirko>
Status: CLOSED ERRATA QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: medium Docs Contact:
Priority: urgent    
Version: 5.4CC: chrisw, clalance, ddugger, ddutile, dhoward, jpirko, mjenner, plyons, pm-eus, qwan, rkhan, rwu, xen-maint, yuzhang
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel-2.6.18-164.14.1.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-17 00:19:22 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:
Bug Depends On: 547980    
Bug Blocks:    

Description RHEL Program Management 2010-02-01 15:07:10 UTC
This bug has been copied from bug #547980 and has been proposed
to be backported to 5.4 z-stream (EUS).

Comment 4 Jiri Pirko 2010-02-19 17:16:51 UTC
in 2.6.18-164.14.1.el5

Comment 7 Rita Wu 2010-03-02 10:38:12 UTC
Hi Jiri,

Which result can mean this bug is fixed?
1.Only can VF be enabled in Dom0 
2.Not only VF can be enabled in Dom0, but the VF can be assigned to guest and I can use VF link to transmit data?

Comment 8 Jiri Pirko 2010-03-02 12:18:38 UTC
Don, would you mind to answer c#7. Thanks a lot.

Comment 9 Don Dutile (Red Hat) 2010-03-02 16:35:22 UTC
As long as you boot dom0 with pci_pt_e820_access=on

on the kernel boot line, than VF's should be usable in dom0 & in FV guest.

So, wrt c#6,  #2 is fixed with pci_pt_e820_access=on
on the kernel cmdline.

- Don

Comment 10 Rita Wu 2010-03-04 06:53:44 UTC
Verified on kernel-2.6.18-164.15.1.el5.

commands added in cmdline:
kernerl /xen.gz iommu=force
module /vmlinuz pci_pt_e820_access=on

Now VF can be enabled in Dom0 and can be assigned to guests. At the same time, VF link can be pinged successfully without missing packages.

Comment 12 errata-xmlrpc 2010-03-17 00:19:22 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2010-0147.html