Date: Mon, 21 Apr 2014 06:18:19 +0400 From: Andrey Fesenko <f0andrey@gmail.com> To: Alexander Motin <mav@freebsd.org> Cc: "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>, freebsd-current <freebsd-current@freebsd.org> Subject: Re: SATA2 mode on SATA3 SSD (marvell controller) after boot Message-ID: <CA%2BK5SrP-qBQhAW4GN3L%2BN---TFpkGA3RhW%2BfOpgwb5QPTz4uKw@mail.gmail.com> In-Reply-To: <5354287D.6040508@FreeBSD.org> References: <CA%2BK5SrO0rAWP5Ca_HNBYUE-bGgsuVxvaFOnmrMoCoWVGwbZY3A@mail.gmail.com> <CA%2BK5SrPN3iRK19exw0ADWBhzG2qP3nzNpGRg-guYqUhJZexcQg@mail.gmail.com> <5354238C.50100@FreeBSD.org> <CA%2BK5SrOTB=%2BA_4Z4p%2B3G2DUTQMNpb9-n3BhvO1Fw4tK%2BZaGQEA@mail.gmail.com> <5354287D.6040508@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 21, 2014 at 12:05 AM, Alexander Motin <mav@freebsd.org> wrote:
>
> Then it is a question to hardware or firmware not an OS driver.
>
> --
> Alexander Motin
Thanks for the tips
try to change to another, it seems some problems with the firmware
In the linux (grml)
Sata-3 hdd have section
Standards:
Supported: 9 8 7 6 5
Likely used: 9
# hdparm -I /dev/sdc
/dev/sdc:
ATA device, with non-removable media
Model Number: PLEXTOR PX-128M5S
Serial Number: P02411112921
Firmware Revision: 1.05
Transport: Serial, ATA8-AST, SATA II Extensions, SATA
Rev 2.6, SATA Rev 3.0
Standards:
Used: ATA/ATAPI-7 T13 1532D revision 4a
Supported: 8 7 6 5 & some of 8
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 250069680
LBA48 user addressable sectors: 250069680
Logical Sector size: 512 bytes
Physical Sector size: 512 bytes
Logical Sector-0 offset: 0 bytes
device size with M = 1024*1024: 122104 MBytes
device size with M = 1000*1000: 128035 MBytes (128 GB)
cache/buffer size = unknown
Nominal Media Rotation Rate: Solid State Device
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
* Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* DOWNLOAD_MICROCODE
SET_MAX security extension
* 48-bit Address feature set
* Device Configuration Overlay feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* General Purpose Logging feature set
* 64-bit World wide name
* Segmented DOWNLOAD_MICROCODE
* Gen1 signaling speed (1.5Gb/s)
* Gen2 signaling speed (3.0Gb/s)
* Gen3 signaling speed (6.0Gb/s)
* Native Command Queueing (NCQ)
* Host-initiated interface power management
* Phy event counters
* DMA Setup Auto-Activate optimization
Device-initiated interface power management
* Software settings preservation
unknown 78[8]
* SMART Command Transport (SCT) feature set
* SCT Write Same (AC2)
* SCT Error Recovery Control (AC3)
* SCT Features Control (AC4)
* SCT Data Tables (AC5)
* Data Set Management TRIM supported (limit 8 blocks)
Security:
supported
not enabled
not locked
frozen
not expired: security count
supported: enhanced erase
6min for SECURITY ERASE UNIT. 6min for ENHANCED SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 500230310017df1b
NAA : 5
IEEE OUI : 002303
Unique ID : 10017df1b
Checksum: correct
after reconnect SSD this information not change, but syslog
2014-04-21T00:23:21.223409+00:00 grml kernel: [ 3.482230] ata4:
SATA link up 3.0 Gbps (SStatus 123 SControl 300)
2014-04-21T00:23:21.223410+00:00 grml kernel: [ 3.482375] Switched
to clocksource tsc
2014-04-21T00:23:21.223410+00:00 grml kernel: [ 3.484803] ata4.00:
ATA-8: PLEXTOR PX-128M5S, 1.05, max UDMA/133
2014-04-21T00:23:21.223413+00:00 grml kernel: [ 3.484804] ata4.00:
250069680 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
...
2014-04-21T00:43:52.004962+00:00 grml kernel: [ 1199.327857] ata4:
SError: { DevExch }
2014-04-21T00:43:52.004962+00:00 grml kernel: [ 1199.327860] ata4:
hard resetting link
2014-04-21T00:43:52.728949+00:00 grml kernel: [ 1200.048622] ata4:
SATA link up 6.0 Gbps (SStatus 133 SControl 300)
2014-04-21T00:43:52.728953+00:00 grml kernel: [ 1200.051217] ata4.00:
ATA-8: PLEXTOR PX-128M5S, 1.05, max UDMA/133
2014-04-21T00:43:52.728954+00:00 grml kernel: [ 1200.051219] ata4.00:
250069680 sectors, multi 1: LBA48 NCQ (depth 31/32), AA
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BK5SrP-qBQhAW4GN3L%2BN---TFpkGA3RhW%2BfOpgwb5QPTz4uKw>
