xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* with Xen4 config -> (pci-passthrough-strict-check no), DomU init reports "Error: pci: PCI Backend and pci-stub don't own device"
@ 2010-01-29 22:10 0bo0
  2010-01-29 22:36 ` 0bo0
  2010-01-29 22:44 ` Konrad Rzeszutek Wilk
  0 siblings, 2 replies; 8+ messages in thread
From: 0bo0 @ 2010-01-29 22:10 UTC (permalink / raw)
  To: xen-devel; +Cc: horms, dexuan.cui

testing,

	uname -ri
		2.6.33-rc5-4-xen x86_64
	rpm -qa | grep -i Xen-4
		xen-4.0.0_20873_01-29.1.x86_64

	cat test.cfg
		name         = 'test'
		builder      = 'linux'
		bootloader   = '/usr/lib/xen/boot/domUloader.py'
		bootargs     = '--entry=xvda1:vmlinuz-xen,/boot/initrd-xen'
		disk         = [
'phy:/dev/VG0/boot,xvda,w','phy:/dev/VG0/swap,xvdb,w','phy:/dev/VG0/root,xvdc,w',]
		root         = '/dev/xvdc1'
		vfb          = ['']
	xm create -c ./test.cfg

boots OK.

but if (re)enabling pci passthrough,

	vi test.cfg
			...
		+	pci          = [ '04:07.0' ]
			...

	dmesg | grep "Command line"
		[    0.000000] Command line: ... guestdev=0000:04:07.0,0000:04:06.0
reassign_resources iommu=1 noirqdebug clocksource=xen mce=off

for a PCI card behind a shared bridge,

	lspci -vt | grep "\[04\]" -A1
	           +-14.4-[04]--+-06.0  Intel Corporation 82541PI Gigabit
Ethernet Controller
	           |            \-07.0  Silicon Image, Inc. SiI 3124 PCI-X
Serial ATA Controller

with,

	grep passthrough /etc/xen/xend-config.sxp
		(pci-passthrough-strict-check no)
	grep hide /etc/modprobe.d/99-local.conf
		options pciback hide=(0000:04:07.0)(0000:04:06.0)

and checking,

	lsmod | egrep -i "pciback|xen"
		pciback                54471  0
		xenbus_be               3474  4 netbk,blkbk,blktap,pciback
		xenblk                 26117  0
		cdrom                  42939  2 sr_mod,xenblk
		xennet                 37545  0

@ DomU init.

	xm create -c ./test.cfg

returns,

	Using config file "./test.cfg".
	Error: pci: PCI Backend and pci-stub don't own device 0000:04:07.0

that error looks to hail from recent changes to 'XendDomainInfo.py', cref:

	http://article.gmane.org/gmane.comp.emulators.xen.devel/76231

with strict-check disabled in /xend-config.sxp, shouldn't this be ok to do/use?

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-02-01 19:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-29 22:10 with Xen4 config -> (pci-passthrough-strict-check no), DomU init reports "Error: pci: PCI Backend and pci-stub don't own device" 0bo0
2010-01-29 22:36 ` 0bo0
2010-01-29 22:44 ` Konrad Rzeszutek Wilk
2010-01-29 23:11   ` 0bo0
2010-02-01 16:57     ` 0bo0
2010-02-01 18:28       ` 0bo0
2010-02-01 18:58         ` Pasi Kärkkäinen
2010-02-01 19:21           ` 0bo0

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).