best way to to a direct copy of audio cd

Dan Finn dhrider at gmail.com
Thu Nov 18 11:58:20 PST 2004


I would like to be able to use dd to grab a full, single iso image of
an audio cd and then use cdrecord to burn that.  I know I can do this
under linux but for some reason I can't get it to work under fbsd.

I am trying to grab the entire audio cd image using the following:

dd if=/dev/acd0 conv=swab bs=2352 of=audio_cd.iso

I have an ide cd but I've also set it up so that I can access it as if
it's a scsi cdrom using /dev/cd0.  However when I run the above
command with /dev/cd0 I get the following error:
dd: /dev/cd0: Invalid argument

So the above command using dd and /dev/acd0 seems to work, it grabs
what seems like the entire image off the audio cd.

I then attempt to burn it using the following command:
cdrecord -v -data audio_cd.iso

And I get the following errors from that command:
 Track 01:  718 of  740 MB written (fifo 100%) [buf  99%]  
4.2x.cdrecord: Input/output error. write_g1: scsi sendcmd: retryable
error
CDB:  2A 00 00 05 9C E6 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00
Sense Key: 0xFFFFFFFF [], Segment 0
Sense Code: 0x00 Qual 0x00 (no additional sense information) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.077s timeout 40s

write track data: error after 753348608 bytes
Sense Bytes: 70 00 00 00 00 00 00 0A 00 00 00 00 00 00 00 00 00 00
Writing  time: 1249.053s
Average write speed   4.1x.
Min drive buffer fill was 99%
Fixating...
Fixating time:   61.978s
cdrecord: fifo had 11930 puts and 11867 gets.
cdrecord: fifo was 0 times empty and 11848 times full, min fill was 92%.

and the following errors from my messages file:
Nov 17 16:36:19 stewie kernel: acd0: FAILURE - READ_SUBCHANNEL
status=51<READY,DSC,ERROR> sensekey=ILLEGAL REQUEST error=4<ABORTED>

about one every couple of seconds.

If I burn it with cdrecord as audio and use the -swab option it works
and plays.  But the problem I have with that is that it records it all
as one song.  Is there a way to do what I am trying to do under
freebsd?

Thanks
Dan

What am I doing wrong here?  All I want


More information about the freebsd-questions mailing list