Hi,

I wanted to upgrade to a recent cdrtools on linux 2.4.16 (and 21-rc6, 
SuSE7.x+new kernel) PIII Dell I8k laptop and ran into following problem: 

cdrecord is unable to set RR-scheduler (permission denied)

I made sure that cdrecord is suid root, that the new one is used and that the
mount point allows suid:

khh > which cdrecord
/usr/local/bin/cdrecord

khh > ll /usr/local/bin/cdrecord
lrwxrwxrwx    1 root     root           24 Jan 18  2002
/usr/local/bin/cdrecord -> /opt/schily/bin/cdrecord

khh > ll /opt/schily/bin/cdrecord
-rwsr-x---    1 root     users      387221 May 30 14:07
/opt/schily/bin/cdrecord

khh > cdrecord --version
Cdrecord 2.01a15 (i686-pc-linux-gnu) Copyright (C) 1995-2003 J�rg Schilling

# mount
/dev/hda7 on / type ext2 (rw)



cdrecord output with the error:

khh > cdrecord -v -dummy -audio -dao -useinfo Huelya_*wav
Cdrecord 2.01a15 (i686-pc-linux-gnu) Copyright (C) 1995-2003 J�rg Schilling
TOC Type: 0 = CD-DA
scsidev: '0,1,0'
scsibus: 0 target: 1 lun: 0
Linux sg driver version: 3.1.20
Using libscg version 'schily-0.7'
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'MATSHITA'
Identifikation : 'UJDA330         '
Revision       : '1.04'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC SWABAUDIO 
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R
Drive buf size : 1359872 = 1328 KB
FIFO size      : 8388608 = 8192 KB
cdrecord: WARNING: Stdin is connected to a terminal.
pregap1: -1
cdrecord: WARNING: Stdin is connected to a terminal.
cdrecord: WARNING: Stdin is connected to a terminal.
cdrecord: WARNING: Stdin is connected to a terminal.
cdrecord: WARNING: Stdin is connected to a terminal.
cdrecord: WARNING: Stdin is connected to a terminal.
cdrecord: WARNING: Stdin is connected to a terminal.
cdrecord: WARNING: Stdin is connected to a terminal.
cdrecord: WARNING: Stdin is connected to a terminal.
cdrecord: WARNING: Stdin is connected to a terminal.
cdrecord: WARNING: Stdin is connected to a terminal.
cdrecord: WARNING: Stdin is connected to a terminal.
cdrecord: WARNING: Stdin is connected to a terminal.
cdrecord: WARNING: Stdin is connected to a terminal.
cdrecord: WARNING: Stdin is connected to a terminal.
Track 01: audio   41 MB (04:08.01) no preemp     
Track 02: audio   48 MB (04:48.00) no preemp      pregapsize:   0
Track 03: audio   31 MB (03:09.49) no preemp      pregapsize:   0
Track 04: audio   42 MB (04:09.77) no preemp      pregapsize:   0
Track 05: audio   37 MB (03:40.49) no preemp      pregapsize:   0
Track 06: audio   40 MB (03:58.84) no preemp      pregapsize:   0
Track 07: audio   48 MB (04:49.69) no preemp      pregapsize:   0
Track 08: audio   46 MB (04:36.34) no preemp      pregapsize:   0
Track 09: audio   41 MB (04:08.72) no preemp      pregapsize:   0
Track 10: audio   22 MB (02:16.24) no preemp      pregapsize:   0
Track 11: audio   53 MB (05:15.28) no preemp      pregapsize:   0
Track 12: audio   55 MB (05:28.06) no preemp      pregapsize:   0
Track 13: audio   38 MB (03:50.46) no preemp      pregapsize:   0
Track 14: audio   92 MB (09:09.65) no preemp      pregapsize:   0
Track 15: audio   63 MB (06:20.09) no preemp      pregapsize:   0
Total size:      704 MB (69:49.17) = 314188 sectors
Lout start:      705 MB (69:51/13) = 314188 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 4
  Is not unrestricted
  Is not erasable
  Disk sub type: Medium Type A, low Beta category (A-) (2)
  ATIP start of lead in:  -12508 (97:15/17)
  ATIP start of lead out: 359845 (79:59/70)
Disk type:    Short strategy type (Phthalocyanine or similar)
Manuf. index: 22
Manufacturer: Ritek Co.
Blocks total: 359845 Blocks current: 359845 Blocks remaining: 45657
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.
Starting to write CD/DVD at speed 8 in dummy SAO mode for single session.
Last chance to quit, starting dummy write    8 seconds.
cdrecord: fifo had 128 puts and 0 gets.
cdrecord: fifo was 0 times empty and 1 times full, min fill was 0%.

[ I quit at that point]


If I am actually root cdrecord doesn't have that problem. 
This happens with both 2.01a14 and 2.01a-pre15 fetched today.


cdrecord 1.11a32 does not have this RR/suid problem 


I wanted to upgrade because of a dao problem with that particular drive I was
hoping might go away.


thanks for any help,



K.-H.








-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to