You are not logged in.

#1 2005-02-21 04:27:40

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

cdrecord --dev=ATAPI:0,0,0 udev permission prob?

OK - i googled

the general concensus was to trun it as root  roll

This is with the latest stock arch kernel and udev.  it'll either be massively obscure or totally obvious.

[dibble] ~: cdrecord --dev=ATAPI:0,0,0 --blank=fast
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.10-ARCH
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
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,0,0'
devname: 'ATAPI'
scsibus: 0 target: 0 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'.
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'SAMSUNG '
Identifikation : 'CDRW/DVD SN-324F'
Revision       : 'U203'
Device seems to be: Generic mmc2 DVD-ROM.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE 
Supported modes: 
cdrecord: Operation not permitted. prevent/allow medium removal: scsi sendcmd: no error
CDB:  1E 00 00 00 01 00
status: 0x0 (GOOD STATUS)
cmd finished after 0.000s timeout 40s
cdrecord: Cannot init drive.
[dibble] ~: sudo cdrecord --dev=ATAPI:0,0,0 --blank=fast
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.10-ARCH
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: 'ATAPI:0,0,0'
devname: 'ATAPI'
scsibus: 0 target: 0 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'.
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'SAMSUNG '
Identifikation : 'CDRW/DVD SN-324F'
Revision       : 'U203'
Device seems to be: Generic mmc2 DVD-ROM.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE 
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Starting to write CD/DVD at speed 4 in real BLANK mode for single session.
Last chance to quit, starting real write    7 seconds.

ls -l /dev

total 0
crw-rw----  1 root audio    14, 12 2005-02-20 23:57 adsp
lrwxrwxrwx  1 root root         12 2005-02-21 07:57 agpgart -> misc/agpgart
lrwxrwxrwx  1 root root         11 2005-02-20 23:57 audio -> sound/audio
lrwxrwxrwx  1 root root         12 2005-02-20 23:57 audio1 -> sound/audio1
lrwxrwxrwx  1 root root          3 2005-02-21 07:57 cdr -> hdc
lrwxrwxrwx  1 root root          3 2005-02-21 07:57 cdrom -> hdc
drwxr-xr-x  2 root root          0 2005-02-21 07:57 cdroms
lrwxrwxrwx  1 root root          3 2005-02-21 07:57 cdrw -> hdc
crw-rw----  1 root tty       5,  1 2005-02-20 23:57 console
lrwxrwxrwx  1 root root         11 2005-02-21 07:57 core -> /proc/kcore
drwxr-xr-x  3 root root          0 2005-02-21 07:57 discs
drwxr-xr-x  2 root root          0 2005-02-21 00:08 dri
lrwxrwxrwx  1 root root          9 2005-02-20 23:57 dsp -> sound/dsp
lrwxrwxrwx  1 root root         10 2005-02-20 23:57 dsp1 -> sound/dsp1
lrwxrwxrwx  1 root root          3 2005-02-21 07:57 dvd -> hdc
lrwxrwxrwx  1 root root         13 2005-02-21 07:57 fd -> /proc/self/fd
brw-rw----  1 root floppy    2,  0 2005-02-21 07:57 fd0
lrwxrwxrwx  1 root root          3 2005-02-21 07:57 fd0h1200 -> fd0
lrwxrwxrwx  1 root root          3 2005-02-21 07:57 fd0u1440 -> fd0
lrwxrwxrwx  1 root root          3 2005-02-21 07:57 fd0u360 -> fd0
lrwxrwxrwx  1 root root          3 2005-02-21 07:57 fd0u720 -> fd0
drwxr-xr-x  2 root root          0 2005-02-21 07:57 floppy
crw-rw-rw-  1 root root      1,  7 2005-02-21 07:57 full
brw-rw----  1 root disk      3,  0 2005-02-21 07:57 hda
brw-rw----  1 root disk      3,  1 2005-02-21 07:57 hda1
brw-rw----  1 root disk      3, 10 2005-02-21 07:57 hda10
brw-rw----  1 root disk      3, 11 2005-02-21 07:57 hda11
brw-rw----  1 root disk      3, 12 2005-02-21 07:57 hda12
brw-rw----  1 root disk      3, 13 2005-02-21 07:57 hda13
brw-rw----  1 root disk      3,  2 2005-02-21 07:57 hda2
brw-rw----  1 root disk      3,  5 2005-02-21 07:57 hda5
brw-rw----  1 root disk      3,  6 2005-02-21 07:57 hda6
brw-rw----  1 root disk      3,  7 2005-02-21 07:57 hda7
brw-rw----  1 root disk      3,  8 2005-02-21 07:57 hda8
brw-rw----  1 root disk      3,  9 2005-02-21 07:57 hda9
brw-rw----  1 root optical  22,  0 2005-02-21 07:57 hdc
drwxr-xr-x  3 root root          0 2005-02-21 07:57 ide
prw-------  1 root root          0 2005-02-20 23:57 initctl
drwxr-xr-x  2 root root          0 2005-02-21 07:57 input
crw-r-----  1 root kmem      1,  2 2005-02-21 07:57 kmem
crw-rw----  1 root root      1, 11 2005-02-21 07:57 kmsg
drwxr-xr-x  2 root root          0 2005-02-21 07:57 legacy
srw-rw-rw-  1 root root          0 2005-02-20 23:57 log
drwxr-xr-x  2 root root          0 2005-02-21 07:57 loop
lrwxrwxrwx  1 root root          6 2005-02-21 07:57 loop0 -> loop/0
lrwxrwxrwx  1 root root          6 2005-02-21 07:57 loop1 -> loop/1
lrwxrwxrwx  1 root root          6 2005-02-21 07:57 loop2 -> loop/2
lrwxrwxrwx  1 root root          6 2005-02-21 07:57 loop3 -> loop/3
lrwxrwxrwx  1 root root          6 2005-02-21 07:57 loop4 -> loop/4
lrwxrwxrwx  1 root root          6 2005-02-21 07:57 loop5 -> loop/5
lrwxrwxrwx  1 root root          6 2005-02-21 07:57 loop6 -> loop/6
lrwxrwxrwx  1 root root          6 2005-02-21 07:57 loop7 -> loop/7
drwxr-xr-x  2 root root          0 2005-02-21 07:57 mapper
drwxr-xr-x  2 root root          0 2005-02-21 07:57 md
crw-r-----  1 root kmem      1,  1 2005-02-21 07:57 mem
drwxr-xr-x  2 root root          0 2005-02-21 07:57 misc
lrwxrwxrwx  1 root root         11 2005-02-20 23:57 mixer -> sound/mixer
lrwxrwxrwx  1 root root         12 2005-02-20 23:57 mixer1 -> sound/mixer1
lrwxrwxrwx  1 root root          5 2005-02-21 07:57 modem -> tts/0
crw-rw-rw-  1 root root      1,  3 2005-02-21 07:57 null
crw-r-----  1 root kmem      1,  4 2005-02-21 07:57 port
crw-rw----  1 root root    108,  0 2005-02-20 23:57 ppp
lrwxrwxrwx  1 root root         10 2005-02-21 07:57 psaux -> misc/psaux
crw-rw-rw-  1 root tty       5,  2 2005-02-21 00:15 ptmx
drwxr-xr-x  2 root root          0 2005-02-21 07:57 pts
crw-rw----  1 root root    226,  0 2005-02-21 00:08 radeon
lrwxrwxrwx  1 root root          4 2005-02-21 07:57 ram0 -> rd/0
lrwxrwxrwx  1 root root          4 2005-02-21 07:57 ram1 -> rd/1
lrwxrwxrwx  1 root root          5 2005-02-21 07:57 ram10 -> rd/10
lrwxrwxrwx  1 root root          5 2005-02-21 07:57 ram11 -> rd/11
lrwxrwxrwx  1 root root          5 2005-02-21 07:57 ram12 -> rd/12
lrwxrwxrwx  1 root root          5 2005-02-21 07:57 ram13 -> rd/13
lrwxrwxrwx  1 root root          5 2005-02-21 07:57 ram14 -> rd/14
lrwxrwxrwx  1 root root          5 2005-02-21 07:57 ram15 -> rd/15
lrwxrwxrwx  1 root root          4 2005-02-21 07:57 ram2 -> rd/2
lrwxrwxrwx  1 root root          4 2005-02-21 07:57 ram3 -> rd/3
lrwxrwxrwx  1 root root          4 2005-02-21 07:57 ram4 -> rd/4
lrwxrwxrwx  1 root root          4 2005-02-21 07:57 ram5 -> rd/5
lrwxrwxrwx  1 root root          4 2005-02-21 07:57 ram6 -> rd/6
lrwxrwxrwx  1 root root          4 2005-02-21 07:57 ram7 -> rd/7
lrwxrwxrwx  1 root root          4 2005-02-21 07:57 ram8 -> rd/8
lrwxrwxrwx  1 root root          4 2005-02-21 07:57 ram9 -> rd/9
crw-rw-rw-  1 root root      1,  8 2005-02-21 07:57 random
drwxr-xr-x  2 root root          0 2005-02-21 07:57 rd
lrwxrwxrwx  1 root root          8 2005-02-20 23:57 rtc -> misc/rtc
brw-rw----  1 root storage   8,  0 2005-02-20 23:57 sda
brw-rw----  1 root storage   8,  1 2005-02-20 23:57 sda1
crw-rw----  1 root root     21,  0 2005-02-20 23:57 sg0
drwxrwxrwt  2 root root         40 2005-02-21 07:57 shm
drwxr-xr-x  2 root root          0 2005-02-20 23:57 snd
drwxr-xr-x  2 root root          0 2005-02-20 23:57 sound
lrwxrwxrwx  1 root root         15 2005-02-21 07:57 stderr -> /proc/self/fd/2
lrwxrwxrwx  1 root root         15 2005-02-21 07:57 stdin -> /proc/self/fd/0
lrwxrwxrwx  1 root root         15 2005-02-21 07:57 stdout -> /proc/self/fd/1
drwxr-xr-x  2 root root          0 2005-02-21 07:57 tts
crw-rw-rw-  1 root tty       5,  0 2005-02-21 07:57 tty
lrwxrwxrwx  1 root root          5 2005-02-21 07:57 ttyS0 -> tts/0
lrwxrwxrwx  1 root root          5 2005-02-21 07:57 ttyS1 -> tts/1
lrwxrwxrwx  1 root root          5 2005-02-21 07:57 ttyS2 -> tts/2
lrwxrwxrwx  1 root root          5 2005-02-21 07:57 ttyS3 -> tts/3
lrwxrwxrwx  1 root root          5 2005-02-21 07:57 ttyS4 -> tts/4
lrwxrwxrwx  1 root root          5 2005-02-21 07:57 ttyS5 -> tts/5
lrwxrwxrwx  1 root root          5 2005-02-21 07:57 ttyS6 -> tts/6
lrwxrwxrwx  1 root root          5 2005-02-21 07:57 ttyS7 -> tts/7
cr--r--r--  1 root root      1,  9 2005-02-20 23:57 urandom
lrwxrwxrwx  1 root root          4 2005-02-20 23:57 usbpen -> sda1
drwxr-xr-x  2 root root          0 2005-02-21 07:57 vc
drwxr-xr-x  2 root root          0 2005-02-21 00:14 vcc
crw-rw-rw-  1 root root      1,  5 2005-02-21 07:57 zero

my user is in the disk, optical, floppy, audio, users and storage groups

here are my slightly modified from default udev rules

#
# This ruleset should provide a DevFS-compatible device tree.
#
# There are a number of modifiers that are allowed to be used in some
# of the different fields. They provide the following subsitutions:
#
# %n the "kernel number" of the device.
#    For example, 'sda3' has a "kernel number" of '3'
# %e the smallest number for that name which does not matches an existing node
# %k the kernel name for the device.
# %M the kernel major number for the device
# %m the kernel minor number for the device
# %b the bus id for the device
# %c the string returned by the PROGRAM
# %s{filename} the content of a sysfs attribute.
# %% the '%' char itself.
#
# There are a number of modifiers that are allowed to be used in some of the
# fields.  See the udev man page for a full description of them.
# global stuff

# default permissions for all block devices
SUBSYSTEM="block",     GROUP="disk"

# CD/DVD symlinks
BUS="ide", KERNEL="hd[a-z]", PROGRAM="/etc/udev/cdsymlinks.sh %k", SYMLINK="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}"
BUS="scsi", KERNEL="sr[0-9]*", PROGRAM="/etc/udev/cdsymlinks.sh %k", SYMLINK="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}"
BUS="scsi", KERNEL="scd[0-9]*", PROGRAM="/etc/udev/cdsymlinks.sh %k", SYMLINK="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}"

# ide block devices
BUS="ide", KERNEL="hd*", PROGRAM="/etc/udev/ide-devfs.sh %k %b %n", SYMLINK="%c{1} %c{2}"

# permissions for IDE CD devices
BUS="ide", KERNEL="hd[a-z]", SYSFS{removable}="1", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="cdrom*", NAME="%k", GROUP="optical", MODE="0660"

# permissions for SCSI CD devices
BUS="scsi", KERNEL="sr[0-9]*", SYSFS{type}="5", NAME="scd%n", GROUP="optical", MODE="0660"
BUS="scsi", KERNEL="sg[0-9]*", SYSFS{type}="5", NAME="%k", GROUP="optical", MODE="0660"

# permissions for IDE floppy devices
BUS="ide", KERNEL="hd*", PROGRAM="/etc/udev/ide-floppy.sh %k", RESULT="1" NAME{all_partitions}="%k", GROUP="floppy", MODE="0660"

# permissions for removable devices like cardreaders or sticks
BUS="usb", KERNEL="sd*", PROGRAM="/etc/udev/usb-storage.sh %k", RESULT="1", NAME="%k", GROUP="storage", MODE="0660"

# permissions for SCSI scanners
BUS="scsi", KERNEL="sg[0-9]*", SYSFS{type}="6", NAME="%k", GROUP="scanner"

# pty and tty legacy devices
KERNEL="pty[a-z][a-z,0-9]*", NAME="legacy/%k"
KERNEL="tty[a-z][a-z,0-9]*", NAME="legacy/%k" 

# md block devices
KERNEL="md[0-9]*", NAME="md/%n"

# device-mapper
KERNEL="device-mapper", NAME="mapper/control"

# floppy devices
KERNEL="fd[0-9]*", NAME="fd%n", SYMLINK="floppy/%n fd%nu1440 fd%nu720 fd%nh1200 fd%nu360", GROUP="floppy", MODE="0660"

# tty devices
SUBSYSTEM="tty",    GROUP="tty"
KERNEL="tty[0-9]*",    NAME="vc/%n"
KERNEL="ttyS[0-9]*",   NAME="tts/%n", SYMLINK="ttyS%n"
KERNEL="ttyUSB[0-9]*", NAME="tts/USB%n"

# vc devices
KERNEL="vcs",        NAME="vcc/0"
KERNEL="vcs[0-9]*",  NAME="vcc/%n"
KERNEL="vcsa",       NAME="vcc/a0"
KERNEL="vcsa[0-9]*", NAME="vcc/a%n"
KERNEL="ptmx",        MODE="0666"
KERNEL="tty",        MODE="0666"

# video devices
SUBSYSTEM="video4linux", GROUP="video"
KERNEL="dvb*",        PROGRAM="/etc/udev/dvb.sh %k", NAME="%c", GROUP="video"
KERNEL="nvidia*",    GROUP="users"
KERNEL="card[0-9]*",    NAME="dri/%k", GROUP="users"
KERNEL="3dfx*",        NAME="%k", GROUP="users"

# v4l devices
KERNEL="video[0-9]*", NAME="v4l/video%n", SYMLINK="%k", GROUP="video"
KERNEL="radio[0-9]*", NAME="v4l/radio%n", SYMLINK="radio%e", GROUP="video"
KERNEL="vbi[0-9]*",   NAME="v4l/vbi%n", SYMLINK="%k", GROUP="video"
KERNEL="vtx[0-9]*",   NAME="v4l/vtx%n", SYMLINK="%k", GROUP="video"

# dm devices (ignore them)
KERNEL="dm-[0-9]*", NAME=""

# i2c devices
KERNEL="i2c-[0-9]*", NAME="i2c/%n", SYMLINK="%k"

# loop devices
KERNEL="loop[0-9]*", NAME="loop/%n", SYMLINK="%k"

# ramdisks
KERNEL="ram[0-9]*", NAME="rd/%n", SYMLINK="%k"

# framebuffer devices
KERNEL="fb[0-9]*", NAME="fb/%n", SYMLINK="%k", GROUP="video"

# misc
KERNEL="rtc",     NAME="misc/%k", SYMLINK="%k", GROUP="audio", MODE="0664"
KERNEL="nvram",   NAME="misc/%k", SYMLINK="%k"
KERNEL="psaux",   NAME="misc/%k", SYMLINK="%k"
KERNEL="agpgart", NAME="misc/%k", SYMLINK="%k" GROUP="users"
KERNEL="uinput",  NAME="misc/%k", SYMLINK="%k"
KERNEL="random",        MODE="0666"
KERNEL="urandom",       MODE="0444"
KERNEL="mem",           MODE="0640", GROUP="kmem"
KERNEL="kmem",          MODE="0640", GROUP="kmem"
KERNEL="port",          MODE="0640", GROUP="kmem"
KERNEL="full",          MODE="0666"
KERNEL="null",          MODE="0666"
KERNEL="zero",          MODE="0666"
KERNEL="sgi_fetchop",   MODE="0666"
KERNEL="sonypi",        MODE="0666"
KERNEL="inotify",    NAME="misc/%k", SYMLINK="%k", MODE="0666"

# sound devices
# alsa devices
SUBSYSTEM="sound",    GROUP="audio"
KERNEL="controlC[0-9]*", NAME="snd/%k"
KERNEL="hw[CD0-9]*",     NAME="snd/%k"
KERNEL="pcm[CD0-9cp]*",  NAME="snd/%k"
KERNEL="midi[CD0-9]*",   NAME="snd/%k"
KERNEL="timer",          NAME="snd/%k"
KERNEL="seq",            NAME="snd/%k"
# oss devices
KERNEL="audio*",     NAME="sound/%k", SYMLINK="%k"
KERNEL="dmmidi",     NAME="sound/%k", SYMLINK="%k"
KERNEL="dsp*",       NAME="sound/%k", SYMLINK="%k"
KERNEL="midi*",      NAME="sound/%k", SYMLINK="%k"
KERNEL="mixer*",     NAME="sound/%k", SYMLINK="%k"
KERNEL="sequencer*", NAME="sound/%k", SYMLINK="%k"

# input devices
KERNEL="mice",   NAME="input/%k", MODE="0644"
KERNEL="mouse*", NAME="input/%k", MODE="0644"
KERNEL="event*", NAME="input/%k"
KERNEL="js*",    NAME="input/%k", MODE="0664"
KERNEL="ts*",     NAME="input/%k"
KERNEL="uinput", NAME="input/%k"

# USB devices
KERNEL="hiddev*",    NAME="usb/%k"
KERNEL="auer*",        NAME="usb/%k"
KERNEL="legousbtower*",    NAME="usb/%k", MODE="0666"
KERNEL="dabusb*",    NAME="usb/%k"
BUS="usb", KERNEL="lp[0-9]*",    NAME="usb/%k"
BUS="usb", KERNEL="ttyUSB*", SYSFS{product}="Palm Handheld*", SYMLINK="pilot"

# printer devices
SUBSYSTEM="printer",    GROUP="lp"

# netlink devices
KERNEL="route",        NAME="netlink/%k"
KERNEL="skip",        NAME="netlink/%k"
KERNEL="usersock",    NAME="netlink/%k"
KERNEL="fwmonitor",    NAME="netlink/%k"
KERNEL="tcpdiag",    NAME="netlink/%k"
KERNEL="nflog",        NAME="netlink/%k"
KERNEL="xfrm",        NAME="netlink/%k"
KERNEL="arpd",        NAME="netlink/%k"
KERNEL="route6",    NAME="netlink/%k"
KERNEL="ip6_fw",    NAME="netlink/%k"
KERNEL="dnrtmsg",    NAME="netlink/%k"
KERNEL="tap*",        NAME="netlink/%k"

# CAPI devices
KERNEL="capi",        NAME="capi20", SYMLINK="isdn/capi20"
KERNEL="capi*",        NAME="capi/%n"

# Network devices
KERNEL="tun",        NAME="net/%k"

# raw devices
KERNEL="raw[0-9]*",     NAME="raw/%k" 

# kbd devices
KERNEL="kbd",        NAME="%k", MODE="0664"

# packet devices
KERNEL="pktcdvd",    NAME="pktcdvd/control", GROUP="optical", MODE="0660"
KERNEL="pktcdvd[0-9]*",    NAME="pktcdvd/pktcdvd%n", GROUP="optical", MODE="0660"

Offline

#2 2005-02-21 04:48:17

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: cdrecord --dev=ATAPI:0,0,0 udev permission prob?

apparently this is the same error as the old 2.6.8 problem...

Offline

#3 2005-02-23 02:41:53

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: cdrecord --dev=ATAPI:0,0,0 udev permission prob?

With the exact same set up and 2.6.9 I can run cdrecord perfectly - it really does look like the old 2.6.8 bug came back...

any ideas?

Offline

#4 2005-02-23 07:52:41

arooaroo
Member
From: London, UK
Registered: 2005-01-13
Posts: 1,268
Website

Re: cdrecord --dev=ATAPI:0,0,0 udev permission prob?

I'm not actually sure that there is a problem with 2.6.10. Ok, let me rephrase, there may be issues that cdrecord doesn't like with 2.6.10, but it doesn't necessarily mean that it won't work.

I've burnt many discs under Arch on 2.6.10 - sure, you do see that "There are unsettled issues with Linux-2.5 and newer. " warning, but it then gets on with it. (And I'm also talking about burning as non-root.

I recall that I thought it was going to be a pain and I did have problems, but it turned out I was using a knackered disc. Inserted a new one and it worked straight away.

Unfortunately, I have no idea what is wrong with your current issue - but at least you now know it's not impossible on your kernel version.

Offline

#5 2005-02-23 09:07:03

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,322

Re: cdrecord --dev=ATAPI:0,0,0 udev permission prob?

for me it runs without a problem.
is your cdrecord set suid?
that shouldn't be, else the kernel blocks that.
let cdrecord bin:bin and normal 755
and add only your user to optical that he has 660 on cd drive and all should work

Offline

#6 2005-02-23 11:42:48

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: cdrecord --dev=ATAPI:0,0,0 udev permission prob?

When I got the 2.6.8-bug, I did the dirty fix and removed the SUID from cdrecord. It's been burning fine as user since (kernels 2.6.8 through 2.6.10 now).


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#7 2005-02-24 08:53:56

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: cdrecord --dev=ATAPI:0,0,0 udev permission prob?

i have no suid set. tpowa:

add only your user to optical that he has 660 on cd drive and all should work

what exactly does that mean? my user is in the optical group and you can see the permissions in udev.  I also said that if I have the identical setup and boot 2.6.9 it works perfectly.

so how can it be suid or permissions?

Offline

#8 2005-02-27 13:00:06

Net@Worm
Member
From: Moscow, Russia
Registered: 2004-05-02
Posts: 214

Re: cdrecord --dev=ATAPI:0,0,0 udev permission prob?

I have the same problem. Have you solved it?

Offline

#9 2005-02-27 14:11:15

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: cdrecord --dev=ATAPI:0,0,0 udev permission prob?

Nope - at least it is not just me tho!

Offline

#10 2005-03-05 09:11:57

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: cdrecord --dev=ATAPI:0,0,0 udev permission prob?

Going to try the stock 2.6.11 kernel to see if the burning problem is fixed

Offline

#11 2005-03-06 12:32:28

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: cdrecord --dev=ATAPI:0,0,0 udev permission prob?

ok - if i run it with --dev=/dev/hdc it works fine as user - is this a weird udev permissions prob via ATAPI bus?

Offline

#12 2005-03-07 00:07:59

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: cdrecord --dev=ATAPI:0,0,0 udev permission prob?

Try using ATA:0,0,0 instead of ATAPI:0,0,0. Don't really know what the difference is, but ATA works better than ATAPI in most cases (you also have DMA then). Using dev=/dev/hdc also triggers the ATA:0,0,0 specification.

Offline

#13 2005-03-07 04:47:13

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: cdrecord --dev=ATAPI:0,0,0 udev permission prob?

Ah - maybe that is it then smile

Offline

Board footer

Powered by FluxBB