[RELug] problemi con il masterizzatore

Luca Braglia lbraglia@gmail.com
Dom 3 Giu 2007 19:06:06 CEST


ciao a tutti,
	come da oggetto il masterizzatore cd-dvd del mio portatile sta facendo
un po di bizze... semplicemente non masterizza :(
Vi posto un po di info e log. Premetto che di masterizzazione non ne so
moltissimo, quindi se vi serve altro ditemi pure.
Un po di info sulla device


$ sudo hwinfo --cdrom
23: IDE 02.0: 10602 CD-ROM (DVD)                                
  [Created at block.225]
  Unique ID: 90A1.xnA92kEt3W0
  Parent ID: JCE+.JbtaFnHhZx6
  SysFS ID: /block/hdc
  SysFS BusID: 1.0
  SysFS Device Link: /devices/pci0000:00/0000:00:02.5/ide1/1.0
  Hardware Class: cdrom
  Model: "TSSTcorpCD/DVDW TS-L532A"
  Vendor: "TSSTcorpCD/DVDW"
  Device: "TS-L532A"
  Revision: "TI51"
  Serial ID: "454K702588"
  Driver: "SIS_IDE", "ide-cdrom"
  Device File: /dev/hdc
  Device Files: /dev/hdc,
/dev/disk/by-id/ata-TSSTcorpCDDVDW_TS-L532A_454K702588,
/dev/disk/by-path/pci-0000:00:02.5-ide-1:0, /dev/cdrom, /dev/cdrw,
/dev/dvd, /dev/dvdrw
  Device Number: block 22:0
  Features: CD-R, CD-RW, DVD, DVD-R
  Size: 0 sectors a 512 bytes
  Drive status: no medium
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #4 (IDE interface)
  Drive Speed: 24


Per leggere legge:

$ pmount /dev/hdc 
mount: block device /dev/hdc is write-protected, mounting read-only
$ head /media/cdrom/README.txt 

                                            (HTML version in README.html)

       Debian GNU/Linux testing "Etch" - Official Snapshot i386 Binary-1
                                   CD   



Tutto e' partito dal fatto che ho aperto brasero per masterizzarmi Etch con
kde da mettere sul portatile della morosa, ma semplicemente nella
finestrella della masterizzazione di immagine ISO non c'era nessuna device
selezionabile per il compito. Quindi ho provato con wodim.

Wodim lo rileva correttamente

$ wodim --devices
wodim: Overview of accessible drives (1 found) :
-------------------------------------------------------------------------
 0  dev='/dev/hdc'	rwrw-- : 'TSSTcorp' 'CD/DVDW TS-L532A'
-------------------------------------------------------------------------

$ wodim -checkdrive dev=/dev/hdc 
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   : 
Vendor_info    : 'TSSTcorp'
Identification : 'CD/DVDW TS-L532A'
Revision       : 'TI51'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE 
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R


... Ma quando si tratta di masterizzare ...


$ wodim -v speed=4 dev=/dev/hdc -eject debian-40r0-amd64-kde-CD-1.iso 
wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent
defaults.
TOC Type: 1 = CD-ROM
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.6
SCSI buffer size: 64512
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   : 
Vendor_info    : 'TSSTcorp'
Identification : 'CD/DVDW TS-L532A'
Revision       : 'TI51'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0009 (CD-R)
Profile: 0x0010 (DVD-ROM) 
Profile: 0x0008 (CD-ROM) 
Profile: 0x0009 (CD-R) (current)
Profile: 0x000A (CD-RW) 
Profile: 0x0011 (DVD-R sequential recording) 
Profile: 0x0013 (DVD-RW restricted overwrite) 
Profile: 0x0014 (DVD-RW sequential recording) 
Profile: 0x001A (DVD+RW) 
Profile: 0x001B (DVD+R) 
Profile: 0x002B (DVD+R/DL) 
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE 
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R
Drive buf size : 1451664 = 1417 KB
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
FIFO size      : 12582912 = 12288 KB
Track 01: data   648 MB        
Total size:      744 MB (73:44.26) = 331820 sectors
Lout start:      744 MB (73:46/20) = 331820 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 5
  Is not unrestricted
  Is not erasable
  Disk sub type: Medium Type B, low Beta category (B-) (4)
  ATIP start of lead in:  -11740 (97:25/35)
  ATIP start of lead out: 359849 (79:59/74)
Disk type:    Short strategy type (Phthalocyanine or similar)
Manuf. index: 40
Manufacturer: INFODISC Technology Co., Ltd.
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 28029
Speed set to 706 KB/s
Starting to write CD/DVD at speed   4.0 in real TAO mode for single
session.
Last chance to quit, starting real write i   0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
Starting new track at sector: 0
Track 01:    1 of  648 MB written (fifo 100%) [buf  95%]   1.5x.
Track 01: Total bytes read/written: 679563264/1079296 (527 sectors).
Writing  time:   99.746s
Average write speed  44.4x.
Fixating...
Fixating time:    0.000s

... ma dopo circa 30 secondi mi da ...

wodim: Warning: controller returns zero sized Ricoh Vendor Page page.
wodim: Warning: controller returns wrong size for Ricoh Vendor Page page.
wodim: Warning: controller returns wrong page 0 for Ricoh Vendor Page page
(30).
wodim: fifo had 10704 puts and 10704 gets.
wodim: fifo was 640 times empty and 6 times full, min fill was 0%.

... e torna al prompt della linea di comando. Sono queste ultime cinque
righe che non capisco bene ...

Per finire ho riavviato e bootato una kubuntu 6.06 presente su un'altra
partizione ; con k3b (e cdrecord) ho provato a rimasterizzare sia
auto(=DAO) che TAO (perche' consigliata alla fine del primo tentativo), ma
entrambi falliscono miseramente, adducendo errori di scrittura. Ecco i log 

###################
MASTERIZZAZIONE DAO
###################

System
-----------------------
K3b Version: 0.12.17

KDE Version: 3.5.2
QT Version:  3.3.6
Kernel:      2.6.15-28-386
Devices
-----------------------
TSSTcorp CD/DVDW TS-L532A TI51 (/dev/hdc, ) at /media/cdrom0 [CD-R; CD-RW; CD-ROM; DVD-ROM; DVD-R; DVD-RW; DVD+R; DVD+RW; DVD+R DL] [DVD-ROM; DVD-R sequenziale; DVD-RW a riscrittura limitata; DVD-RW sequenziale; DVD+RW; DVD+R; DVD+R a doppio strato; CD-ROM; CD-R; CD-RW] [SAO; TAO; RAW; SAO/R96P; SAO/R96R; RAW/R96R; Riscrittura limitata]

Used versions
-----------------------
cdrecord: 2.1.1a01

cdrecord
-----------------------
/usr/bin/X11/cdrecord: Warning: Running on Linux-2.6.15-28-386
/usr/bin/X11/cdrecord: There are unsettled issues with Linux-2.5 and newer.
/usr/bin/X11/cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Error: Cannot gain SYS_RAWIO capability.Is cdrecord installed SUID root?
: Operation not permitted
/usr/bin/X11/cdrecord: Warning: using inofficial version of libscg (debian-0.8debian2 '@(#)scsitransp.c 1.91 04/06/17 Copyright 1988,1995,2000-2004 J. Schilling').
SCSI buffer size: 64512
/usr/bin/X11/cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code.
/usr/bin/X11/cdrecord: See /usr/share/doc/cdrecord/README.DVD.Debian for details on DVD support.
Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Joerg 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 'debian-0.8debian2'.
Driveropts: 'burnfree'
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   : 
Vendor_info    : 'TSSTcorp'
Identifikation : 'CD/DVDW TS-L532A'
Revision       : 'TI51'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0009
Profile: 0x0010 
Profile: 0x0008 
Profile: 0x0009 (current)
Profile: 0x000A 
Profile: 0x0011 
Profile: 0x0013 
Profile: 0x0014 
Profile: 0x001A 
Profile: 0x001B 
Profile: 0x002B 
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE 
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R
Drive buf size : 1451664 = 1417 KB
FIFO size      : 4194304 = 4096 KB
Error: Cannot gain SYS_RAWIO capability.Is cdrecord installed SUID root?
: Operation not permitted
Track 01: data   648 MB        
Total size:      744 MB (73:44.24) = 331818 sectors
Lout start:      744 MB (73:46/18) = 331818 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 5
  Is not unrestricted
  Is not erasable
  Disk sub type: Medium Type B, low Beta category (B-) (4)
  ATIP start of lead in:  -11740 (97:25/35)
  ATIP start of lead out: 359849 (79:59/74)
Disk type:    Short strategy type (Phthalocyanine or similar)
Manuf. index: 40
Manufacturer: INFODISC Technology Co., Ltd.
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 28031
Starting to write CD/DVD at speed 4 in real SAO mode for single session.
Last chance to quit, starting real write in 2 seconds.
   1 seconds.
   0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is ON.
Performing OPC...
Sending CUE sheet...
/usr/bin/X11/cdrecord: WARNING: Drive returns wrong startsec (0) using -150
/usr/bin/X11/cdrecord: Success. write_g1: scsi sendcmd: no error
CDB:  2A 00 FF FF FF 6A 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 30 05 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x30 Qual 0x05 (cannot write medium - incompatible format) Fru 0x0
Sense flags: Blk 0 (not valid) 
resid: 63488
cmd finished after 204.304s timeout 200s
Writing pregap for track 1 at -150
write track pad data: error after 0 bytes
BFree: 1417 K BSize: 1417 K
Starting new track at sector: 0
Track 01:    0 of  648 MB written.
/usr/bin/X11/cdrecord: Success. write_g1: scsi sendcmd: no error
CDB:  2A 00 00 00 00 00 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 30 05 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x30 Qual 0x05 (cannot write medium - incompatible format) Fru 0x0
Sense flags: Blk 0 (not valid) 
resid: 63488
cmd finished after 0.000s timeout 200s
/usr/bin/X11/cdrecord: A write error occured.
/usr/bin/X11/cdrecord: Please properly read the error message above.
write track data: error after 0 bytes
Writing  time:  209.346s
Average write speed  21.1x.
Fixating...
Fixating time:    0.001s
/usr/bin/X11/cdrecord: fifo had 64 puts and 1 gets.
/usr/bin/X11/cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.

cdrecord command:
-----------------------
/usr/bin/X11/cdrecord.mmap -v gracetime=2 dev=/dev/hdc speed=4 -dao driveropts=burnfree -eject -data /home/luca/debian-40r0-amd64-kde-CD-1.iso 



##############################
ED ORA LA MASTERIZZAZIONE TAO
##############################

System
-----------------------
K3b Version: 0.12.17

KDE Version: 3.5.2
QT Version:  3.3.6
Kernel:      2.6.15-28-386
Devices
-----------------------
TSSTcorp CD/DVDW TS-L532A TI51 (/dev/hdc, ) at /media/cdrom0 [CD-R; CD-RW; CD-ROM; DVD-ROM; DVD-R; DVD-RW; DVD+R; DVD+RW; DVD+R DL] [DVD-ROM; DVD-R sequenziale; DVD-RW a riscrittura limitata; DVD-RW sequenziale; DVD+RW; DVD+R; DVD+R a doppio strato; CD-ROM; CD-R; CD-RW] [SAO; TAO; RAW; SAO/R96P; SAO/R96R; RAW/R96R; Riscrittura limitata]

Used versions
-----------------------
cdrecord: 2.1.1a01

cdrecord
-----------------------
/usr/bin/X11/cdrecord: Warning: Running on Linux-2.6.15-28-386
/usr/bin/X11/cdrecord: There are unsettled issues with Linux-2.5 and newer.
/usr/bin/X11/cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Error: Cannot gain SYS_RAWIO capability.Is cdrecord installed SUID root?
: Operation not permitted
/usr/bin/X11/cdrecord: Warning: using inofficial version of libscg (debian-0.8debian2 '@(#)scsitransp.c 1.91 04/06/17 Copyright 1988,1995,2000-2004 J. Schilling').
SCSI buffer size: 64512
/usr/bin/X11/cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code.
/usr/bin/X11/cdrecord: See /usr/share/doc/cdrecord/README.DVD.Debian for details on DVD support.
Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Joerg 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 'debian-0.8debian2'.
Driveropts: 'burnfree'
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   : 
Vendor_info    : 'TSSTcorp'
Identifikation : 'CD/DVDW TS-L532A'
Revision       : 'TI51'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0009
Profile: 0x0010 
Profile: 0x0008 
Profile: 0x0009 (current)
Profile: 0x000A 
Profile: 0x0011 
Profile: 0x0013 
Profile: 0x0014 
Profile: 0x001A 
Profile: 0x001B 
Profile: 0x002B 
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE 
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R
Drive buf size : 1451664 = 1417 KB
FIFO size      : 4194304 = 4096 KB
Error: Cannot gain SYS_RAWIO capability.Is cdrecord installed SUID root?
: Operation not permitted
Track 01: data   648 MB        
Total size:      744 MB (73:44.26) = 331820 sectors
Lout start:      744 MB (73:46/20) = 331820 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 5
  Is not unrestricted
  Is not erasable
  Disk sub type: Medium Type B, low Beta category (B-) (4)
  ATIP start of lead in:  -11740 (97:25/35)
  ATIP start of lead out: 359849 (79:59/74)
Disk type:    Short strategy type (Phthalocyanine or similar)
Manuf. index: 40
Manufacturer: INFODISC Technology Co., Ltd.
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 28029
Starting to write CD/DVD at speed 4 in real TAO mode for single session.
Last chance to quit, starting real write in 2 seconds.
   1 seconds.
   0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is ON.
Performing OPC...
Starting new track at sector: 0
Track 01:    0 of  648 MB written.
Track 01:    1 of  648 MB written (fifo 100%) [buf  95%]   1.4x.
/usr/bin/X11/cdrecord: Success. write_g1: scsi sendcmd: no error
CDB:  2A 00 00 00 02 0F 00 00 1F 00
status: 0x1 (GOOD STATUS)
resid: 63488
cmd finished after 40.023s timeout 40s
/usr/bin/X11/cdrecord: A write error occured.
/usr/bin/X11/cdrecord: Please properly read the error message above.
write track data: error after 1079296 bytes
Writing  time:   49.929s
Average write speed  88.6x.
Fixating...
/usr/bin/X11/cdrecord: Success. close track/session: scsi sendcmd: no error
CDB:  5B 00 02 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 30 05 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x30 Qual 0x05 (cannot write medium - incompatible format) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.001s timeout 480s
cmd finished after 0.001s timeout 480s
Fixating time:    0.003s
/usr/bin/X11/cdrecord: Cannot fixate disk.
/usr/bin/X11/cdrecord: fifo had 81 puts and 18 gets.
/usr/bin/X11/cdrecord: fifo was 0 times empty and 6 times full, min fill was 87%.

cdrecord command:
-----------------------
/usr/bin/X11/cdrecord.mmap -v gracetime=2 dev=/dev/hdc speed=4 -tao driveropts=burnfree -eject -data /home/luca/debian-40r0-amd64-kde-CD-1.iso 


Mi sembra che sia un errore (che illuminazione eh?), non che gli manchi
qualcosa... mi spiego  negli ultimi tempi sto smanettando attorno al
kernel, ma tutto quel che serve per il cd (o almeno credo) l'ho compilato,
neanche messo modulare. Il mio config e' qui:

	http://bragliozzo.altervista.org/download/config-2.6.20

In sostanza il mio masterizzatore legge ma non scrive neanche a pregarlo,
almeno per le prove che ho fatto io ... poi magari ho sbagliato qualcosa.

Vi ringrazio in anticipo

ciao
	Luca



-- 

Luca Braglia
------------
http://bragliozzo.altervista.org/



Maggiori informazioni sulla lista RELug