Newsgroup: it.comp.os.linux.iniziare
Titolo: Non riesco a masterizzare: ecco il messaggio d'errore

Salve,
ho provato a masterizzare un'immagine iso da consolle e compare il
seguente errore:
[luca@localhost luca]$ cdrecord dev=0,0,0 speed=16 \desktop\VL-4.3.iso
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
Cdrecord-Clone 2.01a27-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004
Jörg Schilling
cdrecord: Operation not permitted. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using
setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
cdrecord: Permission denied. Cannot open '/dev/pg0'. Cannot open SCSI
driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you
are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
Cosa sbaglio?
Quando cerco il file .iso in questione, compare il percorso
\home\luca\Desktop ;
ho provato a cambiare il percorso del file:
[luca@localhost luca]$ cdrecord dev=0,0,0 speed=16
\home\luca\Desktop\VL-4.3.iso
ma visualizzo lo stesso errore :-/
Il prompt sopra riportato indica che mi trovo nella root?
Ho provato a raggiungere la root con il comando ' #su', ma non succede
nulla
Se uso il comando "cdrecord - scanbus", visualizzo il seguente errore:
[luca@localhost luca]$ cdrecord -scanbus
Cdrecord-Clone 2.01a27-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004
Jörg Schilling
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Warning: Using badly designed ATAPI via /dev/hd* interface.
cdrecord: Permission denied. Cannot open '/dev/hda'. Cannot open SCSI
driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you
are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
Anche il comando "cdrecord dev=help" non mi e' di grande aiuto :-/
Cosa devo fare?
Grazie
Luca

 are root.
con il comando "su" puoi agire come root (suppongo che dopo averlo 
digitato nella shell ti venga richiesta la password di root).
Devi lanciare cdrecord -scanbus da root, perciņ
su
password
cdrecord -scanbus
ciaomanu

D'accordo: cosa proponi?
Grazie
Luca

Ho conquistato la root :-)
lanciando cdrecord -scanbus, risulta che il lettore cd corrisponde a
1,1,0
Quindi:
[root@localhost luca]#  cdrecord dev=1,1,0 speed=16
/home/luca/Desktop/VL-4.3.iso
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
scsidev: '1,1,0'
scsibus: 1 target: 1 lun: 0
cdrecord: No such file or directory. Cannot open '/dev/sg*'. Cannot
open SCSI driver.
[root@localhost luca]# cdrecord dev=help
Supported SCSI transports for this platform:
Transport name:         sg
Transport descr.:       Generic transport independent SCSI
Transp. layer ind.:
Target specifier:       bus,target,lun
Target example:         1,2,0
SCSI Bus scanning:      supported
Open via UNIX device:   not supported
Transport name:         pg
Transport descr.:       SCSI transport for ATAPI over Parallel Port
Transp. layer ind.:
Target specifier:       bus,target,lun
Target example:         1,2,0
SCSI Bus scanning:      supported
Open via UNIX device:   not supported
Transport name:         ATA
Transport descr.:       ATA Packet specific SCSI transport
Transp. layer ind.:     ATAPI:
Target specifier:       bus,target,lun
Target example:         ATAPI:1,2,0
SCSI Bus scanning:      supported
Open via UNIX device:   not supported
Transport name:         ATA
Transport descr.:       ATA Packet specific SCSI transport using sg
interface
Transp. layer ind.:     ATA:
Target specifier:       bus,target,lun
Target example:         1,2,0
SCSI Bus scanning:      supported
Open via UNIX device:   not supported
Transport name:         RSCSI
Transport descr.:       Remote SCSI
Transp. layer ind.:     REMOTE:
Target specifier:       rscsi@host:bus,target,lun
Target example:         REMOTE:rscsi@host:1,2,0
SCSI Bus scanning:      supported
Open via UNIX device:   not supported
Perche' il file non viene visto?
Cosa consigliate?
Grazie
Luca

 [luca@localhost luca]$ cdrecord
Che non hai permessi per farlo. Prova da root

>[root@localhost luca]#  cdrecord dev=1,1,0 speed=16
/home/luca/Desktop/VL-4.3.iso
Sono gia' in root
Ciao
Luca

 
Il bios come lo vede il tuo masterizzatore? hda, hdb, hdc, o hdd?
Prova a mettere come dispositvo dev=dev/hd*.

 Prova a mettere come dispositvo dev=dev/hd*.
Volevo dire  dev=/dev/hd*.

