> > The command that i used to compile the module was: > > ---snip--- > gcc -Wall -DMODULE -D__KERNEL__ -DLINUX -c mod.c > -I/lib/modules/`uname -r`/build/include/ > ---snap--- Try using -O2 while compiling. It should solve your problem..... -- Regards, Saifuddin, saif@odysseytec.com. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/