R: Linux kernel 2.6.11 and external module error

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

 



Does the magic string match your running kernel or are you compiling the module with a different kernel source ball?
 
--
sp0nge

________________________________

Da: kernelnewbies-bounce@xxxxxxxxxxxx per conto di ??????? ???????????
Inviato: ven 03/02/2006 11.30
A: kernelnewbies@xxxxxxxxxxxx
Oggetto: Re: Linux kernel 2.6.11 and external module error



?????? ?????? ???  Fawad Lateef <fawadlateef@xxxxxxxxx>:

> The final module file will be with extension .ko which you have to
> load. The 2.6.x kernel has different build mechanism so the old .o
> file (like in 2.4.x) will not load.
>
> So just try to load ex0.ko file !
>
> --
> Fawad Lateef
>

I also tried to insmod ex0.ko
#insmod ./ex0.ko
insmod: error inserting './ex0.ko': -1 Invalid module format
but this time i do not get a message to /var/log/messages.

I also checked for vermagic
#strings ex0.ko |grep vermagic
vermagic=2.6.11 gcc-4.0



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/




--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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