sub_from_sb_unallocated - error [zam528]
my computer crashed while copying a kernel tree from a reiserfs to a reiser4 partition with the following message:
| Kernel panic: reiser4 panicked cowardly: <0> reiser4 [(pdflush(7)]:
| sub_from_sb_unallocated (fs/reiser4/block_alloc.c:161) [zam-528]
there are no new files on the reiser4 partition.
i'm using debian unstable, kernel 2.5.46 with reiser4 patch from 5.11.2002.
Andreas
Quoted 10 lines · Andreas Happe
my computer crashed while copying a kernel tree from a reiserfs to a reiser4 partition with the following message:
| Kernel panic: reiser4 panicked cowardly: <0> reiser4 [(pdflush(7)]:
|sub_from_sb_unallocated(fs/reiser4/block_alloc.c:161) [zam-528]there are no new files on the reiser4 partition.
i'm using debian unstable, kernel 2.5.46 with reiser4 patch from 5.11.2002.
Thank you for report. This bug is known. We are working on it right now. I hope it will be fixed in the next snapshot.
Quoted 4 lines
Andreas
Nikita.
Quoted 7 lines · Nikita Danilov
Quoted 6 lines · Andreas Happe
my computer crashed while copying a kernel tree from a reiserfs to a reiser4 partition with the following message:
| Kernel panic: reiser4 panicked cowardly: <0> reiser4 [(pdflush(7)]:
|sub_from_sb_unallocated(fs/reiser4/block_alloc.c:161) [zam-528]
Quoted 7 lines
Quoted 4 lines
there are no new files on the reiser4 partition.
i'm using debian unstable, kernel 2.5.46 with reiser4 patch from 5.11.2002.
Thank you for report. This bug is known. We are working on it right now. I hope it will be fixed in the next snapshot.
In the meantime, can you please try attached patch. (It should applied from within fs/reiser4 directory.)
Quoted 6 lines
Quoted 5 lines
Andreas
Nikita.
tree_mod.c +1 -1
@@ -39,7 +39,7 @@assert ("nikita-930" , brother !=NULL );assert ("umka-264" , level <REAL_MAX_ZTREE_HEIGHT ); - retcode =assign_fake_blocknr (&blocknr,1 /*formatted */ ); + retcode =assign_fake_blocknr (&blocknr,BA_FORMATTED );if (retcode ==0 ) { result =zget (znode_get_tree (brother), &blocknr,NULL , level,GFP_KERNEL );if (IS_ERR (result)) {
txnmgr.c +1 -1
@@ -1951,7 +1951,7 @@*/ /*reiser4_count_fake_deallocation ((__u64)1); reiser4_release_grabbed_space ((__u64)1); */ -fake_allocated2free ((__u64 )1 ,1 /*formatted */ ); +fake_allocated2free ((__u64 )1 ,BA_FORMATTED ); } }assert ("jmacd-5177" , blocknr_entry ==NULL );