Skip to contentSkip to conversation

Reiser4 for 2.6.22

DISCUSSION Mat 2 participants 7 messages Jul 27, 2007 – Aug 23, 2007 1 message not in the archive

lore
Share & tools
lore

Mat

author
#0 lore raw

I compiled a 2.6.22-based kernel with this patch & ran some tests with default reiser4 today - all I can say:

you guys did an excellent job!
there's no corruption anymore, reiser4 feels rockstable & fast as always

thanks a lot :)

(I will test cryptcompress later, probably during the weekend & post if I encounter any significant problems which I don't expect to happen :) )

keep up the good work!

#1 lore raw

reiser4-for-2.6.22-2.patch

Quoted 12 lines · Mat

I compiled a 2.6.22-based kernel with this patch & ran some tests with default reiser4 today - all I can say:

you guys did an excellent job!
there's no corruption anymore, reiser4 feels rockstable & fast as always

thanks a lot :)

(I will test cryptcompress later, probably during the weekend & post if I encounter any significant problems which I don't expect to happen :) )

Yes, please.. Have the latest patch:
ftp://ftp.namesys.com/pub/reiser4-for-2.6/2.6.22/reiser4-for-2.6.22-2.patch.gz (it fixes some problems in the case when compression is enabled _and_ debug option is on).

Thanks,
Edward.

Quoted 11 lines

keep up the good work!

-
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#2 lore raw

Re: reiser4-for-2.6.22-2.patch

On 7/28/07, Edward Shishkin <[email protected]> wrote:

Mat wrote:

>I compiled a 2.6.22-based kernel with this patch & ran some tests
with default

Quoted 11 lines

reiser4 today - all I can say:

you guys did an excellent job!
there's no corruption anymore, reiser4 feels rockstable & fast as always

thanks a lot :)

(I will test cryptcompress later, probably during the weekend & post if I encounter any significant problems which I don't expect to happen :) )

Yes, please.. Have the latest patch:
ftp://ftp.namesys.com/pub/reiser4-for-2.6/2.6.22/reiser4-for-2.6.22-2.patch.gz (it fixes some problems in the case when compression is enabled _and_ debug option is on).

Thanks,
Edward.

First of all sorry for the long delay and thanks for that patch :) ,

I'm rebuilding 2 systems right now and haven't noticed any severe hang ups or data losses - great !
as memory is limited on these machines (1 GB) and heavy compiling is happening I had expected OOM error or similar problems like in earlier kernel versions but none happened!
a clear sign, that reiser4 is getting pretty mature

access time from time to time is a little high (e.g. launching of firefox, openoffice and the kind) but ok, probably due to debug being enabled

the only real "issue" is its still bad fsync / sync behavior:

in several cases if I call: "sync" it just sits there and syncs for up to 15-30 minutes ! (called during idle),
I'm still able to launch apps but that state's not really acceptable during everyday work or in heavy loads ( e.g. wanting to sync & then shutdown the computer / laptop)
I suspect that it has to do something with preemptible setting in the kernel but not sure, on the other computer with voluntary preemption it seems to do better

I unfortunately can't investigate any further but only use it regularly and see if I encounter any other problems (much work to do)

that's all so far

as already written:
keep up the good work & thanks a lot

Mat

author
#3 lore raw

Re: reiser4-for-2.6.22-2.patch

In reply to Edward Shishkin

Edward,

I just encountered a pretty strange situation:

first some data:
I'm running hardened Gentoo with glibc 2.6.1 & gcc-4.2.1 both with hardened use-flags enabled
- my kernel running is a 2.6.22-based kernel with grsecurity and some other fine speed enhancements (ck-patchset, adaptive readahead, latest reiser4 patch 2.6.22-2)
- this also happens with hardened-sources 2.6.22-r2 + latest reiser4 patch 2.6.22-2

every time I'm booting into that system I get a corrupted libuuid.so* file:
it says things like: libfoo isn't an elf-file or similar

it doesn't seem to matter if I'm using e2fsprogs 1.39 and corresponding ss and com_err or e2fsprogs 1.40 with corresponding ss and com_err, with booting I mean it only gets to that point and then refuses and reboots since it's dependent on that critical thing (??) other files also seem to get corrupted, I can't say which ones since it reboots pretty fast

