Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 9th July 2006, 04:35 AM
MarkE Offline
Registered User
 
Join Date: Feb 2006
Location: Zimbabwe
Posts: 94
Thumbs down Modprobe: "Invalid module format" errors -- the woes of 3rd-party modules

On multiple occasions, when trying to install third-party modules for Fedora Linux (such as asterisk/zaptel modules (www.asterisk.org) and an issue I am now having with a Linuxant compilable HSF modem driver (www.linuxant.org)), I can't install the module with modprobe because Fedora Core 5 complains:
Code:
FATAL/WARNING: Error inserting <modulename> (/lib/modules/2.6.17-1.2139_FC5/<rest_of_modulepath...>): Invalid module format
I believe this has something to do with the difference between the kernel version being registered as 2.6.17-1.2139_FC5 as opposed to 2.6.17. I had to recompile the kernel for asterisk to work, and that program had an issue that I believe required me to change the version stored in /usr/src/redhat/SOURCES/linux-2.6.17/include/linux/version.h from 2.6.17 to the longer string. This also got the installation of the Linuxant modem driver installation to compile its modules and work more smoothly, but still the complaints come when inserting the module. Also, with asterisk, although changing the version number got its install script to run successfully, when I tried to insert the Zaptel modules, the same thing happens -- invalid module format.

The file version.h in the kernel source is actually created after the make process is done (regardless of when you do make install). Therefore, the issue of the programs whose install scripts have to check the kernel source to get the version number seems to be fixable, but as for the system's active kernel itself, running uname -r ALWAYS gives me 2.6.17-1.2139_FC5.

If I have to use a compiled kernel, how do I get around this issue of the kernel rejecting "Invalid module format"s?

Help is appreciated.

Last edited by MarkE; 9th July 2006 at 04:38 AM.
Reply With Quote
  #2  
Old 16th July 2006, 06:37 PM
MarkE Offline
Registered User
 
Join Date: Feb 2006
Location: Zimbabwe
Posts: 94
Problem solved -- I didn't have the latest kernel version installed, I found that I might not be booting up from the right one in /etc/grub.conf so I fixed that, and I have to install the kernel source using the kernel-devel package (not decompressing the kernel-src rpm from the fedora sources directory) because that decompresses it more smoothly and sets up the right symlinks in /lib/modules/.../build, etc. Now the modules compile successfully :-) and I can install my Linuxant HSF modem driver and asterisk and zaptel (no more complaints), and I can run asterisk and it uses OSS/dsp (the speakers) so this is a happy ending for this thread but now I can't get asterisk to recognize the modem as a channel because I don't know how to configure it right so someone please help me and this sentence is getting so long and run-on.
Reply With Quote
Reply

Tags
3rdparty, errors, invalid module format, modprobe, modules, woes

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"insmod: -1 Invalid module format "error! girish_rvd Using Fedora 1 2nd February 2009 03:29 PM
modprobe and invalid module format Walzing Using Fedora 1 21st November 2006 05:29 PM
Can't install some modules because modprobe gives "Invalid module format" errors MarkE Using Fedora 3 9th July 2006 06:25 PM
FC3:Hello module program gives "invalid module format" david_tuckar Programming & Packaging 3 17th January 2006 05:50 AM


Current GMT-time: 08:50 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat