Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20595 - can't unmount cd with konqueror and fam
Summary: can't unmount cd with konqueror and fam
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-07 14:37 UTC by Julien Allanos (RETIRED)
Modified: 2003-05-08 13:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Allanos (RETIRED) gentoo-dev 2003-05-07 14:37:55 UTC
i'm using konqueror and fam is started, and i can't unmount my cdrom, even if
konqueror points to a directory that's not under the cd mount point. i have to
close all konqueror instances to unmount the cd.
lsof | grep cdrom tells me that fam is opening /mnt/cdrom.
please see : http://forums.gentoo.org/viewtopic.php?t=16514
and the kde bug report http://bugs.kde.org/show_bug.cgi?id=37780

it seems that disabling dnotify in kdelibs should help, but would cause a lack
of performance.
what could be the best solution to get it fixed ?
Comment 1 Julien Allanos (RETIRED) gentoo-dev 2003-05-07 14:43:05 UTC
see also http://forums.gentoo.org/viewtopic.php?t=22644
but, the solution given could have bad side effects.
Comment 2 Michele Balistreri (RETIRED) gentoo-dev 2003-05-08 12:10:04 UTC
compile the kernel with imon support and recompile fam 
Comment 3 Julien Allanos (RETIRED) gentoo-dev 2003-05-08 13:35:08 UTC
I've compiled imon.o, modprobed it, remerged fam-oss.
I noticed the ./configure didn't find the linux/imon.h header. it causes fam to use the IMonNone monitor.
I had to copy /usr/src/linux/include/linux/imon.h to /usr/include/linux, and remerge again to have the IMonLinux monitor. Then I restarted the fam daemon. Tried under konqueror, now it works well, even more that expected : unmounting the cd when I'm navigating in it causes the cd to unmount and not to display the busy device error !
Is this the normal behaviour ?
Comment 4 Michele Balistreri (RETIRED) gentoo-dev 2003-05-08 13:47:30 UTC
yes, also if isn't very clean