[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

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,
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.


Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.