Created attachment 134205 [details] Strange sequence in ejecting USB drive device using Device Notifier Applet SUMMARY Since Plasma 5.20.4, we remark a strange behavior when ejecting a USB disk-based device. Kernel seems complain about missing device while udisks has been ejected it. See attached log. STEPS TO REPRODUCE 1. Plug a USB-based disk (USB key, USB Harddrive,...) 2. Mount partition while proposed by Disks and Device Notification applet. 3. Open Dolphin. 4. Close Dolphin window. 5. In Disks and Devices Notification applet, click on Remove securely. 6. See system logs. OBSERVED RESULT kernel: scsi_io_completion_action: 6 callbacks suppressed kernel: sd 4:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=0s kernel: sd 4:0:0:0: [sdb] tag#0 Sense Key : Not Ready [current] kernel: sd 4:0:0:0: [sdb] tag#0 Add. Sense: Medium not present kernel: sd 4:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 01 00 kernel: print_req_error: 6 callbacks suppressed kernel: blk_update_request: I/O error, dev sdb, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 kernel: buffer_io_error: 54 callbacks suppressed EXPECTED RESULT No such errors. SOFTWARE/OS VERSIONS Operating System: Mageia 8 KDE Plasma Version: 5.20.4 KDE Frameworks Version: 5.76.0 Qt Version: 5.15.2 Kernel Version: 5.10.1-desktop-2.mga8 OS Type: 64-bit Processors: 4 × Intel® Core™ i5-6600K CPU @ 3.50GHz Memory: 15.6 Gio of RAM Graphics Processor: GeForce GTX 1660 Ti/PCIe/SSE2 ADDITIONAL INFORMATION USB device seems fine. Files are OK. fsck reports no errors. Note that using mount/umount as root there is no such errors.
Distribution bug report: https://bugs.mageia.org/show_bug.cgi?id=27877
Feels like a kernel or middleware bug; I'm not aware of any changes between 5.20.3 and 5.20.4 that could have caused this. Your other bug report indicates that you upgraded from the 5.9.12 kernel to the 5.10.1 Kernel so I would recommend starting there. Thanks!
No, after some try, https://github.com/storaged-project/udisks/issues/827 The issue is really when clicking on Plasma UI, when I want to remove the device, when clicking on "Remove device safely".
>The issue is really when clicking on Plasma UI, What do you think the issue our side is?
(In reply to David Edmundson from comment #4) > >The issue is really when clicking on Plasma UI, > > What do you think the issue our side is? No, after many strace, the issue is in kernel 5.10, not in Plasma API.
*** Bug 430920 has been marked as a duplicate of this bug. ***