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] CentOS/Xen PCI pass-through

To: "Rob Greene" <robgreene@xxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] CentOS/Xen PCI pass-through
From: "Phillip Bennett" <phillip@xxxxxxx>
Date: Tue, 22 Apr 2008 09:03:36 +0100
Delivery-date: Tue, 22 Apr 2008 01:04:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Organization: Midland Valley Exploration
References: <738584f80804202033r61e82daew6f512fcc9aa7b618@xxxxxxxxxxxxxx>
Reply-to: Phillip Bennett <phillip@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Guys,
I have been trying to get PCI Passthrough working for *MONTHS* now. 
Finally, when I stopped trying, I came across the following page.  http://www.novell.com/coolsolutions/feature/17605.html
In the bottom half are the best instructions I've seen so far for getting PCI Passthrough to work yet.  It not only explains it better than most places, but it allows you to see and understand what is actually going on during the process.  I now have successfully passed through a network card and a video card to a DomU machine.  (I've yet to get the video card to actually work, but it's in the PCI list now)
Hope this helps,
----- Original Message -----
From: Rob Greene
Sent: Monday, April 21, 2008 4:33 AM
Subject: [Xen-users] CentOS/Xen PCI pass-through

Is PCI pass-through available in the "standard" CentOS 5.1 kernel?  From the "xm info" command, I see the major.minor version of Xen is 3.1, so I'm assuming it is and that I'm missing something basic.

I've tried using "pciback.hide=(...)" in grub.conf, but after getting an error message about it not being valid, I realized that pciback is a module, so it's not available.

So, I tried it in /etc/modprobe.conf, but that apparently didn't work either.  I also tried this (http://wiki.xensource.com/xenwiki/Assign_hardware_to_DomU_with_PCIBack_as_module?highlight=%28pci%29) and it seemed to work -- I at least got a message about the pciback grabbing the device.  I do, however, still see the device when I do a "lspci", but I'm not certain if that is normal or not.

I added the "pci = [ ... ]" in my Xen domU config file but am not seeing the device in lspci (which is totally empty), and am not sure what is up.  Since I don't have the "xm" commands in the domU, I'm not sure what to do.

I'd like to pass in my video capture devices into a domU and get Myth or Sage running in one of my domU's.  Base OS is CentOS 5.1 x86_64 for sheer stability and patchability; that way the domU can be tweaked/upgraded/rebuilt without impacting anything else.

Any suggestions would be appreciated!

Xen-users mailing list
Xen-users mailing list