[vortex-bug] 3c905CX-TXM - One machine now works, one machine doesn't

Garnet Chaney gchaney@webmill.com
Mon, 4 Dec 2000 23:25:58 -0800


> Please run 'vortex-diag -v' after ifconfig (or network start) to check for
> manufacturing date and code.

Working machine:
vortex-diag.c:v2.03 9/26/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3c905C Tornado 100baseTx adapter at 0x2800.
 Indication enable is 06c6, interrupt enable is 06de.
 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:01:03:27:08:87.
 Configuration options 0052.
Parsing the EEPROM of a 3Com Vortex/Boomerang:
 3Com Node Address 00:01:03:27:08:87 (used as a unique ID only).
 OEM Station address 00:01:03:27:08:87 (used as the ethernet address).
 Manufacture date (MM/DD/YYYY) 10/12/2000, division H, product HN.
Options: none.
  Vortex format checksum is incorrect (002b vs. 10b7).
  Cyclone format checksum is incorrect (0x96 vs. 0xb0).
  Hurricane format checksum is incorrect (0xbd vs. 0xb0).
 MII PHY found at address 1, status 0020.
 MII PHY found at address 2, status 0020.
 MII PHY found at address 3, status 0020.
 MII PHY found at address 4, status 0020.
 MII PHY 0 at #1 transceiver registers:
   0000 0020 0000 0000 01e0 45e1 0003 0800
   0000 0000 0000 0000 0000 0000 0000 0000
   0600 c610 0000 4000 0000 0000 0000 0000
   0000 0200 0000 0000 0000 0b2e 0000 0000.
 MII PHY 1 at #2 transceiver registers:
   0000 0020 0000 0000 01e0 45e1 0003 0800
   0000 0000 0000 0000 0000 0000 0000 0000
   0600 c610 0000 4000 0000 0000 0000 0000
   0000 0200 0000 0000 0000 0b2e 0000 0000.
 MII PHY 2 at #3 transceiver registers:
   0000 0020 0000 0000 01e0 45e1 0003 0800
   0000 0000 0000 0000 0000 0000 0000 0000
   0600 c610 0000 4000 0000 0000 0000 0000
   0000 0200 0000 0000 0000 0b2e 0000 0000.
 MII PHY 3 at #4 transceiver registers:
   0000 0020 0000 0000 01e0 45e1 0003 0800
   0000 0000 0000 0000 0000 0000 0000 0000
   0600 c610 0000 4000 0000 0000 0000 0000
   0000 0200 0000 0000 0000 0b2e 0000 0000.
 Use '-a' or '-aa' to show device registers,
     '-e' to show EEPROM contents, -ee for parsed contents,
  or '-m' or '-mm' to show MII management registers.

Nonworking machine:
# ./vortex-diag -v
vortex-diag.c:v2.03 9/26/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3c905C Tornado 100baseTx adapter at 0x2800.
 Indication enable is 06c6, interrupt enable is 06de.
 No interrupt sources are pending.
 Transceiver/media interfaces available:  100baseTx 10baseT.
Transceiver type in use:  Autonegotiate.
 MAC settings: half-duplex.
 Station address set to 00:01:03:27:08:a7.
 Configuration options 0052.
Parsing the EEPROM of a 3Com Vortex/Boomerang:
 3Com Node Address 00:01:03:27:08:A7 (used as a unique ID only).
 OEM Station address 00:01:03:27:08:A7 (used as the ethernet address).
 Manufacture date (MM/DD/YYYY) 10/12/2000, division H, product HN.
Options: none.
  Vortex format checksum is incorrect (0026 vs. 10b7).
  Cyclone format checksum is incorrect (0x9b vs. 0xb0).
  Hurricane format checksum is correct (0xb0 vs. 0xb0).
 MII PHY found at address 24, status 7809.
 MII PHY 0 at #24 transceiver registers:
   3000 7809 0041 6800 05e1 0000 0005 2001
   0000 0000 0000 0000 0000 0000 0000 0000
   0618 1e08 0030 4001 40c8 a000 0000 0000
   d300 0020 8084 9119 0065 1bef 7fff 0000.


I am starting to wonder if maybe the card was jolted or something when I
moved the machine to my ISP. Could the card
still be responding to these kinds of diagnostics, even without being
squarely in the slot? Before I moved them, I am sure
that I had them talking with each other without problem. I will try a
different switch tommorrow, or try switching ports on the current
switch.

The MAC address is only one off between the two cards, and the rest of the
info is very similar, so I'd think that would mean
they are from the same lot....


-----Original Message-----
From: Bogdan Costescu [mailto:Bogdan.Costescu@IWR.Uni-Heidelberg.De]
Sent: Monday, December 04, 2000 3:34 AM
To: Garnet Chaney
Cc: vortex-bug@scyld.com
Subject: Re: [vortex-bug] 3c905CX-TXM - One machine now works, one
machine doesn't


On Sun, 3 Dec 2000, Garnet Chaney wrote:

> BTW, The machine that is working is only using a timeout value of
1,500,000.
> With the non-working machine I've went all the way up to 4,000,000 without
> fixing it.....   Could the fact that the machines are now on an active
> network (with some collissions 1-3 a second) be affecting the startup of
one
> of the cards, but not the other?

As you might have seen in the recent thread, these are new cards that
don't follow the same rules as the old cards. As there is nothing in the
docs regarding them, we can only guess and come up with approximate fixes
like the one that you mentioned; this is not a correct solution, but it's
the only one that exists right now.

Richard Gooch, who also owns some CX cards, was expected to give some
statistics about loop counts needed for different operations. If you say
that one works with 1.5M, use this in both drivers.

> Nonworking machine:
>           TX packets:46957 errors:0 dropped:0 overruns:0 carrier:46957

This is the problem................................................^^^^^

> kernel: eth0: 3Com 3c905C Tornado at 0x2800,  00:01:03:27:08:a7, IRQ 18
> kernel:   MII transceiver found at address 24, status 7809.

...but this is not the same card as the first one. All CX cards that I
have seen until now don't report the MII transceiver correctly, while this
one does.
Please run 'vortex-diag -v' after ifconfig (or network start) to check for
manufacturing date and code.

> # ./mii-diag
> Using the default interface 'eth0'.
> Basic registers of MII PHY #24:  3000 7809 0041 6800 05e1 0000 0005 2001.
>  Basic mode control register 0x3000: Auto-negotiation enabled.
>  Basic mode status register 0x7809 ... 7809.
>    Link status: not established.

This indicates that no link could be established. Are you sure that
everything is working properly: switch, cab`le ?

Sincerely,

Bogdan Costescu

IWR - Interdisziplinaeres Zentrum fuer Wissenschaftliches Rechnen
Universitaet Heidelberg, INF 368, D-69120 Heidelberg, GERMANY
Telephone: +49 6221 54 8869, Telefax: +49 6221 54 8868
E-mail: Bogdan.Costescu@IWR.Uni-Heidelberg.De