Hi, santosh pattar wrote: > I am getting a problem when reading a file in kernel space. can any one help me > with this. Why do you want to read a file from kernelspace ? This usually isn't a good idea, and should be avoided. Use a user-space helper that reads the file in user-space, and communicates the information to your kernel-module. Sincerly, Thomas -- Thomas Petazzoni thomas.petazzoni@xxxxxxxx -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/