[tulip-bug] Problems with Allied Telesyn AT2800

Dirk Haage dirkhg@cs.tu-berlin.de
Sat, 2 Jun 2001 16:34:00 +0200 (MET DST)


Hallo!
I tried nearly everything to get this card to run, but it is not running.
The devices is configured (if i trust ifconfig) but i have no link.
Here is some output:
dmesg:

Linux PCMCIA Card Services 3.1.25
  kernel build: 2.4.3-20mdk #1 Sun Apr 15 23:03:10 CEST 2001
  options:  [pci] [cardbus] [apm]
Intel PCIC probe: PCI: Found IRQ 9 for device 00:0c.0

  Ricoh RL5C475 rev 80 PCI-to-CardBus at slot 00:0c, mem 0x10000000
    host opts [0]: [serial irq] [io 3/6/1] [mem 3/6/1] [pci irq 9] [lat
168/176] [bus 1/4]
    ISA irqs (default) = 4,5,7,10,11,12,15 PCI status changes
cs: cb_alloc(bus 1): vendor 0x1011, device 0x0019
cs: cb_config(bus 1)
cs: IO port probe 0x0100-0x04ff: excluding 0x170-0x177 0x330-0x337
0x370-0x37f 0x398-0x39f 0x4d0-0x4d7
cs: IO port probe 0x0178-0x032f: clean.
cs: IO port probe 0x0338-0x036f: clean.
cs: IO port probe 0x0380-0x0397: clean.
cs: IO port probe 0x03a0-0x04cf: clean.
cs: IO port probe 0x04d8-0x04ff: clean.
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0a00-0x0aff: clean.
cs: IO port probe 0x0c00-0x0cff: clean.
  fn 0 bar 1: io 0x200-0x27f
  fn 0 bar 2: mem 0x600c0000-0x600c03ff
  fn 0 rom: mem 0x60080000-0x600bffff
  irq 9
cs: cb_enable(bus 1)
  bridge io map 0 (flags 0x21): 0x200-0x27f
  bridge mem map 0 (flags 0x1): 0x60080000-0x600c0fff
tulip_attach(device 01:00.0)
tulip.c:v0.91g-ppc 7/16/99 becker@cesdis.gsfc.nasa.gov (modified by
danilo@cs.uni-magdeburg.de for XIRCOM CBE, fixed by Doug Ledford)
eth0: Digital DS21143 Tulip rev 65 at 0x200, 00:A0:D2:AF:0F:4B, IRQ 9.
eth0:  EEPROM default media type Autosense.
eth0:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block.
eth0:  Index #1 - Media 100baseTx (#3) described by a 21143 reset method
(5) block.
eth0:  Index #2 - Media MII 100baseT4 (#15) described by a  (6) block.
eth0:  MII transceiver #1 config 3000 status 7809 advertising 00a1.
eth0:  Advertising 01e1 on PHY 1, previously advertising 00a1.
eth0:  Advertising 01e1 (to advertise is 01e1).
eth0:  Invalid media table selection 6.

I think, the last line is the problem.

tulip-diag -ee:

tulip-diag.c:v2.08 5/15/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Digital DS21143 Tulip adapter at 0x200.
 Port selection is MII, half-duplex.
 Transmit started, Receive started, half-duplex.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit threshold is 128.
  The NWay status register is 000000c6.
EEPROM 256 words, 8 address bits.
PCI Subsystem IDs, vendor 1259, device 2802.
CardBus Information Structure at offset 00005002.
Ethernet MAC Station Address 00:A0:D2:AF:0F:4B.
EEPROM transceiver/media description table.
Leaf node at offset 30, default media type 0800 (Autosense).
 3 transceiver description blocks:
  Media MII, block type 3, length 19.
   MII interface PHY 0 (media type 11).
   21143 MII initialization sequence is 0 words:.
   21143 MII reset sequence is 3 words: 0807 0000 0002.
    Media capabilities are 7800, advertising 01e1.
    Full-duplex map 5000, Threshold map 1800.
    No MII interrupt.
  Media MII, block type 5, length 8.
   Transceiver Reset, sequence length 3: 0807 0000 0002.
  Media MII 100baseT4, block type 6, length 11.
   Disconnect reset, sequence length 4: 0807 0000 0000 0002.
EEPROM contents (256 words):
0x00:  1259 2802 5002 0000 0000 0000 0000 0200
0x08:  d8fd 0104 a000 afd2 4b0f 1e00 0000 0800
0x10:  9303 0003 0300 0807 0000 0002 7800 01e0
0x18:  5000 1800 8800 0305 0807 0000 0002 068b
0x20:  040f 0807 0000 0000 0002 0000 0000 0000
0x28:  0000 0000 0000 0000 0000 0000 0000 4725
0x30:  0000 0000 0000 0000 0000 0000 0000 0000
0x38:  0000 0000 0000 0000 0000 0000 0000 0000
0x40:  0313 4943 1c53 0203 ff07 3415 0005 6c41
0x48:  696c 6465 5420 6c65 7365 7369 4b20 4b2e
0x50:  002e 6543 746e 6572 4f43 204d 414c 3031
0x58:  2d30 6143 6472 7542 2d73 2054 3256 ff00
0x60:  0604 0103 0082 0000 0a05 3941 b501 021e
0x68:  ff30 84ff 0420 c00f 0000 0607 0011 0080
0x70:  0000 0607 0002 0080 0000 0221 0106 00ff
0x78:  0000 0000 0000 0000 0000 0000 0000 0000
0x80:  0000 0000 0000 0000 0000 0000 0000 0000
0x88:  0000 0000 0000 0000 0000 0000 0000 0000
0x90:  0000 0000 0000 0000 0000 0000 0000 0000
0x98:  0000 0000 0000 0000 0000 0000 0000 0000
0xa0:  0000 0000 0000 0000 0000 0000 0000 0000
0xa8:  0000 0000 0000 0000 0000 0000 0000 0000
0xb0:  0000 0000 0000 0000 0000 0000 0000 0000
0xb8:  0000 0000 0000 0000 0000 0000 0000 0000
0xc0:  0000 0000 0000 0000 0000 0000 0000 0000
0xc8:  0000 0000 0000 0000 0000 0000 0000 0000
0xd0:  0000 0000 0000 0000 0000 0000 0000 0000
0xd8:  0000 0000 0000 0000 0000 0000 0000 0000
0xe0:  0000 0000 0000 0000 0000 0000 0000 0000
0xe8:  0000 0000 0000 0000 0000 0000 0000 0000
0xf0:  0000 0000 0000 a000 afd2 4b0f 0040 0000
0xf8:  0000 0000 0000 0000 0000 0000 0000 00a1
 ID block CRC 0xfd (vs. 0xfd).
  Full contents CRC 0x9c42 (read as 0x0000).
   No MII transceivers found!
  Internal autonegotiation state is 'Autonegotiation disabled'.

mii-tool eth0:
  No MII transceiver present!.

And this is really strange!

Maybe anybody has an idea for this.

Thanx

/dirk