[tulip] cb_shim and tulip problems

Donald Becker becker@scyld.com
Thu, 14 Sep 2000 17:19:40 -0400 (EDT)


On Thu, 14 Sep 2000, Bob Cauthen - SMCC Reseller SE - Cary NC wrote:

> I'm having two problems I hope someone can help me with.
> 
> Hardare/Software
> Kernel 2.2.16
> Linksys EtherFast PCM200 *V2* CardBus pcmcia card

One of these arrived in the mail yesterday, compliments of Marek Dohojda at
Linksys.
It works fine with the v92+ tulip driver.

> Cardmanager 3.1.8
> gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
> Dell laptop with 2 Cardbus based PCMCIA slots

The generic name is "PC Card".  PCMCIA means the 16 bit ISA-like version.
(I know the PCMCIA people have confusing naming...)

> One, I can't seem to get the cb_shim module compiled. I'm compiling it
> with a command line similar to the one given to compile pci-scan (which
> works) found here:
> 
> http://www.scyld.com/network/updates.html
> 
> gcc -DMODULE -I../linux-2.2.16/pcmcia-cs-3.1.8/include -D__KERNEL__ -O6
> cb_shim.c

The compile command is at the bottom of the file, or in the Makefile with
the RPM.
You forgot "-c".

> Two, I tried insmod ./pci-scan.o and it loads. I then try to load the
> tulip.o module (without cb_shim) and I get 
> 
> tulip.o: init_module: Device or resource busy

This must be loaded by the PCMCIA "cardmgr" program.
You must have the proper table from
  http://www.scyld.com/network/updates.html
which loads the pci-scan, cb_shim, and tulip modules in the proper order.

Donald Becker				becker@scyld.com
Scyld Computing Corporation		http://www.scyld.com
410 Severn Ave. Suite 210		Beowulf-II Cluster Distribution
Annapolis MD 21403