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 02-22-2010, 05:58 AM   #1
shayori
LQ Newbie
 
Registered: Feb 2010
Posts: 10

Rep: Reputation: 0
What is the error "invalid module format" and "insert kernel module"?


What is the error "invalid module format" and the message "insert kernel module" mean? And whats the reason for the same?
 
Old 02-22-2010, 06:11 AM   #2
irmin
Member
 
Registered: Jan 2010
Location: the universe
Distribution: Slackware (modified), Slackware64 (modified), openSuSE (modified)
Posts: 342

Rep: Reputation: 62
"invalid module format" means that the module you want to load is not a valid kernel module (usually they have file extension .ko).

"insert kernel module" this means to load a kernel module (mostly driver).

Where do you get these errors from?
 
1 members found this post helpful.
Old 02-22-2010, 10:55 PM   #3
shayori
LQ Newbie
 
Registered: Feb 2010
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks irmin

Thanks irmin

I am actually compiling kernel 2.6.32 and trying to understand what happens at each step.If anybody knows any single document which explains the same then please help.

Thanks
 
Old 02-22-2010, 11:03 PM   #4
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
There are several ways to compile a kernel, depending on which distro you use. If you'll list your distro that would help us give you a better answer.
 
Old 02-23-2010, 02:19 AM   #5
shayori
LQ Newbie
 
Registered: Feb 2010
Posts: 10

Original Poster
Rep: Reputation: 0
I am using suse10sp2

I am using suse10sp2 and trying to compile 2.6.32 kernel
 
Old 02-23-2010, 02:33 AM   #6
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
In which regards the Linux kernel, you could start researching on "Linux kernel in a nutshell", a book from O'Reilly.

http://www.kroah.com/lkn/
 
Old 02-23-2010, 02:57 AM   #7
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,174
Blog Entries: 1

Rep: Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040
You can also read this about LKM (Loadable Kernel Modules)

Regards
 
Old 02-23-2010, 11:55 AM   #8
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Quote:
Originally Posted by shayori View Post
I am using suse10sp2 and trying to compile 2.6.32 kernel
In that case, try this tutorial:

http://www.howtoforge.com/kernel_compilation_suse
 
Old 02-25-2010, 03:48 AM   #9
shayori
LQ Newbie
 
Registered: Feb 2010
Posts: 10

Original Poster
Rep: Reputation: 0
Thank you all
 
  


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
"Invalid module format" after recompiling kernel without changing .config - why? kovlensky Linux - Kernel 5 09-10-2008 12:42 PM
Cisco VPN Client on FC6 2.6.20 "invalid module format" rrautens Fedora 16 06-07-2007 09:21 PM
Realtek 8180 ,Debian, "Invalid module format" medo Linux - Wireless Networking 0 05-25-2005 07:08 AM
"Invalid module format" after FULL kernel recompile RedDwarf Linux - General 6 08-07-2004 07:46 PM
"Invalid module format" when I try to install my ATI drivers freddurgan Linux - Newbie 2 05-21-2004 10:49 PM

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

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