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

Re: [Xen-users] PCI passthru


  • To: "Geoff Gibbs" <geoff.gibbs@xxxxxxxxx>
  • From: "Christopher Isip" <cmisip@xxxxxxxxx>
  • Date: Mon, 19 May 2008 18:42:51 -0400
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 19 May 2008 15:43:21 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=KPwtkj/YHaSoUn7FmUwpiFOU7R/Eql/4eyBNHt0WDuyOuxDmRMuDfwtfzVtAbtTq53q0DGoPCM9WfN8o2qvVBeCPIKzq6JfWvVdPtVQkl8WYUfHpmJXZumIU78lfqlDrxHQtPpYt3mv7JNB2m4YiTfMTmyfKgIwT6O1j7xRJYfc=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>



On Mon, May 19, 2008 at 5:55 PM, Geoff Gibbs <geoff.gibbs@xxxxxxxxx> wrote:
I have been trying to get PCI passthru to work for a while now.
I am running 3.3-unstable on Centos 5.1. I have a Intel XEON
5140 CPU, with the latest BIOS.

I would like to be able to pass the SAS raid controller from
dom0 to dumU.

Do I need to do anything special to domU? It is running Fedora
core 4.

Is there any real documentation available on how to configure
PCI passthru on both dom0 and dumU?

thanks,

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


I have centos as well and the pciback is a module ( hence not part of the booting kernel).  You have to use late binding with pciback.  These are the steps I took to hide an ethernet card from dom0.

Grub --> nothing to do here

/etc/modprobe.conf:
options pciback hide=(0000:03:08.0)
install e100 /sbin/modprobe pciback ; /sbin/modprobe --first-time --ignore-install e100

  --> only need the install line if your dom0 kernel has modules for the pci device.

Now boot the domU with a line in the config file :
pci = [ '0000:03:08.0' ]


In some cases you may have to set the device to be permissive. In /sbin/lspci -vnn, get the device numbers:
03:08.0 0200: 8086:27dc (rev 01)
        Subsystem: 1028:01ab
        Flags: bus master, medium devsel, latency 64, IRQ 21
        Memory at efbff000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at dcc0 [size=64]
        Capabilities: [dc] Power Management version 2


And then put them in xend-pci-permissive.sxp

(unconstrained_dev_ids
      ('8086:27dc:1028:01ab')
)


Boot the domU and it should see the device.

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

 


Rackspace

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