LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-19-2005, 08:41 PM   #1
slinky2004
Member
 
Registered: Oct 2004
Posts: 309

Rep: Reputation: 30
module problems after recompile


often times after i recompile my kernel, i get wierd messages about my modules at startup or when i try to modprobe them. this time, i dont see anything at startup, but i've just recompiled my wifi card's drivers and some ieee80211 stuff and when i try to modprobe the driver: "modprobe ipw2200", i get this:
Code:
WARNING: Error inserting ieee80211_crypt (/lib/modules/2.6.10/net/ieee80211/ieee80211_crypt.ko): Invalid module format
WARNING: Error inserting ieee80211 (/lib/modules/2.6.10/net/ieee80211/ieee80211.ko): Invalid module format
FATAL: Error inserting ipw2200 (/lib/modules/2.6.10/kernel/drivers/net/wireless/ipw2200.ko): Invalid module format
i have no idea what this means or what's causing it. can anybody help me out? i usually just fix it by recompiling or reinstalling linux, but i'd like to know why it happens.
 
Old 10-20-2005, 12:08 AM   #2
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 57
Modules are compiled for specific kernels. If you've recompiled your kernel and changed stuff in there, you need to recompile the ipw2200 modules as well otherwise you'll keep getting these errors when you try to load them.
 
Old 10-20-2005, 11:36 AM   #3
slinky2004
Member
 
Registered: Oct 2004
Posts: 309

Original Poster
Rep: Reputation: 30
i did tho, i recompiled and reinstalled the drivers.
 
Old 10-25-2005, 10:59 AM   #4
moeFEAR
Member
 
Registered: Sep 2005
Posts: 49

Rep: Reputation: 15
in this case, you shouldn't just recompile the ipw2200 drivers, u should also recompile the ieee80211 subsystem from ieee80211.sf.net ... if you get errors compiling it, the following might help:

----- taken from somewhere else ------

Okay,

the reason ieee80211 is failing to compile is either because the kernel version is prior 2.6.8, or most probably, gcc is using the wrong ieee80211.h file...

go to /usr/src/linux/include/net/
remove all files beginning with "ieee" and "original-ieee"

now ieee80211 and ipw2200 should compile correctly. dont forget to copy the firmware.

IMPORTANT: make sure u have the latest of all 3 packages:

ieee80211-1.1.6
ipw2200-1.0.8
ipw2200-fw-2.4

IMPORTANT: check for any related patches on the websites (ieee80211.sf.net, ipw2200.sf.net)

hope this solves ur problems!!

-------------------------------------------------
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Module issues after recompile Glock Shooter Linux - General 1 03-07-2005 05:48 PM
not recompile kernel, but 1 module -possible? deNiro Debian 4 01-31-2005 04:48 PM
Kernel / module recompile for 5.1 ? how ? Wynand1 Linux - Newbie 6 03-09-2004 02:33 AM
How to remove module from kernel without recompile? Stoic Linux - Software 10 09-23-2003 07:17 PM
recompile module taoweijia Linux - Newbie 1 09-22-2003 12:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:13 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration