[opensuse-virtual] pciback failing to seize _multiple_ devices
I'm attempting to passthrough _multiple_ PCI cards from openSUSE 11.1 Dom0 -> DomUs. e.g., 00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a3) 04:07.0 RAID bus controller: Silicon Image, Inc. SiI 3124 PCI-X Serial ATA Controller (rev 02) 04:08.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306 Fire II IEEE 1394 OHCI Link Layer Controller (rev c0) Following success/example in an old post @ http://archive.netbsd.se/?ml=xen-users&a=2007-12&m=5961315 Subject: Re: [Xen-users] pciback.hide with ISDN Cards Date: 2007-12-20 15:33:53 i've similarly @ /boot/grub/menul.lst ... title Xen (symlink) NORMAL root (hd0,0) kernel /xen.gz module /vmlinuz-xen root=/dev/vg0/ROOT resume=/dev/vg0/SWAP elevator=cfq max_loop=64 physdev_dom0_hide=(00:14.0)(04:07.0)(04:08.0) module /initrd-xen & @ /etc/init.d/boot.local modprobe pciback hide='(00:14.0)(04:07.0)(04:08.0)' echo -n 0000:00:14.0 > /sys/bus/pci/drivers/pciback/permissive echo -n 0000:04:07.0 > /sys/bus/pci/drivers/pciback/permissive echo -n 0000:04:08.0 > /sys/bus/pci/drivers/pciback/permissive &, additionally, @ my DomU .cfg, pci = [ '00:14.0', '04:07.0', '04:08.0' ] after reboot, however, pciback has only "seized" a single device, dmesg | grep pciback pciback 0000:00:14.0: seizing device pciback 0000:00:14.0: PCI INT A -> Link[LMAC] -> GSI 20 (level, low) -> IRQ 20 pciback 0000:00:14.0: PCI INT A disabled pciback 0000:00:14.0: enabling permissive mode configuration space accesses! pciback 0000:00:14.0: permissive mode is potentially unsafe! (note, that in the link's example, multiple devs are successfully seized) @ DomU launch, with pci = [ '00:14.0', '04:07.0', '04:08.0' ] fails to boot, returning, Error: pci: PCI Backend does not own device 0000:04:07.0 See the pciback.hide kernel command-line parameter or bind your slot/device to the PCI backend using sysfs but with just the seized interface pci = [ '00:14.0' ] DomU boots & logs-in ok, & lspci 00:00.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a3) what add'l/corrected config is required for pciback to correctly seize all the devices? or, is this likely a bug? thanks. -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-virtual+help@opensuse.org
reading more/other recent messages, i've found use of modprobe.conf rather than boot.local (_is_ there a documented recommendation for one/the other?) ... removing stanza above from boot.local, and, instead adding install forcedeth /sbin/modprobe pciback ; /sbin/modprobe --first-time --ignore-install forcedeth install sata_sil24 /sbin/modprobe pciback ; /sbin/modprobe --first-time --ignore-install sata_sil24 install ohci1394 /sbin/modprobe pciback ; /sbin/modprobe --first-time --ignore-install ohci1394 install ieee1394 /sbin/modprobe pciback ; /sbin/modprobe --first-time --ignore-install ieee1394 to /etc/modprobe.conf.local after reboot i now see _two_ of the devices seized, dmesg | grep -i pciback pciback 0000:00:14.0: seizing device pciback 0000:04:08.0: seizing device pciback 0000:04:08.0: PCI INT A -> Link[LNKA] -> GSI 17 (level, low) -> IRQ 17 pciback 0000:04:08.0: PCI INT A disabled pciback 0000:00:14.0: PCI INT A -> Link[LMAC] -> GSI 20 (level, low) -> IRQ 20 pciback 0000:00:14.0: PCI INT A disabled rather than just one. that's progress, i suppose, but where's the '04:07.0' sata_sil24 device? -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-virtual+help@opensuse.org
that's progress, i suppose, but where's the '04:07.0' sata_sil24 device?
the problem seems to have been that i'd previously had INITRD_MODULES = " ... sata_sil24 ... " in /etc/sysconfig/kernel that apparently causes sata_sil24 to load out of order (too early?) for modprobe.conf.local to be effective. rm'ing the 'sata_sil24' driver from "/etc/sysconfig/kernel", with the modprobe.conf.local entries as above, after boot i've now dmesg | egrep -i "pciback" ... pciback 0000:00:14.0: seizing device pciback 0000:04:07.0: seizing device pciback 0000:04:08.0: seizing device ... @ DomU Launch, i've a new error, Error: pci: 0000:04:07.0: non-page-aligned MMIO BAR found. but that's a different issue ... -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-virtual+help@opensuse.org
participants (1)
-
PGNet