WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] pciback.hide sundance

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] pciback.hide sundance
From: Christian Placzek <clp@xxxxxxxxxxx>
Date: Thu, 26 Apr 2007 13:47:19 +0200
Delivery-date: Thu, 26 Apr 2007 04:45:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Icedove 1.5.0.10 (X11/20070329)
Hi,

I am trying to set up a Xen server using two 4-port NIC cards. The
exact type: D-Link DFE 580TX. There are no problems using this cards
under plain linux. The driver is called 'sundance'.

But when I use pciback.hide the DomU can't access this card.

I have had the same task when using the NIC BCM 5708 (NetXtreme II).
I had found a message in 'dmesg':

pciback 0000:09:00.0: Driver tried to write to a read-only
configuration space field at offset 0x4c, size 2. This may be
harmless, but if you have problems with your device:
1) see permissive attribute in sysfs
2) report problems to the xen-devel mailing list along with details
of your device obtained from lspci.
PCI: Enabling device 0000:09:00.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:09:00.0[A] -> GSI 16 (level, low) -> IRQ
16

I added this line:

         '14e4:164c'   # Broadcom Tigon3 5708 (NetXtreme II)

in the file '/etc/xen/xend-pci-quirks.sxp' in the section tg3. And
everything works fine.


But in this case I have not found any further information about the
pci_config_space_fields.

Could anybody help me?


Information about the DFE 580TX:

# lspci -nn
12:04.0 Ethernet controller [0200]: D-Link System Inc DL10050
Sundance Ethernet [1186:1002] (rev 15)

# lspci -vvv
12:04.0 Ethernet controller: D-Link System Inc DL10050 Sundance
Ethernet (rev 15)
        Subsystem: D-Link System Inc DFE-580TX
        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-
        Latency: 32 (2500ns min, 2500ns max), Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 20
        Region 0: I/O ports at dc80 [size=128]
        Expansion ROM at fc500000 [disabled] [size=64K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0-,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable+ DSel=0 DScale=2 PME-

The error message:

# dmesg
pciback 0000:12:04.0: Driver tried to write to a read-only
configuration space field at offset 0x54, size 2. This may be
harmless, but if you have problems with your device:
1) see permissive attribute in sysfs
2) report problems to the xen-devel mailing list along with details
of your device obtained from lspci.
PCI: Enabling device 0000:12:04.0 (0000 -> 0001)
ACPI: PCI Interrupt 0000:12:04.0[A] -> GSI 224 (level, low) -> IRQ 20

Kris




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

<Prev in Thread] Current Thread [Next in Thread>