You are not logged in.

#1 2006-10-17 15:43:32

mmccaskill
Member
From: NC
Registered: 2005-02-21
Posts: 163

cdrecord SYS_RAWIO problem

On my Arch32 laptop and Arch64 desktop, cdrecord can't get SYS_RAWIO capability

[mmccaskill@mmccaskill600m ~]$ cdrecord -scanbus
WARNING ! Cannot gain SYS_RAWIO capability ! 
: Operation not permitted
Cdrecord-Clone 2.01.01a06 (i686-pc-linux-gnu) Copyright (C) 1995-2006 Jrg Schilling
NOTE: this is OSS DVD extensions for cdrtools and thus may have bugs related to DVD issues that are not present in the original cdrtools. For more information see http://crashrecovery.org/oss-dvd.html. The original cdrtools author should not be bothered with problems in this version.
cdrecord: Warning: Running on Linux-2.6.18-ck
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
WARNING ! Cannot gain SYS_RAWIO capability ! 
: Operation not permitted
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
scsibus1:
        1,0,0   100) 'PHILIPS ' 'CDRW/DVD SCB5265' 'TD15' 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) *

I've tried as root as well. I've checked that I'm in optical group. Any ideas?

Offline

#2 2006-10-26 00:25:58

erosa
Member
Registered: 2006-10-17
Posts: 14

Re: cdrecord SYS_RAWIO problem

That's a new one for me. From what I can tell, that error is the result of a permission problem. I know you said you've tried it as root, but it may be that the file device it's trying to access (/dev/sg*, or maybe /dev/hd*) is set to read only even for root. Just a guess.

It seems like you're using an ATA/ATAPI device. I know I've had trouble scanning for those with scanbus as non-root. My device is USB and therefore uses the scsi interface, so I'm not too familiar with the ATA issues.

Oh, are you using an additional access control system such as AppArmor? Such a system could prevent cdrecord from operating properly.


Oh boy!

Offline

Board footer

Powered by FluxBB