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

Re: [Xen-users] Debian Squeeze - XEN and PCI Passthrough - SOLVED



From: "Daniel Bauer"
I tried to give a PCI device to a domU with

   module  /boot/vmlinuz-3.2.0-0.bpo.2-amd64 ... xen-pciback.hide=(02:01.0)

vai /boot/grub/grub.cfg


The startup of the domU shows this error:

Loading DAHDI hardware modules:
[    5.475642] dahdi: Telephony Interface Registered on major 196
[    5.475660] dahdi: Version: 2.6.1
  wcb4xxp: [    5.559401] wcb4xxp 0000:02:01.0: probe called for b4xx...
[    5.559552] wcb4xxp 0000:02:01.0: enabling device (0000 -> 0003)
[    5.561039] wcb4xxp 0000:02:01.0: Xen PCI enabling IRQ: 0
[    5.561039] xen_allocate_pirq: returning irq 0 for gsi 0
[    5.561039] wcb4xxp 0000:02:01.0: Device has no associated IRQ?
[    5.561039] wcb4xxp: probe of 0000:02:01.0 failed with error -5
done
Running dahdi_cfg: .


also a lspci shows different to to dom0:

root@rz3-ta:~# lspci -vv
02:01.0 Non-VGA unclassified device: Digium, Inc. Wildcard B410 quad-BRI card 
(rev 01)
       Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
       Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
       Region 0: I/O ports at 2000 [size=8]
       Region 1: Memory at ec200000 (32-bit, non-prefetchable) [size=4K]


Thats the output without pciback:

root@rz3-xen1:~# lspci -vv -s 02:01.0
02:01.0 ISDN controller: Digium, Inc. Wildcard B410 quad-BRI card (rev 01)
       Subsystem: Digium, Inc. Wildcard B410 quad-BRI card
       Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx-
       Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
       Interrupt: pin A routed to IRQ 7
       Region 0: I/O ports at 2000 [size=8]
       Region 1: Memory at ec200000 (32-bit, non-prefetchable) [size=4K]
       Capabilities: [40] Power Management version 2
               Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA 
PME(D0+,D1+,D2+,D3hot+,D3cold-)
               Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-


I've plugged in a second PCI card, it's not important which one. After this there is an IRQ in the domU and everything works fine. I don't understand this behaviour ...

Daniel


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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