[Bug 1189136] New: mount applet ignores card reader after umount
http://bugzilla.opensuse.org/show_bug.cgi?id=1189136 Bug ID: 1189136 Summary: mount applet ignores card reader after umount Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: KDE Workspace (Plasma) Assignee: opensuse-kde-bugs@opensuse.org Reporter: P.Suetterlin@royac.iac.es QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- After upgrade to TW 20210731, the mount applet of KDE/Plasma ignores my card reader after I have mounted and safely removed it once. I.e., after boot, when I insert an SD card the removable devices dialog pops up and allows me to mount the card. As soon as I 'Safely Remove' it after use, the card reader becomes invisible to the applet. It is not listed in the volumes of the applet, so I cannot use it to mount a card inserted there (I don't automount, only on manual request). If I open the settings dialog, an inserted card is listed there, also /proc/partitions does show it: 179 0 7761920 mmcblk0 179 1 7757824 mmcblk0p1 and I can manually (from terminal) mount the card. Just not from the applet anymore. It looks a bit similar to the (IMO brain-dead) behavior to completely remove USB devices from the system when umounting it - one has to dis- and reconnect the device to make it visible again. The card reader, however, is built in fix in my laptop. No way to disconnect it. Only removing and re-inserting the SD-card (or even a different one) doesn't help. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1189136 http://bugzilla.opensuse.org/show_bug.cgi?id=1189136#c1 --- Comment #1 from Peter S�tterlin <P.Suetterlin@royac.iac.es> --- Nothing happening here? Meanwhile I'm at 20210915, still the same issue. The removable devices widget is completely useless in this current state. I've disabled it. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1189136 http://bugzilla.opensuse.org/show_bug.cgi?id=1189136#c3 Peter S�tterlin <P.Suetterlin@royac.iac.es> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(P.Suetterlin@roya | |c.iac.es) | --- Comment #3 from Peter S�tterlin <P.Suetterlin@royac.iac.es> --- Thanks for looking at that!
Please try the following:
1. Insert a card 2. Wait for the notification, mount the device
Done. No issues.
3. Run "udisksctl unmount -p /dev/mmcblk0p1"
I get an error message: woodstock:~% udisksctl unmount -p /dev/mmcblk0p1 (udisksctl unmount:7959): GLib-GIO-CRITICAL **: 13:54:13.601: g_dbus_object_manager_get_object: assertion 'g_variant_is_object_path (object_path)' failed Error looking up object with path /dev/mmcblk0p1 Following the manpage, I assume it should have been udisksctl unmount -p block_devices/mmcblk0p1 Before finding that, I had already unmounted the unit using the applet. With that,
4. Does "udisksctl status" still show it? Still listed by lsblk?
If the card is in, yes. If I remove it, not. After re-inserting, the applet still says 'no removable devices connected'
5. Run "udisksctl power-off -p /dev/mmcblk0p1"
woodstock:~% udisksctl power-off -p block_devices/mmcblk0p1 (udisksctl power-off:8861): GLib-GIO-CRITICAL **: 14:08:27.312: g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed Segmentation fault (core dumped) Ooops!?
6. Does "udisksctl status" still show it? Still listed by lsblk?
Yes, both show it. And I can manually mount it. Also in that state (mounted) the applet says no devices connected....
7. Re-insert the card and wait a bit 8. Does "udisksctl status" show it? Does lsblk show it?
Even without waiting, both immediately show the unit. Applet still says no devices connected. Maybe worth to mention: If I open the settings manager for the applet, under removable devices it *is* listed under "Attached Devices". For a test, I enabled automatic mounting (it is disabled on purpose on this machine). With that, if I insert the card, it *does* get automatically mounted! But the applet still says 'No removable devices attached', so I cannot use that to unmount it.... But "udisksctl unmount -p block_devices/mmcblk0p1" does work. udiskctl and lsblk still can see the device after umounting, and I can also mount it again (without ejecting re-inserting) with "udisksctl mount -p block_devices/mmcblk0p1" -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com