I guess your include/linux/version.h needs to be recreated. If you don't want to recompile your kernel, just add the '-k6' to UTS_RELEASE. But I'm not sure if you won't have problems of wrong function signatures when loading your module.
Luciano Stertz
Danett song wrote:
Hi Jim,
Thkz a lot for your fast reply! ;)
I already added the "-k6" to my EXTRAVERSION but it doesn't work. Should i re-compile my kernel to it work ??
Does't exist a way to fix it without recompile the kernel ?? I really doesn't want to recompile my kernel :(
Regards;
--- Jim Bauer <jfbauer@xxxxxxx> escreveu:
On Tuesday 10 August 2004 19:38, Danett song wrote:
I have a kernel compiled by my linux distro. I use 2.4.18, and my distro provide a build optimized
for K6
processors called 2.4.18-K6 (with a belive that
only
add K6 to EXTRAVERSION). So the kernel is the
same. :)
I compile my LKM well, but when i try insmod
test.o: kernel-module version mismatch test.o was compiled for kernel version
2.4.18
while this kernel is version 2.4.18-k6.
Ok, i know that i can force with "insmod -f", but
i
want a solution, not a workarround. For example if
i
add it to /etc/modules it will not load at boot startup! :(
Make the kernel version the same. i.e. add -k6 to EXTRAVERSION in the Makefile for your tree so it'll match what you are currently running.
_______________________________________________________ Yahoo! Acesso Grátis - navegue de graça com conexão de qualidade! Acesse: http://br.acesso.yahoo.com/
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/
-- Luciano A. Stertz luciano@xxxxxxxxxxxx T&T Engenheiros Associados Ltda http://www.tteng.com.br Fone/Fax (51) 3224 8425
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/