burncd 'blank' not terminating ?

Philipp Ost pj at smo.de
Mon Dec 25 14:35:48 PST 2006

Dmitry Pryanishnikov wrote:
> 1) it seems that problem is in /sys/dev/ata/atapi-cd.c code rather then
>    in burncd utility (but I'm not 100%-sure here);
> 2) burncd still does _all_ things which it's useful for: it really burns CDs 
>    erases and fixates them. It just incorrectly waits for completion of
>    erase/fixate operation. Waiting some extra time after drive finishes the
>    write process and pressing Ctrl+C works around this problem and results
>    in correctly erased/fixed media. It would be unwise to throw away a dirty 
>    screwdriver instead of washing it ;)

I just found an error-message from the time I was still using 6.1-RELEASE:

$ uname -a
FreeBSD herdubreid.xxx.xxx.de 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat 
May 27 22:26:23 CEST 2006 
pj at herdubreid.xxx.xxx.de:/usr/obj/usr/src/sys/HERDUBRE

herdubreid# burncd -f /dev/acd0 erase
^Casing CD, please wait..
herdubreid# burncd -f /dev/acd0 blank
^Canking CD, please wait..

^-- both takes forever - interrupted with Ctrl-C

herdubreid# burncd -f /dev/acd0 data 6.1-RELEASE-i386-disc1.iso fixate
next writeable LBA 0
writing from file 6.1-RELEASE-i386-disc1.iso size 517368 KB
written this track 517368 KB (100%) total 517368 KB
fixating CD, please wait..
burncd: ioctl(CDRIOCFIXATE): Input/output error

^-- The ISO-Image is OK...

The following appeared in /var/log/messages:

May 29 11:30:35 herdubreid kernel: acd0: FAILURE - READ_BIG MEDIUM ERROR 
0 ascq=0x00 g_vfs_done():acd0[READ(offset=290387968, length=2048)]error = 5

I hope that helps somebody out there ;)


More information about the freebsd-stable mailing list