Jump to content

Another Wireless issue -(read the FAQ and other posts)


frosterrj
 Share

Recommended Posts

OK, I got your thinking and looked at my /usr/src tree. The correct way was

linux-2.4.21-0.18mdk - that was actually the name of the folder with include for my running kernel. did make with no errors! COOL!

 

Now that I have the module, my steps are (?):

1)remove my Xircom

2) hope I dont get a crash!

3) insert Dlink

4) modprobe 8211.o or insmod 8211.o (I would like it to always be there)

5) cardctl ident to get manfid

6) edit /etc/pcmcia/config put in manfid and bind module =8211.0

7) reboot/hope/pray

8) configure the wep etc

 

Is this a plan? if I can get manfid numbers?

 

Thanks,

R

Link to comment
Share on other sites

hold my horses. Spoke too soon. The previous kernel version error came back to bite me as I do modprobe or insmod:

 

[root@172 ADM8211]# modprobe 8211.o

modprobe: Can't locate module 8211.o

[root@172 ADM8211]# insmod 8211.o

8211.o: kernel-module version mismatch

8211.o was compiled for kernel version 2.4.21-0.18mdkcustom

while this kernel is version 2.4.21-0.18mdk.

Link to comment
Share on other sites

Ok, the best way to do it is after you have done make, do this:

 

cp *.o /lib/modules/2.4.21-0.18mdk/kernel/drivers/net/pcmcia/

 

or else you'll get "Unresolved symbols" when you try to modprobe it. The rest of your steps look good. If you want the module to load on it's own, you need to open /etc/modules.conf and add

 

alias eth0 8211

 

that is, if eth0 is the device that the card is. :)

Link to comment
Share on other sites

Ok, first try

 

depmod -a && modprobe 8211

 

If that still gives you the wrong kernel version error, then try this:

 

urpme kernel-source

urpmi kernel-source

 

(make sure it's the same kernel source that you get when you do uname -r)

Then try

 

make clean && make

 

and then go from there. If you get the wrong kernel version error after that, we'll work on it.

Link to comment
Share on other sites

well I checked urpmi yesterday and, in general, my urpmi is hosed. Only one kernel came up yesterday, and it was .25mdk - and 154MB!! And that even errored on trying to download - first bad sigs, (answer yes anyway) then corrupt file error.

 

I'll try the depmod and see what happens.

 

R

Link to comment
Share on other sites

well, tried something else. There was a '2.4.21-0.18mdk' in the lilo boot screen (the one I usually use is 'linux' at the top of the list), so I booted into it, then dep mod && modprobe 8211, got a kernel source mismatch again! this time it said the module was compiled against the .18mdkcustom kernel!!! The one it didnt like when I was booted into that one....

 

So, make clean && make. Cleanly made; modprobe - kernel mismatch as above.

 

What have I hosed? In lilo.conf there is no 'mdkcustom' entry so where is this coming from?

 

I'm sure glad the Xircom works with linux. Get this: it doesnt under Winblows! Go figure.....

 

 

Its beginning to look like I'm off to do some kernel installing....What will running a kernel-source rpm do?

 

R

Link to comment
Share on other sites

I happened to have the kernel-source.rpm on another machine, so I moved it over, did the rpm Uvh, but got a "source already installed" message.

 

doing modprobe 8211 just gives me:

root@172 Desktop]# modprobe 8211

/lib/modules/2.4.21-0.18mdk/kernel/drivers/net/pcmcia/8211.o: kernel-module version mismatch

/lib/modules/2.4.21-0.18mdk/kernel/drivers/net/pcmcia/8211.o was compiled for kernel version 2.4.21-0.18mdkcustom

while this kernel is version 2.4.21-0.18mdk.

modprobe: insmod /lib/modules/2.4.21-0.18mdk/kernel/drivers/net/pcmcia/8211.o failed

modprobe: insmod 8211 failed

 

not sure what to do.....

Link to comment
Share on other sites

Steve,

I got the newest mdk kernel and source and installed both, rebooted into the new kernel. I seem to have installed the 8211 module ok, as I get no errors after the make.

root@172 ADM8211]# make

gcc -D__KERNEL__ -DMODULE -Wall -Wstrict-prototypes -O2 -I/usr/src/linux-2.4.21-0.25mdk/include -fomit-frame-pointer -fno-strict-aliasing -Wno-trigraphs -fno-common -pipe -mpreferred-stack-boundary=2 -march=i386 -c adm8211.c

ld -r adm8211.o ADM_Prv.o -o 8211.o

 

However, I dont seem to be able to get the module found at all now (the Dlink is not in the machine when I do the modprobe.)

 

I have made clean , done the depmod -a && make, and the cp *.o /lib/modules...

 

[root@172 ADM8211]# insmod 8211.o

Warning: loading 8211.o will taint the kernel: non-GPL license - Proprietary

See http://www.tux.org/lkml/#export-tainted for information about tainted modules

8211.o: init_module: No such device

Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.

You may find more information in syslog or the output from dmesg

[root@172 ADM8211]# depmod -a

depmod: *** Unresolved symbols in /lib/modules/2.4.21-0.25mdk/kernel/drivers/net/pcmcia/8211.o

depmod: *** Unresolved symbols in /lib/modules/2.4.21-0.25mdk/kernel/drivers/net/pcmcia/adm8211.o

 

What was the issue with unresolved symbols??

 

Robert

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...