burncd: ioctl(CDIOCSTART): Device busy

William Denton buff at pobox.com
Wed Oct 8 20:39:27 PDT 2003


I used to be able to burn CDs, but a few days ago, while I was writing
some backups, it stopped working.  What answers to previous questions
about this problem I could find blamed it on userland and kernel being out
of synch, which isn't my case, so I thought I'd ask here.  Has anyone else
had this happen?

dmesg shows that the CB burner is still recognized:

  ata1-master: two atapi devices on this channel, no DMA
  acd0: CDROM <CREATIVE CD4830E> at ata1-master PIO4
  ata1-slave: two atapi devices on this channel, no DMA
  acd1: CD-RW <IDE128 CDWriter> at ata1-slave PIO4

I have /dev/cdrw symlinked to /dev/acd1c, and I used to have no trouble
with burncd.  This would work fine if I had an ISO image ready:

  burncd -v -f /dev/cdrw data burn.iso fixate

But now, it says:

  burncd: ioctl(CDIOCSTART): Device busy

truss shows this (in part):

open("/dev/acd1c",0x2,00)                        = 3 (0x3)
ioctl(3,CDRIOCGETBLOCKSIZE,0x804c2bc)            = 0 (0x0)
ioctl(3,CDRIOCWRITESPEED,0xbfbff1dc)             = 0 (0x0)
open("burn.iso",0x0,00)                          = 4 (0x4)
fstat(4,0xbfbff110)                              = 0 (0x0)
adding type 0x08 file burn.iso size 546048 KB 273024 blocks
write(2,0xbfbfe9d8,61)                           = 61 (0x3d)
ioctl(3,CDIOCSTART,0x0)                          ERR#16 'Device busy'

Usually, when I put a blank CD-RW into the drive, the light would blink a
few times, then stay on.  Now, it blinks and then goes off.  Rebooting
makes no difference.

I looked around and saw some other people had had this problem because
their kernel and world were out of synch, but mine aren't.  I even made
sure by cvsupping and rebuilding the world and kernel, and now I'm up to
4.9-RC as of last weekend.  It didn't help.

Any ideas?  It wouldn't be that the drive broke, would it?  I assume it
wouldn't be seen on boot if it didn't work.  Thanks for any tips.

Bill
-- 
William Denton : Toronto, Canada : http://www.miskatonic.org/ : Caveat lector.




More information about the freebsd-stable mailing list