All of lore.kernel.org
 help / color / mirror / Atom feed
* fsck.reiser4 segfaults
@ 2006-03-31 14:21 Sarath Menon
  2006-03-31 16:17 ` Vladimir V. Saveliev
  2006-03-31 16:32 ` Vladimir V. Saveliev
  0 siblings, 2 replies; 20+ messages in thread
From: Sarath Menon @ 2006-03-31 14:21 UTC (permalink / raw)
  To: reiserfs-list

Hello,

I've been using reiser4 for more than a year without any problems. The
filesystem performance has been commendable to say the least.
Yesterday, I had to powercycle my pc (due to a dma hang with my cd
drive - happens occasionaly) and after the reboot, grub would not
load. I use a single root partition (/boot inclusive) and the patched
grub sources.

I've tried booting into knoppix and compiling reiser4progs and running an fsck.

This is what I get -:
Master super block (16):
magic:          ReIsEr4
blksize:        4096
format:         0x0 (format40)
label:          <none>

Format super block (17):
plugin:         format40
description:    Disk-format for reiser4.
magic:          ReIsEr40FoRmAt
flushes:        0
mkfs id:        0x3a4f3c7b
blocks:         2443880
free blocks:    428490
root block:     743745
tail policy:    0x2 (smart)
next oid:       0xf63a06
file count:     469920
tree height:    5
key policy:     LARGE


CHECKING STORAGE TREE
FSCK: Node (743744), item (0), unit (0): Points to the block (743745)
which is in the tree already.
The whole subtree is skipped.
Segmentation fault

debugfs.reiser4 also segfaults, and a mount also fails, it complians
of a duplicate key. (I can't post the exact message because the second
livecd doesn't have X or any mail client :(


Cheers,
Sarath

--
I presume, when you pronounce iptables, you say that you are peeing tables

^ permalink raw reply	[flat|nested] 20+ messages in thread
* fsck.reiser4 segfaults
@ 2006-08-09 13:03 Jussi Suutari-Jaasko
  2006-08-10  8:19 ` Jussi Suutari-Jääskö
  0 siblings, 1 reply; 20+ messages in thread
From: Jussi Suutari-Jaasko @ 2006-08-09 13:03 UTC (permalink / raw)
  To: reiserfs-list

Hi,

I'm have a little problem with my reiser4 partition...
I can't mount it anymore and I'm unable to repair it.
I have a AMD64 platform with 64-bit Gentoo installed.

Here's the short story:

1. I was using kernel 2.6.16 with reiser4-2.6.16-4 patch
and I installed new 2.6.17 kernel with reiser4-2.6.17-3
patch. (The kernel source is Gentoo-sources since I'm using
Gentoo :)

2. After rebooting with .17 kernel I ran fsck.reiser4
on my reiser4 partion (an error was reported in the
system log earlier, saying something about keys are
inconsistent..).

3. I rebooted (again) after having to do fsck.reiser4
  --build-fs and then my system refused to boot. The
screen filled with errors telling me about inconsistent
keys etc.

4. I tried to run fsck.reiser4 through two different
reiser4-capable LiveCDs but with no luck. The fsck.reiser4
always segfaults after 2% of the whole process. First
livecd had some .17 kernel and the other .14 kernel. Both
have reiser4tools-1.0.5.

Here's the output:

--- Cut ---

# fsck.reiser4 -y /dev/hda3

*******************************************************************
This is an EXPERIMENTAL version of fsck.reiser4. Read README first.
*******************************************************************

Fscking the /dev/hda3 block device.
Will check the consistency of the Reiser4 SuperBlock.
Will check the consistency of the Reiser4 FileSystem.
***** fsck.reiser4 started at Wed Aug  9 12:51:43 2006
Reiser4 fs was detected on /dev/hda3.
Master super block (16):
magic:          ReIsEr4
blksize:        4096
format:         0x0 (format40)
uuid:           409056f8-a452-469f-9847-f5777eb14de6
label:          <none>

Format super block (17):
plugin:         format40
description:    Disk-format for reiser4.
magic:          ReIsEr40FoRmAt
flushes:        0
mkfs id:        0xdf9f908
blocks:         19838256
free blocks:    15095656
root block:     7366
tail policy:    0x2 (smart)
next oid:       0x815411
file count:     392526
tree height:    4
key policy:     LARGE


CHECKING STORAGE TREE
FSCK: Node (7367): The left delimiting key 
[10005:1(SD):6c696263757273:5ebbe8:0] in the parent node (7366), pos (0/4294967295)
does not match the first key [29:1(SD):0:2a:0] in the node.
FSCK: Node (7366), item (0), unit (0): Points to the node [7367] with wrong 
delimiting keys. The whole subtree is skipped.
FSCK: Node (238887), item (39), unit (0): Points to the block (7366) which 
is in the tree already. The whole subtree is skipped.
Segmentation fault

#

--- Cut ---

It does the same with all option (--fix etc).
Here's the output when I try to mount the partition:

--- Cut ---

# mount /dev/hda3 /mnt/gentoo

reiser4[mount(17242)]: traverse_tree (fs/reiser4/search.c:731)[nikita-373]:
WARNING: not found on internal node: level: 3, lock_level: 1, stop_level: 1 
lock_mode: read, bias: exact
reiser4[mount(17242)]: key_warning 
(fs/reiser4/plugin/file_plugin_common.c:514)[nikita-717]:
WARNING: Error for inode 42 (-2)
mount: No such file or directory

#

--- Cut ---

The system log says nothing. I'm a bit lost what to do.
I had some important files on that partition (and yes,
I should have done a backup). Is there a way to fix the
partition?

- Jussi

^ permalink raw reply	[flat|nested] 20+ messages in thread
* fsck.reiser4 segfaults
@ 2004-07-15 11:59 Konstantin Sobolev
  2004-07-15 12:21 ` Vitaly Fertman
  0 siblings, 1 reply; 20+ messages in thread
From: Konstantin Sobolev @ 2004-07-15 11:59 UTC (permalink / raw)
  To: reiserfs-list

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.
-- 
/KoS
* My other tag line is a killer!					      

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2006-08-10  8:19 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-31 14:21 fsck.reiser4 segfaults Sarath Menon
2006-03-31 16:17 ` Vladimir V. Saveliev
2006-03-31 16:32 ` Vladimir V. Saveliev
2006-03-31 18:21   ` Sarath Menon
2006-03-31 20:21     ` Michael Weissenbacher
2006-04-01  6:02       ` Joachim Feise
2006-04-01  8:13         ` Sarath Menon
2006-04-01  9:02           ` Jake Maciejewski
2006-04-03 10:21     ` Vladimir V. Saveliev
     [not found]       ` <932539950604041657t42d33902s34dc8abcf056aa49@mail.gmail.com>
2006-04-05  0:00         ` Sarath Menon
2006-07-07  6:46       ` Sarath Menon
  -- strict thread matches above, loose matches on Subject: below --
2006-08-09 13:03 Jussi Suutari-Jaasko
2006-08-10  8:19 ` Jussi Suutari-Jääskö
2004-07-15 11:59 Konstantin Sobolev
2004-07-15 12:21 ` Vitaly Fertman
2004-07-15 18:45   ` Konstantin Sobolev
2004-07-15 19:09     ` Vitaly Fertman
2004-07-15 19:22       ` Konstantin Sobolev
2004-07-16  9:33         ` mjt
2004-07-15 19:26       ` Vitaly Fertman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.