[tulip] D-Link DFE-680TXD: "The transmitter stopped"

Leif Nixon nixon@lysator.liu.se
Wed Nov 6 16:55:44 2002


I'm having trouble getting a D-Link DFE-680TXD Cardbus card to work
under Linux.

Cardmgr reports the card as a Linksys EtherFast PCMPC200 v2; I guess
there's some OEM:ing going on. I have verified that the card works on
another laptop running win98.

My setup is a Fujitsu-Siemens LiteLine 5033 with Red Hat 7.3, running
a 2.4.19 kernel compiled from pristine source from kernel.org. The
kernel PCMCIA support is disabled and replaced by pcmcia_cs 3.2.1 (The
stock kernel drivers wouldn't initialize the card at all). I have
tried various versions of the tulip driver; v0.91g-ppc as distributed
by pcmcia_cs, v0.95 and v0.95c, all with similar results. There is a
10base-T hub at the other end of the link.

The symptoms are basically that the card goes deaf a moment after
insertion. A couple of times I've actually managed to get a DHCP
lease; my guess is that the lease was negotiated in the short moment
before the card went deaf. Any further attempt to send traffic from
the machine results in lots of ARP:ing, but it doesn't seem to pick up
any of the ARP replies.

Bumping up the debug level, I see a failed autonegotiation attempt,
followed by a nasty "The transmitter stopped. CSR5 is fc67c016, CSR6
ff972113, new CSR6 82420000" line. Then follow endless cycles of
failed autonegotiation attempts.

I've attached syslog excerpts and tulip-diag output below.

I've run out of things to try. Any suggestions? Anything I can
do to help?

/Leif Nixon (somewhat depressed)

===================== /var/log/messages =====================

Nov  6 20:59:28 kaipak cardmgr[586]: executing: 'modprobe -r cb_enabler'
Nov  6 20:59:28 kaipak /etc/hotplug/net.agent: NET unregister event not supported
Nov  6 20:59:28 kaipak kernel: cs: cb_free(bus 1)
Nov  6 20:59:36 kaipak kernel: cs: cb_alloc(bus 1): vendor 0x1186, device 0x1541
Nov  6 20:59:36 kaipak cardmgr[586]: socket 0: Linksys EtherFast PCMPC200 v2
Nov  6 20:59:36 kaipak cardmgr[586]: executing: 'modprobe cb_enabler'
Nov  6 20:59:36 kaipak cardmgr[586]: executing: 'modprobe tulip_cb debug=31'
Nov  6 20:59:36 kaipak kernel: tulip.c:v0.95c 9/19/2002  Written by Donald Becker <becker@scyld.com>
Nov  6 20:59:36 kaipak kernel:   http://www.scyld.com/network/tulip.html
Nov  6 20:59:36 kaipak kernel: cs: cb_config(bus 1)
Nov  6 20:59:36 kaipak kernel:   fn 0 bar 1: io 0x1200-0x12ff
Nov  6 20:59:36 kaipak kernel:   fn 0 bar 2: mem 0x60060000-0x600603ff
Nov  6 20:59:36 kaipak kernel:   fn 0 rom: mem 0x60040000-0x6005ffff
Nov  6 20:59:36 kaipak kernel:   irq 10
Nov  6 20:59:36 kaipak kernel: tulip_attach(bus 1, function 0)
Nov  6 20:59:36 kaipak cardmgr[586]: executing: './network start eth0'
Nov  6 20:59:36 kaipak kernel: eth0: Digital DS21143-xD Tulip rev 17 at 0xc4a78000, EEPROM not present, 00:4C:69:6E:75:79, IRQ 10.
Nov  6 20:59:36 kaipak kernel: eth0:  MII transceiver #1 config 3100 status 7849 advertising 05e1.
Nov  6 20:59:36 kaipak kernel: eth0:  MII transceiver #2 config 1100 status 7849 advertising 05e1.
Nov  6 20:59:36 kaipak kernel: eth0:  MII transceiver #3 config 1100 status 7849 advertising 05e1.
Nov  6 20:59:36 kaipak kernel: eth0:  MII transceiver #4 config 1100 status 7849 advertising 05e1.
Nov  6 20:59:37 kaipak /etc/hotplug/net.agent: invoke ifup eth0
Nov  6 20:59:37 kaipak kernel: eth0: Using MII transceiver 1, status 7849.
Nov  6 20:59:37 kaipak kernel: eth0: MII link partner 0000, negotiated 0000.
Nov  6 20:59:37 kaipak kernel: eth0: No link beat on the MII interface, status 7849.
Nov  6 20:59:37 kaipak kernel: eth0: Tx threshold increased, new CSR6 820e4000.
Nov  6 20:59:37 kaipak kernel: eth0: 21143 link status interrupt 00000000, CSR5 fc66c030, 00000000.
Nov  6 20:59:37 kaipak kernel: eth0: 21143 10mbps sensed media.
Nov  6 20:59:40 kaipak kernel: eth0: N-Way autonegotiation status 00000000, 10baseT.
Nov  6 20:59:40 kaipak kernel: eth0: 21143 negotiation failed, status 00000000.
Nov  6 20:59:40 kaipak kernel: eth0: Testing new 21143 media 10baseT.
Nov  6 20:59:40 kaipak kernel: eth0: The transmitter stopped.  CSR5 is fc67c016, CSR6 ff972113, new CSR6 82420000.
Nov  6 20:59:40 kaipak kernel: eth0: 21143 link status interrupt 00000000, CSR5 fc67c016, 00000000.
Nov  6 20:59:40 kaipak kernel: eth0: 21143 10baseT link beat good.
Nov  6 20:59:41 kaipak kernel: eth0: Tx threshold increased, new CSR6 82424000.
Nov  6 20:59:41 kaipak kernel: eth0: 21143 link status interrupt 00000000, CSR5 fc66c030, 00000000.
Nov  6 20:59:41 kaipak kernel: eth0: 21143 10baseT link beat good.
Nov  6 20:59:43 kaipak kernel: eth0: N-Way autonegotiation status 00000000, 10baseT.
Nov  6 20:59:43 kaipak kernel: eth0: 21143 negotiation failed, status 00000000.
Nov  6 20:59:43 kaipak kernel: eth0: Testing new 21143 media 10baseT.
Nov  6 20:59:43 kaipak kernel: eth0: The transmitter stopped.  CSR5 is fc67c016, CSR6 ff972113, new CSR6 82420000.
Nov  6 20:59:43 kaipak kernel: eth0: 21143 link status interrupt 00000000, CSR5 fc67c016, 00000000.
Nov  6 20:59:43 kaipak kernel: eth0: 21143 10baseT link beat good.
Nov  6 20:59:46 kaipak kernel: eth0: N-Way autonegotiation status 00000000, 10baseT.
Nov  6 20:59:46 kaipak kernel: eth0: 21143 negotiation failed, status 00000000.
Nov  6 20:59:46 kaipak kernel: eth0: Testing new 21143 media 10baseT.
Nov  6 20:59:49 kaipak kernel: eth0: N-Way autonegotiation status 00000000, 10baseT.
Nov  6 20:59:49 kaipak kernel: eth0: 21143 negotiation failed, status 00000000.
Nov  6 20:59:49 kaipak kernel: eth0: Testing new 21143 media 10baseT.


===================== tulip-diag =====================

[root@kaipak root]# ./tulip-diag -t 4 -p 0x1200 -mm -aa -ee
tulip-diag.c:v2.15 9/23/2002 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Assuming a Digital DS21143 Tulip adapter at 0x1200.
Digital DS21143 Tulip chip registers at 0x1200:
 0x00: fff98000 ffffffff ffffffff 03278800 03278a00 fc06c812 ff970111 fffe5410
 0x40: fffe0000 fff597f8 00000000 fffe0000 00000000 00000200 000300ff 00000008
 Port selection is 100mbps-SYM/PCS 100baseTx scrambler, half-duplex.
 Transmit stopped, Receive stopped.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Stopped'.
  The transmit threshold is 128.
 Interrupt sources are pending!  CSR5 is fc06c812.
   Tx complete indication.
   Link passed indication.
   Timer expired indication.
   Early Rx indication.
  The NWay status register is 00000000.
EEPROM 256 words, 8 address bits.
 A simplifed EEPROM data table was found.
 The EEPROM does not contain transceiver control information.
EEPROM contents (256 words):
0x00:  0985 0002 0000 0000 5000 82ba 63e6 0000
0x08:  0000 0400 0000 0000 0000 0000 0000 0100
0x10:  1541 1186 1541 1186 ffff 0202 0000 80cc
0x18:  0000 0000 0000 0000 0000 0000 0000 0000
0x20:  0000 0000 0000 0000 0000 0000 0000 0000
0x28:  0040 0060 0000 0000 0000 0000 0000 0000
0x30:  0000 0000 0000 0000 0000 0000 0000 0000
0x38:  0000 0000 0000 0000 0000 0000 0000 9389
0x40:  ffff ffff ffff ffff ffff ffff ffff ffff
0x48:  ffff ffff ffff ffff ffff ffff ffff ffff
0x50:  ffff ffff ffff ffff ffff ffff ffff ffff
0x58:  ffff ffff ffff ffff ffff ffff ffff ffff
0x60:  ffff ffff ffff ffff ffff ffff ffff ffff
0x68:  ffff ffff ffff ffff ffff ffff ffff ffff
0x70:  ffff ffff ffff ffff ffff ffff ffff ffff
0x78:  ffff ffff ffff ffff ffff ffff ffff ffff
0x80:  ffff ffff ffff ffff ffff ffff ffff ffff
0x88:  ffff ffff ffff ffff ffff ffff ffff ffff
0x90:  ffff ffff ffff ffff ffff ffff ffff ffff
0x98:  ffff ffff ffff ffff ffff ffff ffff ffff
0xa0:  0313 4943 2053 d104 0213 21ab 0602 2201
0xa8:  0102 2202 0205 9680 0098 0522 0002 f5e1
0xb0:  2205 0302 1501 051c 4400 4c2d 6e69 006b
0xb8:  4644 2d45 3836 5430 4458 5600 2e31 0030
0xc0:  ff00 0400 0306 2a01 0000 0700 1106 0000
0xc8:  0001 0700 0206 0000 0001 0700 0706 0000
0xd0:  0002 0500 410a 0139 1eb5 b002 fefc ff84
0xd8:  ff84 ff84 ff84 ffff ffff ffff ffff ffff
0xe0:  ffff ffff ffff ffff ffff ffff ffff ffff
0xe8:  ffff ffff ffff ffff ffff ffff ffff ffff
0xf0:  ffff ffff ffff ffff ffff ffff ffff ffff
0xf8:  ffff ffff ffff ffff ffff ffff ffff 00aa
 ID block CRC 0xbe (vs. 00).
  Full contents CRC 0x9389 (read as 0x9389).
 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:
   1100 786d 001d 2411 05e1 0021 0004 2001
   0000 0000 0000 0000 0000 0000 0000 0000
   1001 0000 207e 205f 0000 001f 7490 0000
   8111 6946 2c58 1326 8911 0444 0230 0000.
 Basic mode control register 0x1100: 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:07:49:--:--:--, model 1 rev. 1.
   No specific information is known about this transceiver type.
 I'm advertising 05e1: Flow-control 100baseTx-FD 100baseTx 10baseT-FD 10baseT
   Advertising no additional info pages.
   IEEE 802.3 CSMA/CD protocol.
 Link partner capability is 0021: 10baseT.
   Negotiation did not complete.
  Internal autonegotiation state is 'Autonegotiation disabled'.