udisks icon indicating copy to clipboard operation
udisks copied to clipboard

Samsung Evo 850 Error probing device

Open perdrix52 opened this issue 4 years ago • 4 comments

Linux charon 5.4.0-51-generic #56-Ubuntu SMP Mon Oct 5 14:28:49 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Oct 19 14:52:11 charon udisksd[757]: Error probing device: Error sending ATA command IDENTIFY DEVICE to '/dev/sdc': Unexpected sense data returned: 0000: 70 00 01 00 00 00 00 0a 00 00 00 00 00 1d 00 00 p............... 0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ (g-io-error-quark, 0) Cheers David

perdrix52 avatar Oct 19 '20 14:10 perdrix52

This indicates the device has returned bad data and can be ignored in most cases, but not all information may be present. There's not much to be done on UDisks side, unless you want to decode the error sense data and check what the drive is trying to tell you.

tbzatek avatar Oct 19 '20 14:10 tbzatek

Sadly I wouldn't know how to begin to decode that SATA sense data. It's just that this happens quite a few times whenever I connect the disk ... and ends up in the system logs.

perdrix52 avatar Oct 19 '20 14:10 perdrix52

Could you please post udevadm info /dev/sdc here?

tbzatek avatar Oct 02 '23 14:10 tbzatek

Hi, after trying out a new device for the first time and getting this error, I found this bug report. Here is journalctl -f output upon plugging the device:

2024-03-26T10:17:28+01:00 hostname kernel: usb 2-3: new SuperSpeed Plus Gen 2x1 USB device number 2 using xhci_hcd
2024-03-26T10:17:28+01:00 hostname kernel: usb 2-3: New USB device found, idVendor=2d01, idProduct=d709, bcdDevice=f0.01
2024-03-26T10:17:28+01:00 hostname kernel: usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
2024-03-26T10:17:28+01:00 hostname kernel: usb 2-3: Product: SHARGE DISK
2024-03-26T10:17:28+01:00 hostname kernel: usb 2-3: Manufacturer: SHARGE
2024-03-26T10:17:28+01:00 hostname kernel: usb 2-3: SerialNumber: 012345681100
2024-03-26T10:17:28+01:00 hostname kernel: usb 2-3: Enable of device-initiated U1 failed.
2024-03-26T10:17:28+01:00 hostname kernel: usb 2-3: Enable of device-initiated U2 failed.
2024-03-26T10:17:28+01:00 hostname mtp-probe[83705]: checking bus 2, device 2: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3"
2024-03-26T10:17:28+01:00 hostname mtp-probe[83705]: bus: 2, device: 2 was not an MTP device
2024-03-26T10:17:28+01:00 hostname kernel: usbcore: registered new interface driver usb-storage
2024-03-26T10:17:28+01:00 hostname kernel: usb 2-3: Enable of device-initiated U1 failed.
2024-03-26T10:17:28+01:00 hostname kernel: usb 2-3: Enable of device-initiated U2 failed.
2024-03-26T10:17:28+01:00 hostname kernel: scsi host0: uas
2024-03-26T10:17:28+01:00 hostname kernel: usbcore: registered new interface driver uas
2024-03-26T10:17:28+01:00 hostname mtp-probe[83717]: checking bus 2, device 2: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3"
2024-03-26T10:17:28+01:00 hostname mtp-probe[83717]: bus: 2, device: 2 was not an MTP device
2024-03-26T10:17:29+01:00 hostname kernel: scsi 0:0:0:0: Direct-Access     SHARGE   DISK             1.00 PQ: 0 ANSI: 6
2024-03-26T10:17:29+01:00 hostname kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0
2024-03-26T10:17:29+01:00 hostname kernel: sd 0:0:0:0: [sda] 4000797360 512-byte logical blocks: (2.05 TB/1.86 TiB)
2024-03-26T10:17:29+01:00 hostname kernel: sd 0:0:0:0: [sda] Write Protect is off
2024-03-26T10:17:29+01:00 hostname kernel: sd 0:0:0:0: [sda] Mode Sense: 37 00 00 08
2024-03-26T10:17:29+01:00 hostname kernel: sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
2024-03-26T10:17:29+01:00 hostname kernel: sd 0:0:0:0: [sda] Preferred minimum I/O size 512 bytes
2024-03-26T10:17:29+01:00 hostname kernel: sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes
2024-03-26T10:17:29+01:00 hostname kernel: sd 0:0:0:0: [sda] Attached SCSI disk
2024-03-26T10:17:29+01:00 hostname udisksd[1101]: 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    ................
                                                 0010: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00    ................
                                                  (g-io-error-quark, 0)

