LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-11-2004, 12:41 PM   #1
vinya
LQ Newbie
 
Registered: Mar 2004
Location: Binghamton, NY
Distribution: Red Hat
Posts: 3

Rep: Reputation: 0
Question 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
 
Old 03-11-2004, 06:28 PM   #2
rootyard
Member
 
Registered: Aug 2003
Posts: 167

Rep: Reputation: 30
Do you mean you are trying to add ext2 support to your kernel? Not sure what you're trying to do.
 
Old 03-12-2004, 03:30 PM   #3
vinya
LQ Newbie
 
Registered: Mar 2004
Location: Binghamton, NY
Distribution: Red Hat
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kcmshell module, Background&Screensaver Module can't be launch (but works @LookNFeeL) bobbyjoe Linux - Software 0 01-08-2005 04:48 AM
DISCUSSION: Virtual Filesystem: Building a Linux Filesystem from an Ordinary File mchirico LinuxAnswers Discussion 0 10-28-2004 10:35 PM
Encrypted Root Filesystem HOWTO and /dev filesystem tmillard Linux From Scratch 0 10-18-2004 03:58 PM
'Invalid module format' loading simple module on Suse Linux Professional 9.1 rocketdude Linux - Distributions 3 07-27-2004 11:40 PM
filesystem as a module? Dirt Linux - Newbie 2 09-04-2003 11:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration