[tulip] SMC EZ CardBus 10/100 Card: No link beat

Richard Atterer atterer@informatik.tu-muenchen.de
Thu, 21 Sep 2000 21:28:15 +0000


Hello,

I'm still stuck with an SMC CardBus Card (model 8034TX) which just
doesn't want to work with the tulip driver. It didn't work with the
0.91 versions of tulip, and unfortunately it still doesn't with
netdrivers 2.0 (tulip 0.92i).

I'm using Linux 2.2.13, pcmcia-cs 3.1.14 (IIRC) and the latest
netdrivers SRPM from scyld on my laptop. The card works fine under the
Other OS.

Mine is the card for which Donald added the extra "manfid 0x01bf,
0x2225" line to the pcmcia config file - however, that doesn't make it
work. :-/

When I insert the card and try to use the interface, the driver
complains about "no link beat". See below for a kernel log and the
output of tulip-diag.

BTW, the "100Mb" LED stays turned off even though it is a 100Mbps
network.

Any help would be greatly appreciated!
Cheers,

  Richard

-- 
  __   _
  |_) /|  Richard Atterer
  | \/¯|  http://atterer.net
  ¯ ´` ¯

Kernel log:

Sep 21 20:41:13 kernel: cs: IO port probe 0x1000-0x17ff: excluding 0x1000-0x104f
Sep 21 20:41:13 kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x200-0x207 0x220-0x22f 0x300-0x307 0x388-0x38f 0x398-0x39f 0x4d0-0x4d7
Sep 21 20:41:13 cardmgr[278]: re-loading config file
Sep 21 20:41:20 kernel: cs: cb_alloc(bus 32): vendor 0x1011, device 0x0019
Sep 21 20:41:20 kernel: ROM image dump:
Sep 21 20:41:20 kernel:   image 0: 0x000000-0x0001ff, signature PCIR
Sep 21 20:41:20 cardmgr[278]: initializing socket 0
Sep 21 20:41:20 cardmgr[278]: socket 0: SMC EZ CardBus 10/100 PC Card
Sep 21 20:41:20 cardmgr[278]: executing: 'insmod /lib/modules/2.2.13/pcmcia/cb_enabler.o'
Sep 21 20:41:20 cardmgr[278]: executing: 'insmod /lib/modules/2.2.13/net/pci-scan.o'
Sep 21 20:41:20 cardmgr[278]: executing: 'insmod /lib/modules/2.2.13/net/cb_shim.o'
Sep 21 20:41:20 kernel: cb_shim.c:v1.00 4/15/2000  Donald Becker <becker@scyld.com>
Sep 21 20:41:20 kernel:  http://www.scyld.com/linux/drivers.html
Sep 21 20:41:20 cardmgr[278]: executing: 'insmod /lib/modules/2.2.13/net/tulip.o debug=7'
Sep 21 20:41:20 kernel: tulip.c:v0.92i 7/31/2000  Written by Donald Becker <becker@scyld.com>
Sep 21 20:41:20 kernel:   http://www.scyld.com/network/tulip.html
Sep 21 20:41:20 kernel: Failed to map PCI address 0x0 for device 'Digital DS21143-xD Tulip'.
Sep 21 20:41:20 kernel: cs: cb_config(bus 32)
Sep 21 20:41:20 kernel:   fn 0 bar 1: io 0x400-0x47f
Sep 21 20:41:20 kernel:   fn 0 bar 2: mem 0xa00c0000-0xa00c03ff
Sep 21 20:41:20 kernel:   fn 0 rom: mem 0xa0080000-0xa00bffff
Sep 21 20:41:20 kernel: cs: cb_enable(bus 32)
Sep 21 20:41:20 kernel:   bridge io map 0 (flags 0x21): 0x400-0x47f
Sep 21 20:41:20 kernel:   bridge mem map 0 (flags 0x1): 0xa0080000-0xa00c0fff
Sep 21 20:41:20 kernel: Found a Digital DS21143-xD Tulip at 32/0 address 0xa00c0000->0xc4c65000 IRQ 10.
Sep 21 20:41:20 kernel: Digital DS21143-xD Tulip at 32/0 command 0x7.
Sep 21 20:41:20 kernel: eth0: Digital DS21143 Tulip rev 65 at 0xc4c65000, 00:E0:29:55:E1:12, IRQ 10.
Sep 21 20:41:20 kernel: eth0:  EEPROM default media type Autosense.
Sep 21 20:41:20 kernel: eth0:  MII interface PHY 0, setup/reset sequences 2/2 long, capabilities 02 08.
Sep 21 20:41:20 kernel: eth0:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block.
Sep 21 20:41:20 kernel: eth0: Using media type MII, CSR12 is c6.
Sep 21 20:41:20 kernel: eth0:  MII transceiver #1 config 3000 status 7809 advertising 00a1.
Sep 21 20:41:20 kernel: eth0:  Advertising 01e1 on PHY 1, previously advertising 00a1.
Sep 21 20:41:20 kernel: eth0: Handling power event 1.
Sep 21 20:41:20 cardmgr[278]: executing: './network start eth0'
Sep 21 20:41:20 kernel: eth0: tulip_open() irq 10.
Sep 21 20:41:20 kernel: eth0:  Advertising 01e1 on MII 1.
Sep 21 20:41:20 kernel: eth0: Using media type MII, CSR12 is c6.
Sep 21 20:41:20 kernel: eth0: Using MII transceiver 1, status 7809.
Sep 21 20:41:20 kernel: eth0: MII link partner 0000, negotiated 0000.
Sep 21 20:41:20 kernel: eth0: No link beat on the MII interface, status 7809.
Sep 21 20:41:20 kernel: eth0: Done tulip_open(), CSR0 f8a08000, CSR5 f0120000 CSR6 b20e2002.
Sep 21 20:41:20 kernel: eth0: interrupt  csr5=0xf0670004 new csr5=0xf0660000.
Sep 21 20:41:20 kernel: eth0: exiting interrupt, csr5=0xf0660000.
Sep 21 20:41:20 kernel: eth0: interrupt  csr5=0xf0670004 new csr5=0xf0660000.
Sep 21 20:41:20 kernel: eth0: exiting interrupt, csr5=0xf0660000.
Sep 21 20:41:20 kernel: eth0: interrupt  csr5=0xf0670004 new csr5=0xf0660000.
Sep 21 20:41:20 kernel: eth0: exiting interrupt, csr5=0xf0660000.
Sep 21 20:41:23 kernel: eth0: N-Way autonegotiation status 000000c6, MII.
Sep 21 20:41:23 kernel: eth0: MII link partner 0000, negotiated 0000.
Sep 21 20:41:23 kernel: eth0: No link beat on the MII interface, status 7809.
[ping nearby machine]
Sep 21 20:42:23 kernel: eth0: N-Way autonegotiation status 000000c6, MII.
Sep 21 20:42:23 kernel: eth0: MII link partner 0000, negotiated 0000.
Sep 21 20:42:23 kernel: eth0: No link beat on the MII interface, status 7809.


Output from tulip-diag -f -aa -mm -ee:

tulip-diag.c:v2.03 7/31/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Digital DS21143 Tulip adapter at 0x400.
Digital DS21143 Tulip chip registers at 0x400:
  f8a08000 ffffffff ffffffff 02ed0000 02ed0200 f0660000 b20e2002 fbfffbff
  e0000000 ffffcbf8 ffffffff 00000000 000000c6 ffff0000 fff80000 8ffb0000
 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 size is 6.
PCI Subsystem IDs, vendor 10b8, device 8034.
CardBus Information Structure at offset 0000003f.
Ethernet MAC Station Address 00:E0:29:55:E1:12.
EEPROM transceiver/media description for the Digital DS21143 Tulip chip.
Leaf node at offset 30, default media type 0800 (Autosense).
 1 transceiver description blocks:
  Media MII, block type 3, length 21.
   MII interface PHY 0 (media type 11).
   21143 MII initialization sequence is 2 words: 0886 0002.
   21143 MII reset sequence is 2 words: 0886 0002.
    Media capabilities are 7800, advertising 01e1.
    Full-duplex map 5000, Threshold map 1800.
    No MII interrupt.
EEPROM contents:
  10b8 8034 003f 0000 0000 0000 0000 0200
  985b 0104 e000 5529 12e1 1e00 0000 0800
  9501 0003 8602 0208 0200 0886 0002 7800
  01e0 5000 1800 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 093a
  0000 0000 0000 e000 5529 12e1 0140 0000
  0000 0000 0000 0000 0000 0000 0000 00cc
 ID block CRC 0x5b (vs. 0x5b).
  Full contents CRC 0x47a6 (read as 0x00cc).
 MII PHY found at address 1, status 0x7809.
 MII PHY #1 transceiver registers:
   1000 7809 0040 6212 00a1 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   5000 e400 0000 0000 0000 0000 0300 0000
   0036 0008 0f00 ff00 0036 4000 0000 000b.
  Internal autonegotiation state is 'Autonegotiation disabled'.