[tulip] cb_shim and tulip problems

Bob Cauthen - SMCC Reseller SE - Cary NC Bob.Cauthen@east.sun.com
Thu, 14 Sep 2000 15:09:57 -0400 (EDT)


--String_of_Ponies_192_000
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: hBv8I+PKel2cBRwiM2Z72g==

Hi,

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
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

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

That page doesn't give any more info specifically about cb_shim. See
output included as attachment. What do I need to do to compile this?

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

with and without the card loaded!

Please help!

BobC

PS. I've modified /etc/pcmcia/config according to the url above. Loading
the card manually or with cardmanager gives the same results.


--String_of_Ponies_192_000
Content-Type: TEXT/plain; name="compile.out"; charset=us-ascii
Content-Description: compile.out
Content-MD5: TdQLaZuvZ7h5qAXo8t59fw==

usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x18): undefined reference to `main'
/tmp/cc96Ehis.o: In function `drv_attach':
/tmp/cc96Ehis.o(.text+0x1b): undefined reference to `printk_R1b7d4074'
/tmp/cc96Ehis.o(.text+0x52): undefined reference to `printk_R1b7d4074'
/tmp/cc96Ehis.o(.text+0x70): undefined reference to `pcibios_read_config_dword_R38ae6689'
/tmp/cc96Ehis.o(.text+0x83): undefined reference to `pcibios_read_config_dword_R38ae6689'
/tmp/cc96Ehis.o(.text+0x99): undefined reference to `pcibios_read_config_dword_R38ae6689'
/tmp/cc96Ehis.o(.text+0xac): undefined reference to `pcibios_read_config_byte_Rd80115e1'
/tmp/cc96Ehis.o(.text+0x1c9): undefined reference to `printk_R1b7d4074'
/tmp/cc96Ehis.o(.text+0x20e): undefined reference to `pcibios_read_config_dword_R38ae6689'
/tmp/cc96Ehis.o(.text+0x232): undefined reference to `__ioremap_R9eac042a'
/tmp/cc96Ehis.o(.text+0x269): undefined reference to `printk_R1b7d4074'
/tmp/cc96Ehis.o(.text+0x295): undefined reference to `printk_R1b7d4074'
/tmp/cc96Ehis.o(.text+0x2a8): undefined reference to `pcibios_read_config_word_Raa9effd7'
/tmp/cc96Ehis.o(.text+0x2c8): undefined reference to `printk_R1b7d4074'
/tmp/cc96Ehis.o(.text+0x2e3): undefined reference to `pci_find_slot_R454463b5'
/tmp/cc96Ehis.o(.text+0x303): undefined reference to `kmalloc_R93d4cfe6'
/tmp/cc96Ehis.o(.text+0x35f): undefined reference to `__this_module'
/tmp/cc96Ehis.o(.text+0x365): undefined reference to `__this_module'
/tmp/cc96Ehis.o: In function `do_cb_register':
/tmp/cc96Ehis.o(.text+0x389): undefined reference to `kmalloc_R93d4cfe6'
/tmp/cc96Ehis.o(.text+0x3b1): undefined reference to `printk_R1b7d4074'
/tmp/cc96Ehis.o(.text+0x3ba): undefined reference to `__this_module'
/tmp/cc96Ehis.o(.text+0x3c0): undefined reference to `__this_module'
/tmp/cc96Ehis.o(.text+0x3fc): undefined reference to `register_driver'
/tmp/cc96Ehis.o: In function `do_cb_unregister':
/tmp/cc96Ehis.o(.text+0x42b): undefined reference to `unregister_driver'
/tmp/cc96Ehis.o(.text+0x436): undefined reference to `kfree_R037a0cba'
/tmp/cc96Ehis.o(.text+0x43c): undefined reference to `__this_module'
/tmp/cc96Ehis.o(.text+0x442): undefined reference to `__this_module'
/tmp/cc96Ehis.o: In function `init_module':
/tmp/cc96Ehis.o(.text+0x47c): undefined reference to `printk_R1b7d4074'
/tmp/cc96Ehis.o(.text+0x481): undefined reference to `register_cb_hook'
/tmp/cc96Ehis.o(.text+0x48b): undefined reference to `unregister_cb_hook'
/tmp/cc96Ehis.o(.text+0x496): undefined reference to `register_cb_hook'
/tmp/cc96Ehis.o(.text+0x4a0): undefined reference to `unregister_cb_hook'
/tmp/cc96Ehis.o: In function `cleanup_module':
/tmp/cc96Ehis.o(.text+0x4b5): undefined reference to `register_cb_hook'
/tmp/cc96Ehis.o: In function `drv_suspend':
/tmp/cc96Ehis.o(.text+0x4d9): undefined reference to `printk_R1b7d4074'
/tmp/cc96Ehis.o(.text+0x518): undefined reference to `printk_R1b7d4074'
/tmp/cc96Ehis.o(.text+0x538): undefined reference to `printk_R1b7d4074'
/tmp/cc96Ehis.o: In function `drv_resume':
/tmp/cc96Ehis.o(.text+0x561): undefined reference to `printk_R1b7d4074'
/tmp/cc96Ehis.o(.text+0x59a): undefined reference to `printk_R1b7d4074'
/tmp/cc96Ehis.o(.text+0x5b8): more undefined references to `printk_R1b7d4074' follow
/tmp/cc96Ehis.o: In function `drv_detach':
/tmp/cc96Ehis.o(.text+0x629): undefined reference to `kfree_R037a0cba'
/tmp/cc96Ehis.o(.text+0x633): undefined reference to `__this_module'
/tmp/cc96Ehis.o(.text+0x639): undefined reference to `__this_module'
/tmp/cc96Ehis.o(.text+0x65d): undefined reference to `printk_R1b7d4074'
collect2: ld returned 1 exit status


--String_of_Ponies_192_000--