Linksys 10/100 CardBus problems

Peter Monta pmonta@halibut.imedia.com
Tue Oct 20 02:54:00 1998


Hello,

I'm trying to get a Linksys EtherFast 10/100 CardBus PC Card,
model number PCMPC200, to run in an IBM Thinkpad 600.  I'm using
pcmcia-cs-3.0.5, driver 0.89K with -DCARDBUS, and kernel 2.0.35
(with Red Hat 5.1 distribution).  Note that pcmcia-cs-3.0.6 causes
a lockup during the "insmod i82365.o", apparently due to the
revised set_host_opts() in i82365.c.

The card is detected okay, but the Ethernet address isn't
sane, the card's EEPROM appears to be blank, and an ifconfig
causes a kernel panic.  The card was continuously connected
to a 100baseT hub during all this.  Any hints welcome.

Interestingly, Linux is listed on the box as a supported OS.
Their web page at
  http://www.linksys.com/support/solution/nos/linux.htm
contains some Linux-specific discussion about installing both
CardBus and non-CardBus cards; reasonably complete, but didn't
help me much, alas.  (Surely someone has succeeded though!)

I'm sending this also to the PCMCIA beta-testing web forum
at "http://hyper.stanford.edu/HyperNews/get/pcmcia/beta.html".

Cheers,
Peter Monta   pmonta@imedia.com
Imedia Corp.

------------------------------
/var/log/messages:

kernel: Linux PCMCIA Card Services 3.0.5
kernel:   kernel build: 2.0.35 #1 Mon Aug 3 14:37:09 EDT 1998
kernel:   options:  [pci] [cardbus] [apm]
kernel: Intel PCIC probe: 
kernel:   TI 1250A CardBus at mem 0x21301000, 2 sockets
kernel:     host opts [0]: [ring] [pwr save] [isa irq] [no pci irq] [lat 168/176] [bus 1/3]
kernel:     host opts [1]: [ring] [pwr save] [isa irq] [no pci irq] [lat 168/176] [bus 4/6]
kernel:     ISA irqs (scanned) = 3,4,7,9,10 status change on irq 10
cardmgr[450]: starting, version is 3.0.5
cardmgr[450]: watching 2 sockets
kernel: cs: IO port probe 0x0300-0x03bf: excluding 0x388-0x38f 0x3b8-0x3bf
kernel: cs: IO port probe 0x0200-0x02f7: excluding 0x200-0x207 0x220-0x22f
kernel: cs: IO port probe 0x1000-0x17ff: excluding 0x15e8-0x15ef
kernel: cs: IO port probe 0x0a00-0x0aff: clean.
cardmgr[450]: initializing socket 0
cardmgr[450]: socket 0: Linksys EtherFast 10/100
cardmgr[450]: executing: 'insmod /lib/modules/2.0.35/pcmcia/cb_enabler.o'
cardmgr[450]: executing: 'insmod /lib/modules/2.0.35/pcmcia/tulip_cb.o'
kernel: cs: cb_config(bus 1): vendor 0x1011, device 0x0019
kernel:   fn 0 bar 1: io 0xa00-0xa7f
kernel:   fn 0 bar 2: mem 0xa00c0000-0xa00c03ff
kernel:   fn 0 rom: mem 0xa0080000-0xa00bffff
kernel: tulip_attach(bus 1, function 0)
kernel: tulip.c:v0.89K 8/8/98 becker@cesdis.gsfc.nasa.gov
kernel: eth0: Digital DS21143 Tulip at 0xa00, 00 80 00 80 00 80, IRQ 3.
kernel: eth0:  EEPROM default media type 10baseT.
kernel: eth0: Checking for MII transceivers...
kernel: eth0:  MII transceiver found at MDIO address 0, config 3000 status 7809.
cardmgr[450]: executing: './network start eth0'

------------------------------
"tulip-diag -p 0xa00 -f -e -e -a -m -m":

tulip-diag.c:v1.06 9/18/98 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Digital DC21040 Tulip Tulip chip registers at 0xa00:
  f8000000 ffffffff ffffffff 9f374bfe d259d6be f0000000 b20e0000 f3fe0000
  e0000000 fffd83ff ffffffff 00000000 000000c6 ffff0000 fff80000 8ff10000
 The Rx process state is 'Stopped'.
 The Tx process state is 'Stopped'.
Transmit stopped, Receive stopped, half-duplex.
 The transmit threshold is 128.
 Port selection is MII, half-duplex.
EEPROM contents:
  ffff ffff ffff ffff ffff ffff ffff ffff
  ffff ffff ffff ffff ffff ffff ffff ffff
  ffff ffff ffff ffff ffff ffff ffff ffff
  ffff ffff ffff ffff ffff ffff ffff ffff
  ffff ffff ffff ffff ffff ffff ffff ffff
  ffff ffff ffff ffff ffff ffff ffff ffff
  ffff ffff ffff ffff ffff ffff ffff ffff
  ffff ffff ffff ffff ffff ffff ffff ffff
 ID CRC 0xfa (vs. 0xff), complete CRC 57a987a3.
 MII PHY found at address 0, status 0x782d.
 MII PHY #0 transceiver registers:
   3000 782d 0040 6212 01e1 0081 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   1000 0300 0000 0000 0000 020b 0200 0000
   003e 800e 0f00 ff00 002e 0000 0080 000b.
 Basic mode control register 0x3000: Auto-negotiation enabled.
 Basic mode status register 0x782d ... 782d.
   Link status: established.
   Capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation complete.
 Vendor ID is 00:10:18:--:--:--, model 33 rev. 2.
   No specific information is known about this transceiver type.
 I'm advertising 01e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT
   Advertising no additional info pages.
   IEEE 802.3 CSMA/CD protocol.
 Link partner capability is 0081: 100baseTx.
   Negotiation did not complete.

------------------------------
Finally, after an "ifconfig eth0 xx.xx.xx.xx", the machine locks
up with

  Kernel panic: skput:over: 0204d644:16444
  In swapper task - not syncing