Re: sungem card fails to find it's mac address

From: Beezly (beezly@beezly.org.uk)
Date: Mon Mar 04 2002 - 17:00:42 EST


I don the dunce's hat.

I forgot to say what kernel I'm running;

monkey:/# uname -a
Linux monkey 2.4.19pre1 #1 Mon Feb 25 21:48:03 GMT 2002 i686 unknown

On Mon, 2002-03-04 at 21:32, Beezly wrote:
> Hi all,
>
> I've just been trying out a Sun Gigabit Ethernet card on my PC. As the
> sungem module loads it prints out:
>
> Mar 4 20:40:10 monkey kernel: sungem.c:v0.96 11/17/01 David S. Miller
> (davem@redhat.com)
> Mar 4 20:40:10 monkey kernel: PCI: Enabling device 00:0a.0 (0014 ->
> 0016)
> Mar 4 20:40:10 monkey kernel: PCI: Found IRQ 5 for device 00:0a.0
> Mar 4 20:40:10 monkey kernel: PCI: Sharing IRQ 5 with 00:0b.1
> Mar 4 20:40:10 monkey kernel: eth0: Sun GEM (PCI) 10/100/1000BaseT
> Ethernet 00:00:00:00:00:00
>
> and the card fails to establish a link with the switch (an extreme
> networks summit 48). If I then "encourage" the card to have a mac
> address (I used one stolen from a 3COM 3c905B!) the link is established
> straight away;
>
> (immediately after doing "ifconfig eth0 hw ether 00:10:5A:41:E6:14")
>
> Mar 4 21:06:27 monkey kernel: eth0: Link is up at 1000 Mbps,
> full-duplex.
> Mar 4 21:06:27 monkey kernel: eth0: PCS AutoNEG complete.
> Mar 4 21:06:27 monkey kernel: eth0: PCS link is now up.
> Mar 4 21:06:28 monkey kernel: eth0: Link is up at 1000 Mbps,
> full-duplex.
>
> After doing this, the card functions as expected, except I get a message
> to syslog around once every second saying;
>
> Mar 4 21:18:25 monkey kernel: eth0: Link is up at 1000 Mbps,
> full-duplex.
>
> I'm guess this could be the switch forcing a renegotiation every second
> and I may be able to turn it off - on the other hand, it could be useful
> information for someone;
>
> If any more info is needed please contact me ;)
>
> Also attached is the output of lspci -v
>
> monkey:/var/log# lspci -vv
> 00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133]
> (rev 02)
> Subsystem: Asustek Computer, Inc.: Unknown device 8033
> 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: 8
> Region 0: Memory at e6000000 (32-bit, prefetchable) [size=32M]
> Capabilities: [a0] AGP version 2.0
> Status: RQ=31 SBA+ 64bit- FW+ Rate=x1,x2
> Command: RQ=0 SBA- AGP+ 64bit- FW+ Rate=<none>
> Capabilities: [c0] Power Management version 2
> Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
> Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>
> 00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP]
> (prog-if 00 [Normal decode])
> 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: 0
> Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
> Memory behind bridge: d5000000-d65fffff
> Prefetchable memory behind bridge: d7f00000-e5ffffff
> BridgeCtl: Parity- SERR- NoISA- VGA+ MAbort- >Reset- FastB2B-
> Capabilities: [80] Power Management version 2
> Flags: PMEClk- DSI+ D1+ D2- AuxCurrent=0mA
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
> Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>
> 00:04.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South]
> (rev 22)
> Subsystem: Asustek Computer, Inc.: Unknown device 8033
> 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: 0
>
> 00:04.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 10)
> (prog-if 8a [Master SecP PriP])
> 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
> Region 4: I/O ports at d800 [size=16]
> Capabilities: [c0] Power Management version 2
> Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
> Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>
> 00:04.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 10)
> (prog-if 00 [UHCI])
> Subsystem: Unknown device 0925:1234
> 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, cache line size 08
> Interrupt: pin D routed to IRQ 9
> Region 4: I/O ports at d400 [size=32]
> Capabilities: [80] Power Management version 2
> Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
> Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>
> 00:04.3 USB Controller: VIA Technologies, Inc. UHCI USB (rev 10)
> (prog-if 00 [UHCI])
> Subsystem: Unknown device 0925:1234
> 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, cache line size 08
> Interrupt: pin D routed to IRQ 9
> Region 4: I/O ports at d000 [size=32]
> Capabilities: [80] Power Management version 2
> Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
> Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>
> 00:04.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev
> 30)
> Subsystem: Asustek Computer, Inc.: Unknown device 8033
> 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 ? routed to IRQ 9
> Capabilities: [68] Power Management version 2
> Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
> Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>
> 00:09.0 Multimedia video controller: Brooktree Corporation Bt878 (rev
> 02)
> Subsystem: Hauppauge computer works Inc. WinTV/GO
> 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 (4000ns min, 10000ns max)
> Interrupt: pin A routed to IRQ 9
> Region 0: Memory at d7000000 (32-bit, prefetchable) [size=4K]
>
> 00:09.1 Multimedia controller: Brooktree Corporation Bt878 (rev 02)
> Subsystem: Hauppauge computer works Inc. WinTV/GO
> 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 (1000ns min, 63750ns max)
> Interrupt: pin A routed to IRQ 9
> Region 0: Memory at d6800000 (32-bit, prefetchable) [disabled]
> [size=4K]
>
> 00:0a.0 Ethernet controller: Sun Microsystems Computer Corp. GEM (rev
> 01)
> Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr-
> Stepping- SERR- FastB2B-
> Status: Cap- 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=slow >TAbort- <TAbort-
> <MAbort- >SERR- <PERR-
> Latency: 32 (16000ns min, 16000ns max), cache line size 08
> Interrupt: pin A routed to IRQ 5
> Region 0: Memory at d4800000 (32-bit, non-prefetchable) [size=2M]
> Expansion ROM at <unassigned> [disabled] [size=1M]
>
> 00:0b.0 SCSI storage controller: LSI Logic / Symbios Logic (formerly
> NCR) 53c875 (rev 14)
> Subsystem: LSI Logic / Symbios Logic (formerly NCR): Unknown device
> 1000
> 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: 72 (4250ns min, 16000ns max), cache line size 08
> Interrupt: pin A routed to IRQ 10
> Region 0: I/O ports at a400 [size=256]
> Region 1: Memory at d4000000 (32-bit, non-prefetchable) [size=256]
> Region 2: Memory at d3800000 (32-bit, non-prefetchable) [size=4K]
> Expansion ROM at <unassigned> [disabled] [size=64K]
>
> 00:0b.1 SCSI storage controller: LSI Logic / Symbios Logic (formerly
> NCR) 53c875 (rev 14)
> Subsystem: LSI Logic / Symbios Logic (formerly NCR): Unknown device
> 1000
> 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: 72 (4250ns min, 16000ns max), cache line size 08
> Interrupt: pin B routed to IRQ 5
> Region 0: I/O ports at a000 [size=256]
> Region 1: Memory at d3000000 (32-bit, non-prefetchable) [size=256]
> Region 2: Memory at d2800000 (32-bit, non-prefetchable) [size=4K]
> Expansion ROM at <unassigned> [disabled] [size=64K]
>
> 00:0c.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev
> 05)
> Subsystem: Creative Labs CT4850 SBLive! Value
> 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 (500ns min, 5000ns max)
> Interrupt: pin A routed to IRQ 11
> Region 0: I/O ports at 9800 [size=32]
> Capabilities: [dc] Power Management version 1
> Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
> Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>
> 00:0c.1 Input device controller: Creative Labs SB Live! (rev 05)
> Subsystem: Creative Labs Gameport Joystick
> 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
> Region 0: I/O ports at 9400 [disabled] [size=8]
> Capabilities: [dc] Power Management version 1
> Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
> Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>
> 00:11.0 Unknown mass storage controller: Promise Technology, Inc. 20265
> (rev 02)
> Subsystem: Promise Technology, Inc.: Unknown device 4d33
> 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
> Interrupt: pin A routed to IRQ 10
> Region 0: I/O ports at 9000 [size=8]
> Region 1: I/O ports at 8800 [size=4]
> Region 2: I/O ports at 8400 [size=8]
> Region 3: I/O ports at 8000 [size=4]
> Region 4: I/O ports at 7800 [size=64]
> Region 5: Memory at d2000000 (32-bit, non-prefetchable) [size=128K]
> Expansion ROM at <unassigned> [disabled] [size=64K]
> Capabilities: [58] Power Management version 1
> Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
> Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>
> 01:00.0 VGA compatible controller: nVidia Corporation NV11 (GeForce2 MX)
> (rev a1) (prog-if 00 [VGA])
> Subsystem: CardExpert Technology: Unknown device 0065
> 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: 248 (1250ns min, 250ns max)
> Interrupt: pin A routed to IRQ 11
> Region 0: Memory at d5000000 (32-bit, non-prefetchable) [size=16M]
> Region 1: Memory at d8000000 (32-bit, prefetchable) [size=128M]
> Expansion ROM at d7ff0000 [disabled] [size=64K]
> Capabilities: [60] Power Management version 2
> Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
> Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> Capabilities: [44] AGP version 2.0
> Status: RQ=31 SBA- 64bit- FW+ Rate=x1,x2
> Command: RQ=31 SBA- AGP+ 64bit- FW+ Rate=<none>
>
>



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 07 2002 - 21:00:36 EST