Bugzilla – Bug 1216055
udisk2 is preventing a USB drive
Last modified: 2023-11-10 09:40:14 UTC
Most recent version of Tumbleweed will not allow me to mount a 1TB external drive but is happy will a USB stick [code] gerry@Unknown-18-c0-4d-6a-ed-f9:~> sudo /usr/libexec/udisks2/udisksd -rd [sudo] password for root: udisks-Message: 13:18:40.248: udisks daemon version 2.10.0 starting udisks-Message: 13:18:40.388: Acquired the name org.freedesktop.UDisks2 on the system message bus (udisksd:27562): udisks-CRITICAL **: 13:18:58.130: Error probing device: Error sending ATA command IDENTIFY DEVICE to '/dev/sda': Unexpected sense data returned: 0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ [/code]
More detail on https://forums.opensuse.org/t/usb-external-storage-failure-mysteries/169725
(In reply to Gerry Gavigan from comment #0) > Most recent version of Tumbleweed will not allow me to mount a 1TB external > drive but is happy will a USB stick > > [code] > gerry@Unknown-18-c0-4d-6a-ed-f9:~> sudo /usr/libexec/udisks2/udisksd -rd > [sudo] password for root: > udisks-Message: 13:18:40.248: udisks daemon version 2.10.0 starting > udisks-Message: 13:18:40.388: Acquired the name org.freedesktop.UDisks2 on > the system message bus > > (udisksd:27562): udisks-CRITICAL **: 13:18:58.130: Error probing device: > Error sending ATA command IDENTIFY DEVICE to '/dev/sda': Unexpected sense > data returned: > 0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ > [/code] According to: https://github.com/storaged-project/udisks/issues/1153 this message is just cosmetic and doesn't indicate a real problem. So, the mount error might be caused by something else. Please attach the external drive, then install the supportutils package and follow: https://documentation.suse.com/sles/15-SP5/html/SLES-all/cha-adm-support.html to provide a full system log.
Created attachment 870082 [details] system log as requested
FWIW I started here: https://discuss.kde.org/t/kde-plasma-freezes-entirely-when-trying-to-copy-a-file-from-usb-memory-card/5827 which seemed to be a similar problem and arrived at udisks2 after advice received here https://forums.opensuse.org/t/usb-external-storage-failure-mysteries/169725/9
(In reply to Gerry Gavigan from comment #4) > FWIW I started here: > > https://discuss.kde.org/t/kde-plasma-freezes-entirely-when-trying-to-copy-a- > file-from-usb-memory-card/5827 > > which seemed to be a similar problem > > and arrived at udisks2 after advice received here > > https://forums.opensuse.org/t/usb-external-storage-failure-mysteries/169725/9 Thanks for the details. The error in the logs looks like: https://github.com/storaged-project/udisks/issues/1139#issuecomment-1635857149 It should be fixed by: https://github.com/storaged-project/udisks/pull/1162 I will provide a testpackage with that patch, please stay tuned.
(In reply to Thomas Blume from comment #5) > The error in the logs looks like: > > https://github.com/storaged-project/udisks/issues/1139#issuecomment- > 1635857149 > > It should be fixed by: > > https://github.com/storaged-project/udisks/pull/1162 > > I will provide a testpackage with that patch, please stay tuned. A test package is available at: https://download.opensuse.org/repositories/home:/tsaupe:/branches:/Base:/System:/udisks2-boo1216055/standard/ Please test whether it fixes the issue.
As I don't really know what I am doing I stopped here subject to advice: gerry@Unknown-18-c0-4d-6a-ed-f9:~/Downloads> sudo rpm -i udi* [sudo] password for root: warning: udisks2-2.10.0-123.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 5d5ceeec: NOKEY file /usr/bin/udisksctl from install of udisks2-2.10.0-123.1.x86_64 conflicts with file from package udisks2-2.10.0-1.1.x86_64 file /usr/libexec/udisks2/udisksd from install of udisks2-2.10.0-123.1.x86_64 conflicts with file from package udisks2-2.10.0-1.1.x86_64 file /usr/sbin/umount.udisks2 from install of udisks2-2.10.0-123.1.x86_64 conflicts with file from package udisks2-2.10.0-1.1.x86_64 gerry@Unknown-18-c0-4d-6a-ed-f9:~/Downloads>
(In reply to Gerry Gavigan from comment #7) > As I don't really know what I am doing I stopped here subject to advice: > > gerry@Unknown-18-c0-4d-6a-ed-f9:~/Downloads> sudo rpm -i udi* > [sudo] password for root: > warning: udisks2-2.10.0-123.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, > key ID 5d5ceeec: NOKEY > file /usr/bin/udisksctl from install of udisks2-2.10.0-123.1.x86_64 > conflicts with file from package udisks2-2.10.0-1.1.x86_64 > file /usr/libexec/udisks2/udisksd from install of > udisks2-2.10.0-123.1.x86_64 conflicts with file from package > udisks2-2.10.0-1.1.x86_64 > file /usr/sbin/umount.udisks2 from install of > udisks2-2.10.0-123.1.x86_64 conflicts with file from package > udisks2-2.10.0-1.1.x86_64 > gerry@Unknown-18-c0-4d-6a-ed-f9:~/Downloads> You should use rpm -Uhv instead of rpm -i or simply zypper: zypper ar https://download.opensuse.org/repositories/home:/tsaupe:/branches:/Base:/System:/udisks2-boo1216055/standard/home:tsaupe:branches:Base:System:udisks2-boo1216055.repo zypper ref zypper in --from home_tsaupe_branches_Base_System_udisks2-boo1216055 udisks2 libudisks2-0 See the documentation at: https://doc.opensuse.org/documentation/leap/archive/42.2/reference/html/book.opensuse.reference/cha.sw_cl.html for details.
Everything back to the way it was. Thank you
One last thing As a result of this experience I decided to create a second archive using an m.2 drive in a USB enclosure Unfortunately this does not show up in partitioner. May I ask if this is a related or separate problem?
(In reply to Gerry Gavigan from comment #10) > One last thing > > As a result of this experience I decided to create a second archive using an > m.2 drive in a USB enclosure > > Unfortunately this does not show up in partitioner. > > May I ask if this is a related or separate problem? Usually it is rather a kernel/driver/udev problem if a device is not showing up in the partitioner. That is most probably unrelated to udisks2.
closing as fixed