insmod error: hello_1: disagrees about version of symbol struct_module

Submitted by jjyoung
on January 22, 2005 - 2:45pm

I created a very basic module called hello_1 to test the building of modules. I built the module successfully, but when I try to load it with insmod it fails to load. The dmesg output was "hello_1: disagrees about version of symbol struct_module".

Anybody know what this means and how I can correct it?

wrong kernel...

Anonymous (not verified)
on
January 22, 2005 - 3:06pm

seems like you build your module with a "wrong" kernel (means, the kernel you're using differs from that you've compiled the module)...

Re:insmod error: hello_1: disagrees about version of symbol stru

on
January 24, 2005 - 7:59am

Well, I rebuild the kernel and tried loading it. When I attempt to boot with it all my pre-existings modules get the same error and the Kernel panics.

Re:insmod error: hello_1: disagrees about version of symbol stru

Santosh Singh (not verified)
on
June 18, 2006 - 9:27pm

Hi JJyoung,

Did you get any solution for this. I am facing the same problem.

Thanks & Regards
santosh

disagrees about version of symbol struct_module

RAMnAG (not verified)
on
April 25, 2007 - 11:28pm

i am also having same problem does anybody knows the solution.

did you not install the newly

Anonymous (not verified)
on
June 19, 2006 - 4:50am

did you not install the newly built modules for your kernel ?

cd /usr/src/linux
make modules_install

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.