On Fri, 2006-07-07 at 13:35 -0700, mayank rana wrote: > hi > I am trying simple kernel module program 'HELLO WORLD'. for 2.6.5-EL > kernel. > It compiled successfully but when i am trying to insmod it is giving > error like > -1 invalid module format. > I also try to see output using modinfo but it is not showing > anything....... > Please help me out how to overcome this error. > Thnx Hi, you probably are using a broken makefile (see the RHEL4 release notes for a correct makefile) and remember that you need to use the .ko ... Greetings, Arjan van de Ven > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/