LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Moving a module from updates/ to kernel/ (https://www.linuxquestions.org/questions/linux-newbie-8/moving-a-module-from-updates-to-kernel-500431/)

yttrium88 11-10-2006 04:06 PM

Moving a module from updates/ to kernel/
 
Here's the deal, I think I have the ipw3945 driver installed on my computer, but I think it is in the wrong place. I am running SuSE 10.1 with an OS: Linux 2.6.16.13-4-smp i686

The reason I think it is in the wrong place is best explained by the following terminal jibberish:
Code:

nathan@ollie:~> su
Password:
ollie:/home/nathan # modprobe -l | grep ipw
/lib/modules/2.6.16.13-4-smp/updates/ipw3945.ko
/lib/modules/2.6.16.13-4-smp/kernel/drivers/usb/serial/ipw.ko
/lib/modules/2.6.16.13-4-smp/kernel/drivers/net/wireless/ipw2200.ko
/lib/modules/2.6.16.13-4-smp/kernel/drivers/net/wireless/ipw2100.ko
ollie:/home/nathan #

It seems to me like this ipw3945.ko file is in the wrong place. It's like that old sesame street game "Which one of these is not like the others?". All the other ipw*.ko files are in the */kernel/drives/ directory while the one that I actually want, ipw3945, is in a different (prolly wrong) place.

I was just going to copy this file by hand from it's current directory to the 'right' one, but thought better of it. Can anyone tell me if I am right in assuming I have to move this file and if so how to proceed?

Thanks for any help.

yttrium88 11-11-2006 12:47 AM

Also, I have used modprobe on ipw3945, but nothing seems to happend, even with the -v option on.

yttrium88 11-12-2006 12:46 PM

Anyone have an idea?

syg00 11-12-2006 03:51 PM

Did it actually do anything ??? - "lsmod | grep -i ipw"
Maybe try insmod.

As to your initial question, I have that module at ../kernel/drivers/net/wireless/ipw3945/ipw3945.ko
(Note, Ubuntu)
Personally I have no issue copying modules around - e.g. the ATI drivers (different machine) get lost occasionally.

yttrium88 11-13-2006 07:53 PM

This is all I got when I did "lsmod | grep ipw":
Code:

ollie:/home/nathan # lsmod|grep  ipw
ipw3945              173600  0
ieee80211              32968  1 ipw3945
firmware_class        13952  1 ipw3945

I also copied the ipw3945 file to the same directory as the others, what should I do after that to make the kernel recognize it?

yttrium88 11-13-2006 07:58 PM

So I think I may have some more info here cause I tried dmesg right after doing a modprobe on ipw3945:
Code:

dmesg|grep ipw
ipw3945: module not supported by Novell, setting U taint flag.
ipw3945: Intel(R) PRO/Wireless 3945 Network Connection driver for Linux, 0.0.73d
ipw3945: Copyright(c) 2003-2006 Intel Corporation
ipw3945: Detected Intel PRO/Wireless 3945ABG Network Connection
ipw3945: ipw3945.ucode load failed: Reason -2
ipw3945: Could not read microcode: -2
ipw3945: probe of 0000:0b:00.0 failed with error -2
ipw3945: Detected Intel PRO/Wireless 3945ABG Network Connection
ipw3945: ipw3945.ucode load failed: Reason -2
ipw3945: Could not read microcode: -2
ipw3945: probe of 0000:0b:00.0 failed with error -2
ollie:/home/nathan #


syg00 11-14-2006 03:02 AM

The lsmod says it was loaded. As for the errors, sorry can't help.

yttrium88 11-15-2006 12:08 PM

Ok, so it turns out that I didn't the the propietary ucode files or whatever, so I installed those, and suddenly the light for my wireless card started flashing like a wireless card gone crazy. I did iwconfig and it is now showing up. When I use KWifi manager to try to connect to my local network, it says that the WEP is wrong, so it aborts. This is a little confusing, but at least I'm a lot closer than I have ever been.


All times are GMT -5. The time now is 04:23 PM.