* module mismatch
@ 2005-05-20 3:27 zhonglei
2005-05-20 7:09 ` Jan-Benedict Glaw
0 siblings, 1 reply; 2+ messages in thread
From: zhonglei @ 2005-05-20 3:27 UTC (permalink / raw)
To: linux-kernel
when I use "insmod -f hello.o" in my Embeded linux,the warning appears:
Warning: Kernel-module version mismatch
hello.o was compiled for kernel version 2.4.24-per2
while this kernel is version 2.4.25
Warning: loading hello.o will taint the kernel: forced load
see http://www.tux.org/lkml/#export-tainted for information about tainted modules
Is there any problem on my using my module function with this warning?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: module mismatch
2005-05-20 3:27 module mismatch zhonglei
@ 2005-05-20 7:09 ` Jan-Benedict Glaw
0 siblings, 0 replies; 2+ messages in thread
From: Jan-Benedict Glaw @ 2005-05-20 7:09 UTC (permalink / raw)
To: zhonglei; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1285 bytes --]
On Fri, 2005-05-20 11:27:14 +0800, zhonglei <zhonglei@RCS-9000.COM> wrote:
> when I use "insmod -f hello.o" in my Embeded linux,the warning appears:
> Warning: Kernel-module version mismatch
> hello.o was compiled for kernel version 2.4.24-per2
> while this kernel is version 2.4.25
> Warning: loading hello.o will taint the kernel: forced load
> see http://www.tux.org/lkml/#export-tainted for information about tainted modules
>
> Is there any problem on my using my module function with this warning?
Yes, there is. Your running kernel differs from that one which you
compiled the module sources with. Linux' internal interfaces and data
structures change every now and then, which will result in different
offsets, wrong functions called and the like. You'd *always* compile a
module exactly with the same sources, compiler and .config file to match
the kernel to which you want to load the module.
MfG, JBG
--
Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481 _ O _
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O
fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-05-20 7:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-20 3:27 module mismatch zhonglei
2005-05-20 7:09 ` Jan-Benedict Glaw
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome