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

Re: [Xen-users] using physical NIC



Hi Ryan,
 I am having similar troubles with pci passthrough and would be grateful if you could possibly point me in the right direction.
 I am trying to pass a FXS/FXO card to a DomU for Asterisk. It's PCI address is 02:02.0


title=Xen 3.0.2 Gentoo Linux (2.6.16-xen-r1)
root(hd0,0)
kernel /xen.gz dom0_mem=256144 pciback.hide=(02:02.0) ro nloopbacks=1 console=vga
module /vmlinuz-2.6.16.1-xen udev dolvm2 root=/dev/sda2 ro lockd.nlm_udpport=4001 lockd.nlm_tcpport=4001 vga=0x314
module /System.map-2.6.16.1-xen

lspci
00:00.0 Host bridge: Broadcom GCNB-LE Host Bridge (rev 32)
00:00.1 Host bridge: Broadcom GCNB-LE Host Bridge
00:02.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
00:04.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
00:04.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
00:06.0 Multimedia audio controller: Aureal Semiconductor Vortex 2 (rev fe)
00:0e.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
00:0f.0 Host bridge: Broadcom CSB5 South Bridge (rev 93)
00:0f.1 IDE interface: Broadcom CSB5 IDE Controller (rev 93)
00:0f.2 USB Controller: Broadcom OSB4/CSB5 OHCI USB Controller (rev 05)
00:0f.3 ISA bridge: Broadcom CSB5 LPC bridge
00:10.0 Host bridge: Broadcom CIOB-X2 PCI-X I/O Bridge (rev 03)
00:10.2 Host bridge: Broadcom CIOB-X2 PCI-X I/O Bridge (rev 03)
01:06.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 08)
02:02.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface
02:04.0 I2O: Adaptec (formerly DPT) SmartRAID V Controller (rev 02)
02:04.1 PCI bridge: Adaptec (formerly DPT) PCI Bridge (rev 02)

xm create /etc/xen/02io
Using config file "/etc/xen/02io".
Error: Error creating domain: pci: failed to locate device and parse it's resources - %s[Errno 2] No such file or directory: '/sys/bus/pci/devices/0000:02:02.0/driver'

# ls /sys/bus/pci/devices/0000\:02\:02.0/
bus    config  irq         modalias  resource   resource1         subsystem_vendor  vendor
class  device  local_cpus  power     resource0  subsystem_device  uevent

# echo -n 0000\:02\:02.0 > /sys/bus/pci/drivers/pciback/bind
bash: echo: write error: No such device

# echo -n '0000:02:02.0' > /sys/bus/pci/drivers/pciback/bind
bash: echo: write error: No such device

# dmesg | grep pci
ACPI: bus type pci registered
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
pciback 0000:00:00.0: probing...
pciback 0000:00:00.1: probing...
pciback 0000:00:02.0: probing...
pciback 0000:00:04.0: probing...
pciback 0000:00:04.1: probing...
pciback 0000:00:06.0: probing...
pciback 0000:00:0e.0: probing...
pciback 0000:00:0f.0: probing...
pciback 0000:00:0f.1: probing...
pciback 0000:00:0f.2: probing...
pciback 0000:00:0f.3: probing...
pciback 0000:00:10.0: probing...
pciback 0000:00:10.2: probing...
pciback 0000:01:06.0: probing...
pciback 0000:02:02.0: probing...
pciback 0000:02:04.0: probing...
pciback 0000:02:04.1: probing...
PCI: MSI quirk detected. pci_msi_quirk set.
PCI: MSI quirk detected. pci_msi_quirk set.
pciback: pcistub_init_devices_late
pciback 0000:02:02.0: probing...
pciback 0000:02:02.0: probing...

Attached zipped kernel config 

Attachment: config-2.6.16.1-tar.gz
Description: GNU Zip compressed data


Many thanks in advance,

Piers Dawson-Damer

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

 


Rackspace

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