kern/90820: aborting burncd may keep drive "locked"
mkb at incubus.de
Thu Dec 22 12:10:50 PST 2005
>Synopsis: aborting burncd may keep drive "locked"
>Arrival-Date: Thu Dec 22 20:10:12 GMT 2005
>Originator: Matthias Buelow
>Release: FreeBSD 5.4-STABLE i386
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
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
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.
atacontrol detach 0, followed by atacontrol attach 0.
More information about the freebsd-bugs