util-linux version is 2.12r-r7

it's strange to say but it doesn't matter if I'm booting the kernel with ro or rw on /root data still gets corrupted (where /root is/was a standard formatted reiser4 partition with mkfs.reiser4 out from a livecd with 2.6.21-based kernel with reiser4-patch from namesys if I recall right

there's also no difference whether I use the old baselayout-1 or the new and faster baselayout-2 (for that I have to append 'rw' at boot otherwise reiser4 won't boot since it isn't recognized right)

gcc-version is 4.2.1 hardened with pie 9.0.7, I'm sure this also would happen with other gcc version

I'm attaching my kernel-config so that you might be able to reproduce it (hopefully) or at least get an idea of it

since I need this pc right now I had to replay my system from a tarball to a reiserfs partition, so I unfortunately can't collect any further data

Mat

#4 lore raw

Re: reiser4-for-2.6.22-2.patch

Quoted 38 lines · Matthew

Edward,

I just encountered a pretty strange situation:

first some data:
I'm running hardened Gentoo with glibc 2.6.1 & gcc-4.2.1 both with hardened use-flags enabled
- my kernel running is a 2.6.22-based kernel with grsecurity and some other fine speed enhancements (ck-patchset, adaptive readahead, latest reiser4 patch 2.6.22-2)
- this also happens with hardened-sources 2.6.22-r2 + latest reiser4 patch 2.6.22-2

every time I'm booting into that system I get a corrupted libuuid.so* file:
it says things like: libfoo isn't an elf-file or similar

it doesn't seem to matter if I'm using e2fsprogs 1.39 and corresponding ss and com_err or e2fsprogs 1.40 with corresponding ss and com_err, with booting I mean it only gets to that point and then refuses and reboots since it's dependent on that critical thing (??) other files also seem to get corrupted, I can't say which ones since it reboots pretty fast

util-linux version is 2.12r-r7

it's strange to say but it doesn't matter if I'm booting the kernel with ro or rw on /root data still gets corrupted (where /root is/was a standard formatted reiser4 partition with mkfs.reiser4 out from a livecd with 2.6.21-based kernel with reiser4-patch from namesys if I recall right

there's also no difference whether I use the old baselayout-1 or the new and faster baselayout-2 (for that I have to append 'rw' at boot otherwise reiser4 won't boot since it isn't recognized right)

gcc-version is 4.2.1 hardened with pie 9.0.7, I'm sure this also would happen with other gcc version

Quoted 10 lines

I'm attaching my kernel-config so that you might be able to reproduce it (hopefully) or at least get an idea of it

since I need this pc right now I had to replay my system from a tarball to a reiserfs partition, so I unfortunately can't collect any further data

Mat

Hmm.. It would be nice to compare hexdumps of "corrupted" and original files. Although, you have migrated to v3 already.. Well, I will keep it in mind, thanks for the report!

Edward.

author
#6 lore raw

Fwd: reiser4-for-2.6.22-2.patch

In reply to a message not in the archive
Quoted 51 lines · Edward Shishkin
Quoted 38 lines · Matthew

Edward,

I just encountered a pretty strange situation:

first some data:
I'm running hardened Gentoo with glibc 2.6.1 & gcc-4.2.1 both with hardened use-flags enabled
- my kernel running is a 2.6.22-based kernel with grsecurity and some other fine speed enhancements (ck-patchset, adaptive readahead, latest reiser4 patch 2.6.22-2)
- this also happens with hardened-sources 2.6.22-r2 + latest reiser4 patch 2.6.22-2

every time I'm booting into that system I get a corrupted libuuid.so* file:
it says things like: libfoo isn't an elf-file or similar

it doesn't seem to matter if I'm using e2fsprogs 1.39 and corresponding ss and com_err or e2fsprogs 1.40 with corresponding ss and com_err, with booting I mean it only gets to that point and then refuses and reboots since it's dependent on that critical thing (??) other files also seem to get corrupted, I can't say which ones since it reboots pretty fast

util-linux version is 2.12r-r7

it's strange to say but it doesn't matter if I'm booting the kernel with ro or rw on /root data still gets corrupted (where /root is/was a standard formatted reiser4 partition with mkfs.reiser4 out from a livecd with 2.6.21-based kernel with reiser4-patch from namesys if I recall right

