OVH Cloud OVH Cloud

[gentoo-user-fr] cdrecord marche qu'en root

1 réponse
Avatar
Jean-Philippe ROPA
Bonjour à tous

Après maintes tentatives et recherches, je n'arrive toujours pas
à utiliser cdrecord en simple user alors qu'en root il n'y a
aucun problème.

*J'ai le noyau 2.6.11-gentoo-r5_03, je suis en udev, USE="nptl"
et je n'utilise pas l'émulation scsi*

Voici ce que j'obtiens :

$ cdrecord -sao -v -dummy driveropts=burnfree speed=52 dev=ATAPI:0,1,0
image.iso

Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg
Schilling
on-the-fly encryption (version 1.0-rc1) built-in, (C) 2004,2005
Maximilian Decker

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 <burbon04 at gmx.de>.
For more information please see
http://burbon04.gmxhome.de/linux/CDREncryption.html.
The original author should not be bothered with problems of this
version.

cdrecord: Warning: Running on Linux-2.6.11-gentoo-r5_03
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
TOC Type: 1 = CD-ROM
*cdrecord: Cannot allocate memory. 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: 'ATAPI:0,1,0'
devname: 'ATAPI'
scsibus: 0 target: 1 lun: 0
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
Driveropts: 'burnfree'
SCSI buffer size: 64512
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'LITE-ON '
Identifikation : 'LTR-52327S '
Revision : 'QS0E'
Device seems to be: Generic mmc CD-RW.
Current: 0x0009
Profile: 0x000A
Profile: 0x0009 (current)
Profile: 0x0008
Profile: 0x0002
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE FORCESPEED
Supported modes:
Drive buf size : 1422080 = 1388 KB
FIFO size : 4194304 = 4096 KB
*cdrecord: Drive does not support SAO recording.
cdrecord: Illegal write mode for this drive.*

***********************************
Les permissions que j'ai :

$ ll /usr/bin/cdrecord
-rwxr-xr-x 1 root root 377K avr 6 20:47 /usr/bin/cdrecord*
$ ll /dev/hdd
brw------- 1 jeep cdrom 22, 64 déc 3 00:49 /dev/hdd

J'ai essayé de modifier les permissions, de rajouter mon compte
dans les groupes disk, cdrom, mem, kmem
Mais, rien y fait !
Argh, si quelqu'un a une idée ou a le même problème (histoire
de ne pas être seul :-\ )

Voilà, je vous ai tout dit

Jean-Philippe ROPA


--
gentoo-user-fr@gentoo.org mailing list

1 réponse

Avatar
Sebastien Vincent
si tu es sur noyau 2.6 essaye -dev=ATA pour la gravure.

Pour le périphérique essaye :

/cdrecord -scanbus dev=ATA/

Ps : je n'ai JAMAIS utilisé cdrecord, j'ai passé 30 ou 35 secondes a
chercher.

Jean-Philippe ROPA a écrit :

Bonjour à tous

Après maintes tentatives et recherches, je n'arrive toujours pas
à utiliser cdrecord en simple user alors qu'en root il n'y a
aucun problème.

*J'ai le noyau 2.6.11-gentoo-r5_03, je suis en udev, USE="nptl"
et je n'utilise pas l'émulation scsi*

Voici ce que j'obtiens :

$ cdrecord -sao -v -dummy driveropts=burnfree speedR dev=ATAPI:0,1,0
image.iso

Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg
Schilling
on-the-fly encryption (version 1.0-rc1) built-in, (C) 2004,2005
Maximilian Decker

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 <burbon04 at gmx.de>.
For more information please see
http://burbon04.gmxhome.de/linux/CDREncryption.html.
The original author should not be bothered with problems of this
version.

cdrecord: Warning: Running on Linux-2.6.11-gentoo-r5_03
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
TOC Type: 1 = CD-ROM
*cdrecord: Cannot allocate memory. 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: 'ATAPI:0,1,0'
devname: 'ATAPI'
scsibus: 0 target: 1 lun: 0
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
Driveropts: 'burnfree'
SCSI buffer size: 64512
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'LITE-ON '
Identifikation : 'LTR-52327S '
Revision : 'QS0E'
Device seems to be: Generic mmc CD-RW.
Current: 0x0009
Profile: 0x000A
Profile: 0x0009 (current)
Profile: 0x0008
Profile: 0x0002
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE FORCESPEED
Supported modes:
Drive buf size : 1422080 = 1388 KB
FIFO size : 4194304 = 4096 KB
*cdrecord: Drive does not support SAO recording.
cdrecord: Illegal write mode for this drive.*

***********************************
Les permissions que j'ai :

$ ll /usr/bin/cdrecord
-rwxr-xr-x 1 root root 377K avr 6 20:47 /usr/bin/cdrecord*
$ ll /dev/hdd
brw------- 1 jeep cdrom 22, 64 déc 3 00:49 /dev/hdd

J'ai essayé de modifier les permissions, de rajouter mon compte
dans les groupes disk, cdrom, mem, kmem
Mais, rien y fait !
Argh, si quelqu'un a une idée ou a le même problème (histoire
de ne pas être seul :- )

Voilà, je vous ai tout dit

Jean-Philippe ROPA


--
mailing list






--
mailing list