Bug 500568 - kernel-xen should *not* include pci-stub driver
Summary: kernel-xen should *not* include pci-stub driver
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel-xen
Version: 5.4
Hardware: All
OS: Linux
low
medium
Target Milestone: beta
: ---
Assignee: Don Dutile (Red Hat)
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-05-13 10:33 UTC by Daniel Berrangé
Modified: 2009-09-02 08:56 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-02 08:56:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Remove pci-stub driver from -xen kernels (1.30 KB, text/plain)
2009-05-15 15:56 UTC, Don Dutile (Red Hat)
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2009:1243 0 normal SHIPPED_LIVE Important: Red Hat Enterprise Linux 5.4 kernel security and bug fix update 2009-09-01 08:53:34 UTC

Description Daniel Berrangé 2009-05-13 10:33:52 UTC
Description of problem:
The latest kernel-xen has the newly backported pci-stub driver built-in to the kernel by default. 

This causes a problem in handling of PCI passthrough to guest VMs, because libvirt sees that pci-stub is present and uses that.  XenD in RHEL-5, however, *requires* that pciback is used and cannot work with pci-stub. It is not even possible to workaround this by blacklisting the pci-stub because it was compiled into the kernel, not built as a module.

We need to turn off pci-stub for kernel-xen builds, and only have it in bare-metal builds for use with KVM

Version-Release number of selected component (if applicable):
Linux rhel5xen 2.6.18-146.el5xen #1 SMP Mon May 11 19:08:09 EDT 2009 i686 athlon i386 GNU/Linux


How reproducible:
Always

Steps to Reproduce:
1. Boot kernel-xen
2. ls /sys/bus/pci/drivers
3. 
 
Actual results:
pci-stub is present

Expected results:
pci-stub is not present, and also not built as a module

Additional info:

Comment 2 Don Dutile (Red Hat) 2009-05-15 15:56:35 UTC
Created attachment 344191 [details]
Remove pci-stub driver from -xen kernels

Comment 3 Don Zickus 2009-05-19 19:46:51 UTC
in kernel-2.6.18-149.el5
You can download this test kernel from http://people.redhat.com/dzickus/el5

Please do NOT transition this bugzilla state to VERIFIED until our QE team
has sent specific instructions indicating when to do so.  However feel free
to provide a comment indicating that this fix has been verified.

Comment 7 errata-xmlrpc 2009-09-02 08:56:01 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-2009-1243.html


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