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 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@lists.xensource.com http://lists.xensource.com/xen-users
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 > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >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. http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/en-US/RHEL510/Deployment_Guide/s1-kernel-modules-persistant.html Hope this helps, Mark C. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users