Kernel-module version mismatch

Kashif (kashif@and-or.com)
Fri, 23 Nov 2001 12:15:58 +0500


Hi Everybody,
I have recently upgraded from Redhat Linux 7.1 kernel
version 2.4.2 to 2.4.10. I am trying to insert a
driver module "code.o" (which was perfectly fine in the previous kernel)into
the new Kernel. But on insmod i get
an error:-

"kernel-module version mismatch. code.o was compiled
for kernel version 2.4.2-2 while this kernel is
version 2.4.10"

Although i am able to insert the driver module with
the -f(force) switch. But this results in a faulty
operation of the driver module. Rather i get an OOps message
I have tried recompiling the source of gcc in this new kernel but
that has also not solved this problem. Help will be
appreciated! Thank you.

Kashif!

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/