Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Mar 2004 12:40:51 -0600 (CST)
From:      Jason Bacon <bacon@smithers.neuro.mcw.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/63605: Can't unmount DVDRAM with write protect
Message-ID:  <200403011840.i21Iepqt046991@smithers.neuro.mcw.edu>
Resent-Message-ID: <200403011850.i21IoDqu052638@freefall.freebsd.org>

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

>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:



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