Hi, You added 2 functions alloc_inode and new_inode from /usr/src/linux/fs/inode.c to /usr/src/linux/fs/ramfs . You add alloc_inode because new_inode requires it ok. but why you want to do that as i think already new_inode in /usr/src/linux/fs/ramfs/inode.c calling its function definition from /usr/src/linux/fs/inode.c so you can directly recompile kernel with ramfs support(which is default in 2.6.14.3) and insert module. regards, Parag. On 12/22/05, prasad Musale <prasad.musale@xxxxxxxxx> wrote: > Hello friends, > I have problem with inserting a ramfs module. I > have changed the inode.c file in /usr/src/linux/fs/ramfs. I am > inserting the alloc_inode & new_inode function from the > /usr/src/linux/fs/inode.c file. I am just checking how ramfs work. > Though compilation works, insertion of modul gives error: > Error inserting module: -1 unknown variable. > I have run ramfs code without those 2 functions. But now it's giving > problem.It shows no error at compilation. I have even tried to > recompile kernel, but no use. Will u plz help me as early as possible. > > Thanks. > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/