Non ho controllato come lo veda il Bios (con quale tasto si accede al
Bios, quando si riavvia?)
ma con il comando cdrecord -scanbus ottengo le seguenti informazioni:
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Warning: Using badly designed ATAPI via /dev/hd* interface.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version
(schily - Red Hat-scsi-linux-sg.c-1.80-RH '@(#)scsi-linux-sg.c
1.80 04/03/08 Copyright 1997 J. Schilling').
scsibus1:
1,0,0   100) *
1,1,0   101) 'PHILIPS ' 'CDRW1610A       ' '02B0' Removable
CD-ROM
1,2,0   102) *
1,3,0   103) *
1,4,0   104) *
1,5,0   105) *
1,6,0   106) *
1,7,0   107) *
Cosa faccio?
Grazie
Luca

 Se uso il comando "cdrecord - scanbus", visualizzo il seguente errore:
Usa questo comando: "cdrecord -scanbus dev=ATAPI" e usa come valore da 
passare a "dev" quello che ti viene fuori per il tuo masterizzatore.
Altrimenti, come ti è stato suggerito, metti in cdrecord "dev=/dev/hdX".
Per sapere a che corrisponde la X, vai di "dmesg | grep ATAPI".
Ciao, Paolo

Lanciando il comando "cdrecord -scanbus dev=ATAPI" viene fuori il
valore 0,1,1
0,1,0     1) 'PHILIPS ' 'CDRW1610A       ' '02B0' Removable CD-ROM
Tuttavia, attribuendo il valore a dev (dev=0,1,0), ottengo il seguente
errore:
scsidev: '0,1,0'
scsibus: 0 target: 1 lun: 0
cdrecord: No such device or address. Cannot open '/dev/pg1'. Cannot
open SCSI driver.
Se lancio il comando : "dmesg | grep ATAPI" non succede proprio nulla e
di conseguenza non so quale valore attribuire alla x nella stringa
"dev=/dev/hdX".
Cosa faccio?
Grazie
Luca

 Cosa faccio?
Prova con "dmesg | grep CD" oppure "dmesg | grep hd"
Ciao, Paolo

Facciamo progressi:
[root@localhost luca]# cdrecord dev=ATAPI:1,0 speed=16 /tmp/VL-4.3.iso
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
scsidev: 'ATAPI:1,0'
devname: 'ATAPI'
scsibus: 0 target: 1 lun: 0
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
Using libscg version 'schily-0.8'.
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'PHILIPS '
Identifikation : 'CDRW1610A       '
Revision       : '02B0'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-2 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R
cdrecord: Drive needs to reload the media to return to proper status.
cdrecord: Cannot get next writable address for 'invisible' track.
cdrecord: This means that we are checking recorded media.
cdrecord: This media cannot be written in streaming mode anymore.
cdrecord: If you like to write to 'preformatted' RW media, try to blank
the medi a first.
Starting to write CD/DVD at speed   8.0 in real TAO mode for single
session.
Last chance to quit, starting real write    0 seconds. Operation
starts.
Turning BURN-Free off
cdrecord: Input/output error. read track info: scsi sendcmd: no error
CDB:  52 01 00 00 00 FF 00 00 1C 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 21 00 00 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x21 Qual 0x00 (logical block address out of range) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.002s timeout 240s
cdrecord: Cannot get next writable address for 'invisible' track.
cdrecord: This means that we are checking recorded media.
cdrecord: This media cannot be written in streaming mode anymore.
cdrecord: If you like to write to 'preformatted' RW media, try to blank
the medi a first.
cdrecord: Cannot get next writable address.
Se non ho capito male, non riesce a masterizzare perche' il cd rw
contiene gia' alcuni dati ...come si fa a formattarlo?
Grazie
Luca

 contiene gia' alcuni dati ...come si fa a formattarlo?
cdrecord dev=/dev/hd* blank=fast
-- 
bye... 'roby
http://www.bradipo.org.uk

 contiene gia' alcuni dati ...come si fa a formattarlo?
Si, esatto. Il comando è questo:
cdrecord dev=ATAPI:1,0 speed=16 blank=fast
Ma hai scoperto che dev corrisponde???
Ciao, Paolo

>Ma hai scoperto che dev corrisponde???
No, ma ora funziona a meraviglia:
"cdrecord dev=ATAPI:1,0 blank=fast" cancella i dati sul cd rw
"cdrecord dev=ATAPI:1,0 speed=16 /tmp/nomefile.iso" masterizza il file
Come faccio a scoprire il valore del dev? (io pensavo fosse 1,0 ^_^ )
Grazie a tutti per i preziosi consigli
Luca

 Come faccio a scoprire il valore del dev? (io pensavo fosse 1,0 ^_^ )
Prova "dmesg | grep CD" oppure "dmesg | grep hd"
Io intendevo se ti corrisponde a /dev/hdb o /dev/hdc o /dev/hdd, è una 
cosa che ti può tornare utile.
Ciao, Paolo