Skip to contentSkip to conversation

fsck.reiser4 segfaults

DISCUSSION Sarath Menon 5 participants 11 messages Mar 31, 2006 – Jul 7, 2006 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Hello

Quoted 11 lines · Sarath Menon

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.

what is reiser4progs's version?

Quoted 40 lines

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

#2 lore raw
In reply to Sarath Menon

Hello

Quoted 34 lines · Sarath Menon

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
Quoted 6 lines

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

can you please run dmesg after that and send its output?

Quoted 11 lines

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

#3 lore raw

reiserfsprogs and libaal are both 1.0.5. I'll give you the dmesg output tommorow - I need to get a livecd with reiser4 patches - its more difficult than I initially thought ;)

Here's the gdb bt output - that's the max that I can provide today.

Program received signal SIGSEGV, Segmentation fault. 0x40052dd1 in repair_filter_update_traverse () from /tmp/reiser4/lib (gdb) bt

#0  0x40052dd1 in repair_filter_update_traverse () from /tmp/reiser4
#1  0x40015959 in reiser4_tree_trav_node () from /tmp/reiser4/lib/li
#2  0x40015938 in reiser4_tree_trav_node () from /tmp/reiser4/lib/li
#3  0x40052356 in repair_filter_traverse () from /tmp/reiser4/lib/li
#4  0x40051c8c in repair_filter () from /tmp/reiser4/lib/librepair-1
#5  0x400575ea in repair_check () from /tmp/reiser4/lib/librepair-1.
#6  0x0804a1cb in main ()
#7  0x4102eda6 in __libc_start_main () from /lib/libc.so.6

I'll post the dmesg output tommorow.

Thanks,
Sarath

Quoted 38 lines · Vladimir V. Saveliev

Hello

Quoted 10 lines · Sarath Menon

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.

Quoted 24 lines

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
Quoted 22 lines
Quoted 6 lines

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

can you please run dmesg after that and send its output?

Quoted 11 lines

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

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

#4 lore raw

Hi,

Quoted 3 lines

reiserfsprogs and libaal are both 1.0.5. I'll give you the dmesg output tommorow - I need to get a livecd with reiser4 patches - its more difficult than I initially thought ;)

I'm using RIPLinux, which has reiser4 support.
http://www.tux.org/pub/people/kent-robotti/looplinux/rip/

kind regards,
Michael

Signature · 9 lines
/============================================================\
|       Michael Weissenbacher <[email protected]>       |
|                  http://www.dermichi.com/                  |
| In 2010, M$ Windows will be a quantum processing emulation |
| layer for a 128-bit mod of a 64-bit hack of a 32-bit patch |
| to a 16-bit GUI for an 8-bit operating system written for  |
| a 4-bit processor from a 2-bit company that can't stand 1  |
| bit of competition.                                        |
\============================================================/
#5 lore raw

Michael Weissenbacher wrote on 03/31/06 12:21:

Quoted 6 lines

Hi,

Quoted 3 lines

reiserfsprogs and libaal are both 1.0.5. I'll give you the dmesg output tommorow - I need to get a livecd with reiser4 patches - its more difficult than I initially thought ;)

I'm using RIPLinux, which has reiser4 support.
http://www.tux.org/pub/people/kent-robotti/looplinux/rip/

Thanks for that info. I was looking for a boot disk with reiser4 for some time.

-Joe

#6 lore raw

Me too, ;) I also found http://www.lxnaydesign.net/, useful if you need a browser to be around too.

Here's the dmesg output when i try to mount it.

reiser4[mount(11756)]: renew_sibling_link (fs/reiser4/tree_walk.c:441)[nikita-3532]:
WARNING: Sibling nodes on the different levels: 4 != 4

reiser4[mount(11756)]: key_warning (fs/reiser4/plugin/object.c:97)[nikita-717]:
WARNING: Error for inode 42 (-5)

The kernel version seems to be a bit old at 2.6.10-lxnay3. Should I try with a newer kernel, with debug args maybe?

Thanks,
Sarath

Quoted 6 lines · Joachim Feise

Michael Weissenbacher wrote on 03/31/06 12:21:

