making a modified version of ext3

From: Jeff (jeffrey.bigham_at_gmail.com)
Date: 05/24/04


Date: 23 May 2004 18:54:02 -0700

Hello,

I'm trying to make and insmod a modified version of the ext3
filesystem but seem to be running into trouble at every turn in trying
to actually compile it and load it. Here are some (probably naive)
things I have tried:

I copied the /usr/src/linux-2.4/fs/ext3 directory to my own directory
/usr/src/linux-2.4/fs/my_ext3
and then thought I'd be optimistic and run make SUBDIRS=fs/my_ext3 and
it compiled but I got an error stating that the kernel version that it
was compiled for could not be found...which i believe means that i
didn't compile it as a module.

Then, as sort of a hack, I thought I'd try just building the ext3 in
place and then renaming it to something that I wanted to use. So cp
ext.o my_ext.o but then I got the following error:

[root@valdez my_ext3]# insmod my_ext3.o
my_ext3.o: init_module: Device or resource busy
Hint: insmod errors can be caused by incorrect module parameters,
including invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg

I'm not really sure why I would get this...is there a reason why I
can't have two copies of the same ext3 module running? Is there
something unique to this filesystem module that would prevent it?

I'd really appreciate any help you can provide me or if anyone could
point me in a good direction to pursue.

Thanks,
Jeff



Relevant Pages

  • Re: [patch] ext2/3: document conditions when reliable operation is possible
    ... of your ext3 + flash card issue - is it the ftl stuff doing out of order ... and ext3 can't cope with that. ... the problem is that people have been preaching that journaling filesystems eliminate all data loss for no cost. ... depending on how much data gets lost, you may or may not be able to recover enough to continue to use the filesystem, and when your block device takes actions in larger chunks than the filesystem asked it to, it's very possible for seemingly unrelated data to be lost as well. ...
    (Linux-Kernel)
  • Re: [patch] ext2/3: document conditions when reliable operation is possible
    ... of your ext3 + flash card issue - is it the ftl stuff doing out of order IO's? ... The problem is that flash cards destroy whole erase block on unplug, ... this isn't a filesystem specific cliam; ...
    (Linux-Kernel)
  • Re: [patch] ext2/3: document conditions when reliable operation is possible
    ... wouldn't it be an ext3 bug? ... many naive filesystem designers make is that writes succeed or they ... That's just the way hardware works. ... netbook would cause the flash card to become disconnected from the ...
    (Linux-Kernel)
  • Re: How git affects kernel.org performance
    ... On Sat, 6 Jan 2007, H. Peter Anvin wrote: ... almost no other common system call has to (99% of all filesystem calls can ... directory, it serializes getdents. ... we had the same problem on a file server with ext3. ...
    (Linux-Kernel)
  • Re: [Ext2-devel] [RFC 0/13] extents and 48bit ext3
    ... res digital format across your entire life in near-line format. ... I'd think the quickest path is to relieve the pressure now in ext3. ... "Linux 2.5". ... I acknowledge the concerns about filesystem stability and Linus's points about improperly shared code. ...
    (Linux-Kernel)

Quantcast