After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 141049 - Cannot Unmount Floppy Diskette
Cannot Unmount Floppy Diskette
Status: RESOLVED DUPLICATE of bug 94552
Product: nautilus
Classification: Core
Component: general
unspecified
Other other
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-04-25 16:47 UTC by crimsonblade
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.3/2.4



Description crimsonblade 2004-04-25 02:47:50 UTC
Distribution: Fedora Core release 1 (Yarrow)
Package: gnome-applets
Severity: normal
Version: GNOME2.4.0 2.4.0
Gnome-Distributor: GNOME.Org
Synopsis: Cannot Unmount Floppy Diskette
Bugzilla-Product: gnome-applets
Bugzilla-Component: drivemount
Bugzilla-Version: 2.4.0
BugBuddy-GnomeVersion: 2.0 (2.4.0.1)
Description:
Description of the crash:
When a floppy disk was mounted, and then modified and translated a
document, from microsoft excel, to open office, then saved as an open
office document, then open office
was closed down, and tried to 'unmount' the diskette. However unmount is
not a valid command, and eject reports "cannot open or read drive."


Steps to reproduce the crash:
1. Insert Floppy Disk with excel document 
2. Mount floppy.
3. Open the file with Open Office.
4. Print Document.
5. Save as Open Office Document.
6. Save as PDF File
7. in run line: unmount floppy.
--Error: Unmount not valid command.
8. Eject Floppy.
--Error: Cannot read or open drive.
9. go into terminal to unmount floppy.
---Error Again: Not valid command
10. in terminal eject floppy
--Error: Cannot read or open device.
11. Type "Exit" in the terminal.
(It exits but shortly thereafter a fatal error occurs)

Expected Results:
I expected it to, as with the eariler versions of linux that I've used,
to have it rewrite the disk containing the new files and then have it
unmounted as a part of the file system, indicating the the unmount /
eject was sucessful.

How often does this happen?
Twice in the first few weeks I've used FADORA.

Additional Information:



Debugging Information:

Backtrace was generated from '/usr/bin/nautilus'

(no debugging symbols found)...Using host libthread_db library
"/lib/tls/libthread_db.so.1".
(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...0x006d7c32 in ?? ()
  • #0 ??
  • #1 ??
  • #2 ??




------- Bug moved to this database by unknown@bugzilla.gnome.org 2004-04-25 12:47 -------


Unknown version 2.4.0 in product gnome-applets. Setting version to "1.0.x".
Unknown platform unknown. Setting to default platform "Other".
Unknown milestone "unknown" in product "gnome-applets".
   Setting to default milestone for this product, '---'
The original reporter of this bug does not have
   an account here. Reassigning to the person who moved
   it here, unknown@bugzilla.gnome.org.
   Previous reporter was crimsonblade@excite.com.
Setting to default status "UNCONFIRMED".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 josiah 2004-05-24 06:32:04 UTC
simpler steps to reproduce:

1. mount floppy with nautilus (i'm using 2.4.x)
2. open, modify, or save a file to the floppy with openoffice. 
3. (optional) close open office
4. attempt to unmount disk, given error: 

"Nautilus was unable to unmount the selected volume." 

and when i clicked the "details" button, 

"umount: /floppy: device is busy
umount: /floppy: device is busy"

the only way i can figure out to get around this problem is to reboot the computer.
Comment 2 Dennis Smit 2004-05-24 12:03:11 UTC
It sounds like if a program is opening something that is in /floppy.

Could you try to do 'lsof /floppy' and see what keeps the floppy open ?

Thanks!
Comment 3 josiah 2004-05-24 17:48:31 UTC
i'll try that tonight when i go back home. i did find that when i killed 
nautilus, i was able to unmount the disk.
Comment 4 Dennis Smit 2004-05-24 20:08:02 UTC
I've seen something about nautilus holding dirs open, you might want
to upgrade to gnome 2.6.
Comment 5 josiah 2004-05-26 05:26:53 UTC
# lsof /floppy
COMMAND PID   USER   FD   TYPE DEVICE SIZE NODE NAME
famd    420 josiah   41r   DIR    2,0 7168    1 /floppy
# 

When I killed famd, I was able to unmount the disk.

In case it matters, the computers on which I'm having this problem are i386 and
i686, Debian testing and unstable. 
Comment 6 Vincent Noel 2004-07-22 13:55:54 UTC
Could you use the command
lsof -p PID
replacing "PID" by the process ID of famd ?
This may be a dup of bug 146420.
Comment 7 Vincent Noel 2004-07-22 22:02:04 UTC
In spirit, it's a dup of bug 94552.

*** This bug has been marked as a duplicate of 94552 ***