Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Apr 2001 20:56:30 +0200 (CEST)
From:      Rogier Steehouder <r.j.steehouder@student.utwente.nl>
To:        Graywane <graywane@home.com>
Cc:        <questions@FreeBSD.ORG>
Subject:   Re: Duplicating Audio CDs [audio block]
Message-ID:  <20010429202945.W465-100000@rhosgobel.none>
In-Reply-To: <20010429100018.A48860@home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
E-mail from Graywane, sent 29-04-2001:

>On Sun, Apr 29, 2001 at 01:59:21PM +0200, Rogier Steehouder wrote:
>> >If your CD has banding (a break between tracks) then you can extract
>> >individual tracks using dagrab (from ports) or dd if=/dev/acd0t1 of=track1
>> >bs=2352 (obviously repeating for each track).
>>
>> dd: /dev/acd0t1: device not configured
>>
>> /dev/acd0 IS the cd writer, /dev/acd0t1 freshly made by "MAKEDEV acd0t".
>>
>> Anyone any ideas?
>
>1. There is actually a CD in the drive right?

This is a joke, right? I am usually not THAT stupid.
(I did make one of my programs try to write to an unopened file once.
Since then I use the -w switch to perl :)

>2. Run "cdcontrol -f /dev/acd0c info" to get a list of the CD tracks.
>   Make sure track 1 is present and is an audio track.
>   If you get an error from this command then your CD
>   isn't inserted properly, your CD is bad, your drive
>   is bad, or your drive isn't supported.

Works, no problem, x tracks on CD.

>3. Make sure /dev/acd0t1 actually exists. My entry (with a modified group)
>   is as follows:
>
>   crw-rw----   1 root     cdrom    117, 65536 Apr 21 13:03 /dev/acd0t1

What did I say about MAKEDEV? /dev/acd0t{1-100} exist.

Apparently a reboot was all that was needed. However, it seems my cd
writer doesn't quite support this method. I get all kinds of READ_CD
timeouts and errors.

From my /var/log/messages:
Apr 29 20:18:39 rhosgobel /kernel: acd0: READ_CD command timeout - resetting
Apr 29 20:18:39 rhosgobel /kernel: ata1: resetting devices ..  device dissapeared! 1 done
Apr 29 20:18:39 rhosgobel /kernel: ata1-master: timeout waiting to give command=a0 s=90 e=60
Apr 29 20:18:39 rhosgobel /kernel: acd0: failure to send ATAPI packet command
Apr 29 20:18:39 rhosgobel /kernel: acd0: failure to execute ATAPI packet command
Apr 29 20:19:09 rhosgobel /kernel: acd0: READ_CD command timeout - resetting
Apr 29 20:19:09 rhosgobel /kernel: ata1: resetting devices .. done
Apr 29 20:19:09 rhosgobel /kernel: ata1-master: timeout waiting to give command=a0 s=90 e=60
Apr 29 20:19:09 rhosgobel /kernel: acd0: failure to send ATAPI packet command
Apr 29 20:19:09 rhosgobel /kernel: acd0: failure to execute ATAPI packet command
Apr 29 20:19:39 rhosgobel /kernel: acd0: READ_CD command timeout - resetting
Apr 29 20:19:39 rhosgobel /kernel: ata1: resetting devices .. done
Apr 29 20:19:39 rhosgobel /kernel: ata1-master: timeout waiting to give command=a0 s=90 e=60
Apr 29 20:19:39 rhosgobel /kernel: acd0: failure to send ATAPI packet command
Apr 29 20:19:39 rhosgobel /kernel: acd0: failure to execute ATAPI packet command
Apr 29 20:20:09 rhosgobel /kernel: acd0: READ_CD command timeout - resetting
Apr 29 20:20:09 rhosgobel /kernel: ata1: resetting devices .. done

Surprisingly, dd did work with /dev/acd1t1. acd1 is my older cd-rom player
which I knew could not read cd audio (at least according to several tools
in Win98, for example WinDAC, that work fine with my cd writer). Whether
the resulting file actually sounds good, I don't know yet.

with kind regards, Rogier Steehouder

-- 
                           ___                         _
-O_\ Rogier Steehouder                                //
 | / mailto:r.j.steehouder@student.utwente.nl        //\
/ \  http://home.student.utwente.nl/r.j.steehouder/ //  \
  <----------------------- 25m ---------------------->



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010429202945.W465-100000>