Summary: | I umount floppy in media:/ but KDE doesn't change | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kio | Reporter: | Iñaki Baz Castillo <ibc> |
Component: | media | Assignee: | Jérôme Lodewyck <jerome.lodewyck> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | Stefan.Borggraefe |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Iñaki Baz Castillo
2005-04-04 15:06:41 UTC
Reassigning to Jerôme since he knows HAL internals better than me. Now I have set floppy as Supermount device. So my new line in fstab is: /dev/fd0 /mnt/floppy supermount dev=/dev/fd0,fs=auto,sync 0 0 Now I have a different problem with the floppy in KDE (but the DVD and CR-RW work fine with supermount and media:/) - I start KDE and open media:/ - The Floppy icon is umounted (very strange using supermount ¿?¿¿?¿) - If I do in a console "mount", I can see that supermount floppy device is mounted: /dev/fd0 on /mnt/floppy type supermount (rw,sync,dev=/dev/fd0,fs=auto) - Insert a floppy. - Doble click in Floppy icon and an error appears: "The media protocol died unexpectedly" - The icon is still "umounted" and I can't see floppy files. - In this way, it's impossible to open floppy in KDE. The "manual" solution is to do this: - As root "pumount /dev/fd0" (umount device). - After that, as root "pmount /dev/fd0" (mount device again). - Now, the floppy icon in media:/ is "mounted" and I can go into it and see the floppy files. It works fine now (I can change the floppy and pressing F5 I see the new files, etc... OK). - Note: I have created a script in system init to do as root before KDM stars: pumount /dev/fd0 and pmount /dev/fd0 but It doesn't work. - This bad solution NEEDS to have KDE opened, I think. I installed FAM but nothing changed, and I unistalled it. If you need more information about this problem, please tell me. Thanks for all. Another simple and strange solution: - When starting KDE the floppy icon in media is "umounted" (that it is not correct, because floppy uses supermount and it should appear as "mounted" always). In fact, if I go to /mnt/floppy I can see the floppy files, so it's not problem of supermount, it works fine. - If I connect my USB pendrive or insert a CD an icon appears in media:/, and... the floppy icon CHANGES TO "MOUNTED" automatically (just after connecting the pendrive or the CD). After that, I can see the floppy files in media:/ So I don't know why this bug occurs (problem of media:/, hal, dbus? no idea). Thank you for your advanced investigations. I think I spot the problem, and I'll try to fix it ASAP. Just a precision : are you using KDE 3.4 or KDE from CVS ? and HAL 0.4 or HAL 0.5 ? I use hal of Debian Sid, this is 0.4.7-3 version. And my KDE version is 3.4 from those sources: deb http://pkg-kde.alioth.debian.org/kde-3.4.0/ ./ Thanks a lot for your job! This problem still occurs with: - Debian Sid - KDE 3.4.1 (from Alioth) - hal 0.4.8-1 - dbus-1 0.23.4-1qt1 - pmount 0.8-2 - udev 0.056-3 Still occurs with: - Debian Sid - KDE 3.4.2 (from Alioth) - hal 0.4.8-3 - dbus-1 0.23.4-3 - pmount 0.8-2 - udev 0.060-1 *** Bug 110365 has been marked as a duplicate of this bug. *** I've upgraded to kubuntu breezy and I don't have this bug any more. - KDE 3.4.3 - hal 0.5.3 - dbus 0.36.2 - pmount 0.9.5 - udev 0.060 Debian Sid KDE 3.4.3 dbus-1 0.23.4-7 dbus-glib-1 0.23.4-7 dbus-qt-1c2 0.23.4-7 hal 0.4.8-8 pmount 0.8-2 udev 0.071-1 Now I work perfectly with the floppy using Supermount, but not the same without it: My fstab: /dev/fd0 /mnt/floppy auto users,noauto 0 2 In media:/ if I insert a floppy and do double click in the floppy icon it is mounted and the icon changed to "mount" state. But if I press in "umount" the icon still shows "mounted" state. I extract the floppy and if I do double click in the icon it shows still the files of the floppy. Pressing F5 to reload doesn't change the view. I do in a console "mount" and see that the floppy is not mounted, but KDE thinks that it's mounted and it's impossible to insert another floppy and see the content of it because media:/ always shows the content of the previous floppy. Recently I have installed Kubuntu Breezy in a PC and there is not this problem, but the version of hal, dbus, udev and pmount is higher in Kubuntu, so it's possible the bug is fixed in future upgrades in Debian, maybe but of course I'm not sure. I had the same problem. Upgrading to kde 3.5 (debian sid packages) solved the problem. Unfortunately, I must use hal 0.4.8. If I upgrade to 0.5.5.1, clicking in an unmounted floppy mounts it, but the new konqueror window is always busy and never displays the floppy contents. (should the last paragraph be a new bug report?) The problem in comment #12 is being discussed in #120619. Actually, this bug should be closed as the original problem has been fixed in early 3.5 development cycle. Obsoleted by KDE 3.5.x > ------- Additional Comments From ervin kde org 2006-06-09 21:23 -------
> Obsoleted by KDE 3.5.x
Obsoleted? maybe, but in many Debian with KDE and Kubuntu's I have installed
in new machines the floppy just didn't work with media:/.
I press in the floppy after entering a floppy and error appears. In new
Kubuntu installations.
in response to comment #15: The bug you're refering to is a quite different problem. See bug #120619 for more information. On the other hand, the bug in question here is present only in kde 3.4.x and is obsolete as of kde 3.5, because kde 3.5 got media hal backend rewritten early in development cycle. Ok, thanks for the explanation. |