Gentoo Archives: gentoo-user-br

From: Marcus Fazzi <anunakin@×××××.com>
To: gentoo-user-br@l.g.o
Subject: Re: [gentoo-user-br] Problemas gravando cd (resid: 61440)
Date: Mon, 16 May 2005 02:23:34
Message-Id: f95b8f06050515192369dc3263@mail.gmail.com
In Reply to: Re: [gentoo-user-br] Problemas gravando cd (resid: 61440) by Alexandre Martani
1 é 2.6 ou 2.4?
2
3 Em 15/05/05, Alexandre Martani <amartani@×××××.com> escreveu:
4 >
5 > On 5/15/05, Marcus Fazzi <anunakin@×××××.com> wrote:
6 > > Nunca tive esse problema, estranho, alguma coisa tah errada no seu
7 > kernel!
8 > > mostra o seu grub.conf
9 >
10 > A parte do Gentoo é essa:
11 >
12 > title Gentoo
13 > root (hd0,0)
14 > kernel /boot/bzImage root=/dev/hda1 ro quiet
15 > video=vesafb:ywrap,mtrr,1024x768-32@60 splash=verbose,theme:emergence
16 > initrd /boot/fbsplash-emergence-1024x768
17 >
18 > Estou começando a achar que é problemas de hardware mesmo.. O que vocês
19 > acham?
20 >
21 > Obrigado..
22 >
23 > >
24 > > Em 13/05/05, Magno Torres < magnotorres@×××××.com> escreveu:
25 > > > Achei esse howto, tente usar o -scanbus com dev=ATAPI e tb colocar o
26 > > > Fonte:
27 > > >
28 > >
29 > http://www.slackware-brasil.com.br/web_site/artigos/artigo_completo.php?aid=102
30 > > >
31 > > > cdrecord dev=ATAPI -scanbus
32 > > >
33 > > > O que resultara numa saida como a que segue:
34 > > >
35 > > > root@germano:~# cdrecord -dev=ATAPI -scanbus
36 > > >
37 > > > Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg
38 > Schilling
39 > > >
40 > > > scsidev: 'ATAPI'
41 > > >
42 > > > devname: 'ATAPI'
43 > > >
44 > > > scsibus: -2 target: -2 lun: -2
45 > > >
46 > > > Warning: Using ATA Packet interface.
47 > > >
48 > > > Warning: The related libscg interface code is in pre alpha.
49 > > >
50 > > > Warning: There may be fatal problems.
51 > > >
52 > > > Using libscg version 'schily-0.7'
53 > > >
54 > > > scsibus0:
55 > > >
56 > > > 0,0,0 0) *
57 > > >
58 > > > 0,1,0 1) 'LG ' 'CD-ROM CRD-8521B' '2.00' Removable CD-ROM
59 > > >
60 > > > 0,2,0 2) *
61 > > >
62 > > > 0,3,0 3) *
63 > > >
64 > > > 0,4,0 4) *
65 > > >
66 > > > 0,5,0 5) *
67 > > >
68 > > > 0,6,0 6) *
69 > > >
70 > > > 0,7,0 7) *
71 > > >
72 > > > scsibus1:
73 > > >
74 > > > 1,0,0 100) *
75 > > >
76 > > > 1,1,0 101) 'CREATIVE' 'CD-RW RW8432E ' '1.07' Removable CD-ROM
77 > > >
78 > > > 1,2,0 102) *
79 > > >
80 > > > 1,3,0 103) *
81 > > >
82 > > > 1,4,0 104) *
83 > > >
84 > > > 1,5,0 105) *
85 > > >
86 > > > 1,6,0 106) *
87 > > >
88 > > > 1,7,0 107) *
89 > > >
90 > > > E graças a ela, eu já sei que meu gravador está identificado pelos
91 > números
92 > > 1,1,0 que eu posso passar de novo para o cdrecord para gravar a imagem
93 > iso,
94 > > mas de novo com a sintaxe modificada:
95 > > >
96 > > > cdrecord dev=ATAPI:1,1,0 speed=4 arquivo.iso
97 > > >
98 > > > Resumindo o importante aqui, em qualquer documentação mais antiga
99 > sobre
100 > > como gravar CDs pela linha de comando, atente para o uso do comando
101 > > cdrecord, e substitua:
102 > > >
103 > > > cdrecord -scanbus --> por --> cdrecord dev=ATAPI -scanbus
104 > > >
105 > > > cdrecord dev=X,X,X speed=Y arquivo.iso --> por --> cdrecord
106 > > dev=ATAPI:X,X,X speed=Y arquivo.iso
107 > > >
108 > > > Podem haver mais flags passadas ao cdrecord, que provavelmente podem
109 > ser
110 > > mantidas. E relembrando, este aviso vale para o caso de voce estar
111 > usando um
112 > > gravador IDE (que é o mais usado por ai, pois eu mesmo ainda nao tive a
113 > > chance de ter um gravador SCSI nas maos).
114 > > >
115 > > >
116 > > > Em 12/05/05, Alexandre Martani < amartani@×××××.com > escreveu:
117 > > >
118 > > > > On 5/11/05, Magno Torres < magnotorres@×××××.com > wrote:
119 > > > > > Verifique se o cdrecorder esta com o suid bit setado, se tiver,
120 > > retire.
121 > > > > > Tente gravar com o usuário normal sem suid ou com root, pois
122 > devido a
123 > > uma
124 > > > > > manobra no kernel 2.6.x o bit suid não tem permissão para alguns
125 > > acessos de
126 > > > > > baixo nivel. Isso é horrivel a meu ver - pois executar como root é
127 > > melhor
128 > > > > > devido a prioridade aumentada na execução do processo - evitando a
129 > > perda do
130 > > > > > CD devido falta de recursos causadas por outros processos, e o bit
131 > > suid era
132 > > > > > muito pratico. Claro que tem toda a preocupação com buffer
133 > overflow,
134 > > mas
135 > > > > > sinto falta de nao poder usar o suid.
136 > > > > >
137 > > > >
138 > > > > Tentei gravar como root.. O erro de setpriority() some, mas o resid:
139 > > > > 61440 continua, e a gravação continua falhando..
140 > > > >
141 > > > > Alguém sabe o que significa esse resid?
142 > > > >
143 > > > > Obrigado.
144 > > > >
145 > > > > >
146 > > > > >
147 > > > > > 2005/5/10, Alexandre Martani < amartani@×××××.com>:
148 > > > > > >
149 > > > > > > Olá gente,
150 > > > > > >
151 > > > > > > Estou tendo problemas gravando cds com o cdrecord, e com todos
152 > os
153 > > > > > > programas que o utilizam. Ele até começa a gravar, mas
154 > normalmente
155 > > dá
156 > > > > > > um erro no meio. No Ubuntu acontece a mesma coisa..
157 > > > > > >
158 > > > > > > Aqui está a saída do programa, interrompido antes de começar a
159 > > gravar:
160 > > > > > >
161 > > > > > > $ cdrecord -dev /dev/hdc -data teste.iso
162 > > > > > > cdrecord: No write mode specified.
163 > > > > > > cdrecord: Asuming -tao mode.
164 > > > > > > cdrecord: Future versions of cdrecord may have different drive
165 > > > > > > dependent defaults.
166 > > > > > > cdrecord: Continuing in 5 seconds...
167 > > > > > > Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004
168 > Jörg
169 > > > > > Schilling
170 > > > > > > on-the-fly encryption (version 1.0-rc1) built-in, (C) 2004,2005
171 > > > > > > Maximilian Decker
172 > > > > > >
173 > > > > > > NOTE: this version of cdrecord is an inofficial (modified)
174 > release
175 > > of
176 > > > > > cdrecord
177 > > > > > > and thus may have bugs that are not present in the original
178 > > version.
179 > > > > > > Please send bug reports and support requests to <burbon04 at
180 > > > > > gmx.de>.
181 > > > > > > For more information please see
182 > > > > > >
183 > > http://burbon04.gmxhome.de/linux/CDREncryption.html.
184 > > > > > > The original author should not be bothered with problems of
185 > > this
186 > > > > > version.
187 > > > > > >
188 > > > > > > cdrecord: Warning: Running on Linux-2.6.11-gentoo-r6-ale
189 > > > > > > cdrecord: There are unsettled issues with Linux-2.5 and newer.
190 > > > > > > cdrecord: If you have unexpected problems, please try Linux-2.4or
191 > > > > > Solaris.
192 > > > > > > cdrecord: Cannot allocate memory. WARNING: Cannot do
193 > mlockall(2).
194 > > > > > > cdrecord: WARNING: This causes a high risk for buffer underruns.
195 > > > > > > cdrecord: Operation not permitted. WARNING: Cannot set
196 > RR-scheduler
197 > > > > > > cdrecord: Permission denied. WARNING: Cannot set priority using
198 > > > > > setpriority().
199 > > > > > > cdrecord: WARNING: This causes a high risk for buffer underruns.
200 > > > > > > scsidev: '/dev/hdc'
201 > > > > > > devname: '/dev/hdc'
202 > > > > > > scsibus: -2 target: -2 lun: -2
203 > > > > > > Warning: Open by 'devname' is unintentional and not supported.
204 > > > > > > Linux sg driver version: 3.5.27
205 > > > > > > Using libscg version 'schily-0.8'.
206 > > > > > > Device type : Removable CD-ROM
207 > > > > > > Version : 0
208 > > > > > > Response Format: 1
209 > > > > > > Vendor_info : 'HP '
210 > > > > > > Identifikation : 'CD-Writer+ 9100b'
211 > > > > > > Revision : '1.06'
212 > > > > > > Device seems to be: Generic mmc CD-RW.
213 > > > > > > Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
214 > > > > > > Driver flags : MMC SWABAUDIO
215 > > > > > > Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16
216 > RAW/R96P
217 > > > > > RAW/R96R
218 > > > > > > resid: 61440
219 > > > > > > resid: 61440
220 > > > > > > (mensagem repetida várias vezes..)
221 > > > > > >
222 > > > > > > cdrecord: Operation not permitted. WARNING: Cannot set
223 > RR-scheduler
224 > > > > > > cdrecord: Permission denied. WARNING: Cannot set priority using
225 > > > > > setpriority().
226 > > > > > > cdrecord: WARNING: This causes a high risk for buffer underruns.
227 > > > > > > Starting to write CD/DVD at speed 8 in real TAO mode for single
228 > > session.
229 > > > > > > Last chance to quit, starting real write 8 seconds.
230 > > > > > >
231 > > > >
232 > > > > --
233 > > > > Alexandre Martani - amartani em gmail com
234 > > > >
235 > > > > Ainda usando Rwindow$ + Internet Exploder
236 > > > > Mude!
237 > > > > Gentoo/Debian GNU/Linux + Mozilla Firefox
238 > > > >
239 > > > >
240 > > http://jonasgalvez.com/br/blog/2003-10/o-que-a-microsoft-esta-planejando
241 > > > > http://counter.li.org/ - usuário Linux número 358811
242 > > > >
243 > >
244 > http://jbonline.terra.com.br/jb/papel/cadernos/internet/2004/07/04/jorinf20040704001.html
245 > > > > http://browsehappy.com/
246 > > > >
247 > > > > --
248 > > > > gentoo-user-br@g.o mailing list
249 > > > >
250 > > > >
251 > > >
252 > > >
253 > > >
254 > > > --
255 > > > []s Magno
256 > > > Linux user: #123834
257 > > > http://counter.li.org
258 > > >
259 > >
260 > >
261 > >
262 > > --
263 > > Marcus André Fazzi Ribeiro
264 > > AMD Athlon XP 2400+ 512 MB Gentoo Linux
265 > > Sony PlayStation 2 + NA PS2Linux
266 >
267 > --
268 > Alexandre Martani - amartani em gmail com
269 >
270 > Ainda usando Rwindow$ + Internet Exploder
271 > Mude!
272 > Gentoo/Debian GNU/Linux + Mozilla Firefox
273 >
274 > http://jonasgalvez.com/br/blog/2003-10/o-que-a-microsoft-esta-planejando
275 > http://counter.li.org/ - usuário Linux número 358811
276 >
277 > http://jbonline.terra.com.br/jb/papel/cadernos/internet/2004/07/04/jorinf20040704001.html
278 > http://browsehappy.com/
279 >
280 > --
281 > gentoo-user-br@g.o mailing list
282 >
283 >
284
285
286 --
287 Marcus André Fazzi Ribeiro
288 AMD Athlon XP 2400+ 512 MB Gentoo Linux
289 Sony PlayStation 2 + NA PS2Linux

Replies

Subject Author
Re: [gentoo-user-br] Problemas gravando cd (resid: 61440) Alexandre Martani <amartani@×××××.com>