baslinux AT lists.ibiblio.org
Subject: Baslinux mailing list
List archive
- From: sindi keesan <keesan AT sdf.lonestar.org>
- To: baslinux AT lists.ibiblio.org
- Subject: [BL] BL2 burning audio CDs.
- Date: Fri, 22 Oct 2004 16:26:46 +0000 (UTC)
With help from Christof and Hal I was able a while ago to burn exact copies of data CDs. A quick summary.
1. Install /ap1/cdutils.tgz which contains reaadcd and cdrecord and mkeisofs and documentation.
2. Boot the bl2 kernel with loadlin appending to the line you boot with hdc=ide-scsi (or substitute for hdc the CD-R drive you use).
3. Insmod the following modules (copy them from the SW71 2.2.16/modules directory (misc or scsi?):
insmod ide-cd ignore=hdc (substitute your drive for hdc)
insmod scsi-mod
insmod sg
insmod sr_mod
insmod loop
insmod ide-scsi
This last will tell you it detected a CD-ROM sr0 at scsi0.
These let you emulate a scsi drive with an ide drive because cdrecord was written for a scsi CD-ROM drive. (We had one once).
4. You can type cat /proc/scsi/scsi to be told what attached scsi devices you have with Channel:00 Id:00 Lun:00 (they may not be 00 if you have other scsi devices?). Or cdrecord -scanbus will give similar info.
5. To copy an entire CD first read it to a file:
readcd dev=0,0,0 f=/tmp/filename.raw (this creates the file of this name).
6. To write this file to a CD:
cdrecord -v fs=6m speed=2 dev=0,0,0 filename.raw
Before actually burning a CD the first time run this with -dummy and
stop it before the 10 sec countdown 'last chance to quit'. If you forget to stop it the next record won't work until you type cdrecord -reset.
Explanations:
-v verbose, tells you what is happening as it records
- dummy trial runthrough with laser turned off
dev=0,0,0 - the first and only scsi device but if you have others change
speed = 2 (my recorder is an early one, change if you have faster;
the man page says if problems you can even try speed=0)
fs=6m fifo (buffer?) 6 megabytes. Default is 4.
Hal said in order to eliminate the need to write dev=0,0,0 for
the reader and writer to put into /etc/profile
export CDR_device=0,0,0
Can I also put in
export CDR_SPEED=2
export CDR_FIFOSIZE=6 (or just omit fs=6m to get default 4MB?)
That would leave me: cdrecord -v filename.raw
Instead of an entire CD it is possible to record single tracks (see the manual, something like track1...track2?). Can someone explain further?
The man page lists many other switches. -eject will eject the CD after
you are done recording. -data is the default.
Question. To record an audio CD (entire) rather than a data CD, if I am not doing individual tracks or .wav files, do I need the -audio switch or do I just record as above? (i. e., is readcd just copying over a disk image to the filename.raw file, in which case all CDs should look the same to it).
I am at 498 of 650MB of a copy of the SW71 installation CD.
Christof suggests a script for the insmods. Does it need any pauses in it like the plip script did? I will call it cdr.
An easy way to copy CDs without backends:
Get and install the modules and cdutils.tgz
Put the export lines in /etc/profile for device, speed and fifosize
Then each time you want to write CDs:
bootcdr (make a batch file to boot with hdc=ide-scsi)
cdr (the insmod script, or if you will be writing lots of CDs put in rc.)
readcd f=/tmp/filename.raw (first put CD to copy from into CD-R drive)
cdrecord -v filename.raw (first put CD to record onto into the drive)
This is assuming you are copying from the same cdr device. What would I change to copy from a CD-ROM drive at hdb? I have a 40X CD-ROM drive
and the CD-R drive is only 24X. Also it would save time when copying from several CDs to one not to be swapping back and forth.
mount /dev/hdb /cd
readcd dev=cd f=/tmp/filename.raw
??? I am not familiar with using scsi anything.
I don't know why I did not need to mount the CD-R drive.
I have two nice Bach CDs I will copy as soon as I hear about -audio switch. Only 35 min per copy at 2X, slightly faster than taping if you include the time to set this up.
Thanks again to Christof and Hal. Sometime soon I will venture into linux scanner software. Can't be any scarier than this was.
keesan AT sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org
-
Re: [BL] serial networking and telnet server
, (continued)
- Re: [BL] serial networking and telnet server, sindi keesan, 10/19/2004
- Re: [BL] serial networking and telnet server, 3aoo-cvfd, 10/19/2004
- Re: [BL] serial networking and telnet server, sindi keesan, 10/20/2004
- Re: [BL] serial networking and telnet server, 3aoo-cvfd, 10/20/2004
- Re: [BL] serial networking and telnet server, sindi keesan, 10/21/2004
- Re: [BL] serial networking and telnet server, James Miller, 10/21/2004
- Re: [BL] serial networking and telnet server, sindi keesan, 10/21/2004
- Re: [BL] serial networking and telnet server, James Miller, 10/22/2004
- Re: [BL] serial networking and telnet server, sindi keesan, 10/22/2004
- [BL] online document/webpage conversion svc, James Miller, 10/22/2004
- [BL] BL2 burning audio CDs., sindi keesan, 10/22/2004
- Re: [BL] BL2 burning audio CDs., sindi keesan, 10/25/2004
- Re: [BL] BL2 burning audio CDs., Hal MacArgle, 10/26/2004
- Re: [BL] BL2 burning audio CDs., sindi keesan, 10/26/2004
- Re: [BL] online document/webpage conversion svc, sindi keesan, 10/22/2004
- Re: [BL] serial networking and telnet server, 3aoo-cvfd, 10/21/2004
- Re: [BL] serial networking and telnet server, sindi keesan, 10/22/2004
- Re: [BL] serial networking and telnet server, 3aoo-cvfd, 10/23/2004
- Re: [BL] serial networking and telnet server, sindi keesan, 10/23/2004
- Re: [BL] serial networking and telnet server, 3aoo-cvfd, 10/24/2004
- Re: [BL] serial networking and telnet server, sindi keesan, 10/25/2004
Archive powered by MHonArc 2.6.24.