From root@hclb.demon.co.uk  Fri Oct  7 03:22:17 1994
Received: from hclb.demon.co.uk (hclb.demon.co.uk [158.152.8.23]) by freefall.cdrom.com (8.6.8/8.6.6) with ESMTP id DAA22103 for <FreeBSD-gnats-submit@freefall.cdrom.com>; Fri, 7 Oct 1994 03:22:12 -0700
Received: (root@localhost) by hclb.demon.co.uk (8.6.9/8.3) id LAA00997; Fri, 7 Oct 1994 11:15:09 +0100
Message-Id: <199410071015.LAA00997@hclb.demon.co.uk>
Date: Fri, 7 Oct 1994 11:15:09 +0100
From: Dave Evans  <root@hclb.demon.co.uk>
Reply-To: root@hclb.demon.co.uk
To: FreeBSD-gnats-submit@freefall.cdrom.com
Subject: system resets when unmounting msdos filesystem
X-Send-Pr-Version: 3.2

>Number:         5
>Category:       kern
>Synopsis:       system resets when unmounting msdos filesystem
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    core
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct  7 03:30:01 1994
>Closed-Date:    Tue Oct 25 21:47:44 PDT 1994
>Last-Modified:  Tue Sep 12 15:44:28 GMT 2006
>Originator:     Dave Evans
>Release:        FreeBSD 2.0.0-Development
>Organization:
>Environment:

2 scsi drives, sd0 has one freebsd partition and one msdos partition.
src tree: sys is up to date as of 3 days ago, rest of src is about 1 week
old.

It's probably time for a complete rebuild here.

>Description:

When unmounting an msdos filesystem, the system will reset exactly as if
the reset button had been pressed.  No core-dumps or panics are produced.
I'm using an msdos lkm, but I have also noticed the problem when msdos-fs
was compiled into the kernel.  I have taken care to ensure the lkm is
compiled in step with the kernel.

>How-To-Repeat:

mount an msdos filesystem.
work on it for a while.
unmount it, and FOOF! system blown away.

Doesn't always happen.

Running chkdsk under msdos show no evidence, before or afterwards, of any
filesystem corruption

MSDOS version is 4.01 


>Fix:
	
Fixed by Martin Renters - first flush dirty blocks.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: jkh 
State-Changed-When: Tue Oct 25 21:47:44 PDT 1994 
State-Changed-Why:  
Martin Renters fixed the bug. 

>Unformatted:



