sungem card fails to find it's mac address

Beezly (beezly@beezly.org.uk)
04 Mar 2002 21:32:55 +0000


--=-LETKA1LUkJ7lxcQKZXbR
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

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=20

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=3Dmedium >TAbort-
<TAbort- <MAbort+ >SERR- <PERR-
Latency: 8
Region 0: Memory at e6000000 (32-bit, prefetchable) [size=3D32M]
Capabilities: [a0] AGP version 2.0
Status: RQ=3D31 SBA+ 64bit- FW+ Rate=3Dx1,x2
Command: RQ=3D0 SBA- AGP+ 64bit- FW+ Rate=3D<none>
Capabilities: [c0] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=3D0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=3D0 DScale=3D0 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=3Dmedium >TAbort-
<TAbort- <MAbort+ >SERR- <PERR-
Latency: 0
Bus: primary=3D00, secondary=3D01, subordinate=3D01, sec-latency=3D0
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=3D0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=3D0 DScale=3D0 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=3Dmedium >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=3Dmedium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 32
Region 4: I/O ports at d800 [size=3D16]
Capabilities: [c0] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=3D0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=3D0 DScale=3D0 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=3Dmedium >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=3D32]
Capabilities: [80] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=3D0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=3D0 DScale=3D0 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=3Dmedium >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=3D32]
Capabilities: [80] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=3D0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=3D0 DScale=3D0 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=3Dmedium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin ? routed to IRQ 9
Capabilities: [68] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=3D0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=3D0 DScale=3D0 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=3Dmedium >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=3D4K]

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=3Dmedium >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=3D4K]

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=3Dslow >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=3D2M]
Expansion ROM at <unassigned> [disabled] [size=3D1M]

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=3Dmedium >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=3D256]
Region 1: Memory at d4000000 (32-bit, non-prefetchable) [size=3D256]
Region 2: Memory at d3800000 (32-bit, non-prefetchable) [size=3D4K]
Expansion ROM at <unassigned> [disabled] [size=3D64K]

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=3Dmedium >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=3D256]
Region 1: Memory at d3000000 (32-bit, non-prefetchable) [size=3D256]
Region 2: Memory at d2800000 (32-bit, non-prefetchable) [size=3D4K]
Expansion ROM at <unassigned> [disabled] [size=3D64K]

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=3Dmedium >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=3D32]
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI- D1- D2- AuxCurrent=3D0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=3D0 DScale=3D0 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=3Dmedium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 32
Region 0: I/O ports at 9400 [disabled] [size=3D8]
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI- D1- D2- AuxCurrent=3D0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=3D0 DScale=3D0 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=3Dmedium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 32
Interrupt: pin A routed to IRQ 10
Region 0: I/O ports at 9000 [size=3D8]
Region 1: I/O ports at 8800 [size=3D4]
Region 2: I/O ports at 8400 [size=3D8]
Region 3: I/O ports at 8000 [size=3D4]
Region 4: I/O ports at 7800 [size=3D64]
Region 5: Memory at d2000000 (32-bit, non-prefetchable) [size=3D128K]
Expansion ROM at <unassigned> [disabled] [size=3D64K]
Capabilities: [58] Power Management version 1
Flags: PMEClk- DSI- D1- D2- AuxCurrent=3D0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=3D0 DScale=3D0 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=3Dmedium >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=3D16M]
Region 1: Memory at d8000000 (32-bit, prefetchable) [size=3D128M]
Expansion ROM at d7ff0000 [disabled] [size=3D64K]
Capabilities: [60] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=3D0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=3D0 DScale=3D0 PME-
Capabilities: [44] AGP version 2.0
Status: RQ=3D31 SBA- 64bit- FW+ Rate=3Dx1,x2
Command: RQ=3D31 SBA- AGP+ 64bit- FW+ Rate=3D<none>

--=-LETKA1LUkJ7lxcQKZXbR
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQA8g+gHXu4ZFsMQjPgRAnjxAJ9Bew8hgp7MOa84JKWYL8b/djcZ7QCfaJX/
tzo85uf5DzzRSkQ0trwaFW0=
=xGY0
-----END PGP SIGNATURE-----

--=-LETKA1LUkJ7lxcQKZXbR--
-
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/