LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   modules problem (https://www.linuxquestions.org/questions/slackware-14/modules-problem-195736/)

witherspoon_St 06-20-2004 05:10 PM

modules problem
 
Hello All

I am a new user to Slackware 9.1. I run it on a Gateway Solo 2500. It works quite well and I haven't had any problems.

I have the 2.4.22 kernel installed, which I compiled myself.

I am trying to compile and install a module for a wireless networking card, the SMC 2365W.

I got the code for the module from the amdtek website and "made" it, which worked well. What resulted was a file named "8211.o."

I copied this to /lib/modules/2.4.22/kernel/drivers/net.

Then I used "insmod 8211.o," which the instructions from amdtek told me to do. I have also tried "insmod -f 8211.o".

However, I got an error message:

8211.o: init_module: No such device.

(In addition there was something about the kernel being tainted.)

ls_mod does not show that the module has been loaded.

From hunting around these message boards, it seems like others have successfully installed this driver, and I have not seen this specific problem.

I am wondering if this problem is particular to Slackware because init_mod is not behaving like the driver expects it to, or is looking in the wrong location, or something?

Also, I have a question. If I use "insmod" to load this up now, don't I have to recompile the kernel in order to get it to load up next time I start up? Aren't there module dependencies or some other configurating I have to do make this a full part of the system?

I appreciate your time and effort.

Please feel free to refer to me to another forum if this is not the right place for this.

-WS

xdan779 06-20-2004 06:56 PM

Ok it sounds like the card you have is a pcmcia based smc2635w. The reason you are getting no such device is because your pcmcia drivers aren't loaded, so there is no way for it to be recognized by the kernel or insmo. Not sure if all you'll have to do is load the pcmcia drivers with modprobe, check what smc has to say about it at http://www.smc.com/index.cfm?sec=Sup...e_id=52&site=c
good luck sincerely, Dan

witherspoon_St 06-20-2004 09:53 PM

Still not working. . .
 
Thanks for the excellent tip, but, unfortunately, I still can't get this to work. I checked the smc site you suggested and tried to follow the instructions. However, I think that the card they refer to there is different from the one I have.

I know that my card slots are working because I have a modem in one of them and it works just fine--so the pcmcia drivers are working ok.

It does seem clear that I have to put something in that file there.

Thanks for your help again.


-WS


All times are GMT -5. The time now is 01:06 AM.