Hello, I am trying to correctly copy a cdrom using cdrecord and readcd.  I'm 
having an error using readcd on the copies I have made.  This is what I did 
to copy the cd:

readcd dev=0,0,0 f=cdrom.iso
cdrecord -v speed=8 dev=0,0,0 cdrom.iso

The resulting cdrom copy seems to work ok.  I can mount it, etc. However, if 
I try to use readcd on the copy of the cd, like I did on the master, it fails 
with some errors:


[root@comptechserv]:/home/reaster/cdrom# readcd dev=0,0,0 f=cdrom.iso
Capacity: 318656 Blocks = 637312 kBytes = 622 MBytes = 652 prMB
Sectorsize: 2048 Bytes
Capacity: 318656 Blocks = 637312 kBytes = 622 MBytes = 652 prMB
Sectorsize: 2048 Bytes
Copy from SCSI (0,0,0) disk to file 'cdrom.iso'
end:    318656
readcd: Input/output error. read_g1: scsi sendcmd: retryable error
CDB:  28 00 00 04 DC 80 00 00 40 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: F0 00 03 00 04 DC BE 0A 00 00 00 00 06 00 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x06 Qual 0x00 (no reference position found) Fru 0x0
Sense flags: Blk 318654 (valid)
cmd finished after 0.057s timeout 40s

readcd: Input/output error. Cannot read source disk
readcd: Retrying from sector 318592.
...............................................................~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~
~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~
readcd: Input/output error. Error on sector 318654 not corrected. Total of 1 
errors.

Time total: 245.652sec



I read that there are some lead-in and lead-out.  I've also read about Disk 
At Once (DAO).  I think my problems are related to these things, but I'm not 
sure exactly how to deal with them.

Can anyone suggest the commands I should be using to fix this problem?  

The lead-out is 2 sectors?  DAO is suggested in some docs I read.  I was 
thinking of doing this:

readcd sectors=0-318654 dev=0,0,0 f=master.iso
cdrecord -v speed=8 dev=0,0,0 -dao master.iso

Will this fix my problem or just waste another cd? :)

Also, there was some mention somewhere that copies of cdroms made with readcd 
or dd should have the .raw filename.  Does it matter that I use .iso or .raw?

I only have the cdwriter drive, just one drive.  Does the -isosize option to 
cdrecord have any usefulness here?  I've only seen examples of its use when 
coping directly from one drive to another.  I have to write an image file 
first since I don't have two drives.


-- 
-------- Robert B. Easter  [EMAIL PROTECTED] ---------
- CompTechNews Message Board   http://www.comptechnews.com/ -
- CompTechServ Tech Services   http://www.comptechserv.com/ -
---------- http://www.comptechnews.com/~reaster/ ------------


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to