Summary: | k3b 0.11.19 & 20 think drives can't burn CDs for regular users (ioctl?), DVDs or as root is fine | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Blu3 <david+gentoo.org> |
Component: | Current packages | Assignee: | Gentoo KDE team <kde> |
Status: | VERIFIED NEEDINFO | ||
Severity: | major | CC: | hoek |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Blu3
2005-01-30 08:25:00 UTC
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 Is this still a problem? Old version, no feedback. |