[vortex] mii-diag with autoneg disabled
Giuseppe Ciaccio
ciaccio@disi.unige.it
Mon, 10 Jul 2000 16:59:15 +0200 (MET DST)
On Wed, 5 Jul 2000, Bogdan Costescu wrote:
> On Wed, 5 Jul 2000, Giuseppe Ciaccio wrote:
>
> > The one with all registers read as 0.
>
> Please try to run 'mii-diag -p 24' in these cases and teel us if it works.
A brief recall of my framework:
kernel is 2.2.16, NIC is 3COM 3c905C.
Driver is 99H with Morton's modifications, as resulting from the probe adv:
3c59x.c:v0.99H 27May00 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/v
ortex.html
eth1: 3Com 3c905C Tornado at 0xa000, 00:01:02:0d:a7:84, IRQ 5
8K byte-wide RAM 5:3 Rx:Tx split, 100baseTX interface.
Enabling bus-master transmits and whole-frame receives.
Driver is NOT loaded as a module; it is compiled in the Linux source tree.
Before booting, I disabled autoneg in the NIC, by using the DOS utility
shipped along the NIC (3c90xcfg.exe).
After boot, I tried with mii-diag:
[root@byte /root]# mii-diag -p 24 -v eth1
mii-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Using the specified MII PHY index 24.
MII PHY #24 transceiver registers:
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000.
Basic mode control register 0x0000: Auto-negotiation disabled, with
Speed fixed at 10 mbps, half-duplex.
Basic mode status register 0x0000 ... 0000.
Link status: not established.
This transceiver is capable of <Warning! No media capabilities>.
Unable to perform Auto-negotiation, negotiation not comple
te.
Link partner information information is not exchanged
when in fixed speed mode.
Apparently, mii-diag fails when the NIC has autoneg disabled.
I couldn't try with 99Q, because it doesn't compile under Linux 2.2.16 .
However, I might try with other versions of the driver (99L?), provided they
can be found somewhere and compile with no troubles under Linux 2.2.16 or
older.
Giuseppe
Giuseppe Ciaccio http://www.disi.unige.it/person/CiaccioG/
DISI - Universita' di Genova via Dodecaneso 35 16146 Genova, Italy
phone +39 10 353 6638 fax +39 010 3536699 ciaccio@disi.unige.it
------------------------------------------------------------------------