kern/90820: aborting burncd may keep drive "locked"

Matthias Buelow mkb at incubus.de
Thu Dec 22 12:10:50 PST 2005


>Number:         90820
>Category:       kern
>Synopsis:       aborting burncd may keep drive "locked"
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 22 20:10:12 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Buelow
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD drjekyll.mkbuelow.net 5.4-STABLE FreeBSD 5.4-STABLE #7: Thu Sep 29 04:29:12 CEST 2005 mkb at drjekyll.mkbuelow.net:/usr/obj/usr/src/sys/DRJEKYLL i386


	
>Description:

	Aborting burncd (by SIGINT) while it is burning a CD
	keeps the drive spinning, the "burning" light blinking,
	and the tray locked. This seems to go on indefinitely
	(my patience ran out after ca. 15 minutes.)
	The process is gone, nothing has the device still open
	(according to fstat) yet the driver doesn't seem to have
	noticed it.

	The drive is a:
	acd1: CDRW <HL-DT-ST GCE-8483B/B105> at ata0-slave PIO4

	Only detaching the ATA channel via atacontrol made the
	kernel give up its grip of the drive.

	Maybe the driver doesn't clean up properly when the
	device gets closed (or the process that has it open
	exits?)

>How-To-Repeat:

	burncd -f /dev/acd1 data isofile fixate
	interrupt it while it's burning (with ^C)
	watch burncd exit and the drive continue spinning
	and locking the tray for at least 15 minutes.
>Fix:

	A workaround:
	atacontrol detach 0, followed by atacontrol attach 0.


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list