xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: 0bo0 <0.bugs.only.0@gmail.com>
To: xen-devel@lists.xensource.com
Cc: horms@verge.net.au, dexuan.cui@intel.com
Subject: with Xen4 config -> (pci-passthrough-strict-check no), DomU init reports "Error: pci: PCI Backend and pci-stub don't own device"
Date: Fri, 29 Jan 2010 14:10:28 -0800	[thread overview]
Message-ID: <c67eed301001291410w2c926730s6c2d7ce5e9c5d46b@mail.gmail.com> (raw)

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?

             reply	other threads:[~2010-01-29 22:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-29 22:10 0bo0 [this message]
2010-01-29 22:36 ` 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: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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c67eed301001291410w2c926730s6c2d7ce5e9c5d46b@mail.gmail.com \
    --to=0.bugs.only.0@gmail.com \
    --cc=dexuan.cui@intel.com \
    --cc=horms@verge.net.au \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).