[tulip] Re: [tulip-bug] ADMtek Comet bug

Dan Hollis goemon@anime.net
Tue, 17 Oct 2000 18:44:21 -0700 (PDT)


On Tue, 17 Oct 2000, Donald Becker wrote:
> > When the card hangs, the driver prints this over and over:
> > eth0: Transmit timed out, status fc664010, CSR12 00000000, resetting...
> The status indicates no problems.
> Run 'tulip-diag' when this occurs.

>From the last lockup:

tulip-diag.c:v2.03 7/31/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a ADMtek AL985 Centaur-P adapter at 0xe000.
 Port selection is 100mbps-SYM/PCS 100baseTx scrambler, half-duplex.
 Transmit started, Receive started, half-duplex.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit unit is set to store-and-forward.
 The Comet MAC registers are 0e782000 ffff4140 filter 8000000000000000.
 MII PHY found at address 1, status 0x786d.
 MII PHY found at address 2, status 0x786d.
 MII PHY found at address 3, status 0x786d.
 MII PHY found at address 4, status 0x786d.
 MII PHY #1 transceiver registers:
   1000 786d 0022 5410 01e1 45e1 0005 2801
   ffff ffff ffff ffff ffff ffff ffff ffff
   01c0 0000 0c99 8000 4f02 0304 0026 0000
   0008 c0bf 0000 ffff ffff ffff ffff ffff.
 Basic mode control register 0x1000: Auto-negotiation enabled.
 Basic mode status register 0x786d ... 786d.
   Link status: established.
   Capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation complete.
 Vendor ID is 00:08:95:--:--:--, model 1 rev. 0.
   Vendor/Part: ADMtek AN983 Comet.
 I'm advertising 01e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT
   Advertising no additional info pages.
   IEEE 802.3 CSMA/CD protocol.
 Link partner capability is 45e1: Flow-control 100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Negotiation  completed.
  ADMtek vendor specific registers information:
   Cable length is approximately 0 meters.
   The receiver has lost lock 0 times since last check and had 0 error events.
  TDK format vendor-specific registers 16..18 are 0x01c0 0x0000 0x0c99
      Link polarity is detected as normal.
      Auto-negotiation complete, 100Mbps full duplex.
      Rx link in fail state, PLL locked.
      No new link status events.

tulip-diag.c:v2.03 7/31/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a ADMtek AL985 Centaur-P adapter at 0xe000.
 Port selection is 100mbps-SYM/PCS 100baseTx scrambler, half-duplex.
 Transmit started, Receive started, half-duplex.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit unit is set to store-and-forward.
 The Comet MAC registers are 0e782000 ffff4140 filter 8000000000000000.
EEPROM size is 8.
  Ethernet MAC Station Address 00:20:78:0e:40:41.
  Default connection type 'Autosense'.
  PCI IDs Vendor 1317 Device 0985  Subsystem 1317 0574
  PCI min_grant 255 max_latency 255.
  CSR18 power-up setting 0x804c****.
EEPROM contents:
  0985 0002 0000 0000 2000 0e78 4140 0000
  0000 0400 0000 0000 0000 0000 0000 0100
  0985 1317 0574 1317 ffff 0202 0000 804c
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0040 0040 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 035d
 ID block CRC 0xdb (vs. 00).
  Full contents CRC 0x035d (read as 0x035d).

tulip-diag.c:v2.03 7/31/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a ADMtek AL985 Centaur-P adapter at 0xe000.
 * A potential Tulip chip has been found, but it appears to be active.
 * Either shutdown the network, or use the '-f' flag to see all values.
 Port selection is 100mbps-SYM/PCS 100baseTx scrambler, half-duplex.
 Transmit started, Receive started, half-duplex.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit unit is set to store-and-forward.
 The Comet MAC registers are 0e782000 ffff4140 filter 8000000000000000.

tulip-diag.c:v2.03 7/31/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a ADMtek AL985 Centaur-P adapter at 0xe000.
ADMtek AL985 Centaur-P chip registers at 0xe000:
  fff98000 ffffffff ffffffff 0309f800 0309fa00 fc664010 ffb7e117 ffffebff
  fffe0000 fff0dff8 00000000 fffe0000 00000000 00000200 00000000 c40ffec8
  2066c010 805c0004 00000100 0309f810 f0000000 ffff4140 00000000 00000000
  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 Port selection is 100mbps-SYM/PCS 100baseTx scrambler, half-duplex.
 Transmit started, Receive started, half-duplex.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit unit is set to store-and-forward.
 The Comet MAC registers are 0e782000 ffff4140 filter 8000000000000000.

> > It looks like despite the driver's claim of "resetting", it really doesnt
> > reset the card. Purely ifdown/ifup will clear the card.
> > The bug happens with either v0.92 4/17/2000 or v0.92l 8/19/2000 so it is
> > not related to the driver version.
> What is the start-up message.

tulip.c:v0.92 4/17/2000  Written by Donald Becker <becker@scyld.com>
  http://www.scyld.com/network/tulip.html
eth0: ADMtek Comet rev 17 at 0xc4820000, 00:20:78:0E:33:4C, IRQ 19.

-Dan