Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 4280

Summary: unresolved symbol in pcmcia-cs, module orinoco_cs
Product: Gentoo Linux Reporter: Michael Brandt <mail>
Component: [OLD] Core systemAssignee: Doug Goldstein (RETIRED) <cardoe>
Status: RESOLVED FIXED    
Severity: critical CC: chadh, pbienst
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Brandt 2002-06-28 05:29:27 UTC
load of module orinoco_cs failed because of unresolved symbols

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -mmmx -msse"
CXXFLAGS="-march=pentium3 -O3 -pipe -mmmx -msse"

 gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
Configured with: /var/tmp/portage/gcc-3.1-r6/work/gcc-3.1/configure --
prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared -
-host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=i686-pc-linux-gnu --
enable-threads=posix --enable-long-long --enable-cstdio=stdio --enable-
clocale=generic --disable-checking --with-gxx-include-dir=/usr/include/g++-
v31 --with-local-prefix=/usr/local --with-system-zlib --enable-shared --enable-
nls --without-included-gettext
Thread model: posix
gcc version 3.1

pcmcia-cs: 3.1.33-r5
Kernel: 2.4.19-r7

message when modprobing orinoco_cs:
# modprobe orinoco_cs
/lib/modules/2.4.19-gentoo-r7/pcmcia/orinoco_cs.o: unresolved symbol 
alloc_orinocodev
/lib/modules/2.4.19-gentoo-r7/pcmcia/orinoco_cs.o: insmod /lib/modules/2.4.19-
gentoo-r7/pcmcia/orinoco_cs.o failed
/lib/modules/2.4.19-gentoo-r7/pcmcia/orinoco_cs.o: insmod orinoco_cs failed

# uname -a
Linux ares.michael-brandt.de 2.4.19-gentoo-r7 #14 Thu Jun 27 19:40:26 CEST 
2002 i686 GenuineIntel

what i did after:
delete kernel modules in /pcmcia
rebuild kernel
rebuild pcmcia-cs
still same error

#micha
Comment 1 Mark Guertin 2002-06-30 19:32:20 UTC
You might try commenting out the added orinoco drivers (karltk added them but
I'm not sure they were well tested, 2 users have commented that old drivers
still work for them.)

I personally use kernel modules, so I can't verify this (and I'm on ppc laptop),
but it seems that might be the solution.
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2002-07-05 03:59:16 UTC
If you could try this with the latest ebuild of pcmcia-cs (I just uploaded 
3.1.34-r5 a few minutes ago, but you need to unmask it) and then see if that 
version fixes it. That version uses a new version of the orinoco drivers. 
Comment 3 Peter Bienstman (RETIRED) gentoo-dev 2002-07-05 12:11:23 UTC
For me this new ebuild doesn't help. In addition, it now complains about a  
missing orinoco_startup symbol  
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2002-07-12 06:34:10 UTC
Peter, you're using gcc-3.1 as well? I can't seem to duplicate this problem,  
however I have gcc-2.95 on my laptop. Going to try to setup something with 
gcc-3.1 to test. Maybe chadh can dup it. I've also added a 3.1.35_beta2 ebuild 
recently. 
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2002-07-13 23:50:56 UTC
My recommendation is to try the latest ebuild (pcmcia-cs-3.1.34-r8), if you 
still have the problem unmerge pcmcia-cs and make sure you clean up 
your /etc/pcmcia folder and add +wavelan to your USE flags and emerge pcmcia-
cs-3.1.34-r8. That'll do Gerk's suggestion and use the built-in wvlan drivers 
and not use orinoco's.
Comment 6 Peter Bienstman (RETIRED) gentoo-dev 2002-07-14 08:24:33 UTC
None of this works. I tried unmerging, deleting /etc/pcmcia, USE +wavelan and emerging, but cardmgr still wants to load the orinoco drivers instead of the wavelan driver 
Comment 7 Chad Huneycutt (RETIRED) gentoo-dev 2002-07-14 11:27:30 UTC
I need to know everything you are doing here.

If you are using pcmcia-cs modules, then follow my pcmcia-cs howto in the Laptop
Forum at http://forums.gentoo.org for configuring the kernel to make sure you
get the modules.

