[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] with Xen4 config -> (pci-passthrough-strict-check no), DomU init reports "Error: pci: PCI Backend and pci-stub don't own device"


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: 0bo0 <0.bugs.only.0@xxxxxxxxx>
  • Date: Fri, 29 Jan 2010 14:10:28 -0800
  • Cc: horms@xxxxxxxxxxxx, dexuan.cui@xxxxxxxxx
  • Delivery-date: Fri, 29 Jan 2010 14:11:11 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=jxZb7fOIcNtjEKng/43miaBUGFtQgkxXiLZgEEYit3HfrSO/Apn3v1E/6kvvpkZmXm ifti1Io+av6fr2u+6Dr1cVxnyK9MTmbTbi9XHnKy6m/5sVD9FUxjey38nw0mouo8HFp2 /RkmqFFES3eoju2MPwHgcgVZjjla06V57To4s=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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?

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.