Bug 74413 - can't unmount compact flash. Is in use by konqueror
Summary: can't unmount compact flash. Is in use by konqueror
Status: RESOLVED DUPLICATE of bug 78322
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Slackware Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-06 23:14 UTC by Martin C
Modified: 2005-01-03 11:41 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin C 2004-02-06 23:14:20 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    Slackware Packages
OS:          Linux

I have an Icon in my desktop to mount and umount Compact Flash cards.
My problem is after using Konqueror to browse the memory card. I close Konqueror and I try to umount with the icon, and this message appears: 
"Could not unmount device.
The reported error was:
umount: /mnt/cf: device busy"

if I do:
lsof |grep mnt/cf
kdeinit   2336 martin  130r   DIR        8,1     4096      2909 /mnt/cf/dcim

I can umount it if I restart KDE, and kdeinit stops using my CF drive.

Any ideas?
Comment 1 Stephan Kulow 2004-02-07 10:14:09 UTC
please provide the output of ps aux| grep kdeinit as there are several kdeinit around
Comment 2 Martin C 2004-02-07 20:20:44 UTC
martin@Amazon:~ > ps aux| grep kdeinit
martin    1220  0.0  2.6 26936 13692 ?       S    16:13   0:00 kdeinit: Running...
martin    1223  0.0  2.6 28652 13736 ?       S    16:13   0:00 kdeinit: dcopserver --nosid
martin    1225  0.0  2.9 30628 15064 ?       S    16:13   0:00 kdeinit: klauncher
martin    1228  0.0  3.3 32592 17392 ?       S    16:13   0:00 kdeinit: kded
martin    1267  0.0  3.8 36336 19584 ?       R    16:13   0:00 kdeinit: knotify
martin    1273  0.0  3.1 30528 16068 ?       S    16:13   0:00 kdeinit: ksmserver
martin    1274  0.2  3.5 32724 18192 ?       S    16:13   0:01 kdeinit: kwin -session 11c0a80001000107602492900000264580000_1076165855_991526
martin    1276  0.0  3.3 31032 17064 ?       S    16:13   0:00 kdeinit: kwrited
martin    1278  0.5  4.0 34304 20868 ?       S    16:13   0:01 kdeinit: kdesktop
martin    1281  0.2  4.0 36224 21012 ?       S    16:13   0:00 kdeinit: kicker
martin    1283  0.1  3.3 31928 17340 ?       S    16:13   0:00 kdeinit: klipper
martin    1285  0.0  3.8 33976 19784 ?       S    16:13   0:00 kdeinit: kmix -session 11c0a80001000107455042900000010020027_1076165855_988947
martin    1286  0.0  2.7 28380 14248 ?       S    16:13   0:00 kdeinit: kio_file file /tmp/ksocket-martinwneJna/klauncherD0BIZb.slave-socket /tmp/ksocket-martinwneJna/kdesktoptJMdsb.slave-socket
martin    1395  0.1  3.5 31976 18028 ?       S    16:18   0:00 kdeinit: kio_uiserver
martin    1409  1.4  4.9 39028 25564 ?       S    16:18   0:01 kdeinit: konqueror -mimetype inode/directory file:/mnt/cf
martin    1410  0.0  2.7 28420 14304 ?       S    16:18   0:00 kdeinit: kio_file file /tmp/ksocket-martinwneJna/klauncherD0BIZb.slave-socket /tmp/ksocket-martinwneJna/konqueroraHOAnb.slave-socket
martin    1411  0.0  2.7 28416 14312 ?       S    16:18   0:00 kdeinit: kio_file file /tmp/ksocket-martinwneJna/klauncherD0BIZb.slave-socket /tmp/ksocket-martinwneJna/konquerorFW7DEa.slave-socket
martin    1414  0.0  2.7 28376 14280 ?       S    16:18   0:00 kdeinit: kio_file file /tmp/ksocket-martinwneJna/klauncherD0BIZb.slave-socket /tmp/ksocket-martinwneJna/kuickshowDEYU3a.slave-socket
martin    1415  0.2  3.2 32492 16756 ?       SN   16:18   0:00 kdeinit: kio_thumbnail thumbnail /tmp/ksocket-martinwneJna/klauncherD0BIZb.slave-socket /tmp/ksocket-martinwneJna/kuickshowF1zRrb.slave-socket
martin    1421  0.0  2.7 28180 14132 ?       S    16:19   0:00 kdeinit: kio_devices devices /tmp/ksocket-martinwneJna/klauncherD0BIZb.slave-socket /tmp/ksocket-martinwneJna/konquerorwg0UJb.slave-socket
martin    1425  3.3  3.7 34640 19264 ?       R    16:19   0:00 kdeinit: konsole
martin    1431  0.0  0.1  3580  676 pts/2    R    16:19   0:00 grep kdeinit
Comment 3 Stephan Kulow 2004-02-08 09:43:50 UTC
that's a later moment, isn't it? Because there is no process with the pid 2336.
Comment 4 Martin C 2004-02-08 15:27:32 UTC
Yes, sorry. I'll do it again (it always do the same busy thing)
Steps:
1) I put the Compact Flash in the reader.
2) Double click in my icon device, make my card to mount and open Konqueror. 
3) I enter to a card directory
4) I close Konqueror

