[vortex] Test results with 3c90xcfg -- I'M CONFUSED!

Bill Cattey wdc@MIT.EDU
Wed Feb 20 19:11:00 2002


> > ---- enclosure 2 of 3 athenaphobia after ----
> >  Options: force full duplex, link beat required.

> What's this ?

I don't know why those bits are set as they are.
I followed your instructions and set ONLY 
    set_ee_media to 1
    set_ee_media_auto" to 1. 
    vortex-diag-media -w
Where vortex-diag-media is the modified vortex-diag program with your changes.

> I don't have the documentation on the 3com chip, so I don't know what
> the meanings of the bits are to know what is and is not being set.

> >  MII PHY found at address 24, status 7809.

> I think that this (MII transceiver with a resonably good status) is 
> already a good step ahead. Make sure that you don't try to force media in 
> any way... At this point, playing with mii-diag should be possible.

Nope.
The network on that system is in SLOW mode, and mii-diag won't touch the bits.

And that was with the 1.17 driver that USED to just force 10Base-T
when it thought it couln't talk to the MII's.  My theory is that the
combination of old EEPROM values, plus the couple set by the
patched vortex-diag put the chip in a state where:
	The 3c59x driver thought the MII was alive and well.
	But where it could not, in fact, speak to the MII properly.

Having mastered the lore of getting the crappy GX150 floppy actually to
work, I've used the DOS utility to set the EEPROM, and I've included the
vortex-diag output of the bits as they differ from "athenaphoba after replug".

Suggested next steps:

Tell me what bits need to change in the vortex-diag EEPROM diddling
patch to make things happy.  As shown below.

(It is my hope that the before, after, after-replug, and the DOS outputs
give you a complete picture of bad and good EEPROM values.)

-wdc

P.S.  Thank you VERY much for taking so much time to help sort this out!

---- enclosure 1 of 1 athenaphobia DOS crowbar ----

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 7, 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 f1d0 281a 0000 0000 0000 0052 4000.
  Window 3: 0000 0180 05ea 0020 000a 0800 0800 6000.
  Window 4: 0000 0000 0000 0cc6 0001 88c0 0900 8000.
  Window 5: 1ffc 0000 0000 0600 0807 06ce 06c6 a000.
  Window 6: 0000 0000 0000 0c00 0000 054e 008e c000.
  Window 7: 0000 0000 0000 0000 0000 0000 0000 e000.
Vortex chip registers at 0xec80
  0xEC90: **FIFO** 00000000 00000023 *STATUS*
  0xECA0: 00000020 00000000 00080000 00000004
  0xECB0: 00000000 b3e74c19 1ef3a0c0 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:f1:1a:28.
 Configuration options 0052.
Saved EEPROM settings of a 3Com Vortex/Boomerang:
 3Com Node Address 00:B0:D0:F1:1A:28 (used as a unique ID only).
 OEM Station address 00:B0:D0:F1:1A:28 (used as the ethernet address).
 Manufacture date (MM/DD/YYYY) 6/10/2000, division 
 Options: negotiated duplex, link beat required.
  Vortex format checksum is incorrect (00e2 vs. 1028).
  Cyclone format checksum is incorrect (0x6e vs. 0x6f).
  Hurricane format checksum is incorrect (0xbe vs. 0x6f).
 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 c7f1 0000 4000 0000 0000 0000 0000
   0000 0800 0000 0000 0000 0aa9 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 c7f1 0000 4000 0000 0000 0000 0000
   0000 0800 0000 0000 0000 0aa9 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 c7f1 0000 4000 0000 0000 0000 0000
   0000 0800 0000 0000 0000 0aa9 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 c7f1 0000 4000 0000 0000 0000 0000
   0000 0800 0000 0000 0000 0aa9 0000 0000.

dmesg output:

3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
02:0c.0: 3Com PCI 3c905C Tornado at 0xec80. Vers LK1.1.17
phy=0, phyx=24, mii_status=0x782d