there's also no difference whether I use the old baselayout-1 or the new and faster baselayout-2 (for that I have to append 'rw' at boot otherwise reiser4 won't boot since it isn't recognized right)

gcc-version is 4.2.1 hardened with pie 9.0.7, I'm sure this also would happen with other gcc version

Quoted 10 lines

I'm attaching my kernel-config so that you might be able to reproduce it (hopefully) or at least get an idea of it

since I need this pc right now I had to replay my system from a tarball to a reiserfs partition, so I unfortunately can't collect any further data

Mat

Quoted 8 lines

Hmm.. It would be nice to compare hexdumps of "corrupted" and original files. Although, you have migrated to v3 already.. Well, I will keep it in mind,
thanks for the report!

Edward.

Well, this time it didn't work out that well - all data lost ;( (this occured on another laptop),
I compiled that kernel on that laptop but disabled pageexec, segmexec, kernexec (I hoped that it would work that way ;) )

it nevertheless happened, at first only a few files seemed to be missing (1st mount from a livecd), I copied over some files (see attachment), umounted, then I ran fsck.reiser4 -q /dev/foo on that partition and only those files were left !!!!!!

(they're empty though, I opened them with khexedit and there are only zeros)

I've attached the kernel-config of that incident, hope it helps you

Mat

#7 lore raw

Re: Fwd: reiser4-for-2.6.22-2.patch

Quoted 73 lines · Matthew
Quoted 54 lines · Edward Shishkin
Quoted 38 lines · Matthew

Edward,

I just encountered a pretty strange situation:

first some data:
I'm running hardened Gentoo with glibc 2.6.1 & gcc-4.2.1 both with hardened use-flags enabled
- my kernel running is a 2.6.22-based kernel with grsecurity and some other fine speed enhancements (ck-patchset, adaptive readahead, latest reiser4 patch 2.6.22-2)
- this also happens with hardened-sources 2.6.22-r2 + latest reiser4 patch 2.6.22-2

every time I'm booting into that system I get a corrupted libuuid.so* file:
it says things like: libfoo isn't an elf-file or similar

it doesn't seem to matter if I'm using e2fsprogs 1.39 and corresponding ss and com_err or e2fsprogs 1.40 with corresponding ss and com_err, with booting I mean it only gets to that point and then refuses and reboots since it's dependent on that critical thing (??) other files also seem to get corrupted, I can't say which ones since it reboots pretty fast

util-linux version is 2.12r-r7

it's strange to say but it doesn't matter if I'm booting the kernel with ro or rw on /root data still gets corrupted (where /root is/was a standard formatted reiser4 partition with mkfs.reiser4 out from a livecd with 2.6.21-based kernel with reiser4-patch from namesys if I recall right

there's also no difference whether I use the old baselayout-1 or the new and faster baselayout-2 (for that I have to append 'rw' at boot otherwise reiser4 won't boot since it isn't recognized right)

gcc-version is 4.2.1 hardened with pie 9.0.7, I'm sure this also would happen with other gcc version

Quoted 12 lines

I'm attaching my kernel-config so that you might be able to reproduce it (hopefully) or at least get an idea of it

since I need this pc right now I had to replay my system from a tarball to a reiserfs partition, so I unfortunately can't collect any further data

Mat

Quoted 10 lines

Hmm.. It would be nice to compare hexdumps of "corrupted" and original files. Although, you have migrated to v3 already.. Well, I will keep it in mind,
thanks for the report!

Edward.

Well, this time it didn't work out that well - all data lost ;( (this occured on another laptop),
I compiled that kernel on that laptop but disabled pageexec, segmexec, kernexec (I hoped that it would work that way ;) )

Quoted 6 lines

it nevertheless happened, at first only a few files seemed to be missing (1st mount from a livecd), I copied over some files (see attachment), umounted, then I ran fsck.reiser4 -q /dev/foo on that partition and only those files were left !!!!!!

Would you please pack metadata by
debugfs.reiser4 -P /dev/xxx | gzip > meta.gz
and let me download the file meta.gz plus the list of file names (for the files which unexpectedly get filled by zeros).

Thanks,
Edward.

Quoted 7 lines

(they're empty though, I opened them with khexedit and there are only zeros)

I've attached the kernel-config of that incident, hope it helps you

Mat