If then I try to umount with right button and umount, I get the busy error.

now the messages:
$ lsof |grep mnt/cf 
kdeinit    988 martin  128r   DIR        8,1    16384        1 /mnt/cf
kdeinit    988 martin  129r   DIR        8,1     4096        6 /mnt/cf/dcim
kdeinit    988 martin  130r   DIR        8,1     4096        9 /mnt/cf/dcim/104canon

$ ps aux| grep kdeinit
martin     893  0.0  2.6 26936 13692 ?       S    11:21   0:00 kdeinit: Running...
martin     896  0.0  2.6 28644 13728 ?       S    11:21   0:00 kdeinit: dcopserver --nosid
martin     898  0.0  2.9 30596 15008 ?       S    11:21   0:00 kdeinit: klauncher
martin     901  0.0  3.3 32504 17240 ?       S    11:21   0:00 kdeinit: kded
martin     940  0.0  3.8 36336 19592 ?       S    11:21   0:00 kdeinit: knotify
martin     946  0.0  3.1 30532 16080 ?       S    11:21   0:00 kdeinit: ksmserver
martin     947  0.2  3.5 32664 18156 ?       S    11:21   0:00 kdeinit: kwin -session 11c0a80001000107602492900000264580000_1076200477_283655
martin     949  0.0  3.3 31032 17064 ?       S    11:21   0:00 kdeinit: kwrited
martin     951  0.5  4.0 34140 20664 ?       S    11:21   0:01 kdeinit: kdesktop
martin     954  0.2  4.1 36324 21104 ?       S    11:21   0:00 kdeinit: kicker
martin     955  0.0  2.7 28368 14232 ?       S    11:21   0:00 kdeinit: kio_file file /tmp/ksocket-martinwneJna/klaunchernxH3ra.slave-socket /tmp/ksocket-martinwneJna/kdesktopWWtswb.slave-socket
martin     958  0.1  3.3 31932 17356 ?       S    11:21   0:00 kdeinit: klipper
martin     960  0.1  3.8 33972 19788 ?       S    11:21   0:00 kdeinit: kmix -session 11c0a80001000107455042900000010020027_1076200477_265557
martin     988  0.2  4.7 38204 24656 ?       S    11:21   0:00 kdeinit: konqueror --silent
martin    1046  0.1  3.7 34592 19236 ?       S    11:22   0:00 kdeinit: konsole
martin    1051  0.0  3.5 31992 18044 ?       S    11:23   0:00 kdeinit: kio_uiserver
martin    1063  0.0  2.7 28360 14248 ?       S    11:23   0:00 kdeinit: kio_file file /tmp/ksocket-martinwneJna/klaunchernxH3ra.slave-socket /tmp/ksocket-martinwneJna/konquerorm0WjTa.slave-socket
martin    1071  0.0  0.1  3632  700 pts/2    S    11:26   0:00 grep kdeinit

Bye!
Comment 5 Martin C 2004-04-08 01:56:16 UTC
Hello, I've just downloaded KDE 3.2.1 hoping that it was going to work...  but no.
Same error here.

1) I put my Compact Flash in the reader
2) Double click on my compact flash icon in the desktop (is a HD device)
3) It opens Konqueror with the content of my card. I see some pictures and close konqueror.
4) I try to unmount the card and I can't:
umount: /mnt/cf: device busy
umount: /mnt/cf: device busy

It works with KDE 3.1 perfect (the slack's 9.1 one)

Some more information:

martin@Amazon:~$ lsof |grep mnt/cf
kdeinit   20608 martin  128r   DIR        8,1    16384          1 /mnt/cf
kdeinit   20608 martin  130r   DIR        8,1     4096        730 /mnt/cf/dcim
kdeinit   20608 martin  131r   DIR        8,1     4096        733 /mnt/cf/dcim/105canon

martin@Amazon:~$ ps -A|grep kdeinit
20498 ?        00:00:00 kdeinit
20501 ?        00:00:00 kdeinit
20503 ?        00:00:00 kdeinit
20506 ?        00:00:00 kdeinit
20552 ?        00:00:00 kdeinit
20558 ?        00:00:00 kdeinit
20559 ?        00:00:01 kdeinit
20561 ?        00:00:00 kdeinit
20564 ?        00:00:00 kdeinit
20565 ?        00:00:03 kdeinit
20570 ?        00:00:01 kdeinit
20574 ?        00:00:00 kdeinit
20576 ?        00:00:00 kdeinit
20578 ?        00:00:00 kdeinit
20608 ?        00:00:02 kdeinit
20613 ?        00:00:00 kdeinit
20626 ?        00:00:00 kdeinit
20721 ?        00:00:00 kdeinit
20746 ?        00:00:00 kdeinit
20758 ?        00:00:00 kdeinit
20760 ?        00:00:00 kdeinit

------------
I don't have any konqueror opened right now.

Thank you

Martín.
Comment 6 Matt Rogers 2004-05-06 21:45:39 UTC
it would seem that konqueror's preloading mechanism is getting in the way
Comment 7 Waldo Bastian 2004-08-02 18:00:35 UTC
#4 points to konqueror (PID 988)
Comment 8 Aaron J. Seigo 2005-01-03 11:41:04 UTC

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