I am trying to burn to my CD drive and I keep getting the same error,
namely "only wrote -1 of 37632 bytes: Device busy". I've been
able to
write to that dive from FreeBSD in the past but now, nada.
The CD drive is definitely not in use.
Any idea what is going on?...
# dmesg | grep -i cd
acd0: DVDR <PIONEER DVD-RW DVR-107D/1.16> at ata1-master UDMA33
# uname -a
FreeBSD gridlinked.neverness.org 5.4-STABLE FreeBSD 5.4-STABLE #1: Thu
Jul 14 11:39:27 BST 2005
root@gridlinked.neverness.org:/usr/obj/usr/src/sys/MYKERNEL i386
# burncd -f /dev/acd0 audio test.wav fixate
next writeable LBA 4720
writing from file test.wav size 84006 KB
written this track 735 KB (0%) total 735 KB
only wrote -1 of 37632 bytes: Device busy
fixating CD, please wait..
[...hangs...]
--
yann@kierun.org -=*=- www.kierun.org
PGP: 009D 7287 C4A7 FD4F 1680 06E4 F751 7006 9DE2 6318
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :
http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050714/c75d4d07/attachment.bin
On 7/14/05, Yann Golanski <yann@kierun.org> wrote:> I am trying to burn to my CD drive and I keep getting the same error, > namely "only wrote -1 of 37632 bytes: Device busy". I've been able to > write to that dive from FreeBSD in the past but now, nada.> # burncd -f /dev/acd0 audio test.wav fixate > next writeable LBA 4720 > writing from file test.wav size 84006 KB > written this track 735 KB (0%) total 735 KB > only wrote -1 of 37632 bytes: Device busy > > fixating CD, please wait.. > [...hangs...]This is well reported. Burncd has become rather dated, and is not keeping up with newer drives. DVD recorders poorly supported. Enable atapicam, and switch to cdrecord. It will work flawlessly. I use it myself with a Pioneer DVD, possibly the same model. I had the same problems with burncd.
Just in case anyone else has the same problem and wants a solution.
1- Recompile and install your kernel with the following options:
device atapicam
device ata
device scbus
device cd
device pass
2- Go to your MP3 dir.
3- Converts spaces to underscores.
for i in *.mp3; do mv "$i" `echo $i | tr ' ' '_'`;
done
4- Converts .mp3 to .wav
for i in *.mp3; do lame --decode $i `basename $i .mp3`.wav; done
5- Burn to CD...
cdrecord -v dev=1,0,0 -dao -pad -useinfo *.wav
This appears to work fine for me. If anyone has a better idea or can
improve the process, please let me know.
--
yann@kierun.org -=*=- www.kierun.org
PGP: 009D 7287 C4A7 FD4F 1680 06E4 F751 7006 9DE2 6318
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :
http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050714/6272a22c/attachment.bin