2004-03-14 06:01:32

by Sid Boyce

[permalink] [raw]
Subject: bcm5700 driver at 100Mbit? tg3 doesn't do 100Mbit - 2.6.4-mm1

tg3.ko loads, network starts up. Can't connect to 100Mbit network
switch. The bcm5700 driver in ths SuSE kraxel 2.6.3 kernel works. The
tg3 is supposed to be a replacement for bcm5700 I believe.
Regards
Sid.

--
Sid Boyce .... Hamradio G3VBV and keen Flyer
Linux Only Shop.


2004-03-14 12:30:21

by Matthias Andree

[permalink] [raw]
Subject: Re: bcm5700 driver at 100Mbit? tg3 doesn't do 100Mbit - 2.6.4-mm1

On Sun, 14 Mar 2004, Sid Boyce wrote:

> tg3.ko loads, network starts up. Can't connect to 100Mbit network
> switch. The bcm5700 driver in ths SuSE kraxel 2.6.3 kernel works. The
> tg3 is supposed to be a replacement for bcm5700 I believe.

On Debian's 2.4, I have been able to get 100 Mbps traffic by forcing a
re-negotiation through mii-diag or ethtool (I don't recall which one,
this mii-tool/mii-diag/ethtool is a HORRIBLE MESS that needs to be
sorted out) and seem to recall that ifconfig eth0 down ; ifconfig eth1
up could also have fixed this - however, such behaviour is of course
unsuitable for production use and I don't know if the same trick works
on 2.6 kernels.

--
Matthias Andree

Encrypt your mail: my GnuPG key ID is 0x052E7D95

2004-03-14 13:25:02

by Lech Szychowski

[permalink] [raw]
Subject: Re: bcm5700 driver at 100Mbit? tg3 doesn't do 100Mbit - 2.6.4-mm1

> > tg3.ko loads, network starts up. Can't connect to 100Mbit network
> > switch. The bcm5700 driver in ths SuSE kraxel 2.6.3 kernel works. The
> > tg3 is supposed to be a replacement for bcm5700 I believe.

Works for me (Dell Latitude D600), both for "NIC to switch"...

===
Mar 12 16:20:37 y kernel: Linux version 2.6.4-mm1 (lech7@y) (gcc version 3.3.3) #1 Thu Mar 11 14:16:54 CET 2004
[...]
Mar 12 16:20:37 y kernel: eth0: Tigon3 [partno(BCM95702A20) rev 1002 PHY(5703)] (PCI:33MHz:32-bit) 10/100/1000BaseT Ethernet 00:0d:56:7b:d8:9d
[...]
Mar 12 16:20:39 y kernel: tg3: eth0: Link is up at 100 Mbps, half duplex.
Mar 12 16:20:39 y kernel: tg3: eth0: Flow control is off for TX and off for RX.
===

...and "NIC to NIC" mode:

===
Mar 14 03:43:08 y kernel: Linux version 2.6.4-mm1 (lech7@y) (gcc version 3.3.3) #1 Thu Mar 11 14:16:54 CET 2004
[...]
Mar 14 03:43:08 y kernel: eth0: Tigon3 [partno(BCM95702A20) rev 1002 PHY(5703)] (PCI:33MHz:32-bit) 10/100/1000BaseT Ethernet 00:0d:56:7b:d8:9d
[...]
Mar 14 03:43:10 y kernel: tg3: eth0: Link is up at 100 Mbps, full duplex.
Mar 14 03:43:10 y kernel: tg3: eth0: Flow control is off for TX and off for RX.
===

--
Leszek.

-- [email protected] 2:480/33.7 -- REAL programmers use INTEGERS --
-- speaking just for myself...

2004-03-14 15:52:39

by Sid Boyce

[permalink] [raw]
Subject: Re: bcm5700 driver at 100Mbit? tg3 doesn't do 100Mbit - 2.6.4-mm1

Ananda Bhattacharya wrote:

>Yeah I had that problem so I just used the tg3 driver. The
>bcm5700 is actually made by broadcom, while the tg3 is
>somethting that tyan did for onboard ethernet chips, while
>the bcm5700 is for PCI cards.
>
>So the bcm5700 should do the trick all in all :)
>
>
>
Thanks, I altered /etc/modprobe.conf, replacing bcm5700 with tg3,
rebooted and it's OK.
Regards
Sid.

--
Sid Boyce .... Hamradio G3VBV and keen Flyer
Linux Only Shop.