[FUG-BR] Não grava cd mesmo com o atapicam
Rafael Stockler
rafael.stockler em gmail.com
Quarta Agosto 29 22:32:05 BRT 2007
On 8/29/07, Giancarlo Rubio <gianrubio em gmail.com> wrote:
> Seu kernel tem a opcao device cd???
>
Tem sim,
device cd
device atapicd
device atapicam
device pass
Erro do brasero segue abaixo, o interessante q ele tenta acessar o
dev=-2,-2,-2 mas pelo q vi do scanbus do cdrecord precisa ser 1,0,0,
mas não sei onde muda isso.
process (BraseroCDRecord) got varg:
cdrecord
-v
dev=/dev/cd0
gracetime=0
speed=56
driveropts=burnfree
-dao
fs=16m
-audio
-swab
-pad
-useinfo
-text
/var/tmp/brasero_tmp_HKvet7/Track00.cdr
process (BraseroCDRecord) launching command
process (BraseroCDRecord) stderr: cdrecord: Operation not permitted.
WARNING: Cannot do mlockall(2).
process (BraseroCDRecord) stderr: cdrecord: WARNING: This causes a
high risk for buffer underruns.
process (BraseroCDRecord) stdout: Cdrecord-Clone 2.01
(i386-unknown-freebsd6.2) Copyright (C) 1995-2004 J
process (BraseroCDRecord) stderr: cdrecord: Operation not permitted.
WARNING: Cannot set RR-scheduler
process (BraseroCDRecord) stdout: TOC Type: 0 = CD-DA
process (BraseroCDRecord) stderr: cdrecord: Permission denied.
WARNING: Cannot set priority using setpriority().
process (BraseroCDRecord) stdout: EOF
process (BraseroCDRecord) stderr: cdrecord: WARNING: This causes a
high risk for buffer underruns.
process (BraseroCDRecord) stderr: scsidev: '/dev/cd0'
process (BraseroCDRecord) stderr: devname: '/dev/cd0'
process (BraseroCDRecord) stderr: scsibus: -2 target: -2 lun: -2
process (BraseroCDRecord) stderr: cdrecord: Invalid argument. Open by
'devname' not supported on this OS. Cannot open SCSI driver.
job (BraseroCDRecord) asked to stop
status = 1
error = 9
message = "You don't seem to have the required permission to use this drive"
iter (BraseroCDRecord) stopping
process (BraseroCDRecord) got killed
process (BraseroCDRecord) stderr: cdrecord: Invalid argument. Open by
'devname' not supported on this OS. Cannot open SCSI driver.cdrecord:
For possible targets try 'cdrecord -scanbus'. Make sure you are root.
job (BraseroCDRecord) asked to stop
status = 1
error = 9
message = "You don't seem to have the required permission to use this drive"
iter (BraseroCDRecord) stopping
process (BraseroCDRecord) stderr: cdrecord: Invalid argument. Open by
'devname' not supported on this OS. 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'.
job (BraseroCDRecord) asked to stop
status = 1
error = 9
message = "You don't seem to have the required permission to use this drive"
iter (BraseroCDRecord) stopping
iter (BraseroCDRecord) stopped
job (BraseroCDRecord) got out of loop
iter (BraseroCDRecord) stopped
job (BraseroCDRecord) got out of loop
iter (BraseroCDRecord) stopped
job (BraseroCDRecord) got out of loop
job (BraseroCDRecord) set_task
Session error : You don't seem to have the required permission to use this drive
>
> 2007/8/29, Rafael Stockler <rafael.stockler em gmail.com>:
> > Boa noite lista,
> >
> > Estou com um problema.
> >
> > Recompilei o kernel com o atapicam, coloquei no loader.conf carregar asim:
> >
> > atapicam_load="YES"
> > hw.ata.atapi_dma=1
> >
> > Mesmo assim está geranod essa mensagem no terminal quando coloco o cd virgem:
> >
> > (cd0:ahc0:0:4:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 2 0 0 0 0 c 0 c 0
> > (cd0:ahc0:0:4:0): CAM Status: SCSI Status Error
> > (cd0:ahc0:0:4:0): SCSI Status: Check Condition
> > (cd0:ahc0:0:4:0): ILLEGAL REQUEST asc:24,0
> > (cd0:ahc0:0:4:0): Invalid field in CDB
> > (cd0:ahc0:0:4:0): Unretryable error
> >
> > Não consigo gravar de jeito nenhum no brasero, sempre diz q to sem
> > permissão para gravar nesse disco.
> >
> > arquivo devfs.conf:
> >
> > perm cd0 0666
> > perm xpt0 0666
> > perm pass0 0666
> >
> > # camcontrol devlist
> > <HL-DT-ST RW/DVD GCC-4480B 1.00> at scbus1 target 0 lun 0 (cd0,pass0)
> >
> >
> > # cdrecord -scanbus
> > Cdrecord-Clone 2.01 (i386-unknown-freebsd6.2) Copyright (C) 1995-2004
> > J�rg Schilling
> > Using libscg version 'schily-0.8'.
> > scsibus1:
> > 1,0,0 100) 'HL-DT-ST' 'RW/DVD GCC-4480B' '1.00' Removable CD-ROM
> > 1,1,0 101) *
> > 1,2,0 102) *
> > 1,3,0 103) *
> > 1,4,0 104) *
> > 1,5,0 105) *
> > 1,6,0 106) *
> > 1,7,0 107) *
> >
> > # cdrecord -dev=1,0,0 -checkdrive
> > Cdrecord-Clone 2.01 (i386-unknown-freebsd6.2) Copyright (C) 1995-2004
> > J�rg Schilling
> > scsidev: '1,0,0'
> > scsibus: 1 target: 0 lun: 0
> > Using libscg version 'schily-0.8'.
> > Device type : Removable CD-ROM
> > Version : 0
> > Response Format: 1
> > Vendor_info : 'HL-DT-ST'
> > Identifikation : 'RW/DVD GCC-4480B'
> > Revision : '1.00'
> > Device seems to be: Generic mmc2 DVD-ROM.
> > 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 RAW/R16 RAW/R96P RAW/R96R
> >
> > Alguém saberia o que estou faendo de errado ou esquecendo de fazer?
> >
> > abraços,
> >
> > Rafael.
> > -------------------------
> > Histórico: http://www.fug.com.br/historico/html/freebsd/
> > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
> >
>
>
> --
> Giancarlo Rubio
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>
Mais detalhes sobre a lista de discussão freebsd