LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   filesystem as a module? (https://www.linuxquestions.org/questions/linux-newbie-8/filesystem-as-a-module-156362/)

vinya 03-11-2004 12:41 PM

filesystem as a module?
 
Hi all,

I am trying to make few changes in the ext2 file system and trying to compile it as a kernel module. Till now what I did is:
1: Copied the ext2 files and made the approprate changes
2: Copied files from usr/src/linux/fs/ directory
3: Copied relevant header files in /include/linux directory

The module gets compiled properly, but when I try to insert it using insmod, I am getting following errors like:

my_extv2.o: unresolved symbol generic_file_read_Rsmp_106b3732
my_extv2.o: unresolved symbol __get_free_pages_Rsmp_4784e424
my_extv2.o: unresolved symbol try_inc_mod_count_Rsmp_e6105b23
my_extv2.o: unresolved symbol blk_size_Rsmp_a2e0a082
my_extv2.o: unresolved symbol pidhash_Rsmp_4439d880
my_extv2.o: unresolved symbol floppy_eject
my_extv2.o: unresolved symbol smp_num_siblings

etc... and many more on the similar lines.

Whats wrong with my approach or do I need to add / modify few things?

Thanks and regards,

Vineet

rootyard 03-11-2004 06:28 PM

Do you mean you are trying to add ext2 support to your kernel? Not sure what you're trying to do.

vinya 03-12-2004 03:30 PM

I am trying to add some functionalities to ext2 filesystem, and use it as a module.

Quote:

Originally posted by rootyard
Do you mean you are trying to add ext2 support to your kernel? Not sure what you're trying to do.


All times are GMT -5. The time now is 05:34 PM.