LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-10-2006, 04:06 PM   #1
yttrium88
Member
 
Registered: Oct 2006
Distribution: Almost Kubuntu 6.10
Posts: 32

Rep: Reputation: 15
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.
 
Old 11-11-2006, 12:47 AM   #2
yttrium88
Member
 
Registered: Oct 2006
Distribution: Almost Kubuntu 6.10
Posts: 32

Original Poster
Rep: Reputation: 15
Also, I have used modprobe on ipw3945, but nothing seems to happend, even with the -v option on.
 
Old 11-12-2006, 12:46 PM   #3
yttrium88
Member
 
Registered: Oct 2006
Distribution: Almost Kubuntu 6.10
Posts: 32

Original Poster
Rep: Reputation: 15
Anyone have an idea?
 
Old 11-12-2006, 03:51 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
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.
 
Old 11-13-2006, 07:53 PM   #5
yttrium88
Member
 
Registered: Oct 2006
Distribution: Almost Kubuntu 6.10
Posts: 32

Original Poster
Rep: Reputation: 15
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?
 
Old 11-13-2006, 07:58 PM   #6
yttrium88
Member
 
Registered: Oct 2006
Distribution: Almost Kubuntu 6.10
Posts: 32

Original Poster
Rep: Reputation: 15
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 #
 
Old 11-14-2006, 03:02 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
The lsmod says it was loaded. As for the errors, sorry can't help.
 
Old 11-15-2006, 12:08 PM   #8
yttrium88
Member
 
Registered: Oct 2006
Distribution: Almost Kubuntu 6.10
Posts: 32

Original Poster
Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can a kernel module call the function of another kernel module sceadu Programming 3 05-02-2011 02:22 AM
[Error] Kernel Module : No kernel module build environment saman007uk Debian 7 09-09-2006 06:34 PM
Kernel module programming Error : module not found coolguy_iiit Programming 1 07-30-2006 07:23 AM
nvidia driver 8762 kernel module mismatch x module openfun Ubuntu 5 06-27-2006 10:02 PM
kernel module ignorant newbie looking for any one with kernel module knowledge cpoet Slackware 4 11-24-2003 09:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration