Carlos A. M. dos Santos
2008-May-12 05:44 UTC
burncd: ioctl(CDIOCEJECT): Input/output error
Hello,
I get "burncd: ioctl(CDIOCEJECT): Input/output error" each time I
attempt to blank a CDRW with
burncd -f /dev/acd0 blank eject
I noticed that this does not happen when I write a data cd with
burncd -f /dev/acd0 data cd-image.iso fixate eject
I have seen the same bahavior on 4 different computers that have
DVD-RW units. Applying the attached patch to
/usr/src/usr.sbin/burncd/burncd.c solves the problem. It make burncd
attempt to eject the CD five times, sleeping for one second after each
unccessful try. I'd like to get some opinions on this before
submitting a PR.
Thanks in advance.
--
Carlos A. M. dos Santos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: burncd_eject.patch
Type: application/octet-stream
Size: 559 bytes
Desc: not available
Url :
http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20080512/0ccbb6a4/burncd_eject.obj