[linux-lvm] oops on 2.4.2 with lvm-0.9beta5 and Reiserfs 3.6.25

Chris Mason mason at suse.com
Fri Feb 23 21:56:12 UTC 2001


On Friday, February 23, 2001 04:46:02 PM -0500 lvm at winux.com wrote:

> Chris Mason writes:
>> This oops shows that somebody logged the super block without preparing
>> it. Could you please run this data through ksymoops so I can track down
>> the caller?
> 
> # dmesg | ksymoops -v /usr/src/linux/vmlinux -m /boot/System.map 

Hmmm, probably not the right system.map.  I think I see the bug though,
please try this patch:

--- linux/fs/reiserfs/super.c.1	Fri Feb 23 16:30:55 2001
+++ linux/fs/reiserfs/super.c	Fri Feb 23 16:31:39 2001
@@ -68,6 +68,7 @@
   lock_kernel() ;
   if (!(s->s_flags & MS_RDONLY)) {
     journal_begin(&th, s, 1) ;
+    reiserfs_prepare_for_journal(s, SB_BUFFER_WITH_SB(s), 1) ;
     journal_mark_dirty(&th, s, SB_BUFFER_WITH_SB (s));
     reiserfs_block_writes(&th) ;
     journal_end(&th, s, 1) ;




More information about the linux-lvm mailing list