WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] PCI Passthru working on RHEL 5.1?
From: Scott McKenzie <scott.xensource@xxxxxxxxxxxxx>
Date: Fri, 16 May 2008 15:06:23 +1000
Delivery-date: Thu, 15 May 2008 22:07:01 -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 2.0.0.14 (X11/20080505)
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,
Ed
I'm using CentOS 5.1 to pass a modem through to a domU. My dom0 is using the distro's kernel which is 2.6.18-53.1.14.el5xen.

To get it working and survive a reboot I added the following lines to /etc/rc.local:
modprobe pciback
echo -n 0000:01:08.0 > /sys/bus/pci/drivers/pciback/new_slot
echo -n 0000:01:08.0 > /sys/bus/pci/drivers/pciback/bind


I then have pci = [ "0000:01:08.0" ] in the config file for my domU. Works like a charm.


HTH
Scott



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

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