| Author |
Message |
Mark van Kerkwyk *nix forums beginner
Joined: 05 Apr 2005
Posts: 4
|
Posted: Fri Feb 11, 2005 4:12 pm Post subject:
Problems with ethtool setting bcm5700 to 1000/full
|
|
|
Hi, I have seen a few messages around the place on this issue but with
no answer really.
When using ethtool to set a bcm5700 to 100/full, all works fine as
below
ethtool -s eth1 speed 100 duplex full autoneg off
As soon as I want to set it to 1000/full, I have a problem
#ethtool -s eth1 speed 1000 duplex full autoneg off
Cannot set new settings: Invalid argument
not setting speed
not setting duplex
not setting autoneg
Only when I set autoneg to "on" does ethtool execute without error,
while this does set the speed, is also forces me to run the interface
with negotiation "on" instead of "off".
Any ideas on improving this situation ??
Mark |
|
| Back to top |
|
 |
Mark van Kerkwyk *nix forums beginner
Joined: 05 Apr 2005
Posts: 4
|
Posted: Fri Feb 11, 2005 4:17 pm Post subject:
Re: Problems with ethtool setting bcm5700 to 1000/full
|
|
|
btw: I am looking for an ethtool (or other command line) solution, not
modules.conf.
I guess this is related to the bcm5700 driver, as the e1000 drivers
work fine. |
|
| Back to top |
|
 |
John-Paul Stewart *nix forums Guru
Joined: 20 Feb 2005
Posts: 497
|
Posted: Fri Feb 11, 2005 5:09 pm Post subject:
Re: Problems with ethtool setting bcm5700 to 1000/full
|
|
|
Mark van Kerkwyk wrote:
| Quote: | Hi, I have seen a few messages around the place on this issue but with
no answer really.
When using ethtool to set a bcm5700 to 100/full, all works fine as
below
ethtool -s eth1 speed 100 duplex full autoneg off
As soon as I want to set it to 1000/full, I have a problem
|
When you say bcm5700, does that mean you're using Broadcom's drivers for
the chip? Have you tried the tg3 driver instead (included with the
kernel since at least 2.4.20, IIRC)? From what I hear the tg3 driver is
much better than the bcm5700 (so I never bothered to try the bcm5700
driver myself). |
|
| Back to top |
|
 |
kermit *nix forums Guru
Joined: 19 Feb 2005
Posts: 300
|
Posted: Sat Feb 12, 2005 11:44 am Post subject:
Re: Problems with ethtool setting bcm5700 to 1000/full
|
|
|
Mark van Kerkwyk wrote:
| Quote: | Hi, I have seen a few messages around the place on this issue but with
no answer really.
When using ethtool to set a bcm5700 to 100/full, all works fine as
below
ethtool -s eth1 speed 100 duplex full autoneg off
As soon as I want to set it to 1000/full, I have a problem
#ethtool -s eth1 speed 1000 duplex full autoneg off
Cannot set new settings: Invalid argument
not setting speed
not setting duplex
not setting autoneg
Only when I set autoneg to "on" does ethtool execute without error,
while this does set the speed, is also forces me to run the interface
with negotiation "on" instead of "off".
Any ideas on improving this situation ??
|
Leave it as is. Gigabit interfaces should be left at autonegotiation by all
means unless you are absolutely sure you know what you are doing. There is
more to negotiate than just speed and duplex settings in case you did not
know.
Do not touch it. Why do you need to change it in the first place?
=arvi= |
|
| Back to top |
|
 |
kermit *nix forums Guru
Joined: 19 Feb 2005
Posts: 300
|
Posted: Sat Feb 12, 2005 11:46 am Post subject:
Re: Problems with ethtool setting bcm5700 to 1000/full
|
|
|
John-Paul Stewart wrote:
| Quote: | Mark van Kerkwyk wrote:
Hi, I have seen a few messages around the place on this issue but with
no answer really.
When using ethtool to set a bcm5700 to 100/full, all works fine as
below
ethtool -s eth1 speed 100 duplex full autoneg off
As soon as I want to set it to 1000/full, I have a problem
When you say bcm5700, does that mean you're using Broadcom's drivers for
the chip? Have you tried the tg3 driver instead (included with the
kernel since at least 2.4.20, IIRC)? From what I hear the tg3 driver is
much better than the bcm5700 (so I never bothered to try the bcm5700
driver myself).
|
well we had problems with tg3 driver (it reproducibly lost link) where
bcm5700 worked correctly. Of course it may depend on particular driver
versions.
=arvi= |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|