linux - could not insert module after kernel upgrade in VM -


i running win7 host , ubuntu14.04 vm, on virtualbox upgraded vm kernel. thereafter, after compiling kernel module again against new kernel, not able insmoding it.

it gives following error :

vm@vm:~/documents/kerneldev/customsockets$ sudo insmod customsocket.ko insmod: error: not insert module customsocket.ko: invalid module format 

i dont see eror message in dmesg logs.

i make sure compiling module against correct kernel running.

vm@vm:/lib/modules/3.12.59uml$ pwd /lib/modules/3.12.59uml 

makefile compile module:

obj-m += customsocket.o all:         make -c /lib/modules/3.12.59uml/build m=$(pwd) modules clean:     make -c /lib/modules/3.12.59uml/build m=$(pwd) clean 

can pls me out here ?

my bad, compiling against wrong kernel version headers. issue has been resolved.


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -