Re: Re: Hi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






>but when I tried to load it as a module, it gave versioning
>problems and the load failed

Versioning problems are common.  It means you didn't use the same kernel
headers to compile the module as were used to compile the base kernel into
which you are trying to insert it.

It can be tricky to get your compile straightened out, and it has nothing
to do with filesystems, so I don't want to go into it on the linux-fsdevel
list (which I am copying just so others on that list can see that there was
a response).

I can tell you this, though, which you can use when you get your module to
load:  The ext2 filesystem driver registers itself as a driver for the
"ext2" filesystem type by calling register_filesystem(), which it does in
the source file fs/ext2/super.c, in a function that gets called as the
module loads.  If you did not change that file in your copy, your module
will try to register itself as a driver for "ext2" and will fail because
there is already a driver for "ext2".  You will need to make up a new
filesystem type name.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux