Skip to contentSkip to conversation

fsck.reiser4 errors

DISCUSSION Jedi Ninja 5 participants 9 messages Dec 13, 2003 – Dec 22, 2003 1 message not in the archive

lore
Share & tools
lore

Jedi Ninja

author
#0 lore raw

trinity root # fsck.reiser4 /dev/hda8
*** note about $25 support ***

Fscking the /dev/hda8 block device.
Will check the consistency of the Reiser4 SuperBlock. Will check the consistency of the Reiser4 FileSystem. Will use (default) params.
Continue?
(Yes/No): Yes
Fatal: Device operation "read" isn't implemented.
Fatal: Can't read master super block.
Fatal: Failed to open teh master super block.
Fatal: Cannot open the FileSystem on (/dev/hda8). Segmentation fault

trinity root # ls -l /dev/hda8
lr-xr-xr-x 1 root ... /dev/hda8 -> ide/host0/bus0/target0/lun0/part8
trinity root # ls -l /dev/ide/host0/bus0/target0/lun0/part8
brw------- 1 root ... /dev/ide/...

I get the same errors if I try to fsck the long (devfs-style) device.

--check
--fix
--build-sb
--build-fs

None of these work, though --build-sb says it can't find the superblock (after the error about read not being implemented) and offers to make a new one.

I can read from the device, even make a backup, but mounting it causes problems (mount hangs forever). I know I'm not supposed to keep important stuff there, and I do make backups, but there's still several hours of work on that partition. I'm certainly willing to spend the $25 if you think you can get this back. (In truth, I'd kind of rather break out the hex editor or a grep of the raw filesystem than nuke that partition.)

(No PGP signature because keyring was on that partition.)

#1 lore raw

Hello,

Quoted 14 lines · Jedi Ninja

trinity root # fsck.reiser4 /dev/hda8
*** note about $25 support ***

Fscking the /dev/hda8 block device.
Will check the consistency of the Reiser4 SuperBlock. Will check the consistency of the Reiser4 FileSystem. Will use (default) params.
Continue?
(Yes/No): Yes
Fatal: Device operation "read" isn't implemented.
Fatal: Can't read master super block.
Fatal: Failed to open teh master super block.
Fatal: Cannot open the FileSystem on (/dev/hda8). Segmentation fault

hm, this is strange. what reiser4progs do you use? there are a lot of fixes have been made recently, I will send you the uptodate code in the next email, you should try it first.

Signature · 2 lines
Thanks,
Vitaly Fertman
#2 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 6 lines · Vitaly Fertman

...

hm, this is strange. what reiser4progs do you use?
there are a lot of fixes have been made recently, I will send you the uptodate code in the next email, you should try it first.

I have the latest from the website, as of November 11, I think.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQIVAwUBP953kwisZLIF6uqOAQKeDQ//ToJDCWFnfU8ZabPMZ3ayFYr0MkqQZc0O qAtfjkfZpY9wSJhaqOvgJCkZf+GEMB8JZW5FneDc/CYjRnGQGUXREsRTAwvRgXM3 /qCaQebp0IUCToHpXcJDPed0V2FwIFT1uzk3s+05V24aZkuRg9wfByRHfTdy7gXE da+59j4zvg+hg5rVzbWxkDq1m6AjOk4o7LgMgsqmG3eedgrkGQFTFxUOiuREshQF wmGybLqppWE1TG83k0n+D8gOcGhvvQtBO4MsGm2bcE4pguC3HqNeTRAdx5KUr2D5 wN9uojQHA0UL3ie2ybiKkkOZ9IVYUoa2lPk6gDvERZiuF2h+C/ba8f2kcYmgmRAg JVRtpCxib8MWTy9VNjkdQwUke3ReQiL3UchDUR3ECeA9cQW+H+HXa7LectrcEDpL nX7mOobLs/uj2dbJ6JIhow6G+Mg/cM/drPABb9udY6mZRIV678kVDrbMzu8fwu4d Etz/sFMSBD+8/acybrNWQuspsqNsBoXGgKb4iFugcR/1fDewbSxhrkETDPTe+WcH MpRflfR7MtSo7Q1QnxR+Skj7+2IPkz6GfMj2MzzitjmrXQ9peSwbDF+EIu1SOurw WCVx0lyP5/DMsxx0lm8A2X899CW5ooL8ld0D0iZWnJ4OmETxbnkRjcN/aAYiSWgP O/1J99wuNKE=
=oRGf
-----END PGP SIGNATURE-----

#3 lore raw
Quoted 8 lines · David Masover
Quoted 5 lines · Vitaly Fertman

...

hm, this is strange. what reiser4progs do you use? there are a lot of fixes have been made recently, I will send you the uptodate code in the next email, you should try it first.

I have the latest from the website, as of November 11, I think.

Sounds like Vitaly needs to release a new snapshot. Nikita, aren't we overdue for a new snapshot for the kernel code also?

#4 lore raw
Quoted 11 lines · Hans Reiser
Quoted 8 lines · David Masover
Quoted 5 lines · Vitaly Fertman

...

hm, this is strange. what reiser4progs do you use? there are a lot of fixes have been made recently, I will send you the uptodate code in the next email, you should try it first.

I have the latest from the website, as of November 11, I think.

Sounds like Vitaly needs to release a new snapshot. Nikita, aren't we overdue for a new snapshot for the kernel code also?

Probably. But reiser4 is not stable enough right now to release it.

Quoted 1 line

Nikita.

#5 lore raw
In reply to Hans Reiser
Quoted 4 lines · Hans Reiser
Quoted 3 lines · David Masover
Quoted 2 lines · Vitaly Fertman

...

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

hm, this is strange. what reiser4progs do you use? there are a lot of fixes have been made recently, I will send you the uptodate code in the next email, you should try it first.

I have the latest from the website, as of November 11, I think.

Sounds like Vitaly needs to release a new snapshot. Nikita, aren't we overdue for a new snapshot for the kernel code also?

right, but I still have a pair of not fixed bugs. and Yura has some also. debugging...

Signature · 2 lines
Thanks,
Vitaly Fertman
#6 lore raw
Quoted 19 lines · Vitaly Fertman
Quoted 16 lines · Hans Reiser
Quoted 13 lines · David Masover
Quoted 7 lines · Vitaly Fertman

...

hm, this is strange. what reiser4progs do you use? there are a lot of fixes have been made recently, I will send you the uptodate code in the next email, you should try it first.

I have the latest from the website, as of November 11, I think.

Quoted 10 lines
Quoted 4 lines

Sounds like Vitaly needs to release a new snapshot. Nikita, aren't we overdue for a new snapshot for the kernel code also?

right, but I still have a pair of not fixed bugs. and Yura has some also. debugging...

Ok, then let us try for next Monday, if the code is ready by then.

Signature · 1 line
Hans
author
#8 lore raw
In reply to a message not in the archive

I recently reproduced the same bug, once in /tmp, and later in /home (ack). I have time to (try to) debug it now. It's possible that I have some bad blocks, though. How do I check for that?

As of this writing, reiser4progs won't compile.

If I configure without --disable-Werror (as in, -Werror is enabled), I get warnings that become errors about implicit, redundant, and then previous definitions of aal_exception_error.

If I configure with --disable-Werror, make gives me errors about EXCEPTION_FATAL, EXCEPTION_YESNO, and EXCEPTION_NO being undefined in format40_repair.c

I can't paste the exact errors just now, as I am writing this from lynx (my /home was blown away).

This is depressing. I'm off to the PS2 for a day or so, then I'll re-clone and try again.

(I'm new to bk, so I guessed: bk clone bk://somewhere?)

Quoted 46 lines · Vitaly Fertman
Quoted 18 lines · Vitaly Fertman

Hello,

Quoted 14 lines · Jedi Ninja

trinity root # fsck.reiser4 /dev/hda8
*** note about $25 support ***

Fscking the /dev/hda8 block device.
Will check the consistency of the Reiser4 SuperBlock. Will check the consistency of the Reiser4 FileSystem. Will use (default) params.
Continue?
(Yes/No): Yes
Fatal: Device operation "read" isn't implemented.
Fatal: Can't read master super block.
Fatal: Failed to open teh master super block.
Fatal: Cannot open the FileSystem on (/dev/hda8). Segmentation fault

Quoted 3 lines

hm, this is strange. what reiser4progs do you use? there are a lot of fixes have been made recently, I will send you the uptodate code in the next email, you should try it first.

ah, would you clone our bk://bk.namesys.com/bk/reiser4progs
and bk://bk.namesys.com/bk/libaal repositories? The code is much better than in the last snapshot.

you will need to run the following for the libaal:
./prepare
./configure
make
make install
ldconfig

and ./prepare
./configure
make

for the reiser4progs

clean the previously installed libaal version first.

email me about the results please.

Signature · 2 lines
Thanks,
Vitaly Fertman
#9 lore raw
Quoted 1 line · Jedi Ninja

I recently reproduced the same bug, once in /tmp, and later in /home (ack).

what same bug? That mounting hands forever? Or smth with fsck.reiser4?

Quoted 2 lines

I have time to (try to) debug it now. It's possible that I have some bad blocks, though. How do I check for that?

/sbin/badblocks can reveal them.

Quoted 5 lines

As of this writing, reiser4progs won't compile.

If I configure without --disable-Werror (as in, -Werror is enabled), I get warnings that become errors about implicit, redundant, and then previous definitions of aal_exception_error.

you should install the latest libaal first. And the recent version has --enable-Werror instread, it is disabled by default now.

Quoted 11 lines

If I configure with --disable-Werror, make gives me errors about EXCEPTION_FATAL, EXCEPTION_YESNO, and EXCEPTION_NO being undefined in format40_repair.c

I can't paste the exact errors just now, as I am writing this from lynx (my /home was blown away).

This is depressing. I'm off to the PS2 for a day or so, then I'll re-clone and try again.

(I'm new to bk, so I guessed: bk clone bk://somewhere?)

bk clone bk://something, it will be created in the current directory.

bk clone bk://bk.namesys.com/bk/libaal
bk clone bk://bk.namesys.com/bk/reiser4progs

Signature · 2 lines
Thanks,
Vitaly Fertman