[K12OSN] DVD not umount-ing nor ejecting

Gavin Chester sales at ecosolutions.com.au
Thu Mar 3 17:33:52 UTC 2005


Anyone using k12ltsp 4.2.0 and having trouble umount-ing and then
ejecting CDs & DVDs?  I did some googling and after choosing the right
keywords came across this bug report pertaining to RH9 that seems to
have persisted through to FC3:     
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=106936
It very closely matches my scenario, but I've not seen any comment on
this list about it.  Is it possible that it only affects some types of
drives? 

Story:  
With my new install of k12ltsp 4.2.0 and a new dual-layer DVD (Lite-on
16x DVD-R, 4x DVD-R DL) I can mount disks okay but not umount without
trouble - nor eject the tray at all.  I first resorted to the old paper-
clip-in-the-emergency-hole trick :^( to get the tray out because neither
KDE's desktop CD icon nor the command line works as it should to umount
and eject.  

Before you ask, nothing is apparently using the media nor looking at it
(ie, not even a directory listing), so initially I could find nothing to
account for the "device busy" error when I tried to umount.  After
googling I found reference to the umount -l option (ie, lazy) to force a
umount when you don't know what process is keeping the media busy.  This
worked to umount, but it still persisted with the failure of both
software and manual attempts to eject the tray.

After reading the bug report (refer above), it clued me up to look for
'fam' (whatever that is) not correctly releasing the DVD.  I found no
fam, but 'ps aux' did find that konqueror was still active even after
closing that process and then doing "umount -l".  By trial and error I
also found "gam_server" was a problem, but have no idea what it is.
ONLY when I kill those two processes (konq. and gam) can I then eject
the tray - even though the media is reported as no longer mounted.

Is this an extension of that original bug report that's been around
since RH9 or something new?
Why has it not been reported by anyone else here - might it be unique to
certain drives?
Why are those processes not dying when they are closed?

I now know how to deal with the problem, but it's very tedious to have
to manually clean up processes to wrest back control of my DVD.
Feedback welcome.

Regards, Gavin Chester.




More information about the K12OSN mailing list