From owner-freebsd-bugs@FreeBSD.ORG Mon Mar 1 10:50:13 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A3B716A4CE for ; Mon, 1 Mar 2004 10:50:13 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C5E743D31 for ; Mon, 1 Mar 2004 10:50:13 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i21IoDbv052639 for ; Mon, 1 Mar 2004 10:50:13 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i21IoDqu052638; Mon, 1 Mar 2004 10:50:13 -0800 (PST) (envelope-from gnats) Resent-Date: Mon, 1 Mar 2004 10:50:13 -0800 (PST) Resent-Message-Id: <200403011850.i21IoDqu052638@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jason Bacon Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B604516A4CE for ; Mon, 1 Mar 2004 10:40:53 -0800 (PST) Received: from smithers.neuro.mcw.edu (smithers.neuro.mcw.edu [141.106.106.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B50243D1F for ; Mon, 1 Mar 2004 10:40:53 -0800 (PST) (envelope-from bacon@smithers.neuro.mcw.edu) Received: from smithers.neuro.mcw.edu (localhost [127.0.0.1]) i21Ieqa8046992 for ; Mon, 1 Mar 2004 12:40:52 -0600 (CST) (envelope-from bacon@smithers.neuro.mcw.edu) Received: (from bacon@localhost) by smithers.neuro.mcw.edu (8.12.9/8.12.9/Submit) id i21Iepqt046991; Mon, 1 Mar 2004 12:40:51 -0600 (CST) Message-Id: <200403011840.i21Iepqt046991@smithers.neuro.mcw.edu> Date: Mon, 1 Mar 2004 12:40:51 -0600 (CST) From: Jason Bacon To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/63605: Can't unmount DVDRAM with write protect X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jason Bacon List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2004 18:50:13 -0000 >Number: 63605 >Category: kern >Synopsis: Can't unmount DVDRAM with write protect >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 01 10:50:13 PST 2004 >Closed-Date: >Last-Modified: >Originator: Jason Bacon >Release: FreeBSD 5.1-RELEASE i386 >Organization: Medical College of Wisconsin >Environment: System: FreeBSD smithers.neuro.mcw.edu 5.1-RELEASE FreeBSD 5.1-RELEASE #1: Thu Feb 19 13:09:05 CST 2004 bacon@smithers.neuro.mcw.edu:/usr/obj/usr/src/sys/smithers i386 >Description: If a DVDRAM is mounted with the write-protect enabled, attempts to unmount will produce the error: umount: umount of /dvdram failed: resource temporarily unavailable Presumably, there is some pending write operation that cannot be completed. I think the system is missing the fact that the write protect is on, and mounting rw. It should detect the write-protect upon mounting, and automatically mount read-only. >How-To-Repeat: Set write protect on a DVDRAM and mount it. >Fix: Workaround: camcontrol eject bus:target:lun will eject the disk, but will not update the mount table. >Release-Note: >Audit-Trail: >Unformatted: