Mailinglist Archive: opensuse-virtual (17 mails)

< Previous Next >
[opensuse-virtual] pciback failing to seize _multiple_ devices
  • From: PGNet <pgnet.trash+osvm@xxxxxxxxx>
  • Date: Fri, 27 Mar 2009 11:17:11 -0700
  • Message-id: <dbd51810903271117i6556730evccef30a3b7b3e10@xxxxxxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-virtual+help@xxxxxxxxxxxx

< Previous Next >
This Thread
Follow Ups