hi, Thanx for replying .. I could'nt get past the errors caused due to the proc_register and proc_unregister. The warnings during the compilation are: -----snip------ # gcc -D__KERNEL__ -DMODULE -DLINUX -Wall -I/usr/src/linux/include -O2 -c procfs.c In file included from /usr/src/linux/include/linux/fs.h:19, from /usr/src/linux/include/linux/capability.h:17, from /usr/src/linux/include/linux/binfmts.h:5, from /usr/src/linux/include/linux/sched.h:9, from /usr/src/linux/include/linux/mm.h:4, from /usr/src/linux/include/linux/slab.h:14, from /usr/src/linux/include/linux/proc_fs.h:5, from procfs.c:15: /usr/src/linux/include/linux/dcache.h: In function `dget': /usr/src/linux/include/linux/dcache.h:244: warning: implicit declaration of function `printk_Rsmp_1b7d4074' procfs.c: In function `module_output': procfs.c:56: warning: implicit declaration of function `sprintf_Rsmp_3c2c5af5' procfs.c: In function `init_module': procfs.c:156: warning: implicit declaration of function `proc_register_dynamic' procfs.c: In function `cleanup_module': procfs.c:162: warning: implicit declaration of function `proc_unregister' procfs.c: At top level: procfs.c:122: warning: `File_Ops_4_Our_Proc_File' defined but not used # -----snip------ the file_operations and inode_operations struct are: ----snip---- static struct file_operations File_Ops_4_Our_Proc_File = { read:module_output, write:module_input, open:module_open, release:module_close, }; static struct inode_operations Inode_Ops_4_Our_Proc_File = { static struct file_operations File_Ops_4_Our_Proc_File = { read:module_output, write:module_input, open:module_open, release:module_close, }; static struct inode_operations Inode_Ops_4_Our_Proc_File = { //&File_Ops_4_Our_Proc_File, permission:module_permission }; ----snip---- The commenting out of &File_Ops_4_Our_Proc_File is causing the warning on line 122 in compilation. The same problem remains : I am not able to load the module. I am not able to find any extern declarations in the files that have used proc_register() & proc_unregister(). Thanx for the Linux Cross-Reference link. That was really useful to go thru the source code instead of grep. TIA karthik __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/