Re: e1000.ko: -1 Invalid module format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Look for the architecture types for the kernel and kernel-devel packages. Most likely they would be different, e.g. i386 for kernel and i586 for kernel-devel or something. Did you install kernel-devel separately or did it come with the default installation? Most likely if you use yum to install kernel-devel, as I have seen on FC5, it installs an incorrect version of kernel-devel package.

Regards,

Dinesh

Gaurav Aggarwal wrote:
“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:* kernelnewbies-bounce@xxxxxxxxxxxx [mailto:kernelnewbies-bounce@xxxxxxxxxxxx] *On Behalf Of *Sendhilraj T
*Sent:* Thursday, August 16, 2007 2:22 PM
*To:* kernelnewbies@xxxxxxxxxxxx
*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




--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux