Easy way to get rid of version mismatch problem is to use -f option for insmod, see the man page. If you have compiled the module and booted on 2.2.16-22smp kernel, then problem is because /usr/include/linux/version.h header file refers to 2.4.0-0.26smp (means you have different header files). Regards, Madhu On 23 Jan 2003, Iqbal wrote: > Hi, > > I think, you have linked and compiled(included) with the different > kernel headers rather linking with the kernel which you r loading the > driver module. > > Check, whether proper kernel getting linked to your driver module? > > iqbal > > On Tue, 2003-01-21 at 07:03, radha anu wrote: > > > > Character Device Driver > > > > I had written the code for Kernel version 2.2.16-22smp.two modules we have written init module and close moduleWe have compiled and got the object code.When we are trying to insert the module using insmod we are getting the > > > > warning: kernel-module version mismatch > > x.o was compiled for kernel version 2.4.0-0.26smp while this kernel is version 2.2.16-22smp. > > > > How to take care of this smp system for version problem.what code i have to write . > > > > > > > > --------------------------------- > > Do you Yahoo!? > > Yahoo! Mail Plus - Powerful. Affordable. Sign up now > > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/