Most probably, you are compiling the modules with a version other than the running kernel version.hello everybody,
i have compiled succesfully the hello world!! sample module. But when i try to insert it into the kernel, using insmod the following message is displayed.
" hello: disagrees about the version of symbol struct_module insmod: error inserting 'hello.ko' : -1 invalid module format "
Please follow the procedure for compiling kernel modules for 2.6 as given in lwn.net (http://lwn.net/Articles/21823/)
Regards, Om.
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/