Gentoo Archives: gentoo-user-es

From: Angel Cervera Claudio <angel@××××××××.com>
To: gentoo-user-es@l.g.o
Subject: Re: [gentoo-user-es] cdrecord
Date: Mon, 28 Aug 2006 16:02:22
Message-Id: 44F31363.2080306@acervera.com
In Reply to: [gentoo-user-es] cdrecord by Angel Cervera Claudio
1 Angel Cervera Claudio wrote:
2 > ¿Alguien tiene claro cómo funciona?
3 >
4 > Según en el wiki: http://gentoo-wiki.com/HOWTO_ATAPI_CD_Burning
5 > {wiki}
6 > To burn an iso with cdrecord you will have to find out the device id.
7 > This is used to identify your burner on the scsi bus. Yes even for ATAPI
8 > drives you will need the device id. Find it by issueing the following
9 > command
10 >
11 > cdrecord dev=ATAPI -scanbus
12 >
13 > It will give out put like below
14 >
15 > Cdrecord-ProDVD-Clone 2.01.01a11 (x86_64-unknown-linux-gnu) Copyright
16 > (C) 1995-2006 Jörg Schilling
17 > scsidev: 'ATAPI'
18 > devname: 'ATAPI'
19 > scsibus: -2 target: -2 lun: -2
20 > Warning: Using ATA Packet interface.
21 > Warning: The related Linux kernel interface code seems to be unmaintained.
22 > Warning: There is absolutely NO DMA, operations thus are slow.
23 > Using libscg version 'schily-0.8'.
24 > scsibus0:
25 > 0,0,0 0) '_NEC ' 'DVD_RW ND-3540A ' '1.F1' Removable CD-ROM
26 > 0,1,0 1) *
27 > 0,2,0 2) *
28 > 0,3,0 3) *
29 > 0,4,0 4) *
30 > 0,5,0 5) *
31 > 0,6,0 6) *
32 > 0,7,0 7) *
33 >
34 > Notice the 3 numbers seperated by comma's, this is the device id that
35 > should be used for cdrecord. Mine is 0,0,0 but yours could be different
36 > so you need to replace it below with your device id.
37 >
38 > Some people will advice to use dev=/dev/hdc but this is unsupported and
39 > might not work. It might work for you but it is wrong.
40 > {/wiki}
41 >
42 > Es decir, que se debe usar dev=ATAPI.
43 > Especial atención al último párrafo, que dice que aunque funciona no es
44 > correcto.
45 >
46 > Según mensaje al terminar de compilar el cdrecord:
47 > {code}
48 > * The command line option 'dev=/dev/hdX' (X is the name of your drive)
49 > * should be used for IDE CD writers. And make sure that the permissions
50 > * on this device are set properly and your user is in the correct group.
51 > {/code}
52 >
53 > Por supuesto, sólo me funciona si uso la última recomendación.
54 >
55 > Pero resulta que cuando voy a grabar un iso:
56 > {code}
57 > # cdrecord dev=/dev/hdc:1,0,0 kororaa-xgl-livecd-0.2.iso
58 > cdrecord: No write mode specified.
59 > cdrecord: Asuming -tao mode.
60 > cdrecord: Future versions of cdrecord may have different drive dependent
61 > defaults.
62 > Cdrecord-ProDVD-Clone 2.01.01a10 (i686-pc-linux-gnu) Copyright (C)
63 > 1995-2006 Jörg Schilling
64 > scsidev: '/dev/hdc:1,0,0'
65 > devname: '/dev/hdc'
66 > scsibus: 1 target: 0 lun: 0
67 > Warning: Open by 'devname' is unintentional and not supported.
68 > {/code}
69 >
70 > Y se me queda colgado.
71 > Si intento hacerlo con el ATAPI peor todavía:
72 > {code}
73 > # cdrecord dev=ATAPI:1,0,0 kororaa-xgl-livecd-0.2.iso
74 > cdrecord: No write mode specified.
75 > cdrecord: Asuming -tao mode.
76 > cdrecord: Future versions of cdrecord may have different drive dependent
77 > defaults.
78 > Cdrecord-ProDVD-Clone 2.01.01a10 (i686-pc-linux-gnu) Copyright (C)
79 > 1995-2006 Jörg Schilling
80 > scsidev: 'ATAPI:1,0,0'
81 > devname: 'ATAPI'
82 > scsibus: 1 target: 0 lun: 0
83 > Warning: Using ATA Packet interface.
84 > Warning: The related Linux kernel interface code seems to be unmaintained.
85 > Warning: There is absolutely NO DMA, operations thus are slow.
86 > cdrecord: No such file or directory. Cannot open SCSI driver.
87 > cdrecord: For possible targets try 'cdrecord -scanbus'.
88 > cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
89 > {/code}
90 >
91 > Si pruebo con gnombaker, por ejemplo, después de mucho rato
92 > aparentemente colga, aparece lo siguiente:
93 > {code}
94 > cdrecord: No write mode specified.
95 > cdrecord: Asuming -tao mode.
96 > cdrecord: Future versions of cdrecord may have different drive dependent
97 > defaults.
98 > cdrecord: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK
99 > limits.cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
100 > cdrecord: WARNING: This causes a high risk for buffer underruns.
101 > cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
102 > cdrecord: Permission denied. WARNING: Cannot set priority using
103 > setpriority().
104 > cdrecord: WARNING: This causes a high risk for buffer underruns.
105 > scsidev: '/dev/hdc'
106 > devname: '/dev/hdc'
107 > scsibus: -2 target: -2 lun: -2
108 > Warning: Open by 'devname' is unintentional and not supported.
109 > {/code}
110 >
111 > Y no sale nada ni en los logs, ni en dmesg, ni en ningún lado.
112 >
113 > La verdad es que siempre me a parecido uno de los puntos flacos de
114 > linux, la grabación de cds.
115 >
116 > Esto es un cachondeo! :-D
117 >
118 > Muchas gracias de antemano.
119 >
120 > PD. Como podéis imaginar, he probado también con lo programas que hacen
121 > más fácil las cuestiones de grabar un puñetero CD, con resultados
122 > negativos siempre: gnomebaker (se queda colgado), menú contextual
123 > "Grabar en disco ..." (idem. que gnombaker), etc....
124 > PD. La versión del susodicho:
125 > # cdrecord --version
126 > Cdrecord-ProDVD-Clone 2.01.01a10 (i686-pc-linux-gnu) Copyright (C)
127 > 1995-2006 Jörg Schilling
128 >
129
130 Y si lo dejo mucho, mucho rato:
131 {code}
132 # cdrecord dev=/dev/hdc:1,0,0 kororaa-xgl-livecd-0.2.iso
133 cdrecord: No write mode specified.
134 cdrecord: Asuming -tao mode.
135 cdrecord: Future versions of cdrecord may have different drive dependent defaults.
136 Cdrecord-ProDVD-Clone 2.01.01a11 (i686-pc-linux-gnu) Copyright (C) 1995-2006 Jörg Schilling
137 scsidev: '/dev/hdc:1,0,0'
138 devname: '/dev/hdc'
139 scsibus: 1 target: 0 lun: 0
140 Warning: Open by 'devname' is unintentional and not supported.
141 Linux sg driver version: 3.5.27
142 Using libscg version 'schily-0.8'.
143 Device type : Removable CD-ROM
144 Version : 0
145 Response Format: 2
146 Capabilities :
147 Vendor_info : 'HL-DT-ST'
148 Identifikation : 'DVDRAM GSA-4082B'
149 Revision : 'A207'
150 Device seems to be: Generic mmc2 DVD-R/DVD-RW.
151 Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
152 Driver flags : MMC-3 SWABAUDIO BURNFREE
153 Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
154 cdrecord: CD/DVD-Recorder not ready.
155 {/code}
156
157 _cdrecord: CD/DVD-Recorder not ready._: Pues si la grabadora no está preparada para grabar, no se quien va a estarlo.
158 En fin, que quería probar un livecd con xgl y me voy a tener que aguantar.
159
160 Un saludo a todos.
161 --
162 gentoo-user-es@g.o mailing list

Replies

Subject Author
Re: [gentoo-user-es] cdrecord Arnau Bria <arnau@×××××××××.net>