From owner-freebsd-bugs Mon Apr 5 2:41:59 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 8D40E153EA for ; Mon, 5 Apr 1999 02:41:57 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id CAA45344; Mon, 5 Apr 1999 02:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id F1C3A153EA; Mon, 5 Apr 1999 02:41:03 -0700 (PDT) Message-Id: <19990405094103.F1C3A153EA@hub.freebsd.org> Date: Mon, 5 Apr 1999 02:41:03 -0700 (PDT) From: ulianov@ns.csm.ro To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: kern/10959: 3.1-STABLE crashes due to a floppy mount problem Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 10959 >Category: kern >Synopsis: 3.1-STABLE crashes due to a floppy mount problem >Confidential: no >Severity: critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 5 02:40:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Vladimir COTFAS >Release: 3.1-STABLE >Organization: NetAppi >Environment: FreeBSD cmell 3.1-RELEASE FreeBSD 3.1-RELEASE #0: Sun Apr 2 20:35:45 EEST 2000 root@cmell:/usr/src/sys/compile/SOUL i386 >Description: While trying to (incorrectly) mount a read-only DOS formatted diskette as a read-write medium encountered NO error (BTW Linux complains and mounts it read-only). "Wrote" a file to this filesystem and then dismounted it. The result was a nice crash. This strange behaviour is present even in the GENERIC kernel shipped with the 3.1-STABLE distribution. >How-To-Repeat: 1. pick a read-only DOS-formated diskette and insert it into the drive 2. mount -t msdos /dev/fd0 /floppy 3. cd /floppy; cp /etc/profile . # get an error and 2 kernel messages 4. cd /; umount /floppy # at this stage the machine panic()'s >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message