fsck.reiser4 segfaults
Hi all,
I have 2 computers running reiser4 partitions. Once I decided to check them for errors, and on both machines fsck reported that SB is corrupted. I suppose that's because partitions were formatted by older versions of reiser4progs. --build-sb worked OK. Then fsck reported about some corruptions that were successfully repaired with --build-fs on the first machine. However, on the second one fsck segfaults on attempt to do a repair.
The output is:
[skip]
***** Semantic Traverse Pass: reiser4 semantic tree checking.
FSCK: Node (1260442), item (0), [29:0:2a] (stat40): needs pset member (3) set to (smart). Added.
FSCK: Node (1260442), item (0), [29:0:2a] (stat40): needs pset member (4) set to (r5_hash). Added.
FSCK: Node (1260442), item (0), [29:0:2a] (stat40): needs pset member (5) set to (dot_o_fibre). Added.
FSCK: Node (1260442), item (0), [29:0:2a] (stat40): needs pset member (6) set to (stat40). Added.
FSCK: Node (1260442), item (0), [29:0:2a] (stat40): needs pset member (7) set to (cde40). Added.
Segmentation fault
fsck version is fsck.reiser4 0.5.5, kernel is 2.6.4 with latest stable reiser4 snapshot
I've packed fs metadata with debugfs.reiser4 -P /dev/hda6 | bzip2 -c > hda6debug.bz2, it can be downloaded from
http://www.prokhorov.org/hda6debug.bz2 , 38Mb
Partition still can be mounted but I don't know if it is risky to work with it, I don't want to loose it completely.
Signature · 2 lines
/KoS * My other tag line is a killer!
Hello,
Quoted 25 lines · Konstantin Sobolev
Hi all,
I have 2 computers running reiser4 partitions. Once I decided to check them for errors, and on both machines fsck reported that SB is corrupted. I suppose that's because partitions were formatted by older versions of reiser4progs. --build-sb worked OK. Then fsck reported about some corruptions that were successfully repaired with --build-fs on the first machine. However, on the second one fsck segfaults on attempt to do a repair.
The output is:
[skip]
***** Semantic Traverse Pass: reiser4 semantic tree checking.
FSCK: Node (1260442), item (0), [29:0:2a] (stat40): needs pset member (3) set to (smart). Added.
FSCK: Node (1260442), item (0), [29:0:2a] (stat40): needs pset member (4) set to (r5_hash). Added.
FSCK: Node (1260442), item (0), [29:0:2a] (stat40): needs pset member (5) set to (dot_o_fibre). Added.
FSCK: Node (1260442), item (0), [29:0:2a] (stat40): needs pset member (6) set to (stat40). Added.
FSCK: Node (1260442), item (0), [29:0:2a] (stat40): needs pset member (7) set to (cde40). Added.
Segmentation fault
Quoted 2 lines
fsck version is fsck.reiser4 0.5.5, kernel is 2.6.4 with latest stable reiser4 snapshot
would you try the latest reiser4progs from www.namesys.com/snapshots/2004.07.13-internal.testing/
Quoted 3 lines
I've packed fs metadata with debugfs.reiser4 -P
/dev/hda6| bzip2 -c > hda6debug.bz2, it can be downloaded from
http://www.prokhorov.org/hda6debug.bz2 , 38Mb
if the new fsck fails we will debug it with your metadata.
Quoted 2 lines
Partition still can be mounted but I don't know if it is risky to work with it, I don't want to loose it completely.
Signature · 2 lines
Thanks, Vitaly Fertman
Snapshot 2004.07.13 build problems (was: Re: fsck.reiser4 segfaults)
On Thu 15 July 2004 15:21, Vitaly Fertman wrote:
Hi,
Quoted 2 lines
would you try the latest reiser4progs from www.namesys.com/snapshots/2004.07.13-internal.testing/
I'm trying to compile it too, after applying the reiser4progs-0.5.6-libaux-gauge.c.diff patch, but it doesn't compile:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DENABLE_SYMLINKS -DENABLE_SPECIAL -DENABLE_R5_HASH -DENABLE_FNV1_HASH -DENABLE_RUPASOV_HASH -DENABLE_TEA_HASH -DENABLE_DEG_HASH -DENABLE_LARGE_KEYS -DENABLE_SHORT_KEYS -DENABLE_DOT_O_FIBRE -DENABLE_EXT_1_FIBRE -DENABLE_EXT_3_FIBRE -DENABLE_LEXIC_FIBRE -O3 -W -Wall -Wuninitialized -Wno-unused-parameter -Wredundant-decls -MT librepair_la-filter.lo -MD -MP -MF .deps/librepair_la-filter.Tpo -c filter.c -fPIC -DPIC -o .libs/librepair_la-filter.ofilter.c: In function `cb_gauge_tree_percent':
filter.c:61: warning: implicit declaration of function `aal_gauge_set_value'filter.c: In function `repair_filter_node_check':
filter.c:343: warning: implicit declaration of function `aal_gauge_set_data'filter.c: In function `repair_filter':
filter.c:656: warning: passing arg 1 of `aal_gauge_create' makes integer from pointer without a cast
filter.c:656: error: too many arguments to function `aal_gauge_create'
make[2]: *** [librepair_la-filter.lo] Error 1
make[2]: Leaving directory `/usr/src/Reiser4/reiser4progs-0.5.6/librepair'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/Reiser4/reiser4progs-0.5.6'
make: *** [all] Error 2
Do you need more info about my system? It's running 2.6.7-cko6, and libaal compiled and installed cleanly.
Thanks,
Ray
Re: Snapshot 2004.07.13 build problems (was: Re: fsck.reiser4 segfaults)
Quoted 9 lines · Raymond A. Meijer
On Thu 15 July 2004 15:21, Vitaly Fertman wrote:
Hi,
Quoted 2 lines
would you try the latest reiser4progs from www.namesys.com/snapshots/2004.07.13-internal.testing/
I'm trying to compile it too, after applying the reiser4progs-0.5.6-libaux-gauge.c.diff patch, but it doesn't compile:
there is a new version of libaal package that needs to be installed first.
Quoted 28 lines
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -D_REENTRANT
(quoted diff) +0
-6-D_FILE_OFFSET_BITS=64 -DENABLE_SYMLINKS -DENABLE_SPECIAL -DENABLE_R5_HASH -DENABLE_FNV1_HASH -DENABLE_RUPASOV_HASH -DENABLE_TEA_HASH -DENABLE_DEG_HASH -DENABLE_LARGE_KEYS -DENABLE_SHORT_KEYS -DENABLE_DOT_O_FIBRE -DENABLE_EXT_1_FIBRE -DENABLE_EXT_3_FIBRE -DENABLE_LEXIC_FIBRE -O3 -W -Wall -Wuninitialized -Wno-unused-parameter -Wredundant-decls -MT librepair_la-filter.lo -MD -MP -MF.deps/librepair_la-filter.Tpo -c
filter.c-fPIC -DPIC -o.libs/librepair_la-filter.ofilter.c: In function `cb_gauge_tree_percent':
filter.c:61: warning: implicit declaration of functionaal_gauge_set_value' filter.c: In functionrepair_filter_node_check':
filter.c:343: warning: implicit declaration of functionaal_gauge_set_data' filter.c: In functionrepair_filter':
filter.c:656: warning: passing arg 1 ofaal_gauge_create' makes integer from pointer without a cast filter.c:656: error: too many arguments to functionaal_gauge_create' make[2]: *** [librepair_la-filter.lo] Error 1 make[2]: Leaving directory `/usr/src/Reiser4/reiser4progs-0.5.6/librepair' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/Reiser4/reiser4progs-0.5.6'
make: *** [all] Error 2Do you need more info about my system? It's running 2.6.7-cko6, and libaal compiled and installed cleanly.
Thanks,
Ray
Signature · 2 lines
Thanks, Vitaly Fertman
Re: Snapshot 2004.07.13 build problems (was: Re: fsck.reiser4 segfaults)
Quoted 1 line · Vitaly Fertman
there is a new version of libaal package that needs to be installed first.
Is that this one:
1805803b582a8799871bf11f2bc2ef77 libaal-0.5.3.tar.gz
from http://www.namesys.com/snapshots/2004.07.13-internal.testing/ ?
That's the one I used...
If there's a newer one, where can I get it then?
Thanks,
Ray
Re: Snapshot 2004.07.13 build problems (was: Re: fsck.reiser4 segfaults)
In reply to a message not in the archiveQuoted 7 lines · Vitaly Fertman
Quoted 4 lines
Quoted 2 lines
there is a new version of libaal package that needs to be installed first.
That's the one I used...
probably you have occasionally not uninstalled
libaal.hfile somewhere ? have you run ldconfig after installing the libaal ?
There was indeed an old one lying around. I removed that, ran ldconfig, reconfigured and reinstalled libaal, reconfigured reiser4progs and now it compiled and installed cleanly.
Thanks once again,
Ray
Quoted 2 lines · Vitaly Fertman
would you try the latest reiser4progs from www.namesys.com/snapshots/2004.07.13-internal.testing/
It worked OK but now I can't mount it :(
Unable to handle kernel NULL pointer dereference at virtual address 00000008
followed by registers dump and call trace
I guess my laptop is dead until new LiveCD with fresh reiser4 snapshot that will be able to mount it..
Signature · 2 lines
/KoS * (W)indows,(I)cons,(M)ice,(P)ointers,(S)heesh!
Quoted 5 lines · Konstantin Sobolev
Quoted 2 lines · Vitaly Fertman
would you try the latest reiser4progs from www.namesys.com/snapshots/2004.07.13-internal.testing/
It worked OK but now I can't mount it :(
ahh, last internal releases of reiser4progs -- 0.5.5 you tried before and the current 0.5.6 -- should be used with the last autosnapshots only:
http://www.namesys.com/auto-snapshots/
earlier reiser4 versions do not support plugin sets. After fscking the root directory got such a pset and as a result the fs cannot be mounted with an old reiser4 code anymore.
Quoted 5 lines
Unable to handle kernel NULL pointer dereference at virtual address00000008 followed by registers dump and call trace
I guess my laptop is dead until new LiveCD with fresh reiser4 snapshot that will be able to mount it..
Signature · 2 lines
Thanks, Vitaly Fertman
Quoted 7 lines · Vitaly Fertman
Quoted 5 lines · Konstantin Sobolev
Quoted 2 lines · Vitaly Fertman
would you try the latest reiser4progs from www.namesys.com/snapshots/2004.07.13-internal.testing/
It worked OK but now I can't mount it :(
Quoted 7 lines
ahh, last internal releases of reiser4progs -- 0.5.5 you tried before and the current 0.5.6 -- should be used with the last autosnapshots only:
http://www.namesys.com/auto-snapshots/
earlier reiser4 versions do not support plugin sets. After fscking the root directory got such a pset and as a result the fs cannot be mounted with an old reiser4 code anymore.
Yeah. Luckily I've found LiveCD with 2.6.7 sources patched with one of autosnapshots that successfully mounted my /usr, so now I'll be able to build new kernel. Can you recommend some more or less stable autosnapshot that I can use?
Thanks for your help :)
Signature · 3 lines
/KoS * recursion n.: See Recursion -- The Jargon File
Quoted 7 lines · Vitaly Fertman
Quoted 5 lines · Konstantin Sobolev
Quoted 2 lines · Vitaly Fertman
would you try the latest reiser4progs from www.namesys.com/snapshots/2004.07.13-internal.testing/
It worked OK but now I can't mount it :(
Quoted 7 lines
ahh, last internal releases of reiser4progs -- 0.5.5 you tried before and the current 0.5.6 -- should be used with the last autosnapshots only:
http://www.namesys.com/auto-snapshots/
earlier reiser4 versions do not support plugin sets. After fscking the root directory got such a pset and as a result the fs cannot be mounted with an old reiser4 code anymore.
you can either build the kernel with the latest reiser4 auto-snapshot or get reiser4progs-0.5.4. If later, fsck.reiser4-0.5.4 should be able to fix the root directory to the old format -- it has worked for my test now at least.
Quoted 5 lines
Quoted 5 lines
Unable to handle kernel NULL pointer dereference at virtual address00000008 followed by registers dump and call trace
I guess my laptop is dead until new LiveCD with fresh reiser4 snapshot that will be able to mount it..
Signature · 2 lines
Thanks, Vitaly Fertman
T�rnqvist
Quoted 4 lines · Konstantin Sobolev
Yeah. Luckily I've found LiveCD with 2.6.7 sources patched with one of autosnapshots that successfully mounted my /usr, so now I'll be able to build new kernel. Can you recommend some more or less stable autosnapshot that I can use?
Seems that generally later autosnapshots are better autosnapshots.
It is recommended you turn on assertion debuggings, especially if you don't want any faster performance than "fast enough". Just in case.
Signature · 1 line
mjt