From owner-freebsd-bugs Sun Nov 29 19:09:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA07751 for freebsd-bugs-outgoing; Sun, 29 Nov 1998 19:09:22 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA07746 for ; Sun, 29 Nov 1998 19:09:21 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from Unknown UID 563@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id TAA14797; Sun, 29 Nov 1998 19:10:00 -0800 (PST) Date: Sun, 29 Nov 1998 19:10:00 -0800 (PST) Message-Id: <199811300310.TAA14797@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Bruce Evans Subject: Re: kern/8902: incorrect mount crashes 3.0-RELEASE Reply-To: Bruce Evans Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/8902; it has been noted by GNATS. From: Bruce Evans To: aa8vb@pagesz.net, FreeBSD-gnats-submit@FreeBSD.ORG Cc: Subject: Re: kern/8902: incorrect mount crashes 3.0-RELEASE Date: Mon, 30 Nov 1998 14:07:07 +1100 >>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. This bug has already been reported in several PRs. A fix was committed but was backed out because it was wrong for the SMP case. RCS file: /home/ncvs/src/sys/kern/vfs_subr.c,v Working file: vfs_subr.c head: 1.173 ---------------------------- revision 1.166 date: 1998/10/14 15:05:52; author: dt; state: Exp; lines: +1 -13 Backed out rev. 1.164. It caused problems on SMP. PR: 8309 ---------------------------- ... ---------------------------- revision 1.164 date: 1998/10/12 20:14:09; author: dt; state: Exp; lines: +13 -2 UnVMIO vnodes of block devices when they are no longer in use. (Some things, like msdosfs, do not work (panic) on devices with VMIO enabled. FFS enable VMIO on mounted devices, and nothing previously disabled it, so, after you mounted FFS floppy, you could not mount msdosfs floppy anymore...) This is mostly a quick before-release fix. Reviewed by: bde ---------------------------- See PR7415 form more ambitious fixes. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message