k3b complains about no devices being available to make a burn. i have two burners installed, /dev/hdc and hdd. k3b's setup shows both of them but has their options grayed out. k3b's error message suggests permissions. it used to find these devices fine with .18. david@Scott ~ $ grep hdc /tmp/k3b.out 7775 read(10, "CD-ROM information, Id: cdrom.c 3.20 2003/12/17\n\ndrive name:\t\thdd\thdc\ndrive speed:\t\t32\t40\ndrive # of slots:\t1\t1\nCan close tray:\t\t1\t1\nCan open tray:\t\t1\t1\nCan lock tray:\t\t1\t1\nCan change speed:\t1\t1\nCan select disk:\t0\t0\nCan read multisession:\t1\t1\nCan read MCN:\t\t1\t1\nReports media changed:\t1\t1\nCan play audio:\t\t1\t1\nCan write CD-R:\t\t1\t1\nCanwrite CD-RW:\t1\t1\nCan read DVD:\t\t0\t1\nCan write DVD-R:\t0\t1\nCan write DVD-RAM:\t0\t0\nCan read MRW:\t\t1\t1\nCan write MRW:\t\t1\t1\nCan write RAM:\t\t1\t1\n\n\n", 1024) = 476 7775 lstat("/dev/hdc", {st_mode=S_IFBLK|0666, st_rdev=makedev(22, 0), ...}) = 0 7775 open("/dev/hdc", O_RDONLY|O_NONBLOCK) = 11 7775 open("/dev/hdc", O_RDONLY|O_NONBLOCK) = 11 7775 open("/dev/hdc", O_RDONLY|O_NONBLOCK) = 11 7775 open("/dev/hdc", O_RDWR|O_NONBLOCK) = 11 7775 open("/dev/hdc", O_RDONLY|O_NONBLOCK) = 11 7775 open("/dev/hdc", O_RDONLY|O_NONBLOCK) = 11 7775 open("/dev/hdc", O_RDONLY|O_NONBLOCK) = 11 7775 open("/dev/hdc", O_RDONLY|O_NONBLOCK) = 11 7775 open("/dev/hdc", O_RDONLY|O_NONBLOCK) = 11 7818 execve("/bin/sh", ["sh", "-c", "find /dev -type l -printf \"%p\t%l\n\" | egrep \'hdd|hdc|cdrom|dvd|cdwriter|cdrecorder\' | cut -f1"], [/* 54 vars */]) = 0 7820 execve("/bin/egrep", ["egrep", "hdd|hdc|cdrom|dvd|cdwriter|cdrecorder"], [/* 54 vars */] <unfinished ...> 7819 lstat("hdc", {st_mode=S_IFBLK|0666, st_rdev=makedev(22, 0), ...}) = 0 7819 lstat("hdc1", {st_mode=S_IFBLK|0660, st_rdev=makedev(22, 1), ...}) = 0 7819 lstat("hdc2", {st_mode=S_IFBLK|0660, st_rdev=makedev(22, 2), ...}) = 0 7819 lstat("hdc3", {st_mode=S_IFBLK|0660, st_rdev=makedev(22, 3), ...}) = 0 7819 lstat("hdc4", {st_mode=S_IFBLK|0660, st_rdev=makedev(22, 4), ...}) = 0 7819 lstat("hdc5", {st_mode=S_IFBLK|0660, st_rdev=makedev(22, 5), ...}) = 0 7819 lstat("hdc6", {st_mode=S_IFBLK|0660, st_rdev=makedev(22, 6), ...}) = 0 7819 lstat("hdc7", {st_mode=S_IFBLK|0660, st_rdev=makedev(22, 7), ...}) = 0 7819 lstat("hdc8", {st_mode=S_IFBLK|0660, st_rdev=makedev(22, 8), ...}) = 0 7819 lstat("hdc9", {st_mode=S_IFBLK|0660, st_rdev=makedev(22, 9), ...}) = 0 7819 lstat("hdc10", {st_mode=S_IFBLK|0660, st_rdev=makedev(22, 10), ...}) = 0 7819 lstat("hdc11", {st_mode=S_IFBLK|0660, st_rdev=makedev(22, 11), ...}) = 0 7819 lstat("hdc12", {st_mode=S_IFBLK|0660, st_rdev=makedev(22, 12), ...}) = 0 7819 lstat("hdc13", {st_mode=S_IFBLK|0660, st_rdev=makedev(22, 13), ...}) = 0 7819 lstat("hdc14", {st_mode=S_IFBLK|0660, st_rdev=makedev(22, 14), ...}) = 0 7819 lstat("hdc15", {st_mode=S_IFBLK|0660, st_rdev=makedev(22, 15), ...}) = 0 7819 lstat("hdc16", {st_mode=S_IFBLK|0660, st_rdev=makedev(22, 16), ...}) = 0 7819 lstat("hdc17", {st_mode=S_IFBLK|0660, st_rdev=makedev(22, 17), ...}) = 0 7819 lstat("hdc18", {st_mode=S_IFBLK|0660, st_rdev=makedev(22, 18), ...}) = 0 7819 lstat("hdc19", {st_mode=S_IFBLK|0660, st_rdev=makedev(22, 19), ...}) = 0 7819 lstat("hdc20", {st_mode=S_IFBLK|0660, st_rdev=makedev(22, 20), ...}) = 0 7775 lstat("/dev/hdc", {st_mode=S_IFBLK|0666, st_rdev=makedev(22, 0), ...}) = 0 7775 open("/dev/hdc", O_RDONLY|O_NONBLOCK) = 10 david@Scott ~ $ ls -l /dev/hdc /dev/hdd brw-rw-rw- 1 root disk 22, 0 Jan 24 18:07 /dev/hdc brw-rw-rw- 1 root disk 22, 64 Jan 24 18:07 /dev/hdd david@Scott ~ $ find /dev -type l -printf "%p\t%l\n" | egrep 'hdd|hdc|cdrom|dvd|cdwriter|cdrecorder' | cut -f1 /dev/cdroms/cdrom0 /dev/cdroms/cdrom1 /dev/cdrom david@Scott ~ $ ls -l /dev/cdrom lr-xr-xr-x 1 root root 13 Jan 24 18:07 /dev/cdrom -> cdroms/cdrom0 david@Scott ~ $ ls -l /dev/cdroms total 0 lr-xr-xr-x 1 root root 33 Dec 31 1969 cdrom0 -> ../ide/host0/bus1/target0/lun0/cd lr-xr-xr-x 1 root root 33 Dec 31 1969 cdrom1 -> ../ide/host0/bus1/target1/lun0/cd david@Scott ~ $ ls -l /dev/ide/host0/bus1/target?/lun0/cd brw------- 1 david root 22, 0 Dec 31 1969 /dev/ide/host0/bus1/target0/lun0/cd brw------- 1 david root 22, 64 Dec 31 1969 /dev/ide/host0/bus1/target1/lun0/cd david@Scott ~ $ grep " open(\"/dev/[chs]" /tmp/k3b.out|grep -v ENXIO|sort|uniq 7775 open("/dev/cdroms/cdrom0", O_RDONLY|O_NONBLOCK) = 11 7775 open("/dev/cdroms/cdrom1", O_RDONLY|O_NONBLOCK) = 11 7775 open("/dev/hda1", O_RDONLY|O_NONBLOCK) = -1 EACCES (Permission denied) 7775 open("/dev/hda2", O_RDONLY|O_NONBLOCK) = -1 EACCES (Permission denied) 7775 open("/dev/hda3", O_RDONLY|O_NONBLOCK) = -1 EACCES (Permission denied) 7775 open("/dev/hdc", O_RDONLY|O_NONBLOCK) = 10 7775 open("/dev/hdc", O_RDONLY|O_NONBLOCK) = 11 7775 open("/dev/hdc", O_RDWR|O_NONBLOCK) = 11 7775 open("/dev/hdd", O_RDONLY|O_NONBLOCK) = 10 7775 open("/dev/hdd", O_RDONLY|O_NONBLOCK) = 11 7775 open("/dev/hdd", O_RDWR|O_NONBLOCK) = 11 7775 open("/dev/sda1", O_RDONLY|O_NONBLOCK) = -1 EACCES (Permission denied) 7775 open("/dev/sdb", O_RDONLY|O_NONBLOCK) = -1 EACCES (Permission denied) 7775 open("/dev/sdc1", O_RDONLY|O_NONBLOCK) = -1 EACCES (Permission denied) 7775 open("/dev/sg0", O_RDONLY|O_NONBLOCK) = 10 7775 open("/dev/sg1", O_RDONLY|O_NONBLOCK) = 10 7775 open("/dev/sg2", O_RDONLY|O_NONBLOCK) = 10 7775 open("/dev/sg3", O_RDONLY|O_NONBLOCK) = 10 7775 open("/dev/sg4", O_RDONLY|O_NONBLOCK) = 10 7775 open("/dev/sg5", O_RDONLY|O_NONBLOCK) = 10 7775 open("/dev/sg6", O_RDONLY|O_NONBLOCK) = 10
What's your emerge info'? Can you confirm that downgrading to 0.11.18 solves the problem?
No, actually .18 just segfaults on me now. I've discovered further information. It fails to find a writer because it thinks that the devices (both hdc and hdd) are unable to write CDs. Well, one is a CD writer the other is a CD/DVD writer. It thinks that neither of them are capable of burning a CD. I can start a DVD burn process just fine. I got this information by looking at the grayed out device information in Configure K3b->Devices
FYI, .20 does the same thing. cdrecord (and friends) don't show any problems here.
Scott tmp # emerge info Portage 2.0.51-r15 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10 x86_64) ================================================================= System uname: 2.6.10 x86_64 AMD Opteron(tm) Processor 148 Gentoo Base System version 1.6.9 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Dec 28 2004, 13:41:49)] distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-march=opteron -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=opteron -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 GAPING_SECURITY_HOLE X X509 a52 aac aalib acpi acpi4linux aim alsa aotuv apache2 arts artswrappersuid artworkextra atm audiofile avantgo avi bluetooth bonobo bzip2 bzlib cairo caps cdda cddb cdf cdio cdparanoia cdr chipcard chroot cle266 codecs crypt css cups curl curlwrappers dba dbx devfs26 dga dio distcache divx4linux djbfft dnd dts dv dvb dvd dvdr dvdread dxr3 edl emoticon emul-linux encode erandom escreen esd ethereal exif extensions faac faad fam fame fax ffmpeg fftw flac flash flexresp fmod foomaticdb fpx freetts freetype ftp ftruncate gd gdbmgeoip gif gimp gimpprint glade glgd glitz glut gmail gmp gnokii gphoto2 gpm gps graphviz gs gsl gstreamer gtk gtk2 gtkhtml guile hal hbci hdfhdf5 high-ints icq ide idea idled ieee1394 imagemagick imap imlib imlib2 ipv6 irda irmc j2ee jabber jack jack-tmpfs java javacomm javamail javascript jbig jp2 jpeg jpeg2k junit kadu-modules kadu-voice kcal kde kdepim koffice-plugin lcms libgd libgda libsamplerate libwww lirc live lm_sensors ltsp lzo lzw lzw-tiff mad mbox mbrola mcal md5sum memlimit mhash mikmod mime mimencode ming mixer mjpeg mmap mng monkey motif mozcalendar mozdevelop mozilla moznoirc mozp3p mozsvg mp3 mpeg mpeg2 mpeg4 mpi mplayer mpm-leader mpm-metux mpm-peruser mpm-prefork mpm-threadpool mpm-worker msdav msn multicall multislot mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh nas ncurses netcdf network nls no-old-linux nopri nozaptel nptl nptlonly ntlm nvidia nviz oav odbc offensive ofx ogg oggvorbis openal opengl operanom2 oscar oss pam parse-clocks pcap pcntl pcrepda pdflib perl pg-hier pg-vacuumdelay php pic plotutils png pnp portaudio posix postgres ppds pthreads python quotes readline real remote rtc samba scanner sdl serial session shared sharedmem slang slp smime sms sndfile snmp snortsam soap sockets socks5 speex spell spl ssl stats stream svg sysvipc t1lib tcpd tga theora threads thumbnail tidy tiff timidity tokenizer transcode transparent-proxy truetype truetype-fonts type1 type1-fonts underscores usb userlocales uudeview v4l v4l2 vcd vidix vorbis wddx wifi wmf xface xgetdefault xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xrandr xscreensaver xv xvid xvmc yahoo yaz yv12 zlib zvbi" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Have you tried launching k3b by root? Is your normal user in the "cdrom" or "disk" group (depends if you use devfs or udev)? (please post the output of the "groups" command launched by the user that you use to launch k3b)
yes, i thought i had already posted that but i don't see it. k3b as root sees that both of my burners can do CDs just fine.
Then if it works as root then it's a permission problem of your normal user. Please post the output of the command that I asked you in the previous post.
sigh, did you look at my strace? did you look at my ls -l of the devices? david@Scott ~/.kde3.3 $ groups disk wheel floppy cron audio cdrom video games 69 cdrw usb portage smb if you read what i posted, you'll see that both of the devices are set ugo+rw and the strace shows that the devices are opened without error both RO and RW. you'll also see the ownership of the devices is set to username david on the actual lun.
Sorry my master if I didn't see some lines. I'll walk without dresses for the city screaming "I have to read more carefully" ... What's the ouput of "cdrecord dev=/dev/hdX -prcap" launched by your default user? is it different as launched by root?
:) as mentioned, burning via cdrecord (commandline) works fine. the only difference between root and david for cdrecord are shown at the bottom. both hdc and hdd diffs are the same. Scott tmp # cat cdrecord.david.hdc cdrecord: Warning: Running on Linux-2.6.10 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: '/dev/hdc' devname: '/dev/hdc' scsibus: -2 target: -2 lun: -2 Warning: Open by 'devname' is unintentional and not supported. Linux sg driver version: 3.5.27 Cdrecord-Clone 2.01.01a01 (x86_64-unknown-linux-gnu) Copyright (C) 1995-2004 J
:) as mentioned, burning via cdrecord (commandline) works fine. the only difference between root and david for cdrecord are shown at the bottom. both hdc and hdd diffs are the same. Scott tmp # cat cdrecord.david.hdc cdrecord: Warning: Running on Linux-2.6.10 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: '/dev/hdc' devname: '/dev/hdc' scsibus: -2 target: -2 lun: -2 Warning: Open by 'devname' is unintentional and not supported. Linux sg driver version: 3.5.27 Cdrecord-Clone 2.01.01a01 (x86_64-unknown-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling Using libscg version 'schily-0.8'. Device type : Removable CD-ROM Version : 0 Response Format: 2 Capabilities : Vendor_info : 'SONY ' Identifikation : 'DVD RW DRU-700A ' Revision : 'VY03' Device seems to be: Generic mmc2 DVD-R/DVD-RW. Drive capabilities, per MMC-3 page 2A: Does read CD-R media Does write CD-R media Does read CD-RW media Does write CD-RW media Does read DVD-ROM media Does read DVD-R media Does write DVD-R media Does not read DVD-RAM media Does not write DVD-RAM media Does support test writing Does read Mode 2 Form 1 blocks Does read Mode 2 Form 2 blocks Does read digital audio blocks Does restart non-streamed digital audio reads accurately Does support Buffer-Underrun-Free recording Does read multi-session CDs Does read fixed-packet CD media using Method 2 Does not read CD bar code Does read R-W subcode information Does not return R-W subcode de-interleaved and error-corrected Does read raw P-W subcode data from lead in Does return CD media catalog number Does return CD ISRC information Does support C2 error pointers Does not deliver composite A/V data Scott tmp # cat cdrecord.david.hdd cdrecord: Warning: Running on Linux-2.6.10 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: '/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 Cdrecord-Clone 2.01.01a01 (x86_64-unknown-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling Using libscg version 'schily-0.8'. Device type : Removable CD-ROM Version : 0 Response Format: 1 Vendor_info : 'ATAPI ' Identifikation : 'CD-R/RW 4X4X32 ' Revision : '3.DS' Device seems to be: Generic mmc CD-RW. Drive capabilities, per MMC page 2A: Does read CD-R media Does write CD-R media Does read CD-RW media Does write CD-RW media Does not read DVD-ROM media Does not read DVD-R media Does not write DVD-R media Does not read DVD-RAM media Does not write DVD-RAM media Does support test writing Does read Mode 2 Form 1 blocks Does read Mode 2 Form 2 blocks Does read digital audio blocks Does restart non-streamed digital audio reads accurately Does not support Buffer-Underrun-Free recording Does read multi-session CDs Does read fixed-packet CD media using Method 2 Does not read CD bar code Does not read R-W subcode information Does not read raw P-W subcode data from lead in Does return CD media catalog number Does return CD ISRC information Does not support C2 error pointers Does not deliver composite A/V data Does play audio CDs Number of volume control levels: 255 Does not support individual volume control setting for each channel Does support independent mute setting for each channel Does not support digital output on port 1 Does not support digital output on port 2 Loading mechanism type: tray Does support ejection of CD via START/STOP command Does not lock media on power up via prevent jumper Does allow media to be locked in the drive via PREVENT/ALLOW command Is not currently in a media-locked state Does not support changing side of disk Does not have load-empty-slot-in-changer feature Does not support Individual Disk Present feature Maximum read speed: 5632 kB/s (CD 32x, DVD 4x) Current read speed: 5632 kB/s (CD 32x, DVD 4x) Maximum write speed: 706 kB/s (CD 4x, DVD 0x) Current write speed: 706 kB/s (CD 4x, DVD 0x) Buffer size in KB: 2048 Scott tmp # diff -ruN cdrecord.root.hdc cdrecord.david.hdc --- cdrecord.root.hdc 2005-02-07 18:37:34.548296688 -0500 +++ cdrecord.david.hdc 2005-02-07 18:37:18.318763952 -0500 @@ -1,6 +1,11 @@ cdrecord: Warning: Running on Linux-2.6.10 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: '/dev/hdc' devname: '/dev/hdc' scsibus: -2 target: -2 lun: -2
notes: http://bugs.kde.org/show_bug.cgi?id=94530
Is this still a problem?
Old version, no feedback.