I've got a CD-ROM and tried to analyze its structure. Using my 
audio CD player, I found that there seem to be 4 tracks, so 
I started cdrecord -toc: (comments inserted, LFs added for 
better readability)

 : cdrecord -toc dev=5,0
Cdrecord release 1.8a22 Copyright (C) 1995-1999 J�rg Schilling
scsidev: '5,0'
scsibus: 0 target: 5 lun: 0
Device type    : Removable CD-ROM
Version        : 2
Response Format: 2
Capabilities   : RELADR SYNC LINKED 
Vendor_info    : 'TEAC    '
Identifikation : 'CD-R55S         '
Revision       : '1.0L'
Device seems to be: Teac CD-R50S.
Using driver for Teac CD-R50S, Teac CD-R55S, JVC XR-W2010, Pinnacle RCD-5020 
(teac_cdr50).
Driver flags   : SWABAUDIO
first: 1 last 4
track:   1 lba:         0 (        0) 00:02:00 adr: 1 control: 4 mode: 1

-------------- this seems to be a regular CD-ROM data track

track:   2 lba:    339531 (  1358124) 75:29:06 adr: 1 control: 0 mode: -1

-------------- I can listen to this one up to about 17 seconds

track:   3 lba:    341785 (  1367140) 75:59:10 adr: 1 control: 0 mode: -1

cdrecord: Input/output error. read toc: scsi sendcmd: retryable error
CDB:  43 00 00 00 00 00 04 00 0C 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 04 01 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x04 Qual 0x01 (logical unit is in process of becoming ready) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.051s timeout 40s
cdrecord: Cannot read TOC

track:   4 lba:    341785 (  1367140) 75:59:10 adr: 1 control: 0 mode: -1

cdrecord: Input/output error. read toc: scsi sendcmd: retryable error
CDB:  43 00 00 00 00 00 AA 00 0C 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 04 01 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x04 Qual 0x01 (logical unit is in process of becoming ready) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.050s timeout 40s
cdrecord: Cannot read TOC

track:lout lba:    341785 (  1367140) 75:59:10 adr: 1 control: 0 mode: -1

cdrecord: Input/output error. prevent/allow medium removal: scsi sendcmd: retryable 
error
CDB:  1E 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 04 01 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x04 Qual 0x01 (logical unit is in process of becoming ready) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.043s timeout 40s


What happens to the toc reading? I thought the TOC is placed before the
data area, so why do I get I/O errors ?

How do I read this disk, and how can I duplicate it?

Is there a list of control and mode codes somewhere ?

Steffen
-- 
Steffen Grunewald * GeoForschungsZentrum Potsdam * Projektbereich 2.2
Telegrafenberg E3 * D-14473 Potsdam * Germany / Duitsland / Allemagne
office: steffen(at)gfz-potsdam.de * home: steffen.grunewald(at)gmx.de
 Hi! I'm a .signature virus. Copy me to your sig and help me spread!


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



Reply via email to