Re: module mismatch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2005-05-20 11:27:14 +0800, zhonglei <[email protected]> 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       [email protected]    . +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: signature.asc
Description: Digital signature


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux