Reiserfs 3.5 disk format and kernel 2.6.0test9
Hi,
I have several partitions with 3.5.x reiserfs disk format, when i boot
up with kernel 2.6.0test9, i have these errors in each partition, even though the system seems to work well:
buffer layer error at fs/buffer.c:431
Call Trace: [<c01559f5>] __find_get_block_slow+0x85/0x120 [<c0107289>] kernel_thread_helper+0x5/0xc [<c010a10c>] dump_stack+0x1c/0x20 [<c01569c3>] __find_get_block+0x83/0xe0 [<c0156603>] __getblk_slow+0x23/0xf0 [<c0156a6f>] __getblk+0x4f/0x60 [<c0156aff>] __bread+0x1f/0x40 [<c02058f2>] read_super_block+0x82/0x210 [<c0206555>] reiserfs_fill_super+0x555/0x5a0 [<c02229b7>] snprintf+0x27/0x30 [<c0185922>] disk_name+0x62/0xb0 [<c015b305>] sb_set_blocksize+0x25/0x60 [<c015ace4>] get_sb_bdev+0x124/0x160 [<c020660f>] get_super_block+0x2f/0x60 [<c0206000>] reiserfs_fill_super+0x0/0x5a0 [<c015af4f>] do_kern_mount+0x5f/0xe0 [<c01701d8>] do_add_mount+0x78/0x150 [<c01704c4>] do_mount+0x124/0x170 [<c0170330>] copy_mount_options+0x80/0xf0 [<c017087f>] sys_mount+0xbf/0x140 [<c046ec5f>] do_mount_root+0x2f/0xa0 [<c046ed24>] mount_block_root+0x54/0x120 [<c046ef71>] mount_root+0x41/0x70 [<c046efcb>] prepare_namespace+0x2b/0xe0 [<c01050d7>] init+0x37/0x160 [<c01050a0>] init+0x0/0x160 [<c0107289>] kernel_thread_helper+0x5/0xc
block=16, b_blocknr=128
b_state=0x00000019, b_size=512
...
Thx
Signature · 4 lines
Jorge Pérez Burgos email: [email protected] mobile: +34 607940482 web: http://www.vaijira.com
Hello!
Jorge P?rez "Burgos (Koke)" <[email protected]> wrote:
JPrBK> I have several partitions with 3.5.x reiserfs disk format, when i boot
JPrBK> up with kernel 2.6.0test9, i have these errors in each partition, even JPrBK> though the system seems to work well:
JPrBK> buffer layer error at fs/buffer.c:431
JPrBK> Call Trace:
JPrBK> [<c01559f5>] __find_get_block_slow+0x85/0x120
This all looks like this newly discovered problem with 2.6.0-test9 + debian patchset. Either unapply the part about not doing truncate_inode_pages() in fs/block_dev.c::kill_bdev()
or apply this patch below which should also help.
Bye,
Oleg
===== fs/reiserfs/super.c 1.69 vs edited =====
fs/reiserfs/super.c +3 -1
@@ -942,6 +942,7 @@ {struct buffer_head * bh;struct reiserfs_super_block * rs; +int fs_blocksize; bh =sb_bread (s, offset / s->s_blocksize);
@@ -961,8 +962,9 @@// // ok, reiserfs signature (old or new) found in at the given offset // -sb_set_blocksize (s,sb_blocksize (rs)); + fs_blocksize =sb_blocksize (rs);brelse (bh); +sb_set_blocksize (s, fs_blocksize); bh =sb_bread (s, offset / s->s_blocksize);if (!bh) {