Sushi Panic
New Member
Hello Minisforum
I have a brand new internal SATA 3 disk but it does not work at 6.0 GB/s but only at 3.0 Gb/s
# smartctl -a /dev/sda
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.10.0-3-amd64] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Western Digital Blue Mobile (SMR)
Device Model: WDC WD20SPZX-75UA7T1
Serial Number: XXXXXXXXXXXXXX
LU WWN Device Id: 5 0014ee 212811a96
Firmware Version: 12066712
User Capacity: 2,000,398,934,016 bytes [2.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 5400 rpm
Form Factor: 2.5 inches
TRIM Command: Available, deterministic
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-3 T13/2161-D revision 5
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Sat Feb 20 19:14:21 2021 PST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
root@kodlix:# cat /sys/devices/pci0000:00/0000:00:12.0/ata2/link2/ata_link/link2/sata_spd_limit
3.0 Gbps
The kernel (5.10) tries to talk to the disk at 6.0 Gb/s but fails and falls back to 3.0 Gb/s:
root@kodlix:~# dmesg | grep ata2
[ 2.481337] ata2: SATA max UDMA/133 abar m2048@0xa133b000 port 0xa133b180 irq 127
[ 3.560140] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 3.564811] ata2.00: ATA-10: WDC WD20SPZX-75UA7T1, 12066712, max UDMA/133
[ 3.568619] ata2.00: 3907029168 sectors, multi 16: LBA48 NCQ (depth 32), AA
[ 3.573291] ata2.00: configured for UDMA/133
[ 3.724000] ata2.00: exception Emask 0x50 SAct 0x8 SErr 0x280900 action 0x6 frozen
[ 3.727019] ata2.00: irq_stat 0x08000000, interface fatal error
[ 3.730070] ata2: SError: { UnrecovData HostInt 10B8B BadCRC }
[ 3.733103] ata2.00: failed command: READ FPDMA QUEUED
[ 3.736134] ata2.00: cmd 60/08:18:a0:88:e0/00:00:e8:00:00/40 tag 3 ncq dma 4096 in
[ 3.742207] ata2.00: status: { DRDY }
[ 3.745216] ata2: hard resetting link
[ 4.343974] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 4.352039] ata2.00: configured for UDMA/133
[ 4.388676] ata2: EH complete
[ 4.507925] ata2.00: exception Emask 0x50 SAct 0x20 SErr 0x280900 action 0x6 frozen
[ 4.510160] ata2.00: irq_stat 0x08000000, interface fatal error
[ 4.512438] ata2: SError: { UnrecovData HostInt 10B8B BadCRC }
[ 4.514743] ata2.00: failed command: READ FPDMA QUEUED
[ 4.516939] ata2.00: cmd 60/08:28:a0:88:e0/00:00:e8:00:00/40 tag 5 ncq dma 4096 in
[ 4.521366] ata2.00: status: { DRDY }
[ 4.523576] ata2: hard resetting link
[ 5.119933] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 5.128216] ata2.00: configured for UDMA/133
[ 5.134714] ata2: EH complete
[ 5.283961] ata2.00: exception Emask 0x50 SAct 0x200 SErr 0x280900 action 0x6 frozen
[ 5.290264] ata2.00: irq_stat 0x08000000, interface fatal error
[ 5.296414] ata2: SError: { UnrecovData HostInt 10B8B BadCRC }
[ 5.302469] ata2.00: failed command: READ FPDMA QUEUED
[ 5.308467] ata2.00: cmd 60/08:48:70:88:e0/00:00:e8:00:00/40 tag 9 ncq dma 4096 in
[ 5.320109] ata2.00: status: { DRDY }
[ 5.325835] ata2: hard resetting link
[ 5.863921] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 5.871448] ata2.00: configured for UDMA/133
[ 5.906433] ata2: EH complete
[ 11.588027] ata2.00: qc timeout (cmd 0x47)
[ 11.594479] ata2.00: READ LOG DMA EXT failed, trying PIO
[ 11.599723] ata2: failed to read log page 10h (errno=-5)
[ 11.605042] ata2.00: exception Emask 0x41 SAct 0x200000 SErr 0x880800 action 0x6 frozen
[ 11.610233] ata2.00: irq_stat 0x40000008
[ 11.615407] ata2: SError: { HostInt 10B8B LinkSeq }
[ 11.620594] ata2.00: failed command: READ FPDMA QUEUED
[ 11.625810] ata2.00: cmd 60/08:a8:d0:84:e0/00:00:e8:00:00/40 tag 21 ncq dma 4096 in
[ 11.636330] ata2.00: status: { DRDY }
[ 11.641039] ata2: hard resetting link
[ 12.124049] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 12.131642] ata2.00: configured for UDMA/133
[ 12.167102] ata2: EH complete
[ 12.348024] ata2: limiting SATA link speed to 3.0 Gbps
[ 12.354042] ata2.00: exception Emask 0x50 SAct 0x20 SErr 0x680901 action 0x6 frozen
[ 12.359382] ata2.00: irq_stat 0x08000000, interface fatal error
[ 12.364712] ata2: SError: { RecovData UnrecovData HostInt 10B8B BadCRC Handshk }
[ 12.370165] ata2.00: failed command: READ FPDMA QUEUED
[ 12.375543] ata2.00: cmd 60/08:28:38:00:00/00:00:00:00:00/40 tag 5 ncq dma 4096 in
[ 12.386261] ata2.00: status: { DRDY }
[ 12.391596] ata2: hard resetting link
[ 12.931963] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
[ 12.939647] ata2.00: configured for UDMA/133
[ 12.975418] ata2: EH complete
At first, I would like to blame the sata controller and not the hard drive. What is your understanding of this problem?
I have a brand new internal SATA 3 disk but it does not work at 6.0 GB/s but only at 3.0 Gb/s
# smartctl -a /dev/sda
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.10.0-3-amd64] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Western Digital Blue Mobile (SMR)
Device Model: WDC WD20SPZX-75UA7T1
Serial Number: XXXXXXXXXXXXXX
LU WWN Device Id: 5 0014ee 212811a96
Firmware Version: 12066712
User Capacity: 2,000,398,934,016 bytes [2.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 5400 rpm
Form Factor: 2.5 inches
TRIM Command: Available, deterministic
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-3 T13/2161-D revision 5
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Sat Feb 20 19:14:21 2021 PST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
root@kodlix:# cat /sys/devices/pci0000:00/0000:00:12.0/ata2/link2/ata_link/link2/sata_spd_limit
3.0 Gbps
The kernel (5.10) tries to talk to the disk at 6.0 Gb/s but fails and falls back to 3.0 Gb/s:
root@kodlix:~# dmesg | grep ata2
[ 2.481337] ata2: SATA max UDMA/133 abar m2048@0xa133b000 port 0xa133b180 irq 127
[ 3.560140] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 3.564811] ata2.00: ATA-10: WDC WD20SPZX-75UA7T1, 12066712, max UDMA/133
[ 3.568619] ata2.00: 3907029168 sectors, multi 16: LBA48 NCQ (depth 32), AA
[ 3.573291] ata2.00: configured for UDMA/133
[ 3.724000] ata2.00: exception Emask 0x50 SAct 0x8 SErr 0x280900 action 0x6 frozen
[ 3.727019] ata2.00: irq_stat 0x08000000, interface fatal error
[ 3.730070] ata2: SError: { UnrecovData HostInt 10B8B BadCRC }
[ 3.733103] ata2.00: failed command: READ FPDMA QUEUED
[ 3.736134] ata2.00: cmd 60/08:18:a0:88:e0/00:00:e8:00:00/40 tag 3 ncq dma 4096 in
[ 3.742207] ata2.00: status: { DRDY }
[ 3.745216] ata2: hard resetting link
[ 4.343974] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 4.352039] ata2.00: configured for UDMA/133
[ 4.388676] ata2: EH complete
[ 4.507925] ata2.00: exception Emask 0x50 SAct 0x20 SErr 0x280900 action 0x6 frozen
[ 4.510160] ata2.00: irq_stat 0x08000000, interface fatal error
[ 4.512438] ata2: SError: { UnrecovData HostInt 10B8B BadCRC }
[ 4.514743] ata2.00: failed command: READ FPDMA QUEUED
[ 4.516939] ata2.00: cmd 60/08:28:a0:88:e0/00:00:e8:00:00/40 tag 5 ncq dma 4096 in
[ 4.521366] ata2.00: status: { DRDY }
[ 4.523576] ata2: hard resetting link
[ 5.119933] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 5.128216] ata2.00: configured for UDMA/133
[ 5.134714] ata2: EH complete
[ 5.283961] ata2.00: exception Emask 0x50 SAct 0x200 SErr 0x280900 action 0x6 frozen
[ 5.290264] ata2.00: irq_stat 0x08000000, interface fatal error
[ 5.296414] ata2: SError: { UnrecovData HostInt 10B8B BadCRC }
[ 5.302469] ata2.00: failed command: READ FPDMA QUEUED
[ 5.308467] ata2.00: cmd 60/08:48:70:88:e0/00:00:e8:00:00/40 tag 9 ncq dma 4096 in
[ 5.320109] ata2.00: status: { DRDY }
[ 5.325835] ata2: hard resetting link
[ 5.863921] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 5.871448] ata2.00: configured for UDMA/133
[ 5.906433] ata2: EH complete
[ 11.588027] ata2.00: qc timeout (cmd 0x47)
[ 11.594479] ata2.00: READ LOG DMA EXT failed, trying PIO
[ 11.599723] ata2: failed to read log page 10h (errno=-5)
[ 11.605042] ata2.00: exception Emask 0x41 SAct 0x200000 SErr 0x880800 action 0x6 frozen
[ 11.610233] ata2.00: irq_stat 0x40000008
[ 11.615407] ata2: SError: { HostInt 10B8B LinkSeq }
[ 11.620594] ata2.00: failed command: READ FPDMA QUEUED
[ 11.625810] ata2.00: cmd 60/08:a8:d0:84:e0/00:00:e8:00:00/40 tag 21 ncq dma 4096 in
[ 11.636330] ata2.00: status: { DRDY }
[ 11.641039] ata2: hard resetting link
[ 12.124049] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 12.131642] ata2.00: configured for UDMA/133
[ 12.167102] ata2: EH complete
[ 12.348024] ata2: limiting SATA link speed to 3.0 Gbps
[ 12.354042] ata2.00: exception Emask 0x50 SAct 0x20 SErr 0x680901 action 0x6 frozen
[ 12.359382] ata2.00: irq_stat 0x08000000, interface fatal error
[ 12.364712] ata2: SError: { RecovData UnrecovData HostInt 10B8B BadCRC Handshk }
[ 12.370165] ata2.00: failed command: READ FPDMA QUEUED
[ 12.375543] ata2.00: cmd 60/08:28:38:00:00/00:00:00:00:00/40 tag 5 ncq dma 4096 in
[ 12.386261] ata2.00: status: { DRDY }
[ 12.391596] ata2: hard resetting link
[ 12.931963] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
[ 12.939647] ata2.00: configured for UDMA/133
[ 12.975418] ata2: EH complete
At first, I would like to blame the sata controller and not the hard drive. What is your understanding of this problem?