Bug 430920 - Unmounting usb storage device via Dolphin results in IO errors
Summary: Unmounting usb storage device via Dolphin results in IO errors
Status: RESOLVED DUPLICATE of bug 430584
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 20.08.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-28 21:43 UTC by Tom Seewald
Modified: 2021-01-05 16:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
dmesg output that includes mounting + unmounting along with resulting IO errors (7.57 KB, text/plain)
2020-12-28 21:43 UTC, Tom Seewald
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Seewald 2020-12-28 21:43:40 UTC
Created attachment 134374 [details]
dmesg output that includes mounting + unmounting along with resulting IO errors

SUMMARY
Unmounting a Sansa Clip+ [1] along with its SD card via Dolphin in KDE Plasma 5.20 results in I/O errors and at times the unmounted fs needs to have fsck run on it afterwards.

Why I believe this is related to KDE Plasma and is not a hardware issue:
1. I can unmount both the device and the sd card without any issues via the umount command.
2. I can unmount both the device and the sd card without any issues through Gnome Files when running Gnome 3.38.


STEPS TO REPRODUCE
1. Connect a Sandisk Sansa Clip+ along with a removable micro sd card to the computer via USB.
2. Make sure one or both devices are mounted.
3. Attempt to unmount either the Clip+ or the SD card with Dolphin by right-clicking their respective entry and selecting "Safely Remove" from the context menu.

OBSERVED RESULT
Instead of unmounting properly there are I/O errors in dmesg and occasionally there is file system corruption. See the attached dmesg output for specific details.

EXPECTED RESULT
The device and its storage are properly unmounted without any errors.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 33 KDE Spin
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
This appears to be a regression, as this issue did not occur in KDE Plasma 5.19 and earlier.

The Sansa Clip+ is a portable music player that has a slot for a micro SD card, hence when it is mounted there is both the Sansa Clip+ with its 8GB of internal storage, along with the micro sd card inside of the device.

[1] https://kb.sandisk.com/app/answers/detail/a_id/4303/~/sansa-clip%2B-%2F-clip-support-information-page
Comment 1 Nate Graham 2021-01-05 16:33:27 UTC

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