This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] PCI Passthru working on RHEL 5.1?

To: "Nadolski, Ed" <Ed.Nadolski@xxxxxxx>
Subject: Re: [Xen-users] PCI Passthru working on RHEL 5.1?
From: Mark Chandler <mcl@xxxxxxxxxxx>
Date: Sat, 17 May 2008 11:57:16 +1000
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 16 May 2008 18:57:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <14055DB40DC0544FBF2FC50CE791619C0126E806@xxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <14055DB40DC0544FBF2FC50CE791619C0126E806@xxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (X11/20080501)
Nadolski, Ed wrote:
What Linux(es) is PCI passthru known to work?  I'm a Xen newbie trying
to get PCI passthru to work on RHEL5.1.  Has anyone successfully done
this?  I get the "seizing device" from pciback in dom0 but lspci in the
domU shows nothing, and dmesg in the domU shows no messages from
pcifront.  My domU config file entry looks like this:

pci = [ '07:00.0' ]

Any thoughts?  Do I need to rebuild the kernel with pcifront linked in?
(I'm not sure if RHEL does that by default).

Thanks in advance,

Xen-users mailing list

This is most definitely working in RHEL 5.1. I used it recently to pass four Ethernet interfaces through to a guest that uses them for network monitoring. I think the only difference I have is that I used the bus id as part of the PCI string. So, I had pci=[ "0000:10:00.0" ].

I had to load the pciback module early on in the boot sequence by adding "modprobe pciback" into a file called /etc/rc.modules (needs to be executable) as per the Deployment Guide's instructions. Otherwise, the Ethernet modules got there first, and I had to unload them before I could use pciback to claim the devices.


Hope this helps,

Mark C.

Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>