I upgraded from linux-2.4.24-xfs-r3 to linux-2.6.9-gentoo-r1 which broke USB and so I was told to use development-sources-2.6.10-rc2 instead (see http://bugs.gentoo.org/show_bug.cgi?id=71874). According to this thread: http://forums.gentoo.org/viewtopic.php?t=247459 I successfully managed to burn CDs. But what I cannot do is burning DVDs more than ONCE per reboot. Reproducible: Always Steps to Reproduce: I am using k3b for burning CDs and DVDs: 1. Tried to burned CDs - worked after removing the setuid bits from cdrecord, mkisofs and so on. 2. Tried to burn a DVD - didn't work (don't remember the exact error message anymore). 3. Checked permissions of executables (growisofs, ...), added my username to "cdrom" and "cdrw" in /etc/groups - still no luck. 4. Emerged newer version of dvd+rw-tools: dvd+rw-tools-5.21.4.10.8. 5. Then k3b didn't recognize dvd+rw-format which was a known issue and could be solved by updating k3b from 0.11.10 to >= 0.11.13. I'm using 0.11.17 now because it was emerged by portage by default. 6. When I now try to burn a DVD, it only works the _very_first_time_ after booting. After that I get the following error message: growisofs ----------------------- WARNING: /dev/hdc already carries isofs! About to execute 'builtin_dd if=/tmp/kde-cmarker/DVD.iso of=/dev/hdc obs=32k seek=0' :-( unable to PREVENT MEDIA REMOVAL: Operation not permitted 7. I updated to development-sources-2.6.10-rc3 (as dsd told us in http://forums.gentoo.org/viewtopic.php?p=1846946), but still the same behaviour. Actual Results: The complete log is: System ----------------------- K3b Version:0.11.17 KDE Version: 3.1.5 QT Version: 3.3.2 growisofs ----------------------- WARNING: /dev/hdc already carries isofs! About to execute 'builtin_dd if=/tmp/kde-cmarker/DVD.iso of=/dev/hdc obs=32k seek=0' :-( unable to PREVENT MEDIA REMOVAL: Operation not permitted growisofs comand: ----------------------- /usr/bin/growisofs -Z /dev/hdc=/tmp/kde-cmarker/DVD.iso -use-the-force-luke=notray -use-the-force-luke=tty -use-the-force-luke=dao -dvd-compat -speed=2.4 mkisofs ----------------------- /usr/bin/mkisofs: Warning: -follow-links does not always work correctly; be careful. Warning: creating filesystem that does not conform to ISO-9660. Warning: ISO-9660 filenames longer than 31 may cause buffer overflows in the OS. Total translation table size: 0 Total rockridge attributes bytes: 331 Total directory bytes: 0 Path table size(bytes): 10 Max brk space used 0 186 extents written (0 MB) mkisofs comand: ----------------------- /usr/bin/mkisofs -gui -graft-points -volid DVD -volset -appid K3b - Version 0.11.1 -publisher -preparer K3b - Version 0.11.1 -sysid Linux -volset-size 1 -volset-seqno 1 -sort /tmp/kde-cmarker/k3bsGPYVa.tmp -rational-rock -hide-list /tmp/kde-cmarker/k3bBOl2mb.tmp -joliet -hide-joliet-list /tmp/kde-cmarker/k3by0iXwb.tmp -allow-leading-dots -full-iso9660-filenames -relaxed-filenames -allow-lowercase -no-iso-translate -allow-multidot -max-iso9660-filenames -follow-links -iso-level 3 -path-list /tmp/kde-cmarker/k3bl0bFbc.tmp /home/cmarker/.kde3.1/share/apps/k3b/temp/dummydir0/ Expected Results: Burn DVDs as expected which means that I don't have to reboot after one DVD has finished. Here is some information about my system. ---------- $ emerge info Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.2, glibc-2.3.4.20040808-r1, 2.6.10-rc3 i686) ================================================================= System uname: 2.6.10-rc3 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.7-r4 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.4.3-r3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-Os -march=pentium4 -msse -msse2 -mmmx -mfpmath=sse -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-Os -march=pentium4 -msse -msse2 -mmmx -mfpmath=sse -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://gentoo.inode.at/source/ http://gentoo.inode.at/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acpi alsa apache2 arts avi bash-completion berkdb bitmap-fonts cdr crypt cups dga dio directfb divx4linux doc dvb dvd dvdr encode esd exif f77 fam fbcon firebird flac flatfile foomaticdb fortran ftp gdbm gif gpm gtk gtk2 icq imagemagick imlib interbase jack java joystick jpeg kde libg++ libwww mad mikmod mime mmx motif mpeg ncurses nls odbc offensive oggvorbis opengl oscar oss pam pdflib perl plotutils png ppds python qt quicktime readline scanner sdl slang spell sse ssl svg svga sysvipc tcltk tcpd tetex tidy tiff truetype usb videos wmf x86 xml xml2 xmms xpm xv xvid zlib linguas_de linguas_el linguas_en" ---------- Used programs: app-cdr/k3b-0.11.17 app-cdr/dvd+rw-tools-5.21.4.10.8 ---------- Used kernels: development-sources-2.6.10-rc2 and development-sources-2.6.10-rc3 ---------- udev only: $ ls -lah | grep hd brw------- 1 cmarker cdrom 22, 0 6. Dez 08:19 hdc // <- DVD Recorder brw------- 1 cmarker cdrom 22, 64 6. Dez 08:19 hdd
dsd, what do you think about this bug? Still a kernel issue, that the command in request is not allowed?
I don't know. Disabling automatic eject after burn solves this.
I'm now burning my third DVD of this boot with k3b, and dev-sources 2.6.10-r1 sauron linux # ls -lh /usr/bin/growisofs -rws--x--- 1 root cdrom 59K Jan 12 12:21 /usr/bin/growisofs
I am having similar problem. I can write one DVD but after same message (unable to PREVENT MEDIA REMOVAL) i cannot write any more DVDs as non-root user until i reboot system. I will try as you say disabling automatic eject after burn.
I installed k3b-0.11.17 and dvd+rw-tools-5.21.4.10.8 on Gentoo-amd64, running a vanilla 2.6.10 kernel. When trying to burn a DVD in k3b, I'm also see this error message and the burn process stops. Then I executed the command directly from the command line: bash-2.05b$ /usr/bin/growisofs -Z /dev/hdc=foo.iso -use-the-force-luke=notray -use-the-force-luke=tty -speed=2.4 WARNING: /dev/hdc already carries isofs! About to execute 'builtin_dd if=foo.iso of=/dev/hdc obs=32k seek=0' :-( unable to PREVENT MEDIA REMOVAL: Operation not permitted I didn't modify any permissions after installation. But when this command is executed by root everything works ok. It seems to be some kind of permission problem. Maybe it is necessary to be root. Here is my growisofs' permissions: bash-2.05$ ls -l `which growisofs` -rwxr-xr-x 1 root root 77600 Jan 19 08:15 /usr/bin/growisofs*
Strange, I just got this same problem. The previous burn did not have a problem, and this burn does. Thought it might be a media issue but trying different blanks didn't help. I changed absolutely nothing between the two burns, and in particular, automatic eject was turned on for both. Very odd.
Ṗ.S. "chmod 4711 /usr/bin/growisofs" is a successful workaround in my case.
I've got this problem as well (K3b 0.11.18, dvd+rw-tools 5.21.4.10.8, kernel 2.6.10-gentoo-r6). Setting growisofs to SIUD works, but then it starts using realtime priority or something similair. Strangely enough, it results in not enough CPU cycles being available for writing. The 'write' LED on my burner blinks all the time (it should burn constantly), and the effective speed is only 1 or 2x (instead a steady 4), meaning it is using burn-proof methods to keep going. And the CPU-guage in my KPanel keeps indicating kernel CPU-usage while writing. I was using 2.6.9-gentoo-r9 and k3b 0.11.17 before this, but k3b wasn't able to find my cd devices with it. I then upgraded to 2.6.10-gentoo-r6, but then I got some kind of I/O error with growisofs. Upgrading k3b led to this problem. Strange, because growisofs hasn't changed.
2.6.11-rc2 fixes this.
Hi, http://www.ussg.iu.edu/hypermail/linux/kernel/0501.2/0450.html this patch for kernel-2.6.10 should get rid of the "unable to PREVENT MEDIA REMOVAL: Operation not permitted" bug. I tested this with 2.6.10 (only CD-burning but there it's the very same bug) and couldn't reproduce the error since. Poly
On comment #9: Should we wait for 2.6.11 or should we backport that patch to 2.6.10?
It is being backported to 2.6.10, notice the dep on bug 79237
Fixed in gentoo-dev-sources-2.6.10-r7