Hi @all, 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- May somebody have a hint, what to look for? Thanks Daniel
Francisco Javier Funes Nieto
2012-Jul-08 21:59 UTC
Re: Debian Squeeze - XEN and PCI Passthrough
Hi, The same ISDN Card in Debian Lenny (with 2.6.22-xen-amd64) and Xen 3.4.3 works well. module /boot/vmlinuz-2.6.26-2-xen-amd64 root=/dev/sda1 ro console=tty0 pciback.hide=(02:04.0)(04:00.0) pciback.permissive pci=nomsi Try adding pci=nomsi to boot parameters in grub.cfg More info about the dom0 hardware? 2012/7/8 Daniel Bauer <mlist@dsb-gmbh.de>:> Hi @all, > > 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- > > > May somebody have a hint, what to look for? > Thanks > Daniel > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users-- _____________________________________________ Francisco Javier Funes Nieto [esencia@gmail.com] CANONIGOS Servicios Informáticos para PYMES. Cl. Cruz 2, 1º Oficina 7 Tlf: 958.536759 / 661134556 Fax: 958.521354 GRANADA - 18002
Hi Francisco, thanks for you reply. From: "Francisco Javier Funes Nieto"> The same ISDN Card in Debian Lenny (with 2.6.22-xen-amd64) and Xen > 3.4.3 works well. > > module /boot/vmlinuz-2.6.26-2-xen-amd64 root=/dev/sda1 ro > console=tty0 pciback.hide=(02:04.0)(04:00.0) pciback.permissive > pci=nomsi > > > Try adding pci=nomsi to boot parameters in grub.cfgDone, without success :( Also changing to vmlinuz-2.6.35-5-xen-amd64 doesn''t change anything.> More info about the dom0 hardware?It''s an Supermicro PDSME+. Intel VT is enabled, but there is no VT-IO! Ciao Daniel> 2012/7/8 Daniel Bauer <mlist@dsb-gmbh.de>: >> 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- >> >> >> May somebody have a hint, what to look for? >> Thanks >> Daniel >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xen.org >> http://lists.xen.org/xen-users > > > > -- > _____________________________________________ > > Francisco Javier Funes Nieto [esencia@gmail.com] > CANONIGOS > Servicios Informáticos para PYMES. > Cl. Cruz 2, 1º Oficina 7 > Tlf: 958.536759 / 661134556 > Fax: 958.521354 > GRANADA - 18002 > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users > >
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
> 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 ... >I don''t have a solution or much to add except that I have a xen system on sles11sp1 that has the same problem. I''m passing through several PCI devices. I could not get the first device to pass through until I added another PCI device before it. Very strange.xen bug maybe? James