[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: kdeeject -- is this a BUG??
From: Nicolas Goutte <nicolasg () snafu ! de>
Date: 2003-12-27 6:53:02
[Download RAW message or body]
On Friday 26 December 2003 22:00, James Richard Tyrer wrote:
> Nicolas Goutte wrote:
> > On Thursday 25 December 2003 03:56, James Richard Tyrer wrote:
> >>Janne Karhunen wrote:
> >>>Hi,
> >>>
> >>>Many of my non-techie friends using linux have had tons of problems
> >>>just ejecting CD:s under linux. Reasons for this vary, but just to
> >>>rule out most obvious of them ( leftover processes accessing the
> >>>device ) i've added stuff in kdeeject to probe for this. Have a
> >>>look at the attachment and decide whether this could be used on a
> >>>wider scale.
> >>
> >>Well, it refused to give me my CD again even with my correct
> >> configuration (see other posting).
> >>
> >>I had to KILL konqueror to unmount and get my disk.
> >>
> >>I suspect that this is a bug.
> >>
> >>To reproduce:
> >>
> >>Open Konqueror and then click on the CD-ROM icon (I don't use an auto
> >>mounter) on the desktop. This will open a Konqueror KFM window.
> >>
> >>Now close the Konqueror KFM window.
> >>
> >>Now, try to get your disk back.
> >>
> >>You can't unmount and 'fuser' says that Konqueror is still using the
> >>directory where you mounted the CD-ROM.
> >>
> >>[root@localhost root]# fuser -v /mnt/cdrom/
> >>
> >> USER PID ACCESS COMMAND
> >>/mnt/cdrom/ jrt 1495 f.... kdeinit
> >> root kernel mount /mnt/cdrom
> >>
> >>So, the proposed solution will not work because it is Konqueror that is
> >>supposedly using the CD-ROM.
> >>
> >>[root@localhost root]# ps 1495
> >> PID TTY STAT TIME COMMAND
> >> 1495 ? S 0:03 kdeinit: konqueror -mimetype inode/directory
> >>file:/mnt/cdrom
> >>
> >>If I use 'fuser' to fix this:
> >>
> >>fuser -k /mnt/cdrom
> >>
> >>then I can unmount the CD-ROM. HOWEVER, all (user) instances of
> >> Konqueror are killed since it is all one process.
> >>
> >>This appears to be a bug.
> >
> > Better report it in KDE bugs. Be careful that such unmounting problems
> > are not new, so probbably a bug already exist (if it was not fixed for
> > the precise reported problem.)
>
> Bug 37780
>
> This appears to work OK with the current Beta 3.1.94
>
> However, the report appears to indicate that this has regressed in previous
> releases so, it should be checked in the release candidates. I will try to
> remember to do this.
>
> --
> JRT
As far as I remember such kinds of bugs are annoying, as there also depend on
how modified files are checked: polling, kernel notify (both either direct or
by libfam)
>
Have a nice day!
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> >> unsubscribe <<
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic