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

[Xen-devel] Cannot map PCI device BCM5709 to DomU. ( On Dell PER610 box )


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Yi, Shunli" <syi@xxxxxxxxxxxx>
  • Date: Wed, 8 Jul 2009 04:14:03 -0700
  • Accept-language: zh-CN, en-US
  • Acceptlanguage: zh-CN, en-US
  • Cc: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
  • Delivery-date: Wed, 08 Jul 2009 04:15:50 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acn/vTPMmK/Jkqr5S1KD9pFCTku2vw==
  • Thread-topic: Cannot map PCI device BCM5709 to DomU. ( On Dell PER610 box )

Hi:

When I try to map my PCI NICs to DomU, I encounter this error in domU:

 

Broadcom NetXtreme II Gigabit Ethernet Driver bnx2 v1.8.5b (Feb 9, 2009)

PCI: Enabling device 0000:00:00.0 (0000 -> 0002)

PCI: Setting latency timer of device 0000:00:00.0 to 64

bnx2 0000:00:00.0: Cannot map register space, aborting.

bnx2: probe of 0000:00:00.0 failed with error -12

 

I use the same kernel between Dom0 and DomU, and the same driver can works well in Dom0.

 

Tested in Xen-3.2.0, if I add the product id ‘14e4:1639’ into /etc/xen/xend-pci-permissive.sxp and rebuild initrd.img with “--preload pciback”, the BCM NIC can works well in DomU.

But when I make the same configuration in Xen-3.3.1, it doesn’t work.

 

Does somebody meet the same problem?

All feedback is welcome.

 

 

“lspci -vvn” in dom0:

04:00.1 0200: 14e4:1639 (rev 20)

        Subsystem: 14e4:0907

        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-

        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-

        Interrupt: pin B routed to IRQ 18

        Region 0: Memory at dc000000 (64-bit, non-prefetchable) [disabled] [size=32M]

        Capabilities: [48] Power Management version 3

                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)

                Status: D0 PME-Enable- DSel=0 DScale=1 PME-

        Capabilities: [50] Vital Product Data

        Capabilities: [58] Message Signalled Interrupts: 64bit+ Queue=0/3 Enable-

                Address: 0000000000000000  Data: 0000

        Capabilities: [a0] MSI-X: Enable- Mask- TabSize=8

                Vector table: BAR=0 offset=0000c000

                PBA: BAR=0 offset=0000e000

        Capabilities: [ac] Express Endpoint IRQ 0

                Device: Supported: MaxPayload 512 bytes, PhantFunc 0, ExtTag-

                Device: Latency L0s <4us, L1 <64us

                Device: AtnBtn- AtnInd- PwrInd-

                Device: Errors: Correctable- Non-Fatal+ Fatal+ Unsupported+

                Device: RlxdOrd+ ExtTag- PhantFunc- AuxPwr+ NoSnoop+

                Device: MaxPayload 256 bytes, MaxReadReq 512 bytes

                Link: Supported Speed 2.5Gb/s, Width x4, ASPM L0s L1, Port 0

                Link: Latency L0s <2us, L1 <2us

                Link: ASPM Disabled RCB 64 bytes CommClk+ ExtSynch-

                Link: Speed 2.5Gb/s, Width x4

        Capabilities: [100] Device Serial Number 8e-84-4f-fe-ff-18-10-00

        Capabilities: [110] Advanced Error Reporting

        Capabilities: [150] Power Budgeting

        Capabilities: [160] Virtual Channel

 

“lspci –vvn”  When mapped to DomU:

00:00.1 0200: 14e4:1639 (rev 20)

        Subsystem: 14e4:0907

        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-

        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-

        Interrupt: pin B routed to IRQ 18

        Region 0: Memory at dc000000 (64-bit, non-prefetchable) [disabled] [size=32M]

        Capabilities: [48] Power Management version 3

                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)

                Status: D0 PME-Enable- DSel=0 DScale=1 PME-

        Capabilities: [50] Vital Product Data

        Capabilities: [58] Message Signalled Interrupts: 64bit+ Queue=0/3 Enable-

                Address: 0000000000000000  Data: 0000

        Capabilities: [a0] MSI-X: Enable- Mask- TabSize=8

                Vector table: BAR=0 offset=0000c000

                PBA: BAR=0 offset=0000e000

        Capabilities: [ac] Express Endpoint IRQ 0

                Device: Supported: MaxPayload 512 bytes, PhantFunc 0, ExtTag-

                Device: Latency L0s <4us, L1 <64us

                Device: AtnBtn- AtnInd- PwrInd-

                Device: Errors: Correctable- Non-Fatal+ Fatal+ Unsupported+

                Device: RlxdOrd+ ExtTag- PhantFunc- AuxPwr+ NoSnoop+

                Device: MaxPayload 256 bytes, MaxReadReq 512 bytes

                Link: Supported Speed 2.5Gb/s, Width x4, ASPM L0s L1, Port 0

                Link: Latency L0s <2us, L1 <2us

                Link: ASPM Disabled RCB 64 bytes CommClk+ ExtSynch-

                Link: Speed 2.5Gb/s, Width x4

        Capabilities: [100] Device Serial Number 8e-84-4f-fe-ff-18-10-00

        Capabilities: [110] Advanced Error Reporting

        Capabilities: [150] Power Budgeting

        Capabilities: [160] Virtual Channel

 

 

Best Regards!

 

SHUNLI YI

 



Protected by Websense Hosted Email Security — www.websense.com

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

 


Rackspace

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