LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 09-01-2005, 04:33 PM   #1
ulb
LQ Newbie
 
Registered: Sep 2004
Location: Brussels
Distribution: Mandrake
Posts: 14

Rep: Reputation: 0
[resolved] trying to load madwifi module


Hi, I compiled the madwifi module, made install then I tried to add the module (modprobe ath_pci) As result i had FATAL cannot find ath_pci module.

I tried depmod -a, didn't work. I tried to edit /etc/modules.conf to force depmod to go in /lib/modules/2.6xxxxxcustom/net, didn't work. The modules are not in modules.def. Also tried depmod with -b option but it add the supposed good dir to the string given.

The modules are in /lib/modules/2.6xxxxxcustom/net with a *.ko extension.

What can I do to load this module?

Last edited by ulb; 09-01-2005 at 06:47 PM.
 
Old 09-01-2005, 05:25 PM   #2
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Blog Entries: 1

Rep: Reputation: 30
I know the answer to this question

I bet you are using Mandrake 10.1 right?

If you where able to compile the madwifi, that's good, but there is something else to do.

Go in the /usr/src folder, and look for the kernel sources that must be installed somewhere in there... There will be a Makefile in the kernel folder, open this makefile... In it, there will be written the version details of the kernel. (amoung the first lines)

Make sure it matches yours... In order for me to make my modules work, I had to backspace the "custom" word in the version. For SMP kernel users, you need to replace "custom" with "smp"...

The kernel source version number must match your current. Mandrake adds "custom" to the version number when you install the kernel sources. You must remove "custom" and make the version match.


Then, go in your madwifi folder, "make clean", "./configure" if nessessary, then "make" and "make install"... Afterwards, all you need to do is "modprobe ath_pci"
 
Old 09-01-2005, 06:47 PM   #3
ulb
LQ Newbie
 
Registered: Sep 2004
Location: Brussels
Distribution: Mandrake
Posts: 14

Original Poster
Rep: Reputation: 0
thks for your answer, i actually found the solution here: http://www.linuxforums.org/forum/post-273778.html.

Detailled procedure, specific to mandriva users. In fact, mandriva uses non standard directories. Problem comes from location of the modules in ***custom dir. Read the link, and it's a go ;-)
 
Old 09-01-2005, 07:03 PM   #4
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Blog Entries: 1

Rep: Reputation: 30
I see. so you just copied it over?

When I did that, I had a unresolved symbol problem until I went in the MakeFile

Glad it worked for you
 
Old 09-01-2005, 07:16 PM   #5
ulb
LQ Newbie
 
Registered: Sep 2004
Location: Brussels
Distribution: Mandrake
Posts: 14

Original Poster
Rep: Reputation: 0
I had already installed the source, make and make install madwifi so I just copied the modules in the go(o)d directory and updated the conf file, then modprobe worked
 
Old 09-02-2005, 12:12 PM   #6
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Blog Entries: 1

Rep: Reputation: 30
cool

I don't know how come it didn't work for me the first time... Now I'm not even using Mandrake I use Fedora... It works fine in Fedora too.
 
  


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
Madwifi & ath_pci module trouble. Jorek Linux - Newbie 0 09-19-2005 10:36 AM
regarding kernel-module-madwifi pranith Linux - Software 0 01-28-2005 08:53 PM
Module Auto-Load: module.conf tricks? m_e_perry Linux - Newbie 3 10-07-2004 05:45 PM
module cant load Ryan450 Linux - Software 2 08-12-2004 11:31 PM
Need help getting module to load mitchmiller Linux - Hardware 1 05-16-2004 07:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

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

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