tg3: forcing full duplex with ethtool during bootup
[email protected] Wed, 19 Mar 2003 12:50:26 +0100
| Newsgroups | gmane.linux.drivers.broadcom.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I use a cluster of machines using broadcom 5703 adapters
(reported as Tigon3 [partno(BCM95703A30) rev 1002 PHY(5703)])
My kernel a 2.4.18-27.7x smp kernel with the tg3 module.
The switch is not properly configured to autonegociate full duplex mode, so
I have tried to use :
alias eth0 tg3
post-install eth0 /usr/sbin/ethtool -s eth0 autoneg off speed 100 duplex full
in /etc/modules.conf
Unfortunately this doesn't seem to work during the boot : I get the
following from ethtool :
Cannot get current device settings: Resource temporarily unavailable
not setting speed
not setting duplex
not setting autoneg
(Adding a "sleep 3 && " doesn't help either)
Putting the ethtool command in /etc/rc.local works, but I don't know if
resetting
the interface parameters so late during the boot sequence is very clean.
Any idea ?
Dominique
This message and any attachments (the "message") is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.
---------------------------------------------
Ce message et toutes les pieces jointes (ci-apres le
"message") sont etablis a l'intention exclusive de ses
destinataires et sont confidentiels. Si vous recevez ce
message par erreur, merci de le detruire et d'en avertir
immediatement l'expediteur. Toute utilisation de ce
message non conforme a sa destination, toute diffusion
ou toute publication, totale ou partielle, est interdite, sauf
autorisation expresse. L'internet ne permettant pas
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce
message, dans l'hypothese ou il aurait ete modifie.