Summary: | app-cdr/cdrtools-2.01-r3 cdrecord fails when burning ISO as normal user. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Benoît Knecht <benoit.knecht> |
Component: | Current packages | Assignee: | Gentoo Optical Media project <media-optical> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | stian, tar, voxus |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Benoît Knecht
2005-07-08 13:51:25 UTC
Please check if the permissions to your cd-drive are correct and that the cdrecord-binary is not setuid root. I checked the permissions on /dev/hdd: brw-rw---- 1 root disk 22, 64 Jul 9 11:10 /dev/hdd I'm in the disk group, but I also tried with 0666 mode, with no success. /usr/bin/cdrecord is not setuid root. can you try with gentoo-sources-2.6.12 and with the latest cdrtools available in portage (2.01.01_alpha03-r1) ? (In reply to comment #3) I'm sorry, I cannot try for now because of bug 102878 which prevents app-cdr/cdrtools-2.01.01_alpha03 from emerging. But I'll try as soon as possible. OK, I tried with app-cdr/cdrtools-2.01.01_alpha03-r2 and sys-kernel/gentoo-sources-2.6.12-r9, with no success. Here's the output of both commands I tried: $ cdrecord dev=/dev/hdd -v test.iso cdrecord: No write mode specified. cdrecord: Asuming -tao mode. cdrecord: Future versions of cdrecord may have different drive dependent defaults. Cdrecord-Clone 2.01.01a03 (i686-pc-linux-gnu) Copyright (C) 1995-2005 J�g Schilling 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: '/dev/hdd' devname: '/dev/hdd' scsibus: -2 target: -2 lun: -2 Warning: Open by 'devname' is unintentional and not supported. Linux sg driver version: 3.5.27 Using libscg version 'schily-0.8'. SCSI buffer size: 64512 atapi: 1 Device type : Removable CD-ROM Version : 0 Response Format: 1 Vendor_info : 'PLEXTOR ' Identifikation : 'CD-R PREMIUM ' Revision : '1.06' Device seems to be: Generic mmc CD-RW. Current: 0x000A Profile: 0x0008 Profile: 0x0009 Profile: 0x000A (current) cdrecord: Operation not permitted. Cannot send SCSI cmd via ioctl ----- $ cdrecord dev=ATAPI:/dev/hdd -v test.iso cdrecord: No write mode specified. cdrecord: Asuming -tao mode. cdrecord: Future versions of cdrecord may have different drive dependent defaults. Cdrecord-Clone 2.01.01a03 (i686-pc-linux-gnu) Copyright (C) 1995-2005 J�g Schilling 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:/dev/hdd' devname: 'ATAPI:/dev/hdd' scsibus: -2 target: -2 lun: -2 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'. SCSI buffer size: 64512 atapi: 1 Device type : Removable CD-ROM Version : 0 Response Format: 1 Vendor_info : 'PLEXTOR ' Identifikation : 'CD-R PREMIUM ' Revision : '1.06' Device seems to be: Generic mmc CD-RW. Current: 0x000A Profile: 0x0008 Profile: 0x0009 Profile: 0x000A (current) Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr). Driver flags : MMC-3 SWABAUDIO BURNFREE Supported modes: Drive buf size : 4802784 = 4690 KB Drive DMA Speed: 22876 kB/s 129x CD 16x DVD FIFO size : 16777216 = 16384 KB cdrecord: Drive does not support TAO recording. cdrecord: Illegal write mode for this drive. And I had /dev/hdd permissions set to 0666. Closing this for now because alpha03 is very broken. Reopen if you still have problems with cdrtools 2.01 stable version |