All of lore.kernel.org
 help / color / mirror / Atom feed
* [reiser4] reiser4 panicked cowardly: zam-397
@ 2006-05-13 20:03 Laurent Riffard
  2006-05-15 13:16 ` Vladimir V. Saveliev
  0 siblings, 1 reply; 2+ messages in thread
From: Laurent Riffard @ 2006-05-13 20:03 UTC (permalink / raw)
  To: reiserfs-list

Hello,

I've been hit by a couple of reiser4 panic due to zam-397 assertion. 
It's more or less reproducible. How can I help debug this ? 
~~
laurent

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

* Re: [reiser4] reiser4 panicked cowardly: zam-397
  2006-05-13 20:03 [reiser4] reiser4 panicked cowardly: zam-397 Laurent Riffard
@ 2006-05-15 13:16 ` Vladimir V. Saveliev
  0 siblings, 0 replies; 2+ messages in thread
From: Vladimir V. Saveliev @ 2006-05-15 13:16 UTC (permalink / raw)
  To: Laurent Riffard; +Cc: reiserfs-list

[-- Attachment #1: Type: text/plain, Size: 338 bytes --]

hello

On Sat, 2006-05-13 at 22:03 +0200, Laurent Riffard wrote:
> Hello,
> 
> I've been hit by a couple of reiser4 panic due to zam-397 assertion. 
> It's more or less reproducible. How can I help debug this ? 

This looks like known bug in debugging code.
Please try to reproduce the problem with the attached patch.

> ~~
> laurent
> 

[-- Attachment #2: reiser4-fix-block-alloc-assertions.patch --]
[-- Type: text/x-patch, Size: 1119 bytes --]

 fs/reiser4/plugin/space/bitmap.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -puN fs/reiser4/plugin/space/bitmap.c~reiser4-fix-block-alloc-assertions fs/reiser4/plugin/space/bitmap.c
--- linux-2.6.17-rc3-mm1/fs/reiser4/plugin/space/bitmap.c~reiser4-fix-block-alloc-assertions	2006-05-15 13:45:57.000000000 +0400
+++ linux-2.6.17-rc3-mm1-vs/fs/reiser4/plugin/space/bitmap.c	2006-05-15 13:51:30.000000000 +0400
@@ -1113,7 +1113,7 @@ alloc_blocks_forward(reiser4_blocknr_hin
 
 	assert("zam-398", super != NULL);
 	assert("zam-412", hint != NULL);
-	assert("zam-397", hint->blk < reiser4_block_count(super));
+	assert("zam-397", hint->blk <= reiser4_block_count(super));
 
 	if (hint->max_dist == 0)
 		search_end = reiser4_block_count(super);
@@ -1160,7 +1160,7 @@ static int alloc_blocks_backward(reiser4
 
 	assert("zam-969", super != NULL);
 	assert("zam-970", hint != NULL);
-	assert("zam-971", hint->blk < reiser4_block_count(super));
+	assert("zam-971", hint->blk <= reiser4_block_count(super));
 
 	search_start = hint->blk;
 	if (hint->max_dist == 0 || search_start <= hint->max_dist)

_

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

end of thread, other threads:[~2006-05-15 13:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-13 20:03 [reiser4] reiser4 panicked cowardly: zam-397 Laurent Riffard
2006-05-15 13:16 ` Vladimir V. Saveliev

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.