Skip to contentSkip to conversation

Problem with the latest auto snapshot

DISCUSSION Henning Westerholt 4 participants 15 messages Jun 12, 2004 – Jun 15, 2004

lore
Share & tools
lore
#0 lore raw

Hello,

i have some problems with the latest auto snapshot against 2.6.7-rc3-mm1 (2004.06.11-19.36).

After some few disk operation a process try to access some data on the partition, and hung forever. I got the following log entries:

Jun 12 20:51:40 sonne kernel:reiser4[emerge(6603)]: create_child_common 
(fs/reiser4/plugin/dir/dir.c:519)[nikita-2219]:
Jun 12 20:51:40 sonne kernel: WARNING: Failed to initialize dir for 88794: -17
Jun 12 20:51:40 sonne kernel: reiser4[emerge(6603)]: rem_entry_cde 
(fs/reiser4/plugin/item/cde.c:1038)[nikita-2628]:
Jun 12 20:51:40 sonne kernel: WARNING: Dir is broke: 88794: 0
Jun 12 20:51:40 sonne kernel: reiser4[emerge(6603)]: done_hashed 
(fs/reiser4/plugin/dir/hashed_dir.c:173)[nikita-2252]:
Jun 12 20:51:40 sonne kernel: WARNING: Cannot remove dot of 88794: -5
Jun 12 20:52:27 sonne kernel: reiser4[emerge(6625)]: create_child_common 
(fs/reiser4/plugin/dir/dir.c:519)[nikita-2219]:
Jun 12 20:52:27 sonne kernel: WARNING: Failed to initialize dir for 88795: -17
Jun 12 20:52:27 sonne kernel: reiser4[emerge(6625)]: rem_entry_cde 
(fs/reiser4/plugin/item/cde.c:1038)[nikita-2628]:
Jun 12 20:52:27 sonne kernel: WARNING: Dir is broke: 88795: 0
Jun 12 20:52:27 sonne kernel: reiser4[emerge(6625)]: done_hashed 
(fs/reiser4/plugin/dir/hashed_dir.c:173)[nikita-2252]:
Jun 12 20:52:27 sonne kernel: WARNING: Cannot remove dot of 88795: -5
Jun 12 20:52:53 sonne kernel: reiser4[sync(6634)]: kill_hook_internal 
(fs/reiser4/plugin/item/internal.c:343)[nikita-1223]:
Jun 12 20:52:53 sonne kernel: WARNING: Cowardly refuse to remove link to 
non-empty node
Jun 12 20:53:03 sonne kernel: reiser4[rm(6725)]: cbk_level_lookup 
(fs/reiser4/search.c:1025)[vs-3533]
Jun 12 20:53:03 sonne kernel: WARNING: Keys are inconsistent. Fsck?
Jun 12 20:53:05 sonne kernel: reiser4[ebuild.sh(6775)]: traverse_tree 
(fs/reiser4/search.c:747)[nikita-1481]:
Jun 12 20:53:05 sonne kernel: WARNING: Too many iterations: 128
Jun 12 20:53:05 sonne kernel: reiser4[ebuild.sh(6775)]: traverse_tree 
(fs/reiser4/search.c:747)[nikita-1481]:
Jun 12 20:53:05 sonne kernel: WARNING: Too many iterations: 256
Jun 12 20:53:05 sonne kernel: reiser4[ebuild.sh(6775)]: traverse_tree 
(fs/reiser4/search.c:747)[nikita-1481]:
...
Jun 12 20:56:57 sonne kernel: WARNING: Too many iterations: 33554432

*****************

I could not kill the process, a reboot was needed.

After the fsck run with build-fs i got new errors:

reiser4[install(7105)]: cbk_level_lookup (fs/reiser4/search.c:1025)[vs-3533]:
WARNING: Keys are inconsistent. Fsck?
reiser4[install(7105)]: done_hashed (fs/reiser4/plugin/dir/hashed_dir.c:173) [nikita-2252]:WARNING: Cannot remove dot of 88837: -5
....

Any operation on the fs fail with a input/ output error. I try to fix this with fsck, but it found no errors. I attached the output from the first fsck runs.
I'll rebuild the partition tomorow, and give it another try..

Best regards,

Henning

#1 lore raw
Quoted 2 lines · Henning Westerholt

After some few disk operation a process try to access some data on the partition, and hung forever. I got the following log entries:

[snip]

Quoted 1 line

I could not kill the process, a reboot was needed.

I had something similar, with an old auto-snapshot, but I didn't get those log messages. It also repeated on, 2004.06.09 under some mild load, compiling .11-19.36 and doing a dist-upgrade. I'll dig out some traces if it still repeats with this kernel, as they seem to have systematically receeded.

I wonder if we have something different concerning debug?

mjt@shrike:~$ zgrep -i reiser4 /proc/config.gz 
CONFIG_REISER4_FS=y
# CONFIG_REISER4_FS_SYSCALL is not set
CONFIG_REISER4_LARGE_KEY=y
# CONFIG_REISER4_CHECK is not set
CONFIG_REISER4_USE_EFLUSH=y
# CONFIG_REISER4_COPY_ON_CAPTURE is not set
# CONFIG_REISER4_BADBLOCKS is not set
mjt@shrike:~$ 
Quoted 4 lines

Any operation on the fs fail with a input/ output error. I try to fix this with fsck, but it found no errors. I attached the output from the first fsck runs.
I'll rebuild the partition tomorow, and give it another try..

I just ran a bonnie++ without any problems. The machine isn't under any real load, though.
top - 22:42:30 up 58 min, 16 users, load average: 3.29, 2.37, 1.42 I'm just watching Threshold's Critical Energy live DVD, so all that is all bonnie's doing.

Version 1.03 ------Sequential Output------ --Sequential Input- --Random-

                    -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
shrike           1G 11969  50 38699  19 16239  16 13620  62 29511  16 166.2 1
                    ------Sequential Create------ --------Random Create--------
                    -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                 16 16636  62 +++++ +++  5849  62  6758  64 +++++ +++  5921 64

shrike,1G,11969,50,38699,19,16239,16,13620,62,29511,16,166.2,1,16,16636,62,+++++,+++,5849,62,6758,64,+++++,+++,5921,64

Signature · 1 line
mjt
#2 lore raw

Am Samstag, 12. Juni 2004 21:46 schrieb Markus Törnqvist:

Quoted 9 lines

I had something similar, with an old auto-snapshot, but I didn't get those log messages. It also repeated on, 2004.06.09 under some mild load, compiling .11-19.36 and doing a dist-upgrade. I'll dig out some traces if it still repeats with this kernel, as they seem to have systematically receeded.

I wonder if we have something different concerning debug?

mjt@shrike:~$ zgrep -i reiser4 /proc/config.gz
[snip]

Hello Markus,

i'm using the same reiser4 config like you.

I just rebuild the partition, and start a small compile job. After them i started a fsck. It reported a new fatal error about a broken node. I attached the output from fsck. I could reproduce this error two times.

The new snapshot shows also another error on a fresh fs after a simple copy or untar operation:
Error: On-disk used blocks and really used blocks differ.
Free block count 2354038 found in the format is wrong. Sould be 2441757.

I could reproduce this error too. If i remember it correctly, i have had this problem with the 03.26 snapshot before.

I start now a kde-3.2.3 compile run, lets see if the new code survive this..

Best regards,

Henning

#3 lore raw
Quoted 1 line · Henning Westerholt

i'm using the same reiser4 config like you.

Weirdness.

Quoted 3 lines

I just rebuild the partition, and start a small compile job. After them i started a fsck. It reported a new fatal error about a broken node. I attached the output from fsck. I could reproduce this error two times.

The only question that I can think of is this.
Did you umount the partition?

There is supposedly a bug in current reiser4progs concerning mountpoints, so it doesn't refuse to fsck a mounted partition.

That is bad.

Quoted 2 lines

Error: On-disk used blocks and really used blocks differ. Free block count 2354038 found in the format is wrong. Sould be 2441757.

Could this be because the partition is in use?
If it's trafficking data all the time and fsck can't catch up?

I vaguely remember an ancient discussion with Nik Danilov about having online fsck and he said something about the kernel/fs never being able to trust userspace data about disk usage or something...

Quoted 4 lines

I could reproduce this error too. If i remember it correctly, i have had this problem with the 03.26 snapshot before.

I start now a kde-3.2.3 compile run, lets see if the new code survive this..

Does it still stall?

Are the only real corruptions visible at fsck time?

Signature · 1 line
mjt
#4 lore raw

Am Sonntag, 13. Juni 2004 15:43 schrieb Markus Törnqvist:

Quoted 9 lines · Henning Westerholt
Quoted 1 line

i'm using the same reiser4 config like you.

Weirdness.

Quoted 3 lines

I just rebuild the partition, and start a small compile job. After them i started a fsck. It reported a new fatal error about a broken node. I attached the output from fsck. I could reproduce this error two times.

Quoted 7 lines

The only question that I can think of is this.
Did you umount the partition?

There is supposedly a bug in current reiser4progs concerning mountpoints, so it doesn't refuse to fsck a mounted partition.

That is bad.

I umount or remount-ro the partition.

Quoted 5 lines
Quoted 2 lines

Error: On-disk used blocks and really used blocks differ. Free block count 2354038 found in the format is wrong. Sould be 2441757.

Could this be because the partition is in use?
If it's trafficking data all the time and fsck can't catch up?

The partition is only temporarily in use, so this should not the case.

Quoted 7 lines

I vaguely remember an ancient discussion with Nik Danilov about having online fsck and he said something about the kernel/fs never being able to trust userspace data about disk usage or something...

Quoted 3 lines

I could reproduce this error too. If i remember it correctly, i have had this problem with the 03.26 snapshot before.

Quoted 6 lines
Quoted 2 lines

I start now a kde-3.2.3 compile run, lets see if the new code survive this..

Does it still stall?

Are the only real corruptions visible at fsck time?

These were the only visible corruption so far. After the mentioned errors, the partition now performs stable. I compile several large oss projects without problems. Fsck shows also no problems.

Strange. Perhaps the disk format after the mkfs is "unstable", and it needs further use to stabilize it?

Best regards,

Henning

#5 lore raw
Quoted 3 lines · Henning Westerholt
Quoted 2 lines

Could this be because the partition is in use?
If it's trafficking data all the time and fsck can't catch up?

The partition is only temporarily in use, so this should not the case.

I tested this on a 1152-megabyte loopback image, I ran bonnie++ on it while doing fsck's and I got pretty identical error messages...

Quoted 5 lines

These were the only visible corruption so far. After the mentioned errors, the partition now performs stable. I compile several large oss projects without problems. Fsck shows also no problems.
Strange. Perhaps the disk format after the mkfs is "unstable", and it needs further use to stabilize it?

I think someone at Namesys, maybe VS or Zam, is better qualified to answer to this. I'm at a total loss. It doesn't sound reasonable that the file system must be "driven in" before actual use...

Signature · 1 line
mjt
#7 lore raw
In reply to Henning Westerholt
Quoted 11 lines · Henning Westerholt

Am Samstag, 12. Juni 2004 21:46 schrieb Markus T?rnqvist:

Quoted 9 lines

I had something similar, with an old auto-snapshot, but I didn't get those log messages. It also repeated on, 2004.06.09 under some mild load, compiling .11-19.36 and doing a dist-upgrade. I'll dig out some traces if it still repeats with this kernel, as they seem to have systematically receeded.

I wonder if we have something different concerning debug?

mjt@shrike:~$ zgrep -i reiser4 /proc/config.gz
[snip]
Quoted 7 lines

Hello Markus,

i'm using the same reiser4 config like you.

I just rebuild the partition, and start a small compile job. After them i started a fsck. It reported a new fatal error about a broken node. I attached the output from fsck. I could reproduce this error two times.

new fsck 0.5.5 is available for testing
(http://www.namesys.com/snapshots/2004.06.14-internal.testing/), please try it.

Can you also enable CONFIG_REISER4_CHECK and CONFIG_REISER4_DEBUG? It may help to catch a bug faster.

Signature · 1 line
Alex.
#8 lore raw
Quoted 12 lines · Alex Zarochentcev
Quoted 11 lines · Henning Westerholt

Am Samstag, 12. Juni 2004 21:46 schrieb Markus T?rnqvist:

Quoted 9 lines

I had something similar, with an old auto-snapshot, but I didn't get those log messages. It also repeated on, 2004.06.09 under some mild load, compiling .11-19.36 and doing a dist-upgrade. I'll dig out some traces if it still repeats with this kernel, as they seem to have systematically receeded.

I wonder if we have something different concerning debug?

mjt@shrike:~$ zgrep -i reiser4 /proc/config.gz
[snip]
Quoted 5 lines
Quoted 5 lines

Hello Markus,

i'm using the same reiser4 config like you.

I just rebuild the partition, and start a small compile job. After them i

and please try new mkfs.reiser4 as well.

Quoted 11 lines
Quoted 2 lines

started a fsck. It reported a new fatal error about a broken node. I attached the output from fsck. I could reproduce this error two times.

new fsck 0.5.5 is available for testing
(http://www.namesys.com/snapshots/2004.06.14-internal.testing/), please try it.

Can you also enable CONFIG_REISER4_CHECK and CONFIG_REISER4_DEBUG? It may help to catch a bug faster.

Signature · 1 line
Alex.

Thanks.

Signature · 1 line
Alex.
#9 lore raw

Am Dienstag, 15. Juni 2004 10:14 schrieb Alex Zarochentsev:

Quoted 2 lines
Quoted 2 lines

Can you also enable CONFIG_REISER4_CHECK and CONFIG_REISER4_DEBUG? It may help to catch a bug faster.

Hello Alex,

thanks for your reply.

I restarted with a debug-enabled kernel, after the fsck --build-sb --fix run on the three partitions i use. The fsck reports a consistent fs on all of them.

The first access to a reiser4 fs during the boot (cleaning the tmp dir) causes several kernel oopses. I captured them with pen and paper, as these message don't appear in the system log. I try to capture them with the serial console on a second pc, but without success.

The first oops:

stack trace
[...]
unlink_common
lookup_hashed
scheduable
init_context
unlink_file
jnode_make_dirty_locked
vfs_unlink
sys_unlink
sys_gedents64
syscall_call
[...]
reiser4[mkdir] context_list_ok (fs/reiser4/context.h: 169) [nikita-1054]

reiser4 paniced cowardly: assertion failed: context_list_link_invariant(_link)

process mkdir[..]
stack trace
[....]
mkdir exited with preempt_count 3
bad: scheduling while atomic

After these messages some oopses appear in the syslog:

Jun 15 18:24:44 sonne kernel: c01dffda
Jun 15 18:24:44 sonne kernel: PREEMPT
Jun 15 18:24:44 sonne kernel: Modules linked in: snd_es1968 snd_ac97_codec 
snd_pcm snd_page_alloc snd
_timer snd_mpu401_uart snd_rawmidi snd_seq_device snd
Jun 15 18:24:44 sonne kernel: CPU:    0
Jun 15 18:24:44 sonne kernel: EIP:    0060:[<c01dffda>]    Not tainted VLI
Jun 15 18:24:44 sonne kernel: EFLAGS: 00010286   (2.6.7-rc3-mm1)
Jun 15 18:24:44 sonne kernel: EIP is at do_jnode_make_dirty+0x9a/0x720
Jun 15 18:24:44 sonne kernel: eax: 00000000   ebx: f7784160   ecx: f73afe8c   
edx: f73ae000
Jun 15 18:24:44 sonne kernel: esi: c01e06bd   edi: f733de40   ebp: f73af850   
esp: f73af80c
Jun 15 18:24:44 sonne kernel: ds: 007b   es: 007b   ss: 0068
Jun 15 18:24:44 sonne kernel: Process rm (pid: 4697, threadinfo=f73ae000 
task=f73b1770)
Jun 15 18:24:44 sonne kernel: Stack: 20000000 0298ffff 00010d3c 00000000 
00000000 c022f970 c022f920 c
022f660
Jun 15 18:24:44 sonne kernel:        0032a29e 00000001 00000000 00000018 
00000001 f7784160 f7784160 f
7784160
Jun 15 18:24:44 sonne kernel:        f7784160 f73af8dc c01e06bd 00000001 
c022e26d f7784160 f73ae000 c
01e0836
Jun 15 18:24:44 sonne kernel: Call Trace:
Jun 15 18:24:44 sonne kernel:  [<c022f970>] kill_head+0x0/0x40
Jun 15 18:24:44 sonne kernel:  [<c022f920>] kill_tail+0x0/0x50
Jun 15 18:24:44 sonne kernel:  [<c022f660>] kill_units+0x0/0x2c0
Jun 15 18:24:44 sonne kernel:  [<c01e06bd>] jnode_make_dirty_locked+0x5d/0x180
Jun 15 18:24:44 sonne kernel:  [<c022e26d>] compact+0x18d/0x490
Jun 15 18:24:44 sonne kernel:  [<c01e0836>] znode_make_dirty+0x56/0x410
Jun 15 18:24:44 sonne kernel:  [<c023087d>] kill_node40+0xbd/0x210
Jun 15 18:24:44 sonne kernel:  [<c01c7bfe>] carry_cut+0x7e/0x1c0
Jun 15 18:24:44 sonne kernel:  [<c01c2213>] carry_on_level+0x63/0x350
Jun 15 18:24:44 sonne kernel:  [<c01c2056>] carry+0x96/0x1f0
Jun 15 18:24:44 sonne kernel:  [<c0229d06>] item_by_coord_node40+0x16/0x140
Jun 15 18:24:44 sonne kernel:  [<c01d082f>] kill_node_content+0x17f/0x350
Jun 15 18:24:44 sonne kernel:  [<c01d4356>] coord_dup+0x16/0x80
Jun 15 18:24:44 sonne kernel:  [<c023e5b1>] rem_entry_cde+0x1a1/0x260
Jun 15 18:24:44 sonne kernel:  [<c0229d06>] item_by_coord_node40+0x16/0x140
Jun 15 18:24:44 sonne kernel:  [<c01e53ec>] extract_key_from_id+0x2c/0xc0
Jun 15 18:24:44 sonne kernel:  [<c02641c1>] rem_entry.22+0x141/0x190
Jun 15 18:24:44 sonne kernel:  [<c01b76a6>] check_jload+0x56/0xa0
Jun 15 18:24:44 sonne kernel:  [<c02645bc>] rem_entry_hashed+0x3ac/0x4b0
Jun 15 18:24:44 sonne kernel:  [<c0265de8>] unlink_common+0x178/0x200
Jun 15 18:24:44 sonne kernel:  [<c026292b>] lookup_hashed+0xab/0x100
Jun 15 18:24:44 sonne kernel:  [<c01b41c8>] schedulable+0x8/0x70
Jun 15 18:24:44 sonne kernel:  [<c01d25bd>] init_context+0xed/0x360
Jun 15 18:24:44 sonne kernel:  [<c020c558>] unlink_file+0x58/0x160
Jun 15 18:24:44 sonne kernel:  [<c01e06bd>] jnode_make_dirty_locked+0x5d/0x180
Jun 15 18:24:44 sonne kernel:  [<c015e1ae>] vfs_unlink+0xee/0x1b0
Jun 15 18:24:44 sonne kernel:  [<c015e324>] sys_unlink+0xb4/0x120
Jun 15 18:24:44 sonne kernel:  [<c0160d06>] sys_getdents64+0x96/0xa0
Jun 15 18:24:44 sonne kernel:  [<c0103ec7>] syscall_call+0x7/0xb
Jun 15 18:24:44 sonne kernel:
Jun 15 18:24:44 sonne kernel: Code: 91 05 00 00 89 b1 a0 00 00 00 8b 45 00 8b 

40 04 89 81 a4 00 00 00
8b 45 00 8b 00 8b 40 04 89 81 a8 00 00 00 8b 45 00 8b 00 8b 00 <8b> 40 04 89
81 ac 00 00 00 8b 45 00
8b 00 8b 00 8b 00 8b 40 04

Jun 15 18:24:44 sonne kernel:  <6>note: rm[4697] exited with preempt_count 2
Jun 15 18:24:44 sonne kernel: reiser4[mkdir(4698)]: context_list_link_ok 
(fs/reiser4/context.h:169)[n
ikita-1054]:
Jun 15 18:24:44 sonne kernel: pid: -1073742648, comm:
Jun 15 18:24:44 sonne kernel: ^Ilock stack:
Jun 15 18:24:44 sonne kernel: .... nr_signaled -147560344
Jun 15 18:24:44 sonne kernel: .... curpri high
Jun 15 18:24:44 sonne kernel: .... current request: read: b8c085086b8b0000
Jun 15 18:24:44 sonne kernel: .... current locks:
Jun 15 18:24:44 sonne kernel: ...... write: f73417e000000000
Jun 15 18:24:44 sonne kernel: c01cc863
Jun 15 18:24:44 sonne kernel: PREEMPT
Jun 15 18:24:44 sonne kernel: Modules linked in: snd_es1968 snd_ac97_codec 
snd_pcm snd_page_alloc snd
_timer snd_mpu401_uart snd_rawmidi snd_seq_device snd
Jun 15 18:24:44 sonne kernel: CPU:    0
Jun 15 18:24:44 sonne kernel: EIP:    0060:[<c01cc863>]    Not tainted VLI
Jun 15 18:24:44 sonne kernel: EFLAGS: 00010286   (2.6.7-rc3-mm1)
Jun 15 18:24:44 sonne kernel: EIP is at print_lock_stack+0xe3/0x160
Jun 15 18:24:44 sonne kernel: eax: 07db0160   ebx: 07db0160   ecx: c04aa570   
edx: 07db016c
Jun 15 18:24:44 sonne kernel: esi: f73afe98   edi: f73afe30   ebp: f73afdbc   
esp: f73afd40
Jun 15 18:24:44 sonne kernel: ds: 007b   es: 007b   ss: 0068
Jun 15 18:24:44 sonne kernel: Process mkdir (pid: 4698, threadinfo=f73ae000 
task=f73b1770)
Jun 15 18:24:44 sonne kernel: Stack: c045057d c045059a f73afe8c f73afe8c 
c059c5a0 c01d2f60 c0450ddb b
ffffcc8
Jun 15 18:24:44 sonne kernel:        f73b019e f73afe8c c01d2fdf f73ae000 
f73afdbc c01b3e56 c04632a8 c
059c140
Jun 15 18:24:44 sonne kernel:        f73afdbc f73aff00 f73afdbc c01d2536 
c044de23 c04632cc 000000a9 f
787ceb8
Jun 15 18:24:44 sonne kernel: Call Trace:
Jun 15 18:24:44 sonne kernel:  [<c01d2f60>] print_context+0x40/0x70
Jun 15 18:24:44 sonne kernel:  [<c01d2fdf>] print_contexts+0x4f/0x70
Jun 15 18:24:44 sonne kernel:  [<c01b3e56>] reiser4_do_panic+0x96/0x2b0
Jun 15 18:24:44 sonne kernel:  [<c01d2536>] init_context+0x66/0x360
Jun 15 18:24:44 sonne kernel:  [<c020bbcf>] reiser4_lookup+0x2f/0x1b0
Jun 15 18:24:44 sonne kernel:  [<c013a21e>] do_page_cache_readahead+0x9e/0x180
Jun 15 18:24:44 sonne kernel:  [<c0165bfb>] d_lookup+0x1b/0x40
Jun 15 18:24:44 sonne kernel:  [<c015bea8>] real_lookup+0xb8/0xe0
Jun 15 18:24:44 sonne kernel:  [<c015c0ee>] do_lookup+0x7e/0x90
Jun 15 18:24:44 sonne kernel:  [<c015c607>] link_path_walk+0x507/0x9e0
Jun 15 18:24:44 sonne kernel:  [<c015cd24>] path_lookup+0x74/0x130
Jun 15 18:24:44 sonne kernel:  [<c015cf54>] __user_walk+0x44/0x60
Jun 15 18:24:44 sonne kernel:  [<c01582ed>] vfs_stat+0x1d/0x50
Jun 15 18:24:44 sonne kernel:  [<c0144acc>] do_brk+0x1ac/0x200
Jun 15 18:24:44 sonne kernel:  [<c0158972>] sys_stat64+0x12/0x30
Jun 15 18:24:44 sonne kernel:  [<c0143218>] sys_brk+0xc8/0xf0
Jun 15 18:24:44 sonne kernel:  [<c0114e20>] do_page_fault+0x0/0x4cc
Jun 15 18:24:44 sonne kernel:  [<c01048d1>] error_code+0x2d/0x38
Jun 15 18:24:44 sonne kernel:  [<c0103ec7>] syscall_call+0x7/0xb
Jun 15 18:24:44 sonne kernel:
Jun 15 18:24:44 sonne kernel: Code: 4b 08 85 c9 74 1d 8d 51 4c b8 92 05 45 c0 

8b 89 80 00 00 00 85 c9
b9 9f 05 45 c0 0f 4e c1 e8 55 cc 02 00 8b 53 0c 8d 42 f4 89 c3 <8b> 40 0c 83
e8 0c 0f 18 00 90 39 d6
75 c6 b8 00 e0 ff ff 21 e0

Jun 15 18:24:44 sonne kernel:  <6>note: mkdir[4698] exited with preempt_count 
3
Jun 15 18:24:44 sonne kernel:  [<c03f8562>] schedule+0x462/0x470
Jun 15 18:24:44 sonne kernel:  [<c0140a3f>] zap_pmd_range+0x3f/0x60
Jun 15 18:24:44 sonne kernel:  [<c030a267>] poke_blanked_console+0x67/0xc0
Jun 15 18:24:44 sonne kernel:  [<c0140a9d>] unmap_page_range+0x3d/0x70
Jun 15 18:24:44 sonne kernel:  [<c0140c74>] unmap_vmas+0x1a4/0x1c0
Jun 15 18:24:44 sonne kernel:  [<c0144b97>] exit_mmap+0x77/0x150
Jun 15 18:24:44 sonne kernel:  [<c0117e0e>] mmput+0x5e/0x90
Jun 15 18:24:44 sonne kernel:  [<c011bb5a>] do_exit+0x14a/0x3e0
Jun 15 18:24:44 sonne kernel:  [<c0104fc1>] die+0xf1/0x100
Jun 15 18:24:44 sonne kernel:  [<c0114e20>] do_page_fault+0x0/0x4cc
Jun 15 18:24:44 sonne kernel:  [<c0114fd4>] do_page_fault+0x1b4/0x4cc
Jun 15 18:24:44 sonne kernel:  [<c012067e>] __mod_timer+0x12e/0x1a0
Jun 15 18:24:44 sonne kernel:  [<c030a267>] poke_blanked_console+0x67/0xc0
Jun 15 18:24:44 sonne kernel:  [<c0305e53>] set_cursor+0x63/0x80
Jun 15 18:24:44 sonne kernel:  [<c030925d>] vt_console_print+0x1fd/0x2d0
Jun 15 18:24:44 sonne kernel:  [<c0305e53>] set_cursor+0x63/0x80
Jun 15 18:24:44 sonne kernel:  [<c0309060>] vt_console_print+0x0/0x2d0
Jun 15 18:24:44 sonne kernel:  [<c0119ea2>] __call_console_drivers+0x42/0x50
Jun 15 18:24:44 sonne kernel:  [<c0119f95>] call_console_drivers+0x75/0x100
Jun 15 18:24:44 sonne kernel:  [<c0114e20>] do_page_fault+0x0/0x4cc
Jun 15 18:24:44 sonne kernel:  [<c01048d1>] error_code+0x2d/0x38
Jun 15 18:24:44 sonne kernel:  [<c01cc863>] print_lock_stack+0xe3/0x160
Jun 15 18:24:44 sonne kernel:  [<c01d2f60>] print_context+0x40/0x70
Jun 15 18:24:44 sonne kernel:  [<c01d2fdf>] print_contexts+0x4f/0x70
Jun 15 18:24:44 sonne kernel:  [<c01b3e56>] reiser4_do_panic+0x96/0x2b0
Jun 15 18:24:44 sonne kernel:  [<c01d2536>] init_context+0x66/0x360
Jun 15 18:24:44 sonne kernel:  [<c020bbcf>] reiser4_lookup+0x2f/0x1b0
Jun 15 18:24:44 sonne kernel:  [<c013a21e>] do_page_cache_readahead+0x9e/0x180
Jun 15 18:24:44 sonne kernel:  [<c0165bfb>] d_lookup+0x1b/0x40
Jun 15 18:24:44 sonne kernel:  [<c015bea8>] real_lookup+0xb8/0xe0
Jun 15 18:24:44 sonne kernel:  [<c015c0ee>] do_lookup+0x7e/0x90
Jun 15 18:24:44 sonne kernel:  [<c015c607>] link_path_walk+0x507/0x9e0
Jun 15 18:24:44 sonne kernel:  [<c015cd24>] path_lookup+0x74/0x130
Jun 15 18:24:44 sonne kernel:  [<c015cf54>] __user_walk+0x44/0x60
Jun 15 18:24:44 sonne kernel:  [<c01582ed>] vfs_stat+0x1d/0x50
Jun 15 18:24:44 sonne kernel:  [<c0144acc>] do_brk+0x1ac/0x200
Jun 15 18:24:44 sonne kernel:  [<c0158972>] sys_stat64+0x12/0x30
Jun 15 18:24:44 sonne kernel:  [<c0143218>] sys_brk+0xc8/0xf0
Jun 15 18:24:44 sonne kernel:  [<c0114e20>] do_page_fault+0x0/0x4cc
Jun 15 18:24:44 sonne kernel:  [<c01048d1>] error_code+0x2d/0x38
Jun 15 18:24:44 sonne kernel:  [<c0103ec7>] syscall_call+0x7/0xb
Jun 15 18:24:44 sonne kernel:
Jun 15 18:24:44 sonne kernel: reiser4[ktxnmgrd:hdd1:t(4415)]: 
context_list_link_ok (fs/reiser4/contex
t.h:169)[nikita-1054]:
Jun 15 18:24:44 sonne kernel: ------------[ cut here ]------------
Jun 15 18:24:44 sonne kernel: PREEMPT
Jun 15 18:24:44 sonne kernel: Modules linked in: snd_es1968 snd_ac97_codec 
snd_pcm snd_page_alloc snd
_timer snd_mpu401_uart snd_rawmidi snd_seq_device snd
Jun 15 18:24:44 sonne kernel: CPU:    0
Jun 15 18:24:44 sonne kernel: EIP:    0060:[<c01b3fc4>]    Not tainted VLI
Jun 15 18:24:44 sonne kernel: EFLAGS: 00010202   (2.6.7-rc3-mm1)
Jun 15 18:24:44 sonne kernel: EIP is at reiser4_do_panic+0x204/0x2b0
Jun 15 18:24:44 sonne kernel: eax: 00000000   ebx: 00000001   ecx: c044de23   
edx: f7a9beec
Jun 15 18:24:44 sonne kernel: esi: f7a9beec   edi: f7a9bf60   ebp: f7ab4090   
esp: f7a9beac
Jun 15 18:24:44 sonne kernel: ds: 007b   es: 007b   ss: 0068
Jun 15 18:24:44 sonne kernel: Process ktxnmgrd:hdd1:t (pid: 4415, 
threadinfo=f7a9a000 task=f7ab4090)
Jun 15 18:24:44 sonne kernel: Stack: c01b4768 f73aff00 f7a9beec f73aff00 
f7a9beec c01d2536 c044de23 c
04632cc
Jun 15 18:24:44 sonne kernel:        000000a9 f78788f4 f7a9beec f78aee14 
c01ff667 00000000 00000000 f
7ab4090
Jun 15 18:24:44 sonne kernel:        4b1b5d0b 00000000 00000001 f7a9bef8 
f7a9bef8 f7a9bf00 f7a9bf00 0
0000000
Jun 15 18:24:44 sonne kernel: Call Trace:
Jun 15 18:24:44 sonne kernel:  [<c01b4768>] report_err+0x8/0xb0
Jun 15 18:24:44 sonne kernel:  [<c01d2536>] init_context+0x66/0x360
Jun 15 18:24:44 sonne kernel:  [<c01ff667>] scan_mgr+0x37/0x120
Jun 15 18:24:44 sonne kernel:  [<c02d1fef>] snprintf+0x1f/0x30
Jun 15 18:24:44 sonne kernel:  [<c01ff446>] ktxnmgrd+0x166/0x1f0
Jun 15 18:24:44 sonne kernel:  [<c01ff2e0>] ktxnmgrd+0x0/0x1f0
Jun 15 18:24:44 sonne kernel:  [<c010227d>] kernel_thread_helper+0x5/0x18
Jun 15 18:24:44 sonne kernel:
Jun 15 18:24:44 sonne kernel: Code: d2 0f 84 4e ff ff ff 8b 00 39 c8 0f 85 44 

ff ff ff 39 42 04 0f 85
3b ff ff ff b8 00 e0 ff ff 21 e0 ff 48 14 8b 40 08 a8 08 75 1c <0f> 0b 84 00
39 de 44 c0 c7 04 24 4a
01 48 c0 c7 44 24 04 40 c1

Jun 15 18:24:44 sonne kernel:  <6>note: ktxnmgrd:hdd1:t[4415] exited with 
preempt_count 2
Jun 15 18:24:44 sonne kernel: reiser4[ktxnmgrd:hdd6:t(4417)]: 
context_list_link_ok (fs/reiser4/contex
t.h:169)[nikita-1054]:
Jun 15 18:24:44 sonne kernel: ------------[ cut here ]------------
Jun 15 18:24:44 sonne kernel: PREEMPT
Jun 15 18:24:44 sonne kernel: Modules linked in: snd_es1968 snd_ac97_codec 
snd_pcm snd_page_alloc snd
_timer snd_mpu401_uart snd_rawmidi snd_seq_device snd
Jun 15 18:24:44 sonne kernel: CPU:    0
Jun 15 18:24:44 sonne kernel: EIP:    0060:[<c01b3fc4>]    Not tainted VLI
Jun 15 18:24:44 sonne kernel: EFLAGS: 00010202   (2.6.7-rc3-mm1)
Jun 15 18:24:44 sonne kernel: EIP is at reiser4_do_panic+0x204/0x2b0
Jun 15 18:24:44 sonne kernel: eax: 00000000   ebx: 00000001   ecx: c044de23   
edx: f7943eec
Jun 15 18:24:44 sonne kernel: esi: f7943eec   edi: f7943f60   ebp: f7a98bf0   
esp: f7943eac
Jun 15 18:24:44 sonne kernel: ds: 007b   es: 007b   ss: 0068
Jun 15 18:24:44 sonne kernel: Process ktxnmgrd:hdd6:t (pid: 4417, 
threadinfo=f7942000 task=f7a98bf0)
Jun 15 18:24:44 sonne kernel: Stack: c01b4768 f73aff00 f7943eec f73aff00 
f7943eec c01d2536 c044de23 c
04632cc
Jun 15 18:24:44 sonne kernel:        000000a9 f78780f4 f7943eec f78ae5d4 
c01ff667 00000000 00000000 f
7a98bf0
Jun 15 18:24:44 sonne kernel:        4b1b5d0b 00000000 00000001 f7943ef8 
f7943ef8 f7943f00 f7943f00 0
0000000
Jun 15 18:24:44 sonne kernel: Call Trace:
Jun 15 18:24:44 sonne kernel:  [<c01b4768>] report_err+0x8/0xb0
Jun 15 18:24:44 sonne kernel:  [<c01d2536>] init_context+0x66/0x360
Jun 15 18:24:44 sonne kernel:  [<c01ff667>] scan_mgr+0x37/0x120
Jun 15 18:24:44 sonne kernel:  [<c02d1fef>] snprintf+0x1f/0x30
Jun 15 18:24:44 sonne kernel:  [<c01ff446>] ktxnmgrd+0x166/0x1f0
Jun 15 18:24:44 sonne kernel:  [<c01ff2e0>] ktxnmgrd+0x0/0x1f0
Jun 15 18:24:44 sonne kernel:  [<c010227d>] kernel_thread_helper+0x5/0x18
Jun 15 18:24:44 sonne kernel:
Jun 15 18:24:44 sonne kernel: Code: d2 0f 84 4e ff ff ff 8b 00 39 c8 0f 85 44 

ff ff ff 39 42 04 0f 85
3b ff ff ff b8 00 e0 ff ff 21 e0 ff 48 14 8b 40 08 a8 08 75 1c <0f> 0b 84 00
39 de 44 c0 c7 04 24 4a
01 48 c0 c7 44 24 04 40 c1

Jun 15 18:24:44 sonne kernel:  <6>note: ktxnmgrd:hdd6:t[4417] exited with 
preempt_count 2
Jun 15 18:24:44 sonne kernel: reiser4[ktxnmgrd:hdd8:t(4419)]: 
context_list_link_ok (fs/reiser4/contex
t.h:169)[nikita-1054]:
Jun 15 18:24:44 sonne kernel: ------------[ cut here ]------------
Jun 15 18:24:44 sonne kernel: PREEMPT
Jun 15 18:24:44 sonne kernel: Modules linked in: snd_es1968 snd_ac97_codec 
snd_pcm snd_page_alloc snd
_timer snd_mpu401_uart snd_rawmidi snd_seq_device snd
Jun 15 18:24:44 sonne kernel: CPU:    0
Jun 15 18:24:44 sonne kernel: EIP:    0060:[<c01b3fc4>]    Not tainted VLI
Jun 15 18:24:44 sonne kernel: EFLAGS: 00010202   (2.6.7-rc3-mm1)
Jun 15 18:24:44 sonne kernel: EIP is at reiser4_do_panic+0x204/0x2b0
Jun 15 18:24:44 sonne kernel: eax: 00000000   ebx: 00000001   ecx: c044de23   
edx: f791feec
Jun 15 18:24:44 sonne kernel: esi: f791feec   edi: f791ff60   ebp: f7a980b0   
esp: f791feac
Jun 15 18:24:44 sonne kernel: ds: 007b   es: 007b   ss: 0068
Jun 15 18:24:44 sonne kernel: Process ktxnmgrd:hdd8:t (pid: 4419, 
threadinfo=f791e000 task=f7a980b0)
Jun 15 18:24:44 sonne kernel: Stack: c01b4768 f73aff00 f791feec f73aff00 
f791feec c01d2536 c044de23 c
04632cc
Jun 15 18:24:44 sonne kernel:        000000a9 f78568f4 f791feec f7868cd4 
c01ff667 00000000 00000000 f
7a980b0
Jun 15 18:24:44 sonne kernel:        4b1b5d0b 00000000 00000001 f791fef8 
f791fef8 f791ff00 f791ff00 0
0000000
Jun 15 18:24:44 sonne kernel: Call Trace:
Jun 15 18:24:44 sonne kernel:  [<c01b4768>] report_err+0x8/0xb0
Jun 15 18:24:44 sonne kernel:  [<c01d2536>] init_context+0x66/0x360
Jun 15 18:24:44 sonne kernel:  [<c01ff667>] scan_mgr+0x37/0x120
Jun 15 18:24:44 sonne kernel:  [<c02d1fef>] snprintf+0x1f/0x30
Jun 15 18:24:44 sonne kernel:  [<c01ff446>] ktxnmgrd+0x166/0x1f0
Jun 15 18:24:44 sonne kernel:  [<c01ff2e0>] ktxnmgrd+0x0/0x1f0
Jun 15 18:24:44 sonne kernel:  [<c010227d>] kernel_thread_helper+0x5/0x18
Jun 15 18:24:44 sonne kernel:
Jun 15 18:24:44 sonne kernel: Code: d2 0f 84 4e ff ff ff 8b 00 39 c8 0f 85 44 

ff ff ff 39 42 04 0f 85
3b ff ff ff b8 00 e0 ff ff 21 e0 ff 48 14 8b 40 08 a8 08 75 1c <0f> 0b 84 00
39 de 44 c0 c7 04 24 4a
01 48 c0 c7 44 24 04 40 c1

Jun 15 18:24:44 sonne kernel:  <6>note: ktxnmgrd:hdd8:t[4419] exited with 

preempt_count 2

reiser4 kernel config:

CONFIG_REISER4_FS=y
# CONFIG_REISER4_FS_SYSCALL is not set
CONFIG_REISER4_LARGE_KEY=y
CONFIG_REISER4_CHECK=y
CONFIG_REISER4_DEBUG=y
# CONFIG_REISER4_FS_SYSCALL_DEBUG is not set
# CONFIG_REISER4_DEBUG_MODIFY is not set
# CONFIG_REISER4_DEBUG_MEMCPY is not set
# CONFIG_REISER4_DEBUG_NODE is not set
# CONFIG_REISER4_ZERO_NEW_NODE is not set
# CONFIG_REISER4_TRACE is not set
# CONFIG_REISER4_EVENT_LOG is not set
# CONFIG_REISER4_STATS is not set
# CONFIG_REISER4_PROF is not set
CONFIG_REISER4_DEBUG_OUTPUT=y
# CONFIG_REISER4_NOOPT is not set
CONFIG_REISER4_USE_EFLUSH=y
# CONFIG_REISER4_COPY_ON_CAPTURE is not set
# CONFIG_REISER4_BADBLOCKS is not set

Hope you could use this report.

Best regards,

Henning

#10 lore raw
Quoted 8 lines · Henning Westerholt

Am Dienstag, 15. Juni 2004 10:14 schrieb Alex Zarochentsev:

Quoted 2 lines
Quoted 2 lines

Can you also enable CONFIG_REISER4_CHECK and CONFIG_REISER4_DEBUG? It may help to catch a bug faster.

Hello Alex,

thanks for your reply.

Quoted 8 lines

I restarted with a debug-enabled kernel, after the fsck --build-sb --fix run on the three partitions i use. The fsck reports a consistent fs on all of them.

The first access to a reiser4 fs during the boot (cleaning the tmp dir) causes several kernel oopses. I captured them with pen and paper, as these message don't appear in the system log. I try to capture them with the serial console on a second pc, but without success.

do you use a kernel with 4k stacks?

What CONFIG_4KSTACKS is set to? This option should be switched off for reiser4.

[ ... ]

Quoted 28 lines

reiser4 kernel config:

CONFIG_REISER4_FS=y
# CONFIG_REISER4_FS_SYSCALL is not set
CONFIG_REISER4_LARGE_KEY=y
CONFIG_REISER4_CHECK=y
CONFIG_REISER4_DEBUG=y
# CONFIG_REISER4_FS_SYSCALL_DEBUG is not set
# CONFIG_REISER4_DEBUG_MODIFY is not set
# CONFIG_REISER4_DEBUG_MEMCPY is not set
# CONFIG_REISER4_DEBUG_NODE is not set
# CONFIG_REISER4_ZERO_NEW_NODE is not set
# CONFIG_REISER4_TRACE is not set
# CONFIG_REISER4_EVENT_LOG is not set
# CONFIG_REISER4_STATS is not set
# CONFIG_REISER4_PROF is not set
CONFIG_REISER4_DEBUG_OUTPUT=y
# CONFIG_REISER4_NOOPT is not set
CONFIG_REISER4_USE_EFLUSH=y
# CONFIG_REISER4_COPY_ON_CAPTURE is not set
# CONFIG_REISER4_BADBLOCKS is not set

Hope you could use this report.

Best regards,

Henning

Signature · 1 line
Alex.
#11 lore raw

Am Dienstag, 15. Juni 2004 19:44 schrieb Alex Zarochentsev:

Quoted 18 lines · Henning Westerholt
Quoted 8 lines

Am Dienstag, 15. Juni 2004 10:14 schrieb Alex Zarochentsev:

Quoted 2 lines
Quoted 2 lines

Can you also enable CONFIG_REISER4_CHECK and CONFIG_REISER4_DEBUG? It may help to catch a bug faster.

Hello Alex,

thanks for your reply.

Quoted 8 lines

I restarted with a debug-enabled kernel, after the fsck --build-sb --fix run on the three partitions i use. The fsck reports a consistent fs on all of them.

The first access to a reiser4 fs during the boot (cleaning the tmp dir) causes several kernel oopses. I captured them with pen and paper, as these message don't appear in the system log. I try to capture them with the serial console on a second pc, but without success.

Quoted 4 lines

do you use a kernel with 4k stacks?

What CONFIG_4KSTACKS is set to? This option should be switched off for reiser4.

No, CONFIG_4KSTACKS is not set. I attached my kernel config.

Henning

#12 lore raw
In reply to Henning Westerholt
Quoted 4 lines · Henning Westerholt

Hello,

i have some problems with the latest auto snapshot against 2.6.7-rc3-mm1 (2004.06.11-19.36).

Thanks for the report.

do you use SMP, RAID, LVM ?

Quoted 2 lines

After some few disk operation a process try to access some data on the partition, and hung forever. I got the following log entries:

Were there reiser4 messages in the log before "[nikita-2219]... Failed to initialize dir for..."?

Quoted 35 lines
Jun 12 20:51:40 sonne kernel:reiser4[emerge(6603)]: create_child_common 
(fs/reiser4/plugin/dir/dir.c:519)[nikita-2219]:
Jun 12 20:51:40 sonne kernel: WARNING: Failed to initialize dir for 88794: -17
Jun 12 20:51:40 sonne kernel: reiser4[emerge(6603)]: rem_entry_cde 
(fs/reiser4/plugin/item/cde.c:1038)[nikita-2628]:
Jun 12 20:51:40 sonne kernel: WARNING: Dir is broke: 88794: 0
Jun 12 20:51:40 sonne kernel: reiser4[emerge(6603)]: done_hashed 
(fs/reiser4/plugin/dir/hashed_dir.c:173)[nikita-2252]:
Jun 12 20:51:40 sonne kernel: WARNING: Cannot remove dot of 88794: -5
Jun 12 20:52:27 sonne kernel: reiser4[emerge(6625)]: create_child_common 
(fs/reiser4/plugin/dir/dir.c:519)[nikita-2219]:
Jun 12 20:52:27 sonne kernel: WARNING: Failed to initialize dir for 88795: -17
Jun 12 20:52:27 sonne kernel: reiser4[emerge(6625)]: rem_entry_cde 
(fs/reiser4/plugin/item/cde.c:1038)[nikita-2628]:
Jun 12 20:52:27 sonne kernel: WARNING: Dir is broke: 88795: 0
Jun 12 20:52:27 sonne kernel: reiser4[emerge(6625)]: done_hashed 
(fs/reiser4/plugin/dir/hashed_dir.c:173)[nikita-2252]:
Jun 12 20:52:27 sonne kernel: WARNING: Cannot remove dot of 88795: -5
Jun 12 20:52:53 sonne kernel: reiser4[sync(6634)]: kill_hook_internal 
(fs/reiser4/plugin/item/internal.c:343)[nikita-1223]:
Jun 12 20:52:53 sonne kernel: WARNING: Cowardly refuse to remove link to 
non-empty node
Jun 12 20:53:03 sonne kernel: reiser4[rm(6725)]: cbk_level_lookup 
(fs/reiser4/search.c:1025)[vs-3533]
Jun 12 20:53:03 sonne kernel: WARNING: Keys are inconsistent. Fsck?
Jun 12 20:53:05 sonne kernel: reiser4[ebuild.sh(6775)]: traverse_tree 
(fs/reiser4/search.c:747)[nikita-1481]:
Jun 12 20:53:05 sonne kernel: WARNING: Too many iterations: 128
Jun 12 20:53:05 sonne kernel: reiser4[ebuild.sh(6775)]: traverse_tree 
(fs/reiser4/search.c:747)[nikita-1481]:
Jun 12 20:53:05 sonne kernel: WARNING: Too many iterations: 256
Jun 12 20:53:05 sonne kernel: reiser4[ebuild.sh(6775)]: traverse_tree 
(fs/reiser4/search.c:747)[nikita-1481]:
...
Jun 12 20:56:57 sonne kernel: WARNING: Too many iterations: 33554432
Quoted 5 lines

*****************

I could not kill the process, a reboot was needed.

After the fsck run with build-fs i got new errors:

The latest officially released reiser4 utils are not aware of recent stat data extensions. That can explain "item has wrong length" errors. However, that does not explain "points to the already used block" errors :(.

Quoted 174 lines

reiser4[install(7105)]: cbk_level_lookup (fs/reiser4/search.c:1025)[vs-3533]:
WARNING: Keys are inconsistent. Fsck?
reiser4[install(7105)]: done_hashed (fs/reiser4/plugin/dir/hashed_dir.c:173) [nikita-2252]:WARNING: Cannot remove dot of 88837: -5
....

Any operation on the fs fail with a input/ output error. I try to fix this with fsck, but it found no errors. I attached the output from the first fsck runs.
I'll rebuild the partition tomorow, and give it another try..

Best regards,

Henning

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

Fscking the /dev/hdd8 block device.
Will check the consistency of the Reiser4 SuperBlock.
Will check the consistency of the Reiser4 FileSystem.
Continue?
(Yes/No): yes
***** Opening the fs.
Reiser4 journal (journal40) on /dev/hdd8: 0 transactions replayed of the total 0 blocks. Reiser4 fs was detected on /dev/hdd8.
Master super block (16):

magic:          ReIsEr4
blksize:        4096
format:         0x0 (format40)
uuid:           f28037a6-c1d8-4326-9fb1-f1917bb03a47
label:          <none>

Format super block (17):

plugin:         format40
description:    Disk-format for reiser4, ver. 0.5.4
magic:          ReIsEr40FoRmAt
flushes:        0
mkfs id:        0x13263be0
blocks:         2441872
free blocks:    2354055
root block:     87497
tail policy:    0x4 (smart)
next oid:       0x15adc
file count:     21519
tree height:    4
key policy:     LARGE

***** Tree Traverse Pass: scanning the reiser4 internal tree.
Error: Node (27), item (0): item has the wrong length (78). Should be (44).
Error: Node (27), item (0): broken item found.
Error: Node (27): the node is broken. Pointed from the node (22), item (0), unit (0). The whole subtree is skipped.
Error: Node (67387), item (11), unit (0): Points to the block (26902) which is in the tree already. The whole subtree is skipped.
Error: Level (2) of the node (67388) doesn't match the expected one (1). The whole subtree is skipped.
Error: Node (67991): The left delimiting key [1307e:0(NAME):0:0:0] in the parent node (67388), pos (0/4294967295) does not match the first key [1307d:0(NAME):0:0:0] in the node.
Error: Node (67388), item (64), unit (0): Points to the node [67991] with wrong delimiting keys. Th whole subtree is skipped.
Read nodes 10341
Nodes left in the tree 10338
Leaves of them 10192, Twigs of them 143
Broken of them 1
Leaves of them 1, Twigs of them 0
Nodes with wrong delimiting keys 1
Leaves of them 1, Twigs of them 0
Invalid node pointers 2
Time interval: Sat Jun 12 21:17:25 2004 - Sat Jun 12 21:17:30 2004
***** TwigScan Pass: checking extent pointers of all twigs.
Read twigs 143
Time interval: Sat Jun 12 21:17:30 2004 - Sat Jun 12 21:17:30 2004

Fatal corruptions were found. Semantic pass is skipped.
Free block count 2354054 found in the format is wrong. Sould be 2354059. ***** fsck.reiser4 finished at Sat Jun 12 21:17:30 2004 Closing fs...done

4 fatal corruptions were detected in FileSystem. Run with --build-fs option to fix them. sonne var # fsck.reiser4 /dev/hdd8 --build-fs
*******************************************************************
This is an EXPERIMENTAL version of fsck.reiser4. Read README first.
*******************************************************************

Fscking the /dev/hdd8 block device.
Will check the consistency of the Reiser4 SuperBlock.
Will build the Reiser4 FileSystem.
Continue?
(Yes/No): yes
***** Opening the fs.
Reiser4 journal (journal40) on /dev/hdd8: 0 transactions replayed of the total 0 blocks. Reiser4 fs was detected on /dev/hdd8.
Master super block (16):

magic:          ReIsEr4
blksize:        4096
format:         0x0 (format40)
uuid:           f28037a6-c1d8-4326-9fb1-f1917bb03a47
label:          <none>

Format super block (17):

plugin:         format40
description:    Disk-format for reiser4, ver. 0.5.4
magic:          ReIsEr40FoRmAt
flushes:        0
mkfs id:        0x13263be0
blocks:         2441872
free blocks:    2354055
root block:     87497
tail policy:    0x4 (smart)
next oid:       0x15adc
file count:     21519
tree height:    4
key policy:     LARGE

***** Tree Traverse Pass: scanning the reiser4 internal tree.
Error: Node (27), item (0): item has the wrong length (78). Should be (44). Fixed.
Error: Node (27), item (0): item has the wrong extention mask (19). Should be (3). Fixed.
Error: Node (67387), item (11), unit (0): Points to the block (26902) which is in the tree already. Removed.
Error: Level (2) of the node (67388) doesn't match the expected one (1). Removed.
Error: Node (67991): The left delimiting key [1307e:0(NAME):0:0:0] in the parent node (67388), pos (0/4294967295) does not match the first key [1307d:0(NAME):0:0:0] in the node. Fixed.
Read nodes 10341
Nodes left in the tree 10340
Leaves of them 10194, Twigs of them 143
Corrected nodes 1
Leaves of them 1, Twigs of them 0
Zeroed node pointers 2
Time interval: Sat Jun 12 21:18:24 2004 - Sat Jun 12 21:18:25 2004
***** TwigScan Pass: checking extent pointers of all twigs.
Read twigs 143
Time interval: Sat Jun 12 21:18:25 2004 - Sat Jun 12 21:18:25 2004
***** DiskScan Pass: scanning the partition for unconnected nodes.
Error: Node (87761), item (0): item has the wrong length (78). Should be (44). Fixed.
Error: Node (87761), item (0): item has the wrong extention mask (19). Should be (3). Fixed.
Read nodes 10480
Good nodes 11
Leaves of them 9, Twigs of them 2
Time interval: Sat Jun 12 21:18:25 2004 - Sat Jun 12 21:18:27 2004
***** TwigScan Pass: checking extent pointers of all twigs.
Error: Node (87754), item (0), unit (0): points to the already used blocks, region [35723..35805]. Zeroed.
Error: Node (87754), item (1), unit (0): points to the already used blocks, region [67356..67385]. Zeroed.
Error: Node (87754), item (2), unit (0): points to the already used blocks, region [26820..26874]. Zeroed.
Error: Node (87754), item (3), unit (0): points to the already used blocks, region [67301..67355]. Zeroed.
Error: Node (87754), item (4), unit (0): points to the already used blocks, region [39386..39392]. Zeroed.
Error: Node (87754), item (5), unit (0): points to the already used blocks, region [39393..39399]. Zeroed.
Error: Node (87754), item (6), unit (0): points to the already used blocks, region [26875..26901]. Zeroed.
Error: Node (87754), item (7), unit (0): points to the already used blocks, region [38774..38986]. Zeroed.
Error: Node (87754), item (8), unit (0): points to the already used blocks, region [38987..39147]. Zeroed.
Error: Node (87754), item (9), unit (0): points to the already used blocks, region [39148..39385]. Zeroed.
Error: Node (87754), item (9), unit (1): points to the already used blocks, region [66115..66657]. Zeroed.
Error: Node (87754), item (9): 1 mergable units were found in the extent40 unit. Fixed.
Error: Node (87754), item (14), unit (0): points to the already used blocks, region [67390..67408] Zeroed.
Error: Node (87754), item (16), unit (0): points to the already used blocks, region [67410..67424] Zeroed.
Error: Node (87754), item (18), unit (0): points to the already used blocks, region [67426..67441]

[...]

Signature · 1 line
Alex.
#13 lore raw

Am Montag, 14. Juni 2004 20:22 schrieb Alex Zarochentsev:

Quoted 4 lines · Henning Westerholt

Thanks for the report.

do you use SMP, RAID, LVM ?

No.

Quoted 5 lines
Quoted 2 lines

After some few disk operation a process try to access some data on the partition, and hung forever. I got the following log entries:

Were there reiser4 messages in the log before "[nikita-2219]... Failed to initialize dir for..."?

No other messages, sorry.

Quoted 6 lines
Quoted 2 lines

[snip...]

The latest officially released reiser4 utils are not aware of recent stat data extensions. That can explain "item has wrong length" errors. However, that does not explain "points to the already used block" errors :(.

Thank you for the explanation. Is the reiser4progs-0.5.5 release aware of these extensions?

Best regards,

Henning

#14 lore raw
Quoted 18 lines · Henning Westerholt

Am Montag, 14. Juni 2004 20:22 schrieb Alex Zarochentsev:

Quoted 4 lines · Henning Westerholt

Thanks for the report.

do you use SMP, RAID, LVM ?

No.

Quoted 5 lines
Quoted 2 lines

After some few disk operation a process try to access some data on the partition, and hung forever. I got the following log entries:

Were there reiser4 messages in the log before "[nikita-2219]... Failed to initialize dir for..."?

No other messages, sorry.

Quoted 2 lines
Quoted 2 lines

[snip...]

Quoted 7 lines
Quoted 4 lines

The latest officially released reiser4 utils are not aware of recent stat data extensions. That can explain "item has wrong length" errors. However, that does not explain "points to the already used block" errors :(.

Thank you for the explanation. Is the reiser4progs-0.5.5 release aware of these extensions?

yes.

Quoted 4 lines

Best regards,

Henning

Signature · 1 line
Alex.