LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-01-2009, 12:42 PM   #1
j_75080
Member
 
Registered: Aug 2003
Location: Richardson, Texas
Distribution: Fedora/Tiny Core/Android
Posts: 93

Rep: Reputation: 15
rtl8187 driver module load error (Invalid module format)


Hello All,

When I try to load the Realtek 8187 modules to kernel using the ./wlan1up command, I get the following error:

[root@localhost rtl8187_linux_26.1025.0328.2007]# ./wlan1up
insmod: error inserting 'ieee80211_crypt-rtl.ko': -1 File exists
insmod: error inserting 'ieee80211_crypt_wep-rtl.ko': -1 File exists
insmod: error inserting 'ieee80211_crypt_tkip-rtl.ko': -1 File exists
insmod: error inserting 'ieee80211_crypt_ccmp-rtl.ko': -1 File exists
insmod: error inserting 'ieee80211-rtl.ko': -1 Invalid module format
insmod: error inserting 'r8187.ko': -1 Unknown symbol in module

Can someone tell me how to correct the "Invalid module format"? I hope that correcting the "Invalid module format" error, I will not have the "Unknown symbol in module" error.

Note: I am using wlan1 for this module as I previously am online with the wlan0 network. The same error occurs if I use ./wlan0up.

Thanks,
j_75080
 
Old 06-02-2009, 08:48 AM   #2
nilathinesh
Member
 
Registered: Nov 2006
Distribution: Fedora 7 & 9, Ubuntu
Posts: 41

Rep: Reputation: 15
This "Invalid module format" error will come if we use the kernel object compiled using X.XX.X.XX version and that KO is inserted in X.XY.Y.Y version of kernel

so, you ensure that the ieee80211-rtl.ko is compiled using the same kernel version, in which you are inserting the .ko

hope this helps you.
 
Old 07-06-2009, 09:24 PM   #3
j_75080
Member
 
Registered: Aug 2003
Location: Richardson, Texas
Distribution: Fedora/Tiny Core/Android
Posts: 93

Original Poster
Rep: Reputation: 15
I am aware of the kernel version difference problem. The .ko module was inserted into the kernel within a minute or two after the module was compiled by that same kernel version. So, there must be another problem causing this.
 
Old 07-06-2009, 10:37 PM   #4
akiku
Member
 
Registered: Jun 2009
Distribution: Slackware
Posts: 62

Rep: Reputation: 17
Have you tried
Quote:
modprobe -v ieee80211-rtl.ko
It may provide additional info on what is wrong.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
error: -1 Invalid module format when using insmod with module cross-compiled for arm AndrewShanks Linux - Embedded & Single-board computer 4 10-15-2007 04:50 AM
module.ko: make, install & used many times. Suddenly modprobe=invalid module format?? GrapefruiTgirl Linux - General 16 08-04-2007 06:40 AM
spca webcam driver: Invalid module format chatan Linspire/Freespire 1 11-04-2006 12:28 AM
insmod: error inserting 'module.o': -1 Invalid module format ksrinivas Linux - Newbie 5 10-11-2006 08:29 AM
'Invalid module format' loading simple module on Suse Linux Professional 9.1 rocketdude Linux - Distributions 3 07-28-2004 12:40 AM

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

All times are GMT -5. The time now is 08:46 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