Next, are you loading i82365/yenta_socket and ds.  You use i82365 if you are
using pcmcia-cs and yenta_socket if you are using kernel modules.

One more thing.  If I install a new kernel, reboot, and then emerge pcmcia-cs, I
can't load the modules (similar to your errors).  I have to reboot one more time
(probably just need to do a depmod -a, but I just reboot).
Comment 8 Peter Bienstman (RETIRED) gentoo-dev 2002-07-14 11:46:45 UTC
I followed the howto, which works perfectly for the wavelan driver and with 
pcmcia-cs 3.1.31 (not using kernel modules, using i82365 and ds). 
 
My only problem with the latest version 3.1.34 is that in spite of the 
+wavelan USE flag, cardmgr still wants to load the orinoco drivers, which 
don't work. 
Comment 9 Doug Goldstein (RETIRED) gentoo-dev 2002-07-14 14:28:46 UTC
You should be able to just do depmod -a like you said without rebooting.
Comment 10 Chad Huneycutt (RETIRED) gentoo-dev 2002-07-14 17:16:45 UTC
Cardoe, can you doublecheck your logic in the -r8 ebuild?  It looks like it
should be

if [ -z `"use wavelan"` ]; then
...
fi

So that the orinoco stuff is only installed if wavelan is *not* in the USE var.

BTW, this is a little weird, since the inclusion of a USE var causes an action
to *not* happen.  I am sure you did it that way to make orinoco the default (a
variable is necessary to *not* get that behavior), but we should probably use
the orinoco keyword and just put it in the default list instead.
Comment 11 Doug Goldstein (RETIRED) gentoo-dev 2002-07-15 13:19:04 UTC
Chad: You're right about my logic error there. And I also did not mean to 
release -r8 just yet cause I knew I wrote it with very little sleep. I meant 
to release up to -r7. 

As far as using the "wavelan" USE var. I was going to use "orinoco" like we 
discussed but seemant wasn't too keen on another USE var being added to 
make.defaults. So he said come up with another USE var for when you don't want 
to use the orinoco's so I figured wavelan would be good. I have some ideas for 
some changes to the whole pcmcia-cs structure in Gentoo and some kernel 
patches and changes to WiFi support on my site... 
http://www.gentoo.org/~cardoe/ It's not up yet but shortly. These changes once 
we land them should help with problems such as this and improve WiFi support 
in Gentoo.
Comment 12 Doug Goldstein (RETIRED) gentoo-dev 2002-08-01 17:42:50 UTC
Any status on this problem? 
Comment 13 Peter Bienstman (RETIRED) gentoo-dev 2002-08-02 09:07:29 UTC
Still no luck with the current 3.1.34-r7 
Comment 14 Doug Goldstein (RETIRED) gentoo-dev 2002-08-08 06:07:32 UTC
Try pcmcia-cs-3.2.0
Comment 15 Michael Brandt 2002-08-10 04:29:58 UTC
still no luck with latest pcmcia-cs 3.2.0, same error plus additional missing  symbol __orinoco_startup    the wavlan_cs module seems not to work with my Lucent Wavelan/IEEE    are there any other options ?? using kernel support instead of pcmcia_cs, or going back to 3.1.x ? <- does somebody have an old ebuild ??  #mb 
Comment 16 Michael Brandt 2002-08-10 04:45:18 UTC
ok, i switched to wvlan_cs as a temp. solution 
 
#mb 
Comment 17 Doug Goldstein (RETIRED) gentoo-dev 2002-08-11 06:31:13 UTC
Send me your .config for your kernel and in the subject or body of the msg 
reference bug 4280 for me
Comment 18 Michael Brandt 2002-08-21 09:41:32 UTC
k guys,

after re-emerging pcmcia-cs is saw the notes at the end of the process, telling 
me to remove all references of the wireless stuff in the kernel...

i was in doubt about that, so i reviewed my kernel config and found an entry of 
the hermes module. i removed the entry, rebuild the kernel and the pcmcia-cs 
package. now, the module orinoco_cs is loading fine.

seems to me my fault, sorry...

#mb 
(who will do RTFM next time)

ps: peter, check ur config