This is on Arch Linux with kernel Linux hostname 6.8.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 16 Mar 2024 17:15:35 +0000 x86_64 GNU/Linux and udisks2 v2.10.1-4. The enclosure is a Sharge Disk and the drive a WD SN740 2230 2 TB model SDDPTQE-2T00.

Here is the output of udevadm info /dev/sda:

P: /devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/host0/target0:0:0/0:0:0:0/block/sda
M: sda
U: block
T: disk
D: b 8:0
N: sda
L: 0
S: disk/by-id/ata-WD_PC_SN740_SDDPTQE-2T00_23332W803877
S: disk/by-path/pci-0000:00:14.0-usbv3-0:3:1.0-scsi-0:0:0:0
S: disk/by-path/pci-0000:00:14.0-usb-0:3:1.0-scsi-0:0:0:0
S: disk/by-diskseq/4
S: disk/by-id/usb-SHARGE_DISK_012345681100-0:0
Q: 4
E: DEVPATH=/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/host0/target0:0:0/0:0:0:0/block/sda
E: DEVNAME=/dev/sda
E: DEVTYPE=disk
E: DISKSEQ=4
E: MAJOR=8
E: MINOR=0
E: SUBSYSTEM=block
E: USEC_INITIALIZED=25381595915
E: DM_MULTIPATH_DEVICE_PATH=0
E: ID_ATA=1
E: ID_TYPE=disk
E: ID_BUS=ata
E: ID_MODEL=WD_PC_SN740_SDDPTQE-2T00
E: ID_MODEL_ENC=WD\x20PC\x20SN740\x20SDDPTQE-2T00\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
E: ID_REVISION=73110000
E: ID_SERIAL=WD_PC_SN740_SDDPTQE-2T00_23332W803877
E: ID_SERIAL_SHORT=23332W803877
E: ID_ATA_PERIPHERAL_DEVICE_TYPE=0
E: ID_USB_MODEL=DISK
E: ID_USB_MODEL_ENC=DISK\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
E: ID_USB_MODEL_ID=d709
E: ID_USB_SERIAL=SHARGE_DISK_012345681100-0:0
E: ID_USB_SERIAL_SHORT=012345681100
E: ID_USB_VENDOR=SHARGE
E: ID_USB_VENDOR_ENC=SHARGE\x20\x20
E: ID_USB_VENDOR_ID=2d01
E: ID_USB_REVISION=1.00
E: ID_USB_TYPE=disk
E: ID_USB_INSTANCE=0:0
E: ID_USB_INTERFACES=:080650:080662:
E: ID_USB_INTERFACE_NUM=00
E: ID_USB_DRIVER=uas
E: ID_PATH_WITH_USB_REVISION=pci-0000:00:14.0-usbv3-0:3:1.0-scsi-0:0:0:0
E: ID_PATH=pci-0000:00:14.0-usb-0:3:1.0-scsi-0:0:0:0
E: ID_PATH_TAG=pci-0000_00_14_0-usb-0_3_1_0-scsi-0_0_0_0
E: DEVLINKS=/dev/disk/by-id/ata-WD_PC_SN740_SDDPTQE-2T00_23332W803877 /dev/disk/by-path/pci-0000:00:14.0-usbv3-0:3:1.0-scsi-0:0:0:0 /dev/disk/by-path/pci-0000:00:14.0-usb-0:3:1.0-scsi-0:0:0:0 /dev/disk/by-diskseq/4 /dev/disk/by-id/usb-SHARGE_DISK_012345681100-0:0
E: TAGS=:systemd:
E: CURRENT_TAGS=:systemd:

Hope this helps!

neitsab avatar Mar 26 '24 09:03 neitsab