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

Matthias Buelow mkb at
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
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 22 20:10:12 GMT 2005
>Originator:     Matthias Buelow
>Release:        FreeBSD 5.4-STABLE i386
System: FreeBSD 5.4-STABLE FreeBSD 5.4-STABLE #7: Thu Sep 29 04:29:12 CEST 2005 mkb at i386


	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


	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.

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


More information about the freebsd-bugs mailing list