Quoted 4 lines

Hi,

Quoted 3 lines

reiserfsprogs and libaal are both 1.0.5. I'll give you the dmesg output tommorow - I need to get a livecd with reiser4 patches - its more difficult than I initially thought ;)

Quoted 8 lines
Quoted 2 lines

I'm using RIPLinux, which has reiser4 support.
http://www.tux.org/pub/people/kent-robotti/looplinux/rip/

Thanks for that info. I was looking for a boot disk with reiser4 for some time.

-Joe

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

#7 lore raw
Quoted 9 lines · Sarath Menon

Me too, ;) I also found http://www.lxnaydesign.net/, useful if you need a browser to be around too.

Here's the dmesg output when i try to mount it.

reiser4[mount(11756)]: renew_sibling_link (fs/reiser4/tree_walk.c:441)[nikita-3532]:
WARNING: Sibling nodes on the different levels: 4 != 4

Quoted 5 lines

reiser4[mount(11756)]: key_warning (fs/reiser4/plugin/object.c:97)[nikita-717]:
WARNING: Error for inode 42 (-5)

The kernel version seems to be a bit old at 2.6.10-lxnay3. Should I try with a newer kernel, with debug args maybe?

lxnay may have backported a more recent patch, but there was a plugin set change (see http://www.mail-archive.com/[email protected]/
msg18602.html) in 2.6.11-5 such that older kernels would be unable to mount filesystems that had been mounted with newer kernels.

Quoted 23 lines

Thanks,
Sarath

Quoted 6 lines · Joachim Feise

Michael Weissenbacher wrote on 03/31/06 12:21:

Quoted 4 lines

Hi,

Quoted 3 lines

reiserfsprogs and libaal are both 1.0.5. I'll give you the dmesg output tommorow - I need to get a livecd with reiser4 patches - its more difficult than I initially thought ;)

Quoted 8 lines
Quoted 2 lines

I'm using RIPLinux, which has reiser4 support.
http://www.tux.org/pub/people/kent-robotti/looplinux/rip/

Thanks for that info. I was looking for a boot disk with reiser4 for some time.

-Joe

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

Signature · 1 line
Jake Maciejewski <[email protected]>
#8 lore raw
In reply to Sarath Menon

Hello

Quoted 18 lines · Sarath Menon

reiserfsprogs and libaal are both 1.0.5. I'll give you the dmesg output tommorow - I need to get a livecd with reiser4 patches - its more difficult than I initially thought ;)

Here's the gdb bt output - that's the max that I can provide today.

Program received signal SIGSEGV, Segmentation fault. 0x40052dd1 in repair_filter_update_traverse () from /tmp/reiser4/lib (gdb) bt

#0  0x40052dd1 in repair_filter_update_traverse () from /tmp/reiser4
#1  0x40015959 in reiser4_tree_trav_node () from /tmp/reiser4/lib/li
#2  0x40015938 in reiser4_tree_trav_node () from /tmp/reiser4/lib/li
#3  0x40052356 in repair_filter_traverse () from /tmp/reiser4/lib/li
#4  0x40051c8c in repair_filter () from /tmp/reiser4/lib/librepair-1
#5  0x400575ea in repair_check () from /tmp/reiser4/lib/librepair-1.
#6  0x0804a1cb in main ()
#7  0x4102eda6 in __libc_start_main () from /lib/libc.so.6
Quoted 2 lines

I'll post the dmesg output tommorow.

I would like to debug this problem. Can you please do debugfs.reiser4 /dev/thatdevice -P | bzip2 -c > reiser4-metadata.bz2 and put resulting file somewhere for downloading. That should make debugging easier.

Quoted 70 lines

Thanks,
Sarath

Quoted 38 lines · Vladimir V. Saveliev

Hello

Quoted 10 lines · Sarath Menon

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.

Quoted 24 lines

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
Quoted 22 lines
Quoted 6 lines

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

can you please run dmesg after that and send its output?

Quoted 11 lines

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

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

A message that is not in the archive (sent off-list or not yet received): [email protected]

#10 lore raw

CC-ing to the list.

Quoted 98 lines · Sarath Menon

Hi Vlad,

Sorry I missed your email, I wasn't really checking my mails. The dump is available from http://sarath.dyndns.org/r4/reiser4-metadata.bz2.

Please let me know if you need more information.

Quoted 90 lines · Vladimir V. Saveliev

Hello

Quoted 18 lines · Sarath Menon

reiserfsprogs and libaal are both 1.0.5. I'll give you the dmesg output tommorow - I need to get a livecd with reiser4 patches - its more difficult than I initially thought ;)

Here's the gdb bt output - that's the max that I can provide today.

Program received signal SIGSEGV, Segmentation fault. 0x40052dd1 in repair_filter_update_traverse () from /tmp/reiser4/lib (gdb) bt

#0  0x40052dd1 in repair_filter_update_traverse () from /tmp/reiser4
#1  0x40015959 in reiser4_tree_trav_node () from /tmp/reiser4/lib/li
#2  0x40015938 in reiser4_tree_trav_node () from /tmp/reiser4/lib/li
#3  0x40052356 in repair_filter_traverse () from /tmp/reiser4/lib/li
#4  0x40051c8c in repair_filter () from /tmp/reiser4/lib/librepair-1
#5  0x400575ea in repair_check () from /tmp/reiser4/lib/librepair-1.
#6  0x0804a1cb in main ()
#7  0x4102eda6 in __libc_start_main () from /lib/libc.so.6
Quoted 2 lines

I'll post the dmesg output tommorow.

I would like to debug this problem. Can you please do debugfs.reiser4 /dev/thatdevice -P | bzip2 -c > reiser4-metadata.bz2 and put resulting file somewhere for downloading. That should make debugging easier.

Quoted 61 lines

Thanks,
Sarath

Quoted 57 lines · Vladimir V. Saveliev

Hello

Quoted 10 lines · Sarath Menon

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.

Quoted 24 lines

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
Quoted 6 lines

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

can you please run dmesg after that and send its output?

Quoted 10 lines

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.

#11 lore raw
In reply to Vladimir V. Saveliev

Hi Vlad,

This was posted a long time before. I was wondering whether the recent patches might have fixed this. Can you please comment?

Thanks,
Sarath

Quoted 96 lines · Vladimir V. Saveliev

Hello

Quoted 18 lines · Sarath Menon

reiserfsprogs and libaal are both 1.0.5. I'll give you the dmesg output tommorow - I need to get a livecd with reiser4 patches - its more difficult than I initially thought ;)

Here's the gdb bt output - that's the max that I can provide today.

Program received signal SIGSEGV, Segmentation fault. 0x40052dd1 in repair_filter_update_traverse () from /tmp/reiser4/lib (gdb) bt

#0  0x40052dd1 in repair_filter_update_traverse () from /tmp/reiser4
#1  0x40015959 in reiser4_tree_trav_node () from /tmp/reiser4/lib/li
#2  0x40015938 in reiser4_tree_trav_node () from /tmp/reiser4/lib/li
#3  0x40052356 in repair_filter_traverse () from /tmp/reiser4/lib/li
#4  0x40051c8c in repair_filter () from /tmp/reiser4/lib/librepair-1
#5  0x400575ea in repair_check () from /tmp/reiser4/lib/librepair-1.
#6  0x0804a1cb in main ()
#7  0x4102eda6 in __libc_start_main () from /lib/libc.so.6
Quoted 1 line

I'll post the dmesg output tommorow.

I would like to debug this problem. Can you please do debugfs.reiser4 /dev/thatdevice -P | bzip2 -c > reiser4-metadata.bz2 and put resulting file somewhere for downloading. That should make debugging easier.

Quoted 68 lines

Thanks,
Sarath

Quoted 40 lines · Vladimir V. Saveliev

Hello

Quoted 11 lines · Sarath Menon

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.

Quoted 23 lines

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
Quoted 19 lines
Quoted 5 lines

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

can you please run dmesg after that and send its output?

Quoted 11 lines

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

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

Signature · 2 lines
I don't even butter my bread.  I consider that cooking.
		-- Katherine Cebrian