i tried writing modules on my system.i am follwing allessandro rubini book.i have written a simple hello world module and tried to insert it.but i got errors like.
this module is written for kernel 2.4.9
but the current kernel is 2.4.18
then i checked the header files and found that indeed some header are using 2.4.9 as the kernel.then i tried to manually modify them and thried to compile the module again but still no luck.