depmod returns unresolved symbols

Charles Galpin cgalpin@lighthouse-software.com
Wed Dec 2 07:50:36 1998


===== Original Message from Donald Becker <becker@cesdis1.gsfc.nasa.gov> at 
12/02/98 2:15 am
>On Wed, 2 Dec 1998, Charles Galpin wrote:
>
>> I'm trying to compile in tulip support for my cardbus ethernet card, but
>> have hit a stumbling block.
>>
>> kernel 2.0.35
>> pcmcia-c-3.0.6
>> tulip.c v0.90
>>
>> After making and installing , depmod -ae returns this error
>>
>> /lib/modules/2.0.35/pcmcia/pcnet_cs.o: unresolved symbol(s)
>.
>> 	NS8390_init
>
>You don't have 8390.o installed.  This should come from the standard kernel
>source code.  (The 8390.o module is a driver "core" for about ten different
>drivers, including the NE2000.  All other drivers are self contained.)
>

ok. is it needed for the tulip? what about pcnet_cs? does the tulip rely on 
this?

>> also, if I try and insmod tulip_cb.o, I get these unresolved symbols
>> tulip_cb.o: unresolved symbol unregister_driver
>> tulip_cb.o: unresolved symbol register_driver
>
>The pcmcia package provides these functions in cb_enabler.o.
>You should never need to load tulip_cb.o by hand -- the pcmcia package wants
>to do it for you.
>

understood

>> I have noticed that it looks like tulip.c v0.90 was compiled against
>> pcmcia-c-3.0.5 - do I need to downgrade?
>
>No.
>You *must* compile against the correct header file version.  David changed
>the internals greatly between 3.0.5 and 3.0.6.
>

what is the correct header version then? I'm assuming 3.0.6 for now. If not 
3.0.6, how do I compile against a different header file version without 
changing versions?

Here is where I am. I stopped card services, and installed 8390.o in case it 
is needed. I then started card services. I then inserted my card. I still 
see no output remotely indiciative of the manif id I need to get this card 
detected. It is detected as a memory card. Switching sockets makes not 
difference. I now get a resource in use error which I never got before.

My modem card which used to work now fails. It is now recognized as a memory 
card, and I get a warning that there is no high memory space available if I 
insert the ethernet card first.

Under windows, this card used irq 9, i/o 1080-10ff, memory 08080000 - 
08080075 / 08040000 - 0807ffff

I have included a transcript below.

# insmod /lib/modules/2.0.35/net/8390.o
# lsmod
Module         Pages    Used by
8390               2            0
scsi_mod          10            0
# /etc/rc.d/init.d/pcmcia start
Starting PCMCIA services: modules cardmgr.
# lsmod
Module         Pages    Used by
ds                 2            2
i82365             5            2
pcmcia_core        9    [ds i82365]     0
8390               2            0
scsi_mod          10            0

messsages:
Dec  2 07:24:46 piglet kernel: Linux PCMCIA Card Services 3.0.6
Dec  2 07:24:46 piglet kernel:   kernel build: 2.0.35 #2 Wed Dec 2 00:35:22 
EST 1998
Dec  2 07:24:46 piglet kernel:   options:  [pci] [cardbus] [apm]
Dec  2 07:24:46 piglet kernel: Intel PCIC probe: 
Dec  2 07:24:46 piglet kernel:   TI 1250A PCI-to-CardBus at bus 0 slot 10, 
mem 0x68000000, 2 sockets
Dec  2 07:24:46 piglet kernel:     host opts [0]: [ring] [pwr save] [serial 
pci & irq] [no pci irq] [lat 168/176] [bus 32/34]
Dec  2 07:24:46 piglet kernel:     host opts [1]: [ring] [pwr save] [serial 
pci & irq] [no pci irq] [lat 168/176] [bus 35/37]
Dec  2 07:24:46 piglet kernel:     ISA irqs (scanned) = 3,4,7,10,11 status 
change on irq 11
Dec  2 07:24:47 piglet cardmgr[1392]: starting, version is 3.0.6
Dec  2 07:24:47 piglet cardmgr[1392]: watching 2 sockets
Dec  2 07:24:47 piglet kernel: cs: IO port probe 0x0100-0x03ff: excluding 
0x378-0x37f 0x398-0x39f
Dec  2 07:24:47 piglet kernel: cs: IO port probe 0x0a00-0x0aff: clean.


insert card - get messages
Dec  2 07:27:59 piglet cardmgr[1392]: initializing socket 0
Dec  2 07:27:59 piglet cardmgr[1392]: socket 0: Anonymous Memory
Dec  2 07:27:59 piglet cardmgr[1392]: executing: 'insmod 
/lib/modules/2.0.35/pcmcia/memory_cs.o'
Dec  2 07:27:59 piglet kernel: memory_cs: RequestWindow: Resource in use
Dec  2 07:28:01 piglet cardmgr[1392]: get dev info on socket 0 failed: 
Resource temporarily unavailable

# lsmod
Module         Pages    Used by
memory_cs          2            0
ds                 2    [memory_cs]     2
i82365             5            2
pcmcia_core        9    [memory_cs ds i82365]   0
8390               2            0
scsi_mod          10            0
[root@piglet modules]#


remove card - get messages
Dec  2 07:29:22 piglet cardmgr[1392]: shutting down socket 0
Dec  2 07:29:22 piglet cardmgr[1392]: executing: 'rmmod memory_cs'


# lsmod
Module         Pages    Used by
ds                 2            2
i82365             5            2
pcmcia_core        9    [ds i82365]     0
8390               2            0
scsi_mod          10            0
[root@piglet modules]#


-- Charles Galpin   <cgalpin@lighthouse-software.com>