
cdelorme at gmail
Apr 11, 2012, 9:59 PM
Post #6 of 8
(326 views)
Permalink
|
Coming from Debian so I don't know if my experiences are a 1 to 1 map, but it looks like you are loading pciback after the system boots, which is too late since the device drivers have already loaded. The purpose of pciback is to load with the system before the devices are initialized and the system loads the drivers. From the reading I've found you supposedly have to rebuild your initrd with pciback for it to load at boot time: http://itknowledgeexchange.techtarget.com/linux-lotus-domino/centos-5-and-pciback-aka-hiding-pci-card-from-xen-dom0/ For that reason my solution has been to just compile a kernel with pciback "built-in", since I have had no luck with the module approach. Most of the guides I have read mention pci stub scripts, which I believe is a different utility from pciback. Also, on Debian the domain is not required for hiding or passing pci devices (in reference to the lspci format "domain:bus:slot.function" not the Xen domain). I hope that helps, ~Casey On Thu, Apr 12, 2012 at 12:14 AM, Xi Shen <davidshen84 [at] gmail> wrote: > Have you tried xen-pciback.hide=(0000:08:02.0)(0000:**08:02.1) ? I do > not know why the prefixing '0000:' is missing on any Xen Wiki page; but > most people say it is required. > > > On Tuesday, March 27, 2012, Christoph Kaminski wrote: > >> no one a hint for me? >> >> does someone use other pkgs for centos 6 where pci passthrough is working? >> >> On Sun, 25 Mar 2012 08:33:27 +0100, Christoph Kaminski wrote: >> >>> have loaded all found xen modules... still the same problem with pci >>> passthrough >>> >>> On Sat, 24 Mar 2012 12:44:40 -0700 (PDT), Mark Pryor wrote: >>> >>>> Hello, >>>> >>>> It's possible that you need to load a handful of xen modules at >>>> startup inorder to create guests. >>>> >>>> From what you posted below, I can't tell what's happening on dom0 boot. >>>> >>>> Take a look at >>>> >>>> find /lib/modules -name "xen*.ko" | grep 3.3 >>>> >>>> the results of the above find command need to setup here >>>> >>>> cat>>/etc/rc.modules<<EOL >>>> modprobe xenfs >>>> modprobe xen-gntdev >>>> (and so on) >>>> EOL >>>> chmod +x /etc/rc.modules >>>> >>>> >>>> >>>> ----- Original Message ----- >>>> From: Christoph Kaminski <mangel [at] gmx> >>>> To: xen-users [at] lists >>>> Cc: >>>> Sent: Saturday, March 24, 2012 2:28 AM >>>> Subject: [Xen-users] Problems centos6/xen/pci passthrough >>>> >>>> Hi All >>>> >>>> I have a problem with xen and pci passthrough... >>>> I have centos 6 with xen here. Xen Pkgs from http://www.crc.id.au/ >>>> Kernel Pkgs from http://elrepo.org/tiki/kernel-**ml<http://elrepo.org/tiki/kernel-ml> >>>> (3.3.0-1.el6.elrepo.x86_64) in dom0/U. >>>> >>> >> -- >> Greetz >> >> ______________________________**_________________ >> Xen-users mailing list >> Xen-users [at] lists >> http://lists.xen.org/xen-users > > > > -- > Regards, > David Shen > > http://about.me/davidshen > https://twitter.com/#!/davidshen84 > > _______________________________________________ > Xen-users mailing list > Xen-users [at] lists > http://lists.xen.org/xen-users >
|