"e1000.ko: -1 Invalid module format"

 

Like Wenhua mentioned, generally you got this error either when kernel
and module compiled with the different versions of gcc or when you
compiled the module using different header files than your running
kernel.  As you already pointed out that you are using the same compiler
version for compiling both the running kernel and the module so the only
thing that looks suspicious in your case is second. Please make sure
that while doing the insmod, you are running the same kernel that you
used to compile your module.   

 

-- 

Regards,

Gaurav Aggarwal

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sendhilraj T
Sent: Thursday, August 16, 2007 2:22 PM
To: [email protected]
Subject: Re: e1000.ko: -1 Invalid module format

 


Hi 

the kernel and the module are compiled using the same version of  gcc. 

what do you mean by 
the kernel header files used to compile the
module does not match the running kernel 

Senthil

Reply via email to