::::::::::::::Prerequisits:::::::::::::
----------->hardware processor : Intel(R) Pentium(R) 4 CPU 2.20GHz memory : 512Mb Intel all-in-one mobo:
TOSHIBA SD-R5002 CD-R/RW DVD-ROM/R/RW reader/writer (ATAPI) several new DVD-RW disk's (look on ATIP info):
Cdrecord-ProDVD-Clone 2.0.1 (i586-pc-linux-gnu) Copyright (C) 1995-2002 Jrg Schilling
Unlocked features: ProDVD Clone
Limited features: speed
This copy of cdrecord is licensed for: private/research/educational_non-commercial_use
scsidev: '0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'TOSHIBA '
Identifikation : 'DVD-ROM SD-R5002'
Revision : '1030'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Using generic SCSI-3/mmc-2 DVD-R/DVD-RW driver (mmc_dvd).
Driver flags : DVD SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R
book type: DVD-RW, Version 2 (3.2)
disc size: 120mm (0)
minimum rate: 10.08 MB/s (2)
number of layers:0
track path: Parallel Track Path (0)
layer type: Rewritable Area (2)
linear density: 0.267 m/bit (0)
track density: 0.74 m/track (0)
phys start: 196608
phys end: 200455
end layer 0: 0
bca: 0
phys size:... 3848
copyr prot type: 0
region mgt info: 0
cpm: 0
cgms: 0
application code:64
physical code: 214
last rec address:16621272
part v./ext code:2/0
ind wr. power: 14
wavelength code: 7
write str. code: 05 88 76 09
Manufacturer: 'PRINCO'
rzone number: 1
border number: 1
damage: 0
reserved: 0 blank: 0 incremental: 0
nwa valid: 0
rzone start: 0
next wr addr: 0
free blocks: 0
blocking factor: 16
rzone size: 3848
last recorded addr: 3847
WARNING: Phys disk size 3848 differs from rzone size 0! Prerecorded disk?
WARNING: Phys start: 196608 Phys end 200455
------------> software
ASP Linux 7.3:
glibc 2.2.5, kernel 2.4.21-pre5-ac3 (latest for now, with small patch from ide-scsi problems thread on lkml, which is finally cured the problem with timeout in scsi transport)
cdrecord-prodvd v. 2.0.1
cdrtools 2.0.1a5
IMPORTANT NOTE: this harware/sofware combo is ABLE to create correct multisession iso9660 CD-RW's and singlesession iso9660 DVD-RW's (well, dvd's could be a little incorrect but at least they are correctly readed on Linux)
PROBLEM DESCRIPTION:
I'm creating Multisession iso9660 DVD disk using following steps (creating of images is omitted, but all this works with CD-RW disk):
[1]> dvdrecord dev=0,0 blank=fast -eject; dvdrecord dev=0,0 -load; sleep 1
[2]> dvdrecord dev=0,0 -multi -data -v -eject tmp/track-01.img ; sleep 1; dvdrecord dev=0,0 -load;
[3]> dvdrecord dev=0,0 -multi -data -v -eject tmp/track-02.img ;
[4]> dvdrecord dev=0,0 -toc;
[5]> mount -t iso9660 /dev/cdrom t; ls -l t; umount t
Steps : 1 and 2 goes well and creates readable disk . Step 3 is failing !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!:
Cdrecord-ProDVD-Clone 2.0.1 (i586-pc-linux-gnu) Copyright (C) 1995-2002 Jrg Schilling
Unlocked features: ProDVD Clone
Limited features: speed
This copy of cdrecord is licensed for: private/research/educational_non-commercial_use
TOC Type: 1 = CD-ROM
scsidev: '0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'TOSHIBA '
Identifikation : 'DVD-ROM SD-R5002'
Revision : '1030'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Using generic SCSI-3/mmc-2 DVD-R/DVD-RW driver (mmc_dvd).
Driver flags : DVD SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R
FIFO size : 4194304 = 4096 KB
Track 01: data 3 MB
Total size: 3 MB = 1617 sectors
Current Secsize: 2048
Trying to clear drive status.
/group/local/bin/cdrecord-prodvd-2.0.1-i586-pc-linux-gnu: Drive needs to reload the media to return to proper status.
WARNING: Phys disk size 3848 differs from rzone size 0! Prerecorded disk?
WARNING: Phys start: 196608 Phys end 200455
Starting to write CD/DVD at speed 2 in real TAO mode for multi session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is OFF.
/group/local/bin/cdrecord-prodvd-2.0.1-i586-pc-linux-gnu: Input/output error. reserve_rzone: scsi sendcmd: no error
CDB: 53 00 00 00 00 00 00 06 51 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 2C 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x2C Qual 0x00 (command sequence error) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.000s timeout 100s
Writing time: 0.006s
Average write speed 841.3x.
Fixating...
Fixating time: 0.000s
/group/local/bin/cdrecord-prodvd-2.0.1-i586-pc-linux-gnu: fifo had 53 puts and 0 gets.
/group/local/bin/cdrecord-prodvd-2.0.1-i586-pc-linux-gnu: fifo was 0 times empty and 0 times full, min fill was 100%.
Step 4 reported TOC is:
WARNING: Phys disk size 3848 differs from rzone size 0! Prerecorded disk? WARNING: Phys start: 196608 Phys end 200455 first: 1 last 1 track: 1 lba: 0 ( 0) 00:02:00 adr: 1 control: 4 mode: -1 track:lout lba: 3848 ( 15392) 00:53:23 adr: 1 control: 4 mode: -1
Step 5 mount disk but shows only first track contents
SECOND NOTICE:
When I'm doing just the same steps with CD-RW , TOC after the first ( and second ) image is written is a bit different:
only last track has mode -1, all others has mode 1. Like this:
first: 1 last 2 track: 1 lba: 0 ( 0) 00:02:00 adr: 1 control: 4 mode: 1 track: 2 lba: 15250 ( 61000) 03:25:25 adr: 1 control: 4 mode: 1 track:lout lba: 16869 ( 67476) 03:46:69 adr: 1 control: 4 mode: -1
In addition the output of cdrecord when writing CD-RW has an additional message:
Performing OPC...
So , is it bug or feature, am I doing something wrong ? With best regards , Vladimir.
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

