[vortex] Test results with 3c90xcfg -- I'M CONFUSED!
Bill Cattey
wdc@MIT.EDU
Tue Feb 19 16:36:00 2002
We created a DOS boot floppy, and tested gorf with 3c90xcfg.
Now I'm more confused than ever, but perhaps you wise folks will
know what to do.
We ran the diag and it said that autonegotiate had set 100Base-T half
duplex. We spazzed and told it to set autonegotiate and to rewrite the
EEPROM.
AFTER THAT even 1.16 made NO complaints about failure to find the MII.
I've been unable to make the system unhappy.
PCI: Found IRQ 11 for device 02:0c.0
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
02:0c.0: 3Com PCI 3c905C Tornado at 0xdc80. Vers LK1.1.16
Stupid me, I don't have vortex-diag -a -v output from before we wrote
the EEPROMS, but I have enclosed what it says afterwards.
There is vortex-diag -a -v output from a sister machine, tokata, but I
don't know how comparable they are. For your convenience I've enclosed
vortex-diag -a -v from tokata.
QUESTION:
Before I go destroying my ability to test systems by tickling their
EEPROMS with 3c90xcfg, what do people think this means to the Linux
driver? Is there something that Dos/Windows 3c920 drivers do to
uninitialized EEPROMs that we need to do under Linux?
NOTE:
I have logs of vortex-diag -a -v and mii-diag -vv after trying to crowbar
gorf into unhappiness. Would you like to see them? The registers DO
change a bit, but I'm not knowledgeable enough to interpret them.
-wdc
---- enclosure 1: vortex-diag of gorf ----
bash-2.04# 3com/vortex-diag -a -v
vortex-diag.c:v2.05 5/15/2001 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a 3c905C Tornado 100baseTx adapter at 0xdc80.
The Vortex chip may be active, so FIFO registers will not be read.
To see all register values use the '-f' flag.
Initial window 4, registers values by window:
Window 0: 0000 0000 0000 0000 adad 00bf ffff 0000.
Window 1: FIFO FIFO 0700 0000 0000 003f 0000 2000.
Window 2: b000 c9d0 60ba 0000 0000 0000 0052 4000.
Window 3: 0000 0180 05ea 0020 000a 0800 0800 6000.
Window 4: 0000 0000 8000 0cc6 0001 88c0 0000 8000.
Window 5: 1ffc 0000 0000 0600 0807 06ce 06c6 a000.
Window 6: 0000 0000 0000 e500 0000 ab0b 09e5 c000.
Window 7: 0000 0000 0000 0000 0000 0000 0000 e000.
Vortex chip registers at 0xdc80
0xDC90: **FIFO** 00000000 0000001b *STATUS*
0xDCA0: 00000020 00000000 00080000 00000004
0xDCB0: 00000000 b88c4774 1eefb050 00080004
Indication enable is 06c6, interrupt enable is 06ce.
No interrupt sources are pending.
Transceiver/media interfaces available: 100baseTx 10baseT.
Transceiver type in use: Autonegotiate.
MAC settings: full-duplex.
Station address set to 00:b0:d0:c9:ba:60.
Configuration options 0052.
Saved EEPROM settings of a 3Com Vortex/Boomerang:
3Com Node Address 00:B0:D0:C9:BA:60 (used as a unique ID only).
OEM Station address 00:B0:D0:C9:BA:60 (used as the ethernet address).
Manufacture date (MM/DD/YYYY) 6/10/2000, division , product .
Options: negotiated duplex, link beat required.
Vortex format checksum is incorrect (00e2 vs. 1028).
Cyclone format checksum is incorrect (0x6e vs. 0x5e).
Hurricane format checksum is incorrect (0xbe vs. 0x5e).
MII PHY found at address 1, status 0024.
MII PHY found at address 2, status 0024.
MII PHY found at address 3, status 0024.
MII PHY found at address 4, status 0024.
MII PHY 0 at #1 transceiver registers:
0000 0024 0000 0000 01e0 45e1 0003 0800
0000 0000 0000 0000 0000 0000 0000 0000
0600 c011 0000 4000 0000 0000 0000 0000
0000 0200 0000 0000 0000 0aee 0000 0000.
MII PHY 1 at #2 transceiver registers:
0000 0024 0000 0000 01e0 45e1 0003 0800
0000 0000 0000 0000 0000 0000 0000 0000
0600 c011 0000 4000 0000 0000 0000 0000
0000 0200 0000 0000 0000 0aee 0000 0000.
MII PHY 2 at #3 transceiver registers:
0000 0024 0000 0000 01e0 45e1 0003 0800
0000 0000 0000 0000 0000 0000 0000 0000
0600 c011 0000 4000 0000 0000 0000 0000
0000 0200 0000 0000 0000 0aee 0000 0000.
MII PHY 3 at #4 transceiver registers:
0000 0024 0000 0000 01e0 45e1 0003 0800
0000 0000 0000 0000 0000 0000 0000 0000
0600 c011 0000 4000 0000 0000 0000 0000
0000 0200 0000 0000 0000 0aee 0000 0000.
bash-2.04#
---- enclosure 2: vortex-diag of tokata ----
bash-2.04# ./vortex-diag -a -v
vortex-diag.c:v2.05 5/15/2001 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a 3c905C Tornado 100baseTx adapter at 0xec80.
The Vortex chip may be active, so FIFO registers will not be read.
To see all register values use the '-f' flag.
Initial window 4, registers values by window:
Window 0: 0000 0000 0000 0000 adad 00bf ffff 0000.
Window 1: FIFO FIFO 0700 0000 0000 003f 0000 2000.
Window 2: 0600 475b 78d0 0000 0000 0000 0052 4000.
Window 3: 0000 0180 05ea 0020 000a 0800 0800 6000.
Window 4: 0000 0000 0000 0cc6 0001 88c0 0000 8000.
Window 5: 1ffc 0000 0000 0600 0807 06ce 06c6 a000.
Window 6: 0000 0000 0000 2900 0000 1334 0000 c000.
Window 7: 0000 0000 0000 0000 0000 0000 0000 e000.
Vortex chip registers at 0xec80
0xEC90: **FIFO** 00000000 00000011 *STATUS*
0xECA0: 00000020 00000000 00080000 00000004
0xECB0: 00000000 94166bea 091470e0 00080004
Indication enable is 06c6, interrupt enable is 06ce.
No interrupt sources are pending.
Transceiver/media interfaces available: 100baseTx 10baseT.
Transceiver type in use: Autonegotiate.
MAC settings: full-duplex.
Station address set to 00:06:5b:47:d0:78.
Configuration options 0052.
Saved EEPROM settings of a 3Com Vortex/Boomerang:
3Com Node Address 00:06:5B:47:D0:78 (used as a unique ID only).
OEM Station address 00:06:5B:47:D0:78 (used as the ethernet address).
Manufacture date (MM/DD/YYYY) 6/10/2000, division , product .
Options: negotiated duplex, link beat required.
Vortex format checksum is incorrect (0002 vs. 1028).
Cyclone format checksum is incorrect (0xa3 vs. 0x65).
Hurricane format checksum is correct (0x65 vs. 0x65).
MII PHY found at address 1, status 0024.
MII PHY found at address 2, status 0024.
MII PHY found at address 3, status 0024.
MII PHY found at address 4, status 0024.
MII PHY 0 at #1 transceiver registers:
0000 0024 0000 0000 0100 45e1 0003 0800
0000 0000 0000 0000 0000 0000 0000 0000
0600 c711 0000 4000 0000 0000 0000 0000
0000 0800 0000 0000 0000 0ae9 0000 0000.
MII PHY 1 at #2 transceiver registers:
0000 0024 0000 0000 0100 45e1 0003 0800
0000 0000 0000 0000 0000 0000 0000 0000
0600 c711 0000 4000 0000 0000 0000 0000
0000 0800 0000 0000 0000 0ae9 0000 0000.
MII PHY 2 at #3 transceiver registers:
0000 0024 0000 0000 0100 45e1 0003 0800
0000 0000 0000 0000 0000 0000 0000 0000
0600 c711 0000 4000 0000 0000 0000 0000
0000 0800 0000 0000 0000 0ae9 0000 0000.
MII PHY 3 at #4 transceiver registers:
0000 0024 0000 0000 0100 45e1 0003 0800
0000 0000 0000 0000 0000 0000 0000 0000
0600 c711 0000 4000 0000 0000 0000 0000
0000 0800 0000 0000 0000 0ae9 0000 0000.
bash-2.04#