AnsweredAssumed Answered

Linux: kernel vermagic not corresponding

Question asked by Paolo Miroglio on Mar 27, 2013
Latest reply on Apr 4, 2013 by Paolo Miroglio

Dear Sirs,

i tried to compile a customized kernel module for the BSP, but there is something strange: when i try to load module with insmod it says "invalid module format".

I discovered that if i run from arm command 'uname -r' version is as following:

3.0.35-2026-geaaf30e

but if i check on the /lib/modules/ folder ltib generated

3.0.35-2310-gc27cb38

how it is possible? I'm building the module using the properly environment variables and the kernel source used is ./ltib/rpm/BUILD/linux-3.0.35/ so i cannot figure out how it can be...problem is also verified when i try command as following:

 

root@freescale /lib/modules$ modinfo mymodule.ko

modinfo: can't open '/lib/modules/3.0.35-2026-geaaf30e/modules.dep': No such file or directory

 

If any idea please let me know, thanks for support!

 

Best Regards

Miroglio Paolo

 

 

 


Outcomes