Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

insmod fails because off unknown symbol in the module

When I do an insmod of Kernel object.It fails because of some unknown symbols in that module.

But for some reasons, Its not showing me the symbols (which it says as unknown).

Anyways to find that ? Please advise.

like image 613
Vivek Maran Avatar asked Nov 14 '22 06:11

Vivek Maran


1 Answers

That can happen when your linux kernel and your modules have a mismatch. Cases like you are doing an insmod into a different kernel version than the one which you created the module for.

Make sure you are running the kernel version upon which your module is created. I assume you have used the wrong version of kernel headers. Try changing that.

like image 89
preetam Avatar answered Dec 21 '22 05:12

preetam