Bug 83896 - cd drive blocked by kdeinit kio_audiocd when staring konqueror
Summary: cd drive blocked by kdeinit kio_audiocd when staring konqueror
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: RedHat Enterprise Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-24 00:03 UTC by klaus thorn
Modified: 2004-07-23 12:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
kio_audiocd-fix-blocking-cd.patch (347 bytes, patch)
2004-07-07 17:30 UTC, Sergey V Turchin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description klaus thorn 2004-06-24 00:03:27 UTC
Version:            (using KDE KDE 3.2.2)
Installed from:    RedHat RPMs
Compiler:           packages are from Fedora Core 2 Distribution
OS:                Linux

Users can not mount a data CD on some of my seven fedora core 2 installations (dont know what's the difference). When someone inserts a CD and then opens konqueror, the audio-Cd-browser in the sidebar starts and is annoyingly long animated. Nothing happens at first. User klicks on konqueror-sidebar -> devices -> CD-Rom then one or two (if clicked double then two or three) windows open with a not helpfull error message. Something like "maybe it is already mounted". Even when I start konsole and become root I cannot mount the CD and it is not mounted according to both mount and /proc/mounts.

What I found out: lsof /dev/cdrom shows kdeinit kio_audiocd
So some kde-part started by konqueror blocks the cdrom

I tried to find documentation or bug reports or mails about how to turn off the automatically starting audiocd-program but found nothing.

One user tried it again and again and then one time it worked, but not the next time she tried. So most of the time on some of the installations it does not work. What can I do, without being able to read Data-Cds with my installations these customers will really look down on me; and wouldn't you?

I changed the options for cdrom in /etc/fstab from ...kudzu,owner,... to ...user,... but it did not help.

k3b successfully burnes CDs on the CD Drives and mounting from commandline (without KDE in the background) works fine.


And one more unnessesary sentence: this is not the only basic funtion that is not working in kde. I hope I'll find more clear examples and time to report them as bugs. Often I ask myself "didn't they even test it?"
Comment 1 Sergey V Turchin 2004-07-07 17:30:54 UTC
Created attachment 6588 [details]
kio_audiocd-fix-blocking-cd.patch

Fix the problem
Comment 2 klaus thorn 2004-07-23 12:39:50 UTC
Works fine, tested it on two computers. thank you very much. I hope the patch will become part of the kde mainstream.

One addition for other people with fedora who want to integrate the patch but do not know how:

-get the kde multimedia src rpm package

-install it with rpm -Uvh, the sources will be in /usr/src/redhat

-you will need to install more packages. See output of rpm and compile errors.

-unpack the source (cd /usr/src ; tar jxvf /usr/src/redhat/SOURCES/kdemultimedia*.bz2)

-apply the patch or change the source by hand (it's just one line)

-pack the source (tar jcvf /usr/src/redhat/SOURCES/kdemultimedia*.bz2 kdemultimedia*)

-compile: rpmbuild -bb /usr/src/redhat/SPECS/kdemultimedia.spec

when compilation exits with errors then likely you need another devel-package. So if the error is: ld: cannot find -lselinux then installing  libselinux-1.11.4-1 and libselinux-devel-1.11.4-1 will help. (fedora core 2)

-install: rpm -Uvh --force /usr/src/redhat/RPMS/i386/kdemultimedia-3*

the patched binary package for fedora core 2 is at http://www.trillke.net/~klaus/admin/kdemultimedia-3.2.2-2.i386.rpm