WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Problems exporting a PCI device to a domU...

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Problems exporting a PCI device to a domU...
From: Patrick Gaubatz <patrick@xxxxxxxxxx>
Date: Sat, 3 Nov 2007 16:04:41 +0100
Delivery-date: Mon, 19 Nov 2007 09:49:58 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi!

I am trying to export a PCI device (an AVM Fritzcard PCI ISDN card...) to a domU but when starting my domU I am getting this error: "pciback pci-4-0: 22 Couldn't locate PCI device (0000:00:06.0)! perhaps already in-use?"
My system is running both debian etch in dom0 and domU...
Below you can find (hopefully) all important  information...

Sincerely,
Gaubatz Patrick

####################################


xenmeister:~# uname -a
Linux xenmeister 2.6.18-5-xen-vserver-686 #1 SMP Wed Oct 3 04:36:02 UTC 2007 i686 GNU/Linux


xenmeister:~# lspci | grep AVM
00:06.0 Network controller: AVM Audiovisuelles MKTG & Computer System GmbH A1 ISDN [Fritz] (rev 02)


xenmeister:~# cat /boot/grub/menu.lst | grep 00:06.0
# xenkopt=console=tty0 pciback.hide=(00:06.0)
module /boot/vmlinuz-2.6.18-5-xen-vserver-686 root=/dev/md0 ro console=tty0 pciback.hide=(00:06.0)


xenmeister:~# lsmod
Module                  Size  Used by
xt_tcpudp               3904  4
xt_physdev              3792  8
iptable_filter          3872  1
ip_tables              13892  1 iptable_filter
x_tables               14084  3 xt_tcpudp,xt_physdev,ip_tables
bridge                 50300  1 xt_physdev
netloop                 7360  0
raid456               116496  1
xor                    15144  1 raid456
loop                   15944  0
ide_cd                 36832  0
cdrom                  33344  1 ide_cd
ide_disk               15712  6
generic                 5636  0 [permanent]
floppy                 51716  0
serverworks             9096  0 [permanent]
rtc                    13332  0
serial_core            20288  0
i2c_piix4               8908  0
i2c_core               20448  1 i2c_piix4
ide_core              112392  4 ide_cd,ide_disk,generic,serverworks
ehci_hcd               29288  0
uhci_hcd               22188  0
usbcore               114372  3 ehci_hcd,uhci_hcd
thermal                14376  0
processor              29608  1 thermal
fan                     5572  0
e1000                 110432  0
ext3                  123336  1
jbd                    53224  1 ext3
mbcache                 9124  1 ext3
sd_mod                 19808  8
dm_snapshot            16320  0
dm_mirror              20048  0
dm_mod                 50968  27 dm_snapshot,dm_mirror
raid1                  21984  3
md_mod                 71348  6 raid456,raid1
mptspi                 16936  6
scsi_transport_spi     23104  1 mptspi
mptscsih               22848  1 mptspi
scsi_mod 125160 4 sd_mod,mptspi,scsi_transport_spi,mptscsih
mptbase                47264  2 mptspi,mptscsih


xenmeister:~# cat /etc/xen/test.cfg
kernel  = '/boot/vmlinuz-2.6.18-5-xen-vserver-686'
ramdisk = '/boot/initrd.img-2.6.18-5-xen-vserver-686-domU'
memory  = '100'
root    = '/dev/sda1 ro'
disk    = [ 'phy:data/test-disk,sda1,w', 'phy:data/test-swap,sda2,w' ]
name    = 'test'
vif  = [ 'ip=10.0.0.19, mac=00:16:3E:00:00:04, vifname=eth4' ]
pci = [ '00:06.0' ]
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'



xenmeister:~# dmesg | grep pciback
Kernel command line: root=/dev/md0 ro console=tty0 pciback.hide=(00:06.0)
pciback 0000:00:06.0: seizing device
pciback: vpci: 0000:00:06.0: assign to virtual slot 0
pciback pci-4-0: 22 Couldn't locate PCI device (0000:00:06.0)! perhaps already in-use?


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

<Prev in Thread] Current Thread [Next in Thread>