problems installing kernel modules on new version
I'm new to Linux but have been thrown in at the deep end - working on kernel modules. I was working with the 2.4.20 kernel using Knoppix (which I installed on my hard drive as it usually just a bootable cd). Then I attempted to upgrade to 2.4.22. Compiling went ok and I was able to get it up and running but when I attempt to recompile my code that I was working on ( an extension to the hid kernel module) it compiles ok but when I attempt to insmod the module it says that it was compiled for the old version of the kernel (2.4.20). I followed the help in linuxfromscratch.org/view/cvs/chapter06/kernel.html[/url] for setting up the include headers but something isn't right. Could someone please help me out as I'm stuck doing nothing until I can solve this problem.