xend-pci-permissive.sxp needed for my tg3 (Broadcom) LAN-device
Dear all,
(please CC me as I am not on the list)
I am using RedHat Enterprise Linux 5 (RHEL5).
I want to make one of the two broadcom LAN devices available to a domU.
The PCI device is mentioned in the xend-pci-quirks.sxp file but I need to put it into xend-pci-permissive.sxp to make it work properly.
Dom0 Kernel:
2.6.18-53.1.4.el5xen #1 SMP Wed Nov 14 10:52:01 EST 2007 x86_64 x86_64 x86_64 GNU/Linux
Xen: 3.0.3-41.el5 (RHEL5 Packages)
Details:
Error in DomU without entry in xend-pci-permissive.sxp (modprobe tg3):
tg3.c:v3.80-rh (August 2, 2007)
PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
tg3: (0000:00:00.0) phy probe failed, err -19
tg3: Problem fetching invariants of chip, aborting.
after putting ('14e4:1678') into xend-pci-permissive.sxp I can use the device in domU.
See attached lspci.txt for PCI details gathered from within dom0
Do you need further information?
I know that there is a newer Version of Xen out already, but I cannot test other Xen Versions as this is a customers machine.
Is this fixed already in newer Xen Versions? Or do I have to add something to xend-pci-quirks.sxp to make it work without the xend-pci-permissive.sxp modification?
Kind regards
-Marc Schiffbauer
Signature · 4 lines
Senior Consultant :: Solution Designer IT-Security :: Free Software :: GNU/Linux mightycare-solutions GmbH Firmenangaben: http://www.mightycare.de/index.php?id=23&Itemid=52
lspci:
0f:04.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5715 Gigabit Ethernet (rev a3)
---------------------------------------------------------------------------------------------------------------------------
lspci -vvvn:
0f:04.0 0200: 14e4:1678 (rev a3)
Subsystem: 1734:108c
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 16
Region 0: Memory at fd510000 (64-bit, non-prefetchable) [disabled] [size=64K]
Region 2: Memory at fd500000 (64-bit, non-prefetchable) [disabled] [size=64K]
Capabilities: [40] PCI-X non-bridge device
Command: DPERE- ERO- RBC=512 OST=1
Status: Dev=0f:04.0 64bit+ 133MHz+ SCD- USC- DC=simple DMMRBC=2048 DMOST=1 DMCRS=16 RSCEM- 266MHz- 533MHz-
Capabilities: [48] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
Status: D3 PME-Enable+ DSel=0 DScale=1 PME-
Capabilities: [50] Vital Product Data
Capabilities: [58] Message Signalled Interrupts: 64bit+ Queue=0/3 Enable-
Address: 00000000fee00000 Data: 408a
---------------------------------------------------------------------------------------------------------------------------
lspci -xxx:
0f:04.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5715 Gigabit Ethernet (rev a3) 00: e4 14 78 16 46 01 b0 02 a3 00 00 02 10 40 80 00
10: 04 00 53 fd 00 00 00 00 04 00 52 fd 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 34 17 8c 10
30: 00 00 47 15 40 00 00 00 00 00 00 00 09 02 40 00
40: 07 48 00 00 21 0f 43 04 01 50 02 c0 00 21 00 64
50: 03 58 fc 00 00 00 00 78 05 00 86 00 00 10 e0 fe
60: 00 00 00 00 92 40 00 00 98 02 03 90 00 80 14 76
70: ea 10 00 00 c7 00 00 00 10 04 00 00 00 00 00 00
80: ff fe 00 00 d0 00 00 c0 34 00 13 04 82 d0 08 04
90: 09 97 00 09 00 00 00 74 00 00 00 00 47 00 00 00
a0: 00 00 00 00 7f 01 00 00 00 00 00 00 c5 01 00 00
b0: 00 00 00 00 00 00 00 74 04 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 7 lines · Marc Schiffbauer
Do you need further information?
I know that there is a newer Version of Xen out already, but I cannot test other Xen Versions as this is a customers machine.Is this fixed already in newer Xen Versions? Or do I have to add something to xend-pci-quirks.sxp to make it work without the xend-pci-permissive.sxp modification?
I wouldn't worry about leaving it in xend-pci-permissive.sxp. The alternative is to work out which areas of PCI config space the tg3 driver wants to access, and list them all explicitly in xend-pci-quirks.py. Noone's been inclined to do that yet!
-- Keir