Other SSD drive appears to have been "downgraded" from SATA 2 to SATA 1

rawthey

Member

Reaction score: 6
Messages: 53

I have two allegedly identical SanDisk SATA 3 SSD drives connected to my SATA 2 motherboard as a ZFS mirror. Until yesterday both these drives were happily operating in SATA2 mode at 300MB/s but now one of the drives (ada0) is only running in SATA 1 mode at 150MB/s.

I've swapped the drive connections between the SATA ports and tried different cables but the same drive still shows up as SATA 1 so I'm assuming the discrepancy lies with the drive and not the motherboard or drivers.

It appears that the problem first arose yesterday when I re-partitioned the drive to overcome a problem which had been preventing me from booting from it. Copies of /var/run/dmesg.boot from my backups prior to that show that the drive was performing as SATA 2 300MB/s.

Before re-partitioning the drive I used camcontrol to clear its contents and mark all cells empty with:

camcontrol security ada0 -s buhbyesweetdata -e buhbyesweetdata

I'm now only seeing SATA2 150MB/s for that drive.

Code:
curlew:/home/mike% camcontrol identify ada0 | head -2
pass1: <SanDisk SD6SB2M128G1022I X210400> ATA8-ACS SATA 3.x device
pass1: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 512bytes)
It looks as though the camcontrol security command has somehow caused the drive to drop down to SATA 1 mode. Is there any way I can use camcontrol (or any other utility) to restore this?

Here's some relevant sections from dmesg:

Code:
atapci1: <nVidia nForce MCP61 SATA300 controller> port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xd800-0xd80f mem 0xfe02c000-0xfe02cfff irq 21 at device 8.0 on pci0
ata2: <ATA channel> at channel 0 on atapci1
ata3: <ATA channel> at channel 1 on atapci1
atapci2: <nVidia nForce MCP61 SATA300 controller> port 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xc400-0xc40f mem 0xfe02b000-0xfe02bfff irq 22 at device 8.1 on pci0
ata4: <ATA channel> at channel 0 on atapci2
ata5: <ATA channel> at channel 1 on atapci2


ada0 at ata2 bus 0 scbus3 target 0 lun 0
ada0: <SanDisk SD6SB2M128G1022I X210400> ATA8-ACS SATA 3.x device
ada0: Serial Number 133641400083
ada0: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 512bytes)
ada0: 122104MB (250069680 512 byte sectors)
ada1 at ata3 bus 0 scbus4 target 0 lun 0
ada1: <ST3500418AS CC38> ATA8-ACS SATA 2.x device
ada1: Serial Number 9VMA33V1
ada1: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes)
ada1: 476940MB (976773168 512 byte sectors)
ada2 at ata4 bus 0 scbus5 target 0 lun 0
ada2: <SanDisk SD6SB2M128G1022I X210400> ATA8-ACS SATA 3.x device
ada2: Serial Number 133641400601
ada2: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 512bytes)
ada2: 122104MB (250069680 512 byte sectors)
ada3 at ata5 bus 0 scbus6 target 0 lun 0
ada3: <ST3500418AS CC38> ATA8-ACS SATA 2.x device
ada3: Serial Number 9VMA33C8
ada3: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes)
ada3: 476940MB (976773168 512 byte sectors)
And some information from camcontrol identify:

Code:
curlew:/home/mike% camcontrol identify ada0
pass1: <SanDisk SD6SB2M128G1022I X210400> ATA8-ACS SATA 3.x device
pass1: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 512bytes)

protocol              ATA/ATAPI-8 SATA 3.x
device model          SanDisk SD6SB2M128G1022I
firmware revision     X210400
serial number         133641400083
WWN                   5001b44a293aeb13
cylinders             16383
heads                 16
sectors/track         63
sector size           logical 512, physical 512, offset 0
LBA supported         250069680 sectors
LBA48 supported       250069680 sectors
PIO supported         PIO4
DMA supported         WDMA2 UDMA6
media RPM             non-rotating

Feature                      Support  Enabled   Value           Vendor
read ahead                     yes      yes
write cache                    yes      yes
flush cache                    yes      yes
overlap                        no
Tagged Command Queuing (TCQ)   no       no
Native Command Queuing (NCQ)   yes              32 tags
NCQ Queue Management           no
NCQ Streaming                  no
Receive & Send FPDMA Queued    no
SMART                          yes      yes
microcode download             yes      yes
security                       yes      no
power management               yes      yes
advanced power management      yes      yes     128/0x80
automatic acoustic management  no       no
media status notification      no       no
power-up in Standby            no       no
write-read-verify              no       no
unload                         no       no
general purpose logging        yes      yes
free-fall                      no       no
Data Set Management (DSM/TRIM) yes
DSM - max 512byte blocks       yes              16
DSM - deterministic read       yes              zeroed
Host Protected Area (HPA)      yes      no      250069680/250069680
HPA - Security                 no

curlew:/home/mike% camcontrol identify ada2
pass3: <SanDisk SD6SB2M128G1022I X210400> ATA8-ACS SATA 3.x device
pass3: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 512bytes)

protocol              ATA/ATAPI-8 SATA 3.x
device model          SanDisk SD6SB2M128G1022I
firmware revision     X210400
serial number         133641400601
WWN                   5001b44a293aed19
cylinders             16383
heads                 16
sectors/track         63
sector size           logical 512, physical 512, offset 0
LBA supported         250069680 sectors
LBA48 supported       250069680 sectors
PIO supported         PIO4
DMA supported         WDMA2 UDMA6
media RPM             non-rotating

Feature                      Support  Enabled   Value           Vendor
read ahead                     yes      yes
write cache                    yes      yes
flush cache                    yes      yes
overlap                        no
Tagged Command Queuing (TCQ)   no       no
Native Command Queuing (NCQ)   yes              32 tags
NCQ Queue Management           no
NCQ Streaming                  no
Receive & Send FPDMA Queued    no
SMART                          yes      yes
microcode download             yes      yes
security                       yes      no
power management               yes      yes
advanced power management      yes      yes     128/0x80
automatic acoustic management  no       no
media status notification      no       no
power-up in Standby            no       no
write-read-verify              no       no
unload                         no       no
general purpose logging        yes      yes
free-fall                      no       no
Data Set Management (DSM/TRIM) yes
DSM - max 512byte blocks       yes              16
DSM - deterministic read       yes              zeroed
Host Protected Area (HPA)      yes      no      250069680/250069680
HPA - Security                 no
 
Top