From owner-freebsd-bugs@FreeBSD.ORG Sat Mar 6 01:10:10 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 B8FCD16A4CE for ; Sat, 6 Mar 2004 01:10:10 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B142443D39 for ; Sat, 6 Mar 2004 01:10:10 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i269AAbv090385 for ; Sat, 6 Mar 2004 01:10:10 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i269AA13090384; Sat, 6 Mar 2004 01:10:10 -0800 (PST) (envelope-from gnats) Date: Sat, 6 Mar 2004 01:10:10 -0800 (PST) Message-Id: <200403060910.i269AA13090384@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Kris Kennaway Subject: Re: 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: Kris Kennaway List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2004 09:10:10 -0000 The following reply was made to PR kern/63605; it has been noted by GNATS. From: Kris Kennaway To: Jason Bacon Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: kern/63605: Can't unmount DVDRAM with write protect Date: Sat, 6 Mar 2004 01:05:07 -0800 On Mon, Mar 01, 2004 at 12:40:51PM -0600, Jason Bacon wrote: > 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. How are you mounting the disk? Read-only disks should be mounted read-only; this may be the problem. Kris