linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* umount segfault on shutdown
@ 2001-05-26 12:48 Gavin
  2001-05-27  4:24 ` [FIX] " Alexander Viro
  0 siblings, 1 reply; 2+ messages in thread
From: Gavin @ 2001-05-26 12:48 UTC (permalink / raw)
  To: linux-kernel

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

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

* [FIX] Re: umount segfault on shutdown
  2001-05-26 12:48 umount segfault on shutdown Gavin
@ 2001-05-27  4:24 ` Alexander Viro
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Viro @ 2001-05-27  4:24 UTC (permalink / raw)
  To: Gavin; +Cc: linux-kernel, Linus Torvalds



On Sat, 26 May 2001, Gavin wrote:

> Hi,
> Hope this is enough info :P
> 
> Unmounting file systems: journal_begin called without kernel lock held
> kernel BUG at journal.c:423!


--- fs/super.c	Fri May 25 21:51:14 2001
+++ fs/super.c.new	Sun May 27 00:21:53 2001
@@ -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);


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

end of thread, other threads:[~2001-05-27  4:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-26 12:48 umount segfault on shutdown Gavin
2001-05-27  4:24 ` [FIX] " Alexander Viro

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).