You are not logged in.
I need help in better understanding what's going on with my SATA<--->USB adapter.
Also, ATA error count increased maybe indicates Hard Disk is ... Dying... ?
Anyway, I don't care! It's an old Hard Disk with NO data in it.
I'm erasing it with zeroes right now.
Tell me what other logs do you need.
# lsusb -t
/: Bus 09.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
/: Bus 08.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
/: Bus 07.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
|__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=uas, 5000M
/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/2p, 12M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/5p, 12M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/5p, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/5p, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/5p, 480M
# lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 002: ID 174c:1153 ASMedia Technology Inc. ASM1153 SATA 3Gb/s bridge
Bus 007 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
# lsmod
# lsmod
Module Size Used by
amdgpu 10461184 0
gpu_sched 49152 1 amdgpu
drm_buddy 20480 1 amdgpu
rpcrdma 376832 2
rdma_cm 139264 1 rpcrdma
iw_cm 61440 1 rdma_cm
ib_cm 139264 1 rdma_cm
ib_core 450560 4 rdma_cm,rpcrdma,iw_cm,ib_cm
f71882fg 49152 0
edac_mce_amd 57344 0
ccp 135168 0
snd_hda_codec_realtek 172032 1
snd_hda_codec_generic 98304 1 snd_hda_codec_realtek
ledtrig_audio 16384 1 snd_hda_codec_generic
kvm 1150976 0
vfat 24576 1
snd_hda_codec_hdmi 86016 1
ntfs3 278528 2
fat 98304 1 vfat
radeon 1859584 1
irqbypass 16384 1 kvm
crct10dif_pclmul 16384 1
crc32_pclmul 16384 0
polyval_clmulni 16384 0
snd_hda_intel 61440 0
polyval_generic 16384 1 polyval_clmulni
gf128mul 16384 1 polyval_generic
snd_intel_dspcfg 36864 1 snd_hda_intel
snd_intel_sdw_acpi 20480 1 snd_intel_dspcfg
ghash_clmulni_intel 16384 0
snd_hda_codec 188416 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
video 65536 2 amdgpu,radeon
snd_hda_core 118784 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
sha512_ssse3 53248 0
aesni_intel 393216 0
snd_hwdep 16384 1 snd_hda_codec
r8169 98304 0
snd_pcm 172032 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
uas 32768 1
drm_ttm_helper 16384 2 amdgpu,radeon
snd_timer 49152 1 snd_pcm
ttm 94208 3 amdgpu,radeon,drm_ttm_helper
realtek 36864 1
snd 131072 8 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
pcspkr 16384 0
crypto_simd 16384 1 aesni_intel
mxm_wmi 16384 0
usb_storage 81920 1 uas
sp5100_tco 20480 0
cryptd 24576 2 crypto_simd,ghash_clmulni_intel
k10temp 16384 0
i2c_piix4 36864 0
drm_display_helper 184320 2 amdgpu,radeon
mdio_devres 16384 1 r8169
soundcore 16384 1 snd
cec 81920 1 drm_display_helper
libphy 172032 3 r8169,mdio_devres,realtek
wmi 45056 2 video,mxm_wmi
acpi_cpufreq 32768 0
cfg80211 1138688 0
rfkill 32768 2 cfg80211
mac_hid 16384 0
nfsd 757760 7
auth_rpcgss 159744 1 nfsd
nfs_acl 16384 1 nfsd
lockd 155648 1 nfsd
grace 16384 2 nfsd,lockd
sunrpc 712704 16 nfsd,rpcrdma,auth_rpcgss,lockd,nfs_acl
fuse 176128 1
loop 36864 0
dm_mod 192512 0
bpf_preload 24576 0
ip_tables 36864 0
x_tables 57344 1 ip_tables
ext4 1032192 3
crc32c_generic 16384 0
crc16 16384 1 ext4
mbcache 16384 1 ext4
jbd2 192512 1 ext4
crc32c_intel 24576 6
xhci_pci 24576 0
xhci_pci_renesas 24576 1 xhci_pci
# journalctl -q -b0 -k --no-pager -r --no-hostname: http://0x0.st/HXfP.txt
# journalctl -q -b0 -u smartd --no-pager -r --no-hostname: http://0x0.st/HXfK.csv
# smartctl -x /dev/sdf
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.1.23-1-lts] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Hitachi Deskstar 7K3000
Device Model: Hitachi HDS723020BLA642
Serial Number: MN3220F30BHK3E
LU WWN Device Id: 5 000cca 369c53a76
Firmware Version: MN6OA580
User Capacity: 2.000.398.934.016 bytes [2,00 TB]
Sector Size: 512 bytes logical/physical
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Device is: In smartctl database 7.3/5319
ATA Version is: ATA8-ACS T13/1699-D revision 4
SATA Version is: SATA 2.6, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Sun Apr 9 12:03:51 2023 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is: Unavailable
APM feature is: Disabled
Rd look-ahead is: Enabled
Write cache is: Enabled
DSN feature is: Unavailable
ATA Security is: Disabled, NOT FROZEN [SEC1]
Wt Cache Reorder: Enabled
=== START OF READ SMART DATA SECTION ===
SMART Status command failed
Please get assistance from https://www.smartmontools.org/
Register values returned from SMART Status command are:
ERR=0x00, SC=0x00, LL=0x00, LM=0x00, LH=0x00, DEV=0x00, STS=0x00
SMART Status not supported: Invalid ATA output register values
SMART overall-health self-assessment test result: PASSED
Warning: This result is based on an Attribute check.
General SMART Values:
Offline data collection status: (0x84) Offline data collection activity
was suspended by an interrupting command from host.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: (18523) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 309) minutes.
SCT capabilities: (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAGS VALUE WORST THRESH FAIL RAW_VALUE
1 Raw_Read_Error_Rate PO-R-- 100 100 016 - 0
2 Throughput_Performance P-S--- 136 136 054 - 80
3 Spin_Up_Time POS--- 135 135 024 - 423 (Average 425)
4 Start_Stop_Count -O--C- 100 100 000 - 1068
5 Reallocated_Sector_Ct PO--CK 100 100 005 - 0
7 Seek_Error_Rate PO-R-- 100 100 067 - 0
8 Seek_Time_Performance P-S--- 133 133 020 - 27
9 Power_On_Hours -O--C- 100 100 000 - 3621
10 Spin_Retry_Count PO--C- 100 100 060 - 0
12 Power_Cycle_Count -O--CK 100 100 000 - 727
192 Power-Off_Retract_Count -O--CK 100 100 000 - 1187
193 Load_Cycle_Count -O--C- 100 100 000 - 1187
194 Temperature_Celsius -O---- 139 139 000 - 43 (Min/Max 15/57)
196 Reallocated_Event_Count -O--CK 100 100 000 - 0
197 Current_Pending_Sector -O---K 100 100 000 - 0
198 Offline_Uncorrectable ---R-- 100 100 000 - 0
199 UDMA_CRC_Error_Count -O-R-- 200 200 000 - 2459
||||||_ K auto-keep
|||||__ C event count
||||___ R error rate
|||____ S speed/performance
||_____ O updated online
|______ P prefailure warning
General Purpose Log Directory Version 1
SMART Log Directory Version 1 [multi-sector log support]
Address Access R/W Size Description
0x00 GPL,SL R/O 1 Log Directory
0x01 SL R/O 1 Summary SMART error log
0x03 GPL R/O 1 Ext. Comprehensive SMART error log
0x04 GPL R/O 7 Device Statistics log
0x06 SL R/O 1 SMART self-test log
0x07 GPL R/O 1 Extended self-test log
0x08 GPL R/O 1 Power Conditions log
0x09 SL R/W 1 Selective self-test log
0x10 GPL R/O 1 NCQ Command Error log
0x11 GPL R/O 1 SATA Phy Event Counters log
0x20 GPL R/O 1 Streaming performance log [OBS-8]
0x21 GPL R/O 1 Write stream error log
0x22 GPL R/O 1 Read stream error log
0x80-0x9f GPL,SL R/W 16 Host vendor specific log
0xe0 GPL,SL R/W 1 SCT Command/Status
0xe1 GPL,SL R/W 1 SCT Data Transfer
SMART Extended Comprehensive Error Log Version: 1 (1 sectors)
Device Error Count: 2459 (device log contains only the most recent 4 errors)
CR = Command Register
FEATR = Features Register
COUNT = Count (was: Sector Count) Register
LBA_48 = Upper bytes of LBA High/Mid/Low Registers ] ATA-8
LH = LBA High (was: Cylinder High) Register ] LBA
LM = LBA Mid (was: Cylinder Low) Register ] Register
LL = LBA Low (was: Sector Number) Register ]
DV = Device (was: Device/Head) Register
DC = Device Control Register
ER = Error register
ST = Status register
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.
Error 2459 [2] occurred at disk power-on lifetime: 3621 hours (150 days + 21 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER -- ST COUNT LBA_48 LH LM LL DV DC
-- -- -- == -- == == == -- -- -- -- --
84 -- 51 04 00 00 00 a9 47 57 ff 09 00 Error: ICRC, ABRT at LBA = 0xa94757ff = 2840025087
Commands leading to the command that caused the error were:
CR FEATR COUNT LBA_48 LH LM LL DV DC Powered_Up_Time Command/Feature_Name
-- == -- == -- == == == -- -- -- -- -- --------------- --------------------
61 04 00 03 4d 00 00 a9 47 58 b3 49 ff 19:57:34.615 WRITE FPDMA QUEUED
61 04 00 00 28 00 00 a9 47 5f ff 40 00 19:56:10.110 WRITE FPDMA QUEUED
61 04 00 00 20 00 00 a9 47 5b ff 40 00 19:56:10.108 WRITE FPDMA QUEUED
61 04 00 00 00 00 00 a9 47 57 ff 40 00 19:56:10.106 WRITE FPDMA QUEUED
61 04 00 00 18 00 00 a9 47 53 ff 40 00 19:56:10.105 WRITE FPDMA QUEUED
Error 2458 [1] occurred at disk power-on lifetime: 3621 hours (150 days + 21 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER -- ST COUNT LBA_48 LH LM LL DV DC
-- -- -- == -- == == == -- -- -- -- --
84 -- 51 03 4d 00 00 a9 47 58 b2 09 00 Error: ICRC, ABRT at LBA = 0xa94758b2 = 2840025266
Commands leading to the command that caused the error were:
CR FEATR COUNT LBA_48 LH LM LL DV DC Powered_Up_Time Command/Feature_Name
-- == -- == -- == == == -- -- -- -- -- --------------- --------------------
61 04 00 03 4d 00 00 a9 47 58 b3 49 ff 19:57:34.615 WRITE FPDMA QUEUED
61 04 00 00 28 00 00 a9 47 5f ff 40 00 19:56:10.110 WRITE FPDMA QUEUED
61 04 00 00 20 00 00 a9 47 5b ff 40 00 19:56:10.108 WRITE FPDMA QUEUED
61 04 00 00 00 00 00 a9 47 57 ff 40 00 19:56:10.106 WRITE FPDMA QUEUED
61 04 00 00 18 00 00 a9 47 53 ff 40 00 19:56:10.105 WRITE FPDMA QUEUED
Error 2457 [0] occurred at disk power-on lifetime: 3621 hours (150 days + 21 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER -- ST COUNT LBA_48 LH LM LL DV DC
-- -- -- == -- == == == -- -- -- -- --
84 -- 51 04 00 00 00 a9 3a 9f ff 09 00 Error: ICRC, ABRT at LBA = 0xa93a9fff = 2839191551
Commands leading to the command that caused the error were:
CR FEATR COUNT LBA_48 LH LM LL DV DC Powered_Up_Time Command/Feature_Name
-- == -- == -- == == == -- -- -- -- -- --------------- --------------------
61 04 00 03 85 00 00 a9 3a a0 7b 49 ff 19:56:06.419 WRITE FPDMA QUEUED
61 04 00 00 28 00 00 a9 3a a7 ff 40 00 19:55:35.753 WRITE FPDMA QUEUED
61 04 00 00 00 00 00 a9 3a a3 ff 40 00 19:55:35.751 WRITE FPDMA QUEUED
61 04 00 00 20 00 00 a9 3a 9f ff 40 00 19:55:35.750 WRITE FPDMA QUEUED
61 04 00 00 18 00 00 a9 3a 9b ff 40 00 19:55:35.747 WRITE FPDMA QUEUED
Error 2456 [3] occurred at disk power-on lifetime: 3621 hours (150 days + 21 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER -- ST COUNT LBA_48 LH LM LL DV DC
-- -- -- == -- == == == -- -- -- -- --
84 -- 51 03 85 00 00 a9 3a a0 7a 09 00 Error: ICRC, ABRT at LBA = 0xa93aa07a = 2839191674
Commands leading to the command that caused the error were:
CR FEATR COUNT LBA_48 LH LM LL DV DC Powered_Up_Time Command/Feature_Name
-- == -- == -- == == == -- -- -- -- -- --------------- --------------------
61 04 00 03 85 00 00 a9 3a a0 7b 49 ff 19:56:06.419 WRITE FPDMA QUEUED
61 04 00 00 28 00 00 a9 3a a7 ff 40 00 19:55:35.753 WRITE FPDMA QUEUED
61 04 00 00 00 00 00 a9 3a a3 ff 40 00 19:55:35.751 WRITE FPDMA QUEUED
61 04 00 00 20 00 00 a9 3a 9f ff 40 00 19:55:35.750 WRITE FPDMA QUEUED
61 04 00 00 18 00 00 a9 3a 9b ff 40 00 19:55:35.747 WRITE FPDMA QUEUED
SMART Extended Self-test Log Version: 1 (1 sectors)
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended captive Completed without error 00% 3592 -
# 2 Short offline Completed without error 00% 2960 -
# 3 Short offline Completed without error 00% 192 -
# 4 Extended captive Interrupted (host reset) 90% 186 -
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
SCT Status Version: 3
SCT Version (vendor specific): 256 (0x0100)
Device State: SMART Off-line Data Collection executing in background (4)
Current Temperature: 43 Celsius
Power Cycle Min/Max Temperature: 21/43 Celsius
Lifetime Min/Max Temperature: 15/57 Celsius
Under/Over Temperature Limit Count: 0/0
SCT Temperature History Version: 2
Temperature Sampling Period: 1 minute
Temperature Logging Interval: 1 minute
Min/Max recommended Temperature: 0/60 Celsius
Min/Max Temperature Limit: -40/70 Celsius
Temperature History Size (Index): 128 (125)
Index Estimated Time Temperature Celsius
126 2023-04-09 09:57 43 ************************
127 2023-04-09 09:58 43 ************************
0 2023-04-09 09:59 43 ************************
1 2023-04-09 10:00 42 ***********************
2 2023-04-09 10:01 43 ************************
... ..(122 skipped). .. ************************
125 2023-04-09 12:04 43 ************************
SCT Error Recovery Control:
Read: Disabled
Write: Disabled
Device Statistics (GP Log 0x04)
Page Offset Size Value Flags Description
0x01 ===== = = === == General Statistics (rev 1) ==
0x01 0x008 4 727 --- Lifetime Power-On Resets
0x01 0x010 4 3621 --- Power-on Hours
0x01 0x018 6 15836977599 --- Logical Sectors Written
0x01 0x020 6 32350177 --- Number of Write Commands
0x01 0x028 6 550326029141 --- Logical Sectors Read
0x01 0x030 6 163140391 --- Number of Read Commands
0x03 ===== = = === == Rotating Media Statistics (rev 1) ==
0x03 0x008 4 3114 --- Spindle Motor Power-on Hours
0x03 0x010 4 3114 --- Head Flying Hours
0x03 0x018 4 1187 --- Head Load Events
0x03 0x020 4 0 --- Number of Reallocated Logical Sectors
0x03 0x028 4 875 --- Read Recovery Attempts
0x03 0x030 4 7 --- Number of Mechanical Start Failures
0x04 ===== = = === == General Errors Statistics (rev 1) ==
0x04 0x008 4 0 --- Number of Reported Uncorrectable Errors
0x04 0x010 4 1934 --- Resets Between Cmd Acceptance and Completion
0x05 ===== = = === == Temperature Statistics (rev 1) ==
0x05 0x008 1 43 --- Current Temperature
0x05 0x010 1 40 N-- Average Short Term Temperature
0x05 0x018 1 32 N-- Average Long Term Temperature
0x05 0x020 1 57 --- Highest Temperature
0x05 0x028 1 15 --- Lowest Temperature
0x05 0x030 1 49 N-- Highest Average Short Term Temperature
0x05 0x038 1 22 N-- Lowest Average Short Term Temperature
0x05 0x040 1 48 N-- Highest Average Long Term Temperature
0x05 0x048 1 25 N-- Lowest Average Long Term Temperature
0x05 0x050 4 0 --- Time in Over-Temperature
0x05 0x058 1 60 --- Specified Maximum Operating Temperature
0x05 0x060 4 0 --- Time in Under-Temperature
0x05 0x068 1 0 --- Specified Minimum Operating Temperature
0x06 ===== = = === == Transport Statistics (rev 1) ==
0x06 0x008 4 7771 --- Number of Hardware Resets
0x06 0x010 4 5682 --- Number of ASR Events
0x06 0x018 4 2459 --- Number of Interface CRC Errors
|||_ C monitored condition met
||__ D supports DSN
|___ N normalized value
Pending Defects log (GP Log 0x0c) not supported
SATA Phy Event Counters (GP Log 0x11)
ID Size Value Description
0x0001 2 0 Command failed due to ICRC error
0x0002 2 0 R_ERR response for data FIS
0x0003 2 0 R_ERR response for device-to-host data FIS
0x0004 2 0 R_ERR response for host-to-device data FIS
0x0005 2 0 R_ERR response for non-data FIS
0x0006 2 0 R_ERR response for device-to-host non-data FIS
0x0007 2 0 R_ERR response for host-to-device non-data FIS
0x0009 2 1928 Transition from drive PhyRdy to drive PhyNRdy
0x000a 2 1929 Device-to-host register FISes sent due to a COMRESET
0x000b 2 0 CRC errors within host-to-device FIS
0x000d 2 0 Non-CRC errors within host-to-device FIS
# cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-linux-lts root=UUID=48e13425-ec67-43ff-83f5-0ceb88ad3e8e rw xhci_hcd.quirks=270336
Last edited by d.ALT (2023-06-01 10:41:23)
<49,17,III,I> Fama di loro il mondo esser non lassa;
<50,17,III,I> misericordia e giustizia li sdegna:
<51,17,III,I> non ragioniam di lor, ma guarda e passa.
Offline
WORKAROUND: falling back to from uas to usb_storage.
$ sudo cat /etc/modprobe.d/usb_storage.conf:
options usb-storage quirks=174c:1153:u
$ sudo cat /etc/modprobe.d/blacklist.conf:
install uas /bin/true
$ sudo dmesg:
usb 8-3: new SuperSpeed USB device number 2 using xhci_hcd
usb 8-3: New USB device found, idVendor=174c, idProduct=1153, bcdDevice= 1.00
usb 8-3: New USB device strings: Mfr=2, Product=3, SerialNumber=1
usb 8-3: Product: Ugreen Storage Device
usb 8-3: Manufacturer: Ugreen
usb 8-3: SerialNumber: 26A1EE8321C5
usb 8-3: UAS is ignored for this device, using usb-storage instead
usb-storage 8-3:1.0: USB Mass Storage device detected
usb-storage 8-3:1.0: Quirks match for vid 174c pid 1153: 800000
scsi host10: usb-storage 8-3:1.0
usbcore: registered new interface driver usb-storage
<49,17,III,I> Fama di loro il mondo esser non lassa;
<50,17,III,I> misericordia e giustizia li sdegna:
<51,17,III,I> non ragioniam di lor, ma guarda e passa.
Offline