From tobez@lion.plab.ku.dk  Wed Dec 16 09:06:22 1998
Received: from lion.plab.ku.dk (lion.plab.ku.dk [130.225.105.49])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA11891
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 16 Dec 1998 09:06:21 -0800 (PST)
          (envelope-from tobez@lion.plab.ku.dk)
Received: from localhost (1367 bytes) by lion.plab.ku.dk
	via sendmail with P:stdio/R:bind_hosts/T:inet_zone_bind_smtp
	(sender: <tobez>) (ident <tobez> using unix)
	id <m0zqKNf-00184XC@lion.plab.ku.dk>
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 16 Dec 1998 18:04:59 +0100 (CET)
	(Smail-3.2.0.101 1997-Dec-17 #1 built 1998-Nov-8)
Message-Id: <m0zqKNf-00184XC@lion.plab.ku.dk>
Date: Wed, 16 Dec 1998 18:04:59 +0100 (CET)
From: tobez@plab.ku.dk
Reply-To: tobez@plab.ku.dk
To: FreeBSD-gnats-submit@freebsd.org
Subject: Mounting MS-DOS floppy crashes 3.0-RELEASE
X-Send-Pr-Version: 3.2

>Number:         9104
>Category:       kern
>Synopsis:       A weird sequence of two mounts crashes 3.0-RELEASE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    dillon
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 16 09:10:01 PST 1998
>Closed-Date:    Tue Dec 22 08:42:19 PST 1998
>Last-Modified:  Tue Dec 22 08:42:35 PST 1998
>Originator:     Anton Berezin
>Release:        FreeBSD 3.0-RELEASE i386
>Organization:
The Protein Laboratory, University of Copenhagen
>Environment:

	Tested on two very different machines with 3.0-RELEASE

>Description:

	When issuing (by mistake) the following command

		mount /dev/fd0.1440 /mnt

	with MS-DOS-formatted floppy inserted mount correctly reports
	a failure (incorrect super-block or somesuch).

	After realizing the mistake and issuing immediately after this

		mount_msdos /def/fd0.1440 /mnt

	the system does something for several seconds (all responses
	are very slow), then reboots.

	This was tested on two very different (486-66-32-ISA-IDE and
	PII-400-128-PCI-SCSI) machines with two different known-to-be-good
	diskettes.  Both diskettes were mounted alright when the
	correct mounting command was specified.

>How-To-Repeat:

	See description.  I believe it's reproducible.

>Fix:
	
	I wish I knew.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: dillon 
State-Changed-When: Wed Dec 16 13:44:02 PST 1998 
State-Changed-Why:  
The problem has been identified and we are working on a solution, but due 
to the complexity of the solution it may be a bit before we can test and 
commit it. 

Thanks for the report! 


Responsible-Changed-From-To: freebsd-bugs->dillon 
Responsible-Changed-By: dillon 
Responsible-Changed-When: Wed Dec 16 13:44:02 PST 1998 
Responsible-Changed-Why:  
(changed responsible person for tracking purposes) 
State-Changed-From-To: analyzed->closed 
State-Changed-By: luoqi 
State-Changed-When: Tue Dec 22 08:42:19 PST 1998 
State-Changed-Why:  
Fix committed. 
>Unformatted:
