[tulip] Problem with smc 1255 card -- netdev watchdog timed out

erik.ostlyngen@telelogic.com erik.ostlyngen@telelogic.com
Wed Jul 17 04:27:00 2002


Hi,

I have problems getting my smc 1255 card to work on my intel linux box. The
tulip driver recognizes my card as Accton EN1217/EN2242, and everything
seems to be ok until it receives an nfs mount request. The nfs mounting
works, but shortly afterwards, the network becomes extremely slow. I want to
debug the problem, but I don't know how to. I'm currently using kernel
2.4.18, and the included tulip driver, but I've also tried some older
versions.

/var/log/messages shows the following messages from kernel:
Jul 16 17:32:04 didi rpc.mountd: authenticated mount request from 
192.168.0.2:800 for /space/gogoroot (/space/gogoroot)
Jul 16 17:32:26 didi kernel: NETDEV WATCHDOG: eth0: transmit timed out
Jul 16 17:32:26 didi kernel: eth0: Transmit timed out, status fc664010, 
CSR12 00000000, resetting...
Jul 16 17:32:26 didi kernel: eth0: The transmitter stopped.  CSR5 is
fc67c016, CSR6 ff976113, new CSR6 44000.
Jul 16 17:32:34 didi kernel: NETDEV WATCHDOG: eth0: transmit timed out
Jul 16 17:32:34 didi kernel: eth0: Transmit timed out, status fc664010, 
CSR12 00000000, resetting...
Jul 16 17:32:34 didi kernel: eth0: The transmitter stopped.  CSR5 is
fc67c016, CSR6 ff976113, new CSR6 44000.
Jul 16 17:32:42 didi kernel: NETDEV WATCHDOG: eth0: transmit timed out
Jul 16 17:32:42 didi kernel: eth0: Transmit timed out, status fc664010, 


I've run tulip-diag after the network went slow:
>tulip-diag -f -aa
tulip-diag.c:v2.11 6/17/2002 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a Accton EN1217/EN2242 (ADMtek Comet) adapter at 0xe000.
Accton EN1217/EN2242 (ADMtek Comet) chip registers at 0xe000:
0x00: fff98000 ffffffff ffffffff 0ee22000 0ee22200 fc664010 ff97e113
ffffffff
0x40: fffe0000 fff597f8 00000000 fffe0000 00000000 00000200 00000000
00000008
Extended registers:
0x80: 2066c010 03fe7fff a4dc0005 ffffffff 00000000 0ee222f0 0ee22120
ffe0f000
0xa0: f0000000 33e20400 ffffd90a 00000000 40000000 00000000 00000000
00000000
0xc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
0xe0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
f0000027
Comet duplex is reported in the MII status registers.
Transmit started, Receive started, half-duplex.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit threshold is 1024.
  Comet MAC address registers 33e20400 ffffd90a
  Comet multicast filter 0000000040000000.


>tulip-diag -f -ee
tulip-diag.c:v2.11 6/17/2002 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a Accton EN1217/EN2242 (ADMtek Comet) adapter at 0xe000.
Comet duplex is reported in the MII status registers.
Transmit started, Receive started, half-duplex.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit threshold is 1024.
  Comet MAC address registers 33e20400 ffffd90a
  Comet multicast filter 0000000040000000.
EEPROM 64 words, 6 address bits.
  Ethernet MAC Station Address 00:04:e2:33:0a:d9.
  Default connection type 'Autosense'.
  PCI IDs Vendor 1113 Device 1216  Subsystem 10b8 1255
  PCI min_grant 255 max_latency 255.
  CSR18 power-up setting 0xa4dc****.
EEPROM contents (64 words):
0x00:  0985 0002 0000 0000 0400 33e2 d90a 0000
0x08:  0000 0400 0001 0000 0000 0000 0000 0100
0x10:  1216 1113 1255 10b8 ffff 0000 0000 a4dc
0x18:  0000 0000 0000 0000 0000 0000 0000 0000
0x20:  0000 0000 0000 0000 0000 0000 0000 0000
0x28:  0000 0000 0000 0000 0000 0000 0000 0000
0x30:  0000 0000 0000 0000 0000 0000 0000 0000
0x38:  0000 0000 0000 0000 0000 0000 0000 3426
ID block CRC 0xd3 (vs. 00).
  Full contents CRC 0x3426 (read as 0x3426).


>tulip-diag -f -mm
tulip-diag.c:v2.11 6/17/2002 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a Accton EN1217/EN2242 (ADMtek Comet) adapter at 0xe000.
Comet duplex is reported in the MII status registers.
Transmit started, Receive started, half-duplex.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit threshold is 1024.
  Comet MAC address registers 33e20400 ffffd90a
  Comet multicast filter 0000000040000000.
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:
   3100 786d 001d 2411 05e1 41e1 0007 2001
   0000 0000 0000 0000 0000 0000 0000 0000
   1001 0000 189c 0119 0000 0001 7490 0608
   a68f 7013 315f 1427 9a11 0445 0230 0000.
MII PHY #2 transceiver registers:
   3100 786d 001d 2411 05e1 41e1 0007 2001
   0000 0000 0000 0000 0000 0000 0000 0000
   1001 0000 009c 021b 0000 01ff 7490 0000
   868f 6e0f 2e5c 1428 9a12 0444 0230 0000.
MII PHY #3 transceiver registers:
   3100 786d 001d 2411 05e1 41e1 0007 2001
   0000 0000 0000 0000 0000 0000 0000 0000
   1001 0000 009c 011b 0000 01ff 7490 0000
   868f 7017 2f5c 1428 8a11 0444 0230 0000.
MII PHY #4 transceiver registers:
   3100 786d 001d 2411 05e1 41e1 0007 2001
   0000 0000 0000 0000 0000 0000 0000 0000
   1001 0000 009d 021a 0000 0001 7490 0000
   868f 7012 2f5c 1428 8a11 0544 0230 0000.


/ Erik P. Østlyngen