Skip to contentSkip to conversation

umount segfault on shutdown

DISCUSSION Gavin 2 participants 2 messages May 27, 2001

lore
Share & tools
lore

Gavin

author
#0 lore raw

Hi,
Hope this is enough info :P

Unmounting file systems: journal_begin called without kernel lock held kernel BUG at journal.c:423!
423: invalid operand: 0000

CPU: 0

EIP: 0010: [<c016d740>]
EFLAGS: 00010286
eax: 0000001d ebx: c42edf38 ecx: 00000001 edx:00000001
esi: c12dc800 edi: c42edf38 ebp: 0000000a esp: c42eded0

that's all I wrote down. There was more, please reply to reply-to if you need more info and anything else I can do to provide more information. Running Via apollo pro-a on smp MSI694D pro/2x366 reiserfs on /dev/hde8 (/usr) <promise ata100 controller> which seems to be the cause of the segfault. I can reproduce this everytime with 2.4.5, doesn't happen with earlier versions.

best regards,
Gavin

#1 lore raw
Quoted 5 lines · Gavin

Hi,
Hope this is enough info :P

Unmounting file systems: journal_begin called without kernel lock held kernel BUG at journal.c:423!

super.c.new renamed from super.c +2 -0
@@ -873,6 +873,7 @@
 	}
 	spin_unlock(&dcache_lock);
 	down_write(&sb->s_umount);
+	lock_kernel();
 	sb->s_root = NULL;
 	/* Need to clean after the sucker */
 	if (fs->fs_flags & FS_LITTER)
@@ -901,6 +902,7 @@
 	put_filesystem(fs);
 	sb->s_type = NULL;
 	unlock_super(sb);
+	unlock_kernel();
 	up_write(&sb->s_umount);
 	if (bdev) {
 		blkdev_put(bdev, BDEV_FS);