This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

hplibmod.ko can not be insmoded to kernel

Hi,

I get kernel from MCSDK: mcsdk_linux_3_00_03_15;

In the kernel I find module: /lib/modules/3.10.10/extra/hplibmod.ko,

I need to insmod hplibmod.ko to kernel, but find following error:

hplibmod: disagrees about version of symbol module_layout

Error: could not insert module hplibmod.ko: Invalid module format

I understand the module is compiled with same version as kernel (since there are in the same SDK packet), why there is version verification error? How can I insmod hplibmod.ko without re-comliling module and kernel?

I get module and kernel information:

root@keystone-evm:/lib/modules/3.10.10/extra# modinfo hplibmod.ko
filename:       /lib/modules/3.10.10/extra/hplibmod.ko
license:        GPL v2
description:    TI HPLIB kernel module.
author:         Texas Instruments Incorporated
depends:
vermagic:       3.10.10 SMP mod_unload modversions ARMv7 rt-patch
parm:           memSize:Size of DMA coherent memory to be allocated (uint)


root@keystone-evm:/lib/modules/3.10.10/extra# uname -r
3.10.10

I try modprobe -f hplibmod.ko, it does not work either. 

Thank you very much!