[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

AW: cdrecord: kein Loschen und Schreiben von CD-RWs mehr moglich



Kai Wulf schrieb:

>Hallo Walter,

>> cdrecord -v -toc -force -dev=0,6,0 

>was passiert wenn Du folgendes eintippst, zum schnellen loeschen einer
>CD-RW?
>
>cdrecord -v blank=fast dev=0,6,0
>
>Gruss Kai

W9Y01652:~# cdrecord -v -v -v -blank=fast -dev=0,6,0 >/tmp/cdrecord_blank_fast_iso1.out


Bildschirmausgabe:

scsidev: '0,6,0'
scsibus: 0 target: 6 lun: 0
Linux sg driver version: 3.1.25
Using libscg transport code version 'schily-scsi-linux-sg.c-1.83'
SCSI buffer size: 64512
 01 00 00 01 00 00 00 00
 01 AA 01 01 00 00 00 00
 01 00 A0 00 00 00 00 01 00 00 00 00
 01 00 A1 00 00 00 00 00 00 00 00 00
 01 00 A2 00 00 00 00 00 00 00 00 00


/tmp/cdrecord_blank_fast_iso1.out:

Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jorg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
      and thus may have bugs that are not present in the original version.
      Please send bug reports and support requests to <cdrtools@packages.debian.org>.
      The original author should not be bothered with problems of this version.

TOC Type: 1 = CD-ROM
Using libscg version 'schily-0.8'.
atapi: 0
Device type    : Removable CD-ROM
Version        : 2
Response Format: 2
Capabilities   : SYNC
Vendor_info    : 'YAMAHA  '
Identifikation : 'CRW8824S        '
Revision       : '1.00'
Device seems to be: Generic mmc CD-RW.
Drive current speed: 4
Drive default speed: 4
Drive max speed    : 4
Selected speed     : 4
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC SWABAUDIO
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R
Drive buf size : 3172848 = 3098 KB
Track 1 start -150
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 5
  Reference speed: 2
  Is not unrestricted
  Is erasable
  ATIP start of lead in:  -11635 (97:26/65)
  ATIP start of lead out: 359849 (79:59/74)
  1T speed low:  0 (reserved val  0) 1T speed high:  4
  2T speed low:  8 2T speed high:  0 (reserved val 10)
  power mult factor: 4 6
  recommended erase/write power: 3
  A1 values: 02 4C B0
  A2 values: 4A C8 36
Disk type:    Phase change
Manuf. index: 3
Manufacturer: CMC Magnetics Corporation
Starting to write CD/DVD at speed 4 in real BLANK mode for single session.
Last chance to quit, starting real write in 9 seconds...8 seconds...7 seconds
...6 seconds...5 seconds...4 seconds...3 seconds...2 seconds...1 seconds
...0 seconds. Operation starts.
Performing OPC...
Blanking PMA, TOC, pregap
Blanking time:   53.219s

Dannn sollte diese CD-RW doch "schnellgeloscht" sein.
Schauen wir mal, was jetzt die Inhaltstabelle der CD-RW (TOC=Table of Content)sagt:

cdrecord -v -v -v -toc -dev=0,6,0 >/tmp/cdrecord_toc_iso1.out


Bildschirmausgabe:

scsidev: '0,6,0'
scsibus: 0 target: 6 lun: 0
Linux sg driver version: 3.1.25
Using libscg transport code version 'schily-scsi-linux-sg.c-1.83'
SCSI buffer size: 64512
 01 00 00 01 00 00 00 00
 01 AA 01 01 00 00 00 00
 01 00 A0 00 00 00 00 01 00 00 00 00
 01 00 A1 00 00 00 00 00 00 00 00 00
 01 00 A2 00 00 00 00 00 00 00 00 00
cdrecord: Input/output error. read toc: scsi sendcmd: no error
CDB:  43 00 00 00 00 00 00 00 04 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0
Sense flags: Blk 0 (not valid)
resid: 4
cmd finished after 0.005s timeout 40s
cdrecord: Cannot read TOC header



/tmp/cdrecord_toc_iso1.out:

Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jorg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
      and thus may have bugs that are not present in the original version.
      Please send bug reports and support requests to <cdrtools@packages.debian.org>.
      The original author should not be bothered with problems of this version.

TOC Type: 1 = CD-ROM
Using libscg version 'schily-0.8'.
atapi: 0
Device type    : Removable CD-ROM
Version        : 2
Response Format: 2
Capabilities   : SYNC
Vendor_info    : 'YAMAHA  '
Identifikation : 'CRW8824S        '
Revision       : '1.00'
Device seems to be: Generic mmc CD-RW.
Drive current speed: 4
Drive default speed: 4
Drive max speed    : 4
Selected speed     : 4
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC SWABAUDIO
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R
Drive buf size : 3172848 = 3098 KB
Track 1 start -150
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 5  power mult factor: 4 6
  recommended erase/write power: 3
  A1 values: 02 4C B0
  A2 values: 4A C8 36
Disk type:    Phase change
Manuf. index: 3
Manufacturer: CMC Magnetics Corporation
  Reference speed: 2
  Is not unrestricted
  Is erasable
  ATIP start of lead in:  -11635 (97:26/65) <----- Track1 ?
  ATIP start of lead out: 359849 (79:59/74) <----- Track2 ?
  1T speed low:  0 (reserved val  0) 1T speed high:  4
  2T speed low:  8 2T speed high:  0 (reserved val 10)


....es schaut also so aus, dass -blank=fast nicht das tut, was es machen soll.
Genauso vergebens ist das Resultat mit -blank=all oder -blank=track.
sarge-i386-1.iso
Ursprunglich war als Track1 die erste Session auf der CD-RW geschrieben.
Dann wollte ich eine neue Version der Sarge-CD-ISO-Images brennen, 
offensichtlich wurde bei meinem
cdrecord -v -blank=fast dev=0,6,0 speed=4 ./sarge-i386-1.iso
die CD-RW nicht schnellgeloscht, hatte also weiterhin ungewollt eine Track1 auf der
Scheibe stehen.
Beim zweiten Versuch mit
cdrecord -v -blank=fast dev=0,6,0 speed=4 ./sarge-i386-1.iso
wurde ebenfalls nicht schnellgeloscht sondern ungewollt eine weitere Session
in Form einer Track2 angelegt und draufgeschrieben bis die Scheibe dann endgultig
voll war ...

Es ist die Frage, woran klemmt es, dass auf einmal CD-RW-Scheiben mit einem
externen YAMAHA CRW8824S-Brenner, angeschlossen an einer 
Adaptec AHA-2940/2940W-SCCSI-Controler nicht mehr geloscht werden konnen.

Konnte es auch an der Weiterentwicklung von cdrecord liegen, dass auf einmal
der Firmware-Stand des YAMAHA CRW8824S-Brenners nicht mehr passt und so dann
gewisse Funktionen von cdrecord einfach nicht mehr ausgefuhrt werden konnen ?

   
Grusse,

Christoph




Reply to: