[tulip-bug] Trouble with DS21143

Antti Tuominen antti.tuominen@hiit.FI
Tue Apr 2 08:43:01 2002


Hi,

I'm having problems similar to what Kapil Khosla reported a few days ago. 
Well, at least the symptoms to the user look the same, all the details are a 
bit different. The machine is a Red hat 7.2 system with a  2.4.9-31 kernel. 
I've been fiddling with the computer for a while now, trying to get the card 
working. I also compiled new tulip driver modules. Below I've attached output 
from /var/log/messages and tulip-diag. Things that seem odd to me:

- Tulip driver says the EEPROM is missing, but tulip-diag seems happy to do a 
EEPROM dump.

- Cardmgr talks about a "UMAX250" card, while the card is branded AmbiCom 
AMB8100 CardBus Ethernet 10/100 TX. Both entries are present in XXX and both 
bind to tulip-driver, so maybe this is just cosmetics.

- Tulip-diag says RX stopped, TX stopped and TX status is "Waiting for Tx to 
finish". DHCP shouts out something and the card hangs?

My (mostly clueless) tweaking here and there is getting me nowhere, any help 
would be greatly appreciated. (Heh, I thought I had it easy: the manufacturer 
prints a penguin on the package and says just to plug the card in. They even 
ship v0.91 tulip.c with the card. Haven't tried that, though. I went straight 
for 0.94...)

Regards,
Antti


Apr  2 12:14:32 bmtest kernel: tulip.c:v0.94 1/28/2002  Written by Donald 
Becker <becker@scyld.com>
Apr  2 12:15:27 bmtest kernel: cs: cb_alloc(bus 2): vendor 0x1011, device 
0x0019
Apr  2 12:15:27 bmtest kernel: PCI: Enabling device 02:00.0 (0000 -> 0003)
Apr  2 12:15:27 bmtest kernel: PCI: Setting latency timer of device 02:00.0 
to 64
Apr  2 12:15:27 bmtest kernel: tulip5:  Missing EEPROM, this interface may 
not work correctly!
Apr  2 12:15:27 bmtest kernel: eth0: Digital DS21143 Tulip rev 48 at 
0xc4897000, EEPROM not present, 00:4C:69:6E:75:7E, IRQ 9.
Apr  2 12:15:27 bmtest cardmgr[724]: initializing socket 0
Apr  2 12:15:27 bmtest cardmgr[724]: socket 0: UMAX Technologies UMAX250 Fast 
Ethernet


tulip-diag.c:v2.10 3/08/2002 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Digital DS21143 Tulip adapter at 0x4000.
Digital DS21143 Tulip chip registers at 0x4000:
 0x00: ffa08000 ffffffff ffffffff 002e6000 002e6200 f0200100 b2420000 f3fe0000
 0x40: e0000000 fff583ff ffffffff fffe0000 000000c6 ffff0000 fff8ffbf 8ff10008
 Port selection is 10mpbs-serial, half-duplex.
 Transmit stopped, Receive stopped, half-duplex.
  The Rx process state is 'Stopped'.
  The Tx process state is 'Waiting for Tx to finish'.
  The transmit threshold is 72.
  The NWay status register is 000000c6.
EEPROM 64 words, 6 address bits.
PCI Subsystem IDs, vendor 1395, device 0001.
CardBus Information Structure at offset 00000087.
Ethernet MAC Station Address 00:10:7A:10:15:0A.
EEPROM transceiver/media description table.
Leaf node at offset 30, default media type 0800 (Autosense).
 4 transceiver description blocks:
  Media 10baseT, block type 2, length 6.
   Serial transceiver for 10baseT (media type 0).
    GP pin direction 08af  GP pin data 00a5.
  Media 10baseT-Full Duplex, block type 2, length 6.
   Serial transceiver for 10baseT-Full Duplex (media type 4).
    GP pin direction 08af  GP pin data 00a5.
  Media 100baseTx, block type 4, length 8.
   SYM transceiver for 100baseTx (media type 3).
    GP pin direction 08af  GP pin data 00a5.
    No media detection indication (command 80 61).
  Media 100baseTx Full Duplex, block type 4, length 8.
   SYM transceiver for 100baseTx Full Duplex (media type 5).
    GP pin direction 08af  GP pin data 00a5.
    No media detection indication (command 80 61).
EEPROM contents (64 words):
0x00:  1395 0001 0087 0000 0000 0000 0000 0000
0x08:  0005 0103 1000 107a 0a15 1e00 0000 0800
0x10:  8604 0002 08af 00a5 0286 af04 a508 8800
0x18:  0304 08af 00a5 8061 0488 af05 a508 6100
0x20:  0080 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 69e3
 ID block CRC 0x05 (vs. 0x05).
  Full contents CRC 0x69e3 (read as 0x69e3).
   No MII transceivers found!
  Internal autonegotiation state is 'Autonegotiation disabled'.












-- 
"In theory, I'm OK.  In practice, I'm disappointed in theory."