Skip to contentSkip to conversation

Reiser4 kernel modules

DISCUSSION Lars Tobias Børsting 6 participants 8 messages Oct 29, 2004 – Nov 6, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

I haven't been able to find any source code for reiserfs4 exept for the reiser4 source included in the mm-kernels. Is there no such thing as a CVS-repository or a tarball release for the reiser4 source?

If there is such a thing as a tarball release or CVS-repository, is it then possible to compile it as kernel modules for my running standard 2.6.8.1 or 2.6.9-kernel? If it is not possible to compile it as kernel modules, why is this?

Thanks a bunch!

Signature · 1 line
Lars Tobias Børsting
#1 lore raw

Hello

Quoted 11 lines · Lars Tobias Børsting

Hi,

I haven't been able to find any source code for reiserfs4 exept for the reiser4 source included in the mm-kernels. Is there no such thing as a CVS-repository or a tarball release for the reiser4 source?

If there is such a thing as a tarball release or CVS-repository, is it then possible to compile it as kernel modules for my running standard 2.6.8.1 or 2.6.9-kernel? If it is not possible to compile it as kernel modules, why is this?

reiser4 needs some changes in kernel code. ftp://ftp.namesys.com/pub/reiser4-for-2.6.9 contains all things which are necessary to run reiser4 on 2.6.9

Quoted 1 line

Thanks a bunch!

#2 lore raw
Quoted 9 lines · Vladimir Saveliev
Quoted 6 lines · Lars Tobias Børsting

Is there no such thing as a CVS-repository or a tarball release for the reiser4 source?

If there is such a thing as a tarball release or CVS-repository, is it then possible to compile it as kernel modules [...] If it is not possible to compile it as kernel modules, why is this?

reiser4 needs some changes in kernel code.

And why does reiser4 need changes in the kernel code? Is it really a smart approach to require kernel changes for reiser4 to work?

Why isn't it possible to build reiser4 as kernel modules?

Signature · 1 line
Lars Tobias Børsting
#4 lore raw
In reply to Vladimir Saveliev
Quoted 3 lines

reiser4 needs some changes in kernel code. ftp://ftp.namesys.com/pub/reiser4-for-2.6.9 contains all things which are necessary to run reiser4 on 2.6.9

Thanks a lot, if you keep this up for new kernel releases as I hope, there will be no need to "backport" reiser4 from -mm. Debugging will be easier too (everyone will run the same code).

Regards

Piotr Neuman

#3 lore raw
In reply to Lars Tobias Børsting
Quoted 4 lines · On Mon, 01 Nov 2004 14:07:45 +0100, =?iso-8859-1?q?Lars_Tobias_B=F8rsting?=…

And why does reiser4 need changes in the kernel code? Is it really a smart approach to require kernel changes for reiser4 to work?

Why isn't it possible to build reiser4 as kernel modules?

It still requires the change to the kernel to add the proper code in linux-2.6.9/fs/reiser4, add it to the proper Makefiles, the Kconfig glue needed to build it, etc. Adding in-tree code is a change to the kernel, even if it ends up getting built as modules.

Or you *can* build it as an out-of-tree module - which still has some rough edges in the 2.6 Kbuild infrastructure (most notably, if you do a 'make modules_install', you have to remember to re-install all your out-of-tree stuff as well...)

#5 lore raw
In reply to Vladimir Saveliev
Quoted 3 lines · --- Vladimir Saveliev

reiser4 needs some changes in kernel code. ftp://ftp.namesys.com/pub/reiser4-for-2.6.9 contains all things which are necessary to run reiser4 on 2.6.9

Right now I go there and find only two files:

ncftp /pub/reiser4-for-2.6.9 > ls -al
-rw-r--r-- 1 0 0 0 Nov 2 18:40
reiser4-for-2.6.9-TEMPORARY_NOT_AVAILABLE
-rw-r--r-- 1 0 0 454 Nov 2 15:24
reiser4-on-2.6.9-HOWTO

I also tried downloading the (huge) 2.6.9-mm patch from ftp.kernel.org.
After I had applied it, to a vanilla 2.6.9 source tree, I couldn't
find Reiser4 anywhere under filesystems when doing a make config. I built it anyway with ReiserFS enabled, in case you didn't make it a separate option but just merged it into the existing option, but I cannot mount a Reiser4 partition. So where should I expect to find Reiser4 in the config menus?

I have been using an old Tyan dual-PII machine for a file server etc. for years. Lately I have gotten fed up with NFS problems and have resorted to using it mostly as a machine to store backups from other machines (via rsync usually) and my MP3 collection, and as my main home web server. It was stable with a 2.2 kernel, with all filesystems being ReiserFS 3. I got tired of not being able to run some newer stuff (mainly fuser) and upgraded to Gentoo and used their 2.6.8 patched kernel, but now it crashes sometimes, typically every few days.
Last time it crashed, 3 ReiserFS filesystems on one drive would no
longer mount. I used reiserfsck and managed to recover quite a bit, but on one of them, all the files ended up in lost+found. (No biggie with MP3's - there are programs that can re-organize them later.) These partitions were so hosed that I had to use --rebuild-sb and --rebuild-tree. I'm guessing this has something to do with the IDE controller (as I had crashes with 2.4 kernels too - why I never upgraded from 2.2) so with the next kernel I will try more conservative settings (like leaving DMA turned off) and see if it becomes stable again. I did run badblocks for a full day (on the same kernel, no less, which had crashed and done all the carnage) and it didn't crash and didn't find any problems either. Also ran the s.m.a.r.t. self tests and didn't find any problems with the drive. I'm not whining (the issues are elsewhere than ReiserFS), but it's an interesting experience with reiserfsck (it works reasonably well considering) and I also wonder if Reiser4 will recover even better in cases like this.

=====
. _______ Shawn T. Rutledge / KB7PWD [email protected]

 (_  | |_)    http://ecloud.org/  [email protected]
 __) | | \______________________________________________
#6 lore raw
Quoted 15 lines
Quoted 3 lines · --- Vladimir Saveliev

reiser4 needs some changes in kernel code. ftp://ftp.namesys.com/pub/reiser4-for-2.6.9 contains all things which are necessary to run reiser4 on 2.6.9

Right now I go there and find only two files:

ncftp /pub/reiser4-for-2.6.9 > ls -al
-rw-r--r-- 1 0 0 0 Nov 2 18:40
reiser4-for-2.6.9-TEMPORARY_NOT_AVAILABLE
-rw-r--r-- 1 0 0 454 Nov 2 15:24
reiser4-on-2.6.9-HOWTO

Quoted 3 lines

I also tried downloading the (huge) 2.6.9-mm patch from ftp.kernel.org.
After I had applied it, to a vanilla 2.6.9 source tree, I couldn't
find Reiser4 anywhere under filesystems when doing a make config.

You need to DISABLE 8K stacks for the option of Reiser4 to be visible.

Quoted 5 lines

I
built it anyway with ReiserFS enabled, in case you didn't make it a separate option but just merged it into the existing option, but I cannot mount a Reiser4 partition. So where should I expect to find Reiser4 in the config menus?

~S

#7 lore raw
Quoted 18 lines
Quoted 17 lines
Quoted 3 lines · --- Vladimir Saveliev

reiser4 needs some changes in kernel code. ftp://ftp.namesys.com/pub/reiser4-for-2.6.9 contains all things which are necessary to run reiser4 on 2.6.9

Right now I go there and find only two files:

ncftp /pub/reiser4-for-2.6.9 > ls -al
-rw-r--r-- 1 0 0 0 Nov 2 18:40
reiser4-for-2.6.9-TEMPORARY_NOT_AVAILABLE
-rw-r--r-- 1 0 0 454 Nov 2 15:24
reiser4-on-2.6.9-HOWTO

Quoted 6 lines
Quoted 3 lines

I also tried downloading the (huge) 2.6.9-mm patch from ftp.kernel.org.
After I had applied it, to a vanilla 2.6.9 source tree, I couldn't
find Reiser4 anywhere under filesystems when doing a make config.

You need to DISABLE 8K stacks for the option of Reiser4 to be visible.

Ehum. I am a little tired. I meant disable 4K stacks :)

Quoted 8 lines
Quoted 5 lines

I
built it anyway with ReiserFS enabled, in case you didn't make it a separate option but just merged it into the existing option, but I cannot mount a Reiser4 partition. So where should I expect to find Reiser4 in the config menus?

~S

´