Patrick Gaubatz
2007-Nov-03 15:04 UTC
[Xen-users] Problems exporting a PCI device to a domU...
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@lists.xensource.com http://lists.xensource.com/xen-users
Gaubatz Patrick
2007-Nov-04 11:24 UTC
[Xen-users] Problems exporting a PCI device to a domU...
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@lists.xensource.com http://lists.xensource.com/xen-users
[STD]Ein
2007-Nov-04 16:24 UTC
RE: [Xen-users] Problems exporting a PCI device to a domU...
First make sure that the device is shown as claimed by pciback on dom0. ls /sys/bus/pci/drivers/pciback/ | grep 00:06.0 If it isn''t, then ensure that your dom0 kernel has pciback compiled in (not as a module). If it''s a module, then you must perform late binding, or change kernels. The Etch supplied 2.6.18-5-xen kernels have this compiled in for example. Also, I''m assuming your system has one pci bus and all devices start at 0000: but it couldn''t hurt to write everything in long form. -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Gaubatz Patrick Sent: November 4, 2007 5:24 AM To: xen-users@lists.xensource.com Subject: [Xen-users] Problems exporting a PCI device to a domU... 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@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Patrick Gaubatz
2007-Nov-04 16:35 UTC
Re: [Xen-users] Problems exporting a PCI device to a domU...
Hi! xenmeister:~# ls /sys/bus/pci/drivers/pciback/ | grep 00:06.0 0000:00:06.0 So I think everything is okay... Sincerely, Gaubatz Patrick Am 04.11.2007 um 17:24 schrieb [STD]Ein:> First make sure that the device is shown as claimed by pciback on > dom0. > > ls /sys/bus/pci/drivers/pciback/ | grep 00:06.0 > > If it isn''t, then ensure that your dom0 kernel has pciback compiled > in (not > as a module). If it''s a module, then you must perform late binding, > or > change kernels. The Etch supplied 2.6.18-5-xen kernels have this > compiled > in for example. > > Also, I''m assuming your system has one pci bus and all devices start > at > 0000: but it couldn''t hurt to write everything in long form. > > -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Gaubatz > Patrick > Sent: November 4, 2007 5:24 AM > To: xen-users@lists.xensource.com > Subject: [Xen-users] Problems exporting a PCI device to a domU... > > 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@lists.xensource.com > http://lists.xensource.com/xen-users > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > !DSPAM:472df32220741815715664! > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Gaubatz Patrick
2007-Nov-07 13:22 UTC
Re: [Xen-users] Problems exporting a PCI device to a domU...
Hi! I really wonder if nobody has got an idea how to solve this problem... What should I do or try in this situation? Thanks in advance! Sincerely, Gaubatz Patrick Patrick Gaubatz wrote:> Hi! > > xenmeister:~# ls /sys/bus/pci/drivers/pciback/ | grep 00:06.0 > 0000:00:06.0 > > So I think everything is okay... > > Sincerely, > Gaubatz Patrick > > > Am 04.11.2007 um 17:24 schrieb [STD]Ein: > >> First make sure that the device is shown as claimed by pciback on dom0. >> >> ls /sys/bus/pci/drivers/pciback/ | grep 00:06.0 >> >> If it isn''t, then ensure that your dom0 kernel has pciback compiled >> in (not >> as a module). If it''s a module, then you must perform late binding, or >> change kernels. The Etch supplied 2.6.18-5-xen kernels have this >> compiled >> in for example. >> >> Also, I''m assuming your system has one pci bus and all devices start at >> 0000: but it couldn''t hurt to write everything in long form. >> >> -----Original Message----- >> From: xen-users-bounces@lists.xensource.com >> [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Gaubatz >> Patrick >> Sent: November 4, 2007 5:24 AM >> To: xen-users@lists.xensource.com >> Subject: [Xen-users] Problems exporting a PCI device to a domU... >> >> 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@lists.xensource.com http://lists.xensource.com/xen-users