SMC EZ 10/100 CardBus disaster (21143 + 0.91x)
Richard Atterer
atterer@informatik.tu-muenchen.de
Wed Jan 26 13:45:54 2000
Hello,
I'm still trying to get my SMC CardBus EZ 10/100 card (model 8034TX)
to work with Linux. I've tried several versions of tulip.c: 0.91,
0.91g, 0.91g2 and 0.91x - nothing works. The NIC contains a DS21143
and seems to be a new revision of the card of the same name that is
listed as supported by pcmcia-cs.
For my latest attempt I used the 2.2.14 kernel, pcmcia-cs 3.0.14 (for
some obscure reason, 3.1.8 won't compile), and the 0.91x tulip.c,
slightly modified (as described in a posting to the mailing list from
the beginning of January) to make it compile.
When cardmgr loads the tulip_cb module, it logs a lot of entries with
nonsensical Media types (different ones each time I try, and sometimes
more than a hundred of them!) and eventually crashes with an
oops. Fortunately, this doesn't take down the machine, so I can still
use tulip-diag afterwards, although its output also isn't always the
same. :-/
The driver correctly identifies the card's hardware address and device
number, but apart from that, nothing it does seems to work.
Could someone please comment on my problem? I'm willing to assist in
every way I can to get the card working - please give me some hints as
to what could be done to fix it!
Many thanks,
Richard
Below is the output of tulip-diag, and a typical kernel log for what
happens when I insert the card in the CardBus slot.
----------------------------------------------------------------------
$ ./tulip-diag -ee
tulip-diag.c:v1.19 10/2/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #1: Found a Digital DS21143 Tulip adapter at 0x400.
Port selection is 10mpbs-serial, half-duplex.
Transmit stopped, Receive stopped, half-duplex.
The Rx process state is 'Stopped'.
The Tx process state is 'Stopped'.
The transmit threshold is 72.
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).
No MII transceivers found!
Internal autonegotiation state is 'Autonegotiation disabled'.
----------------------------------------------------------------------
Jan 25 21:31:22 elessar cardmgr[676]: initializing socket 0
Jan 25 21:31:22 elessar cardmgr[676]: socket 0: SMC EZ CardBus 10/100 PC Card
Jan 25 21:31:22 elessar cardmgr[676]: executing: 'insmod /lib/modules/2.2.14/pcmcia/cb_enabler.o'
Jan 25 21:31:22 elessar cardmgr[676]: executing: 'insmod /lib/modules/2.2.14/pcmcia/tulip_cb.o'
Jan 25 21:31:22 elessar kernel: tulip.c:v0.91x 12/15/99 becker@cesdis.gsfc.nasa.gov
Jan 25 21:31:22 elessar kernel: cs: cb_config(bus 32)
Jan 25 21:31:22 elessar kernel: fn 0 bar 1: io 0x400-0x47f
Jan 25 21:31:22 elessar kernel: fn 0 bar 2: mem 0xa00c0000-0xa00c03ff
Jan 25 21:31:22 elessar kernel: fn 0 rom: mem 0xa0080000-0xa00bffff
Jan 25 21:31:22 elessar kernel: tulip_attach(bus 32, function 0)
Jan 25 21:31:22 elessar kernel: eth0: Digital DS21140 Tulip rev 65 at 0xc4c33000, 00:E0:29:55:E1:12, IRQ 5.
Jan 25 21:31:22 elessar kernel: eth0: EEPROM default media type Autosense.
Jan 25 21:31:22 elessar kernel: eth0: Index #0 - Media 100baseTx (#3) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #1 - Media 100baseFx-FDX (#8) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #2 - Media Invalid-19 (#19) described by a UNKNOWN (8) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #3 - Media 10base2 (#1) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #4 - Media <NULL> (#24) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #5 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #6 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #7 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #8 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #9 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #10 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #11 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #12 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #13 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #14 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #15 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #16 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #17 - Media <NULL> (#21) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #18 - Media 10base2 (#1) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #19 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #20 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #21 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #22 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #23 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #24 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #25 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #26 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #27 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #28 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #29 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #30 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #31 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #32 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #33 - Media Invalid-19 (#19) described by a UNKNOWN (138) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #34 - Media <NULL> (#25) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #35 - Media Invalid-19 (#19) described by a UNKNOWN (131) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #36 - Media <NULL> (#31) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #37 - Media MII (#11) described by a 21140 MII PHY (1) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #38 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
Jan 25 21:31:22 elessar kernel: eth0: Index #39 - Media Invalid-19 (#19) described by a UNKNOWN (177) block.
Jan 25 21:31:22 elessar kernel: Unable to handle kernel paging request at virtual address 30312049
Jan 25 21:31:22 elessar kernel: current->tss.cr3 = 03ced000, `r3 = 03ced000
Jan 25 21:31:22 elessar kernel: *pde = 00000000
Jan 25 21:31:22 elessar kernel: Oops: 0000
Jan 25 21:31:22 elessar kernel: CPU: 0
Jan 25 21:31:22 elessar kernel: EIP: 0010:[<c01a94f5>]
Jan 25 21:31:22 elessar kernel: EFLAGS: 00010097
Jan 25 21:31:22 elessar kernel: eax: 30312049 ebx: ffffffff ecx: 30312049 edx: fffffffe
Jan 25 21:31:22 elessar kernel: esi: c01f0d13 edi: c3d1f96c ebp: 00000000 esp: c3d1f904
Jan 25 21:31:22 elessar kernel: ds: 0018 es: 0018 ss: 0018
[etc...]
--
__ _
|_) /| Richard Atterer (currently at Queen's University, Belfast, NI)
| \/¯| http://www.in.tum.de/~atterer/
¯ ´` ¯
-------------------------------------------------------------------
To unsubscribe send a message body containing "unsubscribe"
to linux-tulip-bug-request@beowulf.org