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
- References:
- module mismatch
- From: "zhonglei" <[email protected]>
- module mismatch
- Prev by Date: Re: [PATCH] Add sysfs support for the IPMI device interface
- Next by Date: Re: [PATCH] kernel <linux-2.6.11.10> kernel/sched.c
- Previous by thread: module mismatch
- Next by thread: [PATCH 2.4] random poolsize sysctl fix
- Index(es):