Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Nov 1998 19:22:35 -0500 (EST)
From:      aa8vb@pagesz.net
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Cc:        aa8vb@pagesz.net
Subject:   kern/8902: incorrect mount crashes 3.0-RELEASE
Message-ID:  <199811300022.TAA01296@stealth.dummynet.>

next in thread | raw e-mail | index | archive | help


>Number:         8902
>Category:       kern
>Synopsis:       Incorrect mount crashes 3.0-RELEASE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 29 16:30:01 PST 1998
>Last-Modified:
>Originator:     Randall Hopper
>Organization:
self
>Release:        FreeBSD 3.0-RELEASE i386
>Environment:

	Stock 3.0-RELEASE installed.
	Mix of FreeBSD UFS DOS FAT file systems.

>Description:

	I've done this twice, so I think it's pretty reproducable.
	The system locks and reboots (after 15 seconds or so) when
	I incorrectly try to mount a DOS FAT file system as UFS, and
	then (seeing my error and the "invalid superblock" message), I
	turn around and try to correctly mount it as MSDOS.  This 
	locks and reboots the entire system.

>How-To-Repeat:

        Given a DOS FAT file system on /dev/wd0s5 (extended DOS partition).
	Then just do:

              mkdir /f
	      mount /dev/wd0s5 /f
	      < you get a warning msg; of course; this isn't a UFS >
	      mount -t msdos /dev/wd0s5 /f
	      < SYSTEM LOCKS UP / REBOOTS >

        BTW, I doubt that it's relevent, but I have wd0s5 mounted 
	read-only in my fstab:

	      /dev/wd0s5   /f   msdos   ro,-m555   0   0

	so to be absolutely complete, what I actually did was this:

	      umount /f

        followed by the above mount commands.

>Fix:
	
	Not known.

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811300022.TAA01296>