public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Kernel-module version mismatch
@ 2001-11-23  7:15 Kashif
  2001-11-23  7:17 ` Robert Love
  0 siblings, 1 reply; 2+ messages in thread
From: Kashif @ 2001-11-23  7:15 UTC (permalink / raw)
  To: linux-kernel


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!



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Kernel-module version mismatch
  2001-11-23  7:15 Kernel-module version mismatch Kashif
@ 2001-11-23  7:17 ` Robert Love
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Love @ 2001-11-23  7:17 UTC (permalink / raw)
  To: Kashif; +Cc: linux-kernel

On Fri, 2001-11-23 at 02:15, Kashif wrote:
>  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.

Not sure what recompiling gcc would achieve ... you need to recompile
this code.o module under your new RedHat kernel.

	Robert Love


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-11-23  7:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-23  7:15 Kernel-module version mismatch Kashif
2001-11-23  7:17 ` Robert Love

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox