linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Reiserfs 3.5 disk format and kernel 2.6.0test9
@ 2003-11-03 14:33 Jorge Pérez Burgos (Koke)
  2003-11-03 19:53 ` Oleg Drokin
  0 siblings, 1 reply; 2+ messages in thread
From: Jorge Pérez Burgos (Koke) @ 2003-11-03 14:33 UTC (permalink / raw)
  To: linux-kernel

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
-- 
Jorge Pérez Burgos
email:	koke@eresmas.net
mobile: +34 607940482
web:	http://www.vaijira.com



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

* Re: Reiserfs 3.5 disk format and kernel 2.6.0test9
  2003-11-03 14:33 Reiserfs 3.5 disk format and kernel 2.6.0test9 Jorge Pérez Burgos (Koke)
@ 2003-11-03 19:53 ` Oleg Drokin
  0 siblings, 0 replies; 2+ messages in thread
From: Oleg Drokin @ 2003-11-03 19:53 UTC (permalink / raw)
  To: linux-kernel

Hello!

Jorge P?rez "Burgos (Koke)" <koke@eresmas.net> 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 =====
--- 1.69/fs/reiserfs/super.c	Tue Sep 23 07:16:25 2003
+++ edited/fs/reiserfs/super.c	Sun Nov  2 11:11:36 2003
@@ -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) {

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

end of thread, other threads:[~2003-11-03 19:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-03 14:33 Reiserfs 3.5 disk format and kernel 2.6.0test9 Jorge Pérez Burgos (Koke)
2003-11-03 19:53 ` Oleg Drokin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).