Comment 53 for bug 1259829

Revision history for this message
Martin Spacek (mspacek) wrote : Re: fstrim corrupution on some SSDs

I've installed Xubuntu 14.04 on a brand new Crucial MX100 SSD (CT512MX100SSD1, original MU01 firmware, no newer firmware available) on a Thinkpad W510, and saw the note in the cron.weekly/fstrim file. After running fstrim manually the first two times, I got this:

$ sudo fstrim -v /
/: 498557419520 bytes were trimmed
$ sudo fstrim -v /
/: 0 bytes were trimmed

I also ran some of Martin Pitt's load tests for a few minutes while calling fstrim -v repeatedly. No problems.

Since Crucial updated the firmware to MU05 on 2014-03-25 for the affected M500, and since the MX100 drive apparently has a slightly newer controller...

"These new Crucial MX100 SSD series features the Marvell 88SS9189 controller, a minor upgrade from the 88SS9187 that was found in the M500 drive."
http://www.legitreviews.com/crucial-mx100-256gb-512gb-ssd-review_143984

...I'll be brave and add --no-model-check to the "exec fstrim-all" line in the cron fstrim file. If I have any problems, I'll report back.

from hdparm -I:

ATA device, with non-removable media
 Model Number: Crucial_CT512MX100SSD1
 Serial Number: xxxxxxxxxxx
 Firmware Revision: MU01
 Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
Standards:
 Used: unknown (minor revision code 0x0028)
 Supported: 9 8 7 6 5
 Likely used: 9
Configuration:
 Logical max current
 cylinders 16383 16383
 heads 16 16
 sectors/track 63 63
 --
 CHS current addressable sectors: 16514064
 LBA user addressable sectors: 268435455
 LBA48 user addressable sectors: 1000215216
 Logical Sector size: 512 bytes
 Physical Sector size: 4096 bytes
 Logical Sector-0 offset: 0 bytes
 device size with M = 1024*1024: 488386 MBytes
 device size with M = 1000*1000: 512110 MBytes (512 GB)
 cache/buffer size = unknown
 Form Factor: 2.5 inch
 Nominal Media Rotation Rate: Solid State Device
Capabilities:
 LBA, IORDY(can be disabled)
 Standby timer values: spec'd by Standard, with device specific minimum
 R/W multiple sector transfer: Max = 16 Current = 16
 Advanced power management level: 254
 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
    * Write cache
    * Look-ahead
    * Host Protected Area feature set
    * WRITE_BUFFER command
    * READ_BUFFER command
    * NOP cmd
    * DOWNLOAD_MICROCODE
    * Advanced Power Management feature set
      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
    * WRITE_{DMA|MULTIPLE}_FUA_EXT
    * 64-bit World wide name
    * IDLE_IMMEDIATE with UNLOAD
      Write-Read-Verify feature set
    * WRITE_UNCORRECTABLE_EXT command
    * {READ,WRITE}_DMA_EXT_GPL commands
    * Segmented DOWNLOAD_MICROCODE
    * Gen1 signaling speed (1.5Gb/s)
    * Gen2 signaling speed (3.0Gb/s)
    * Gen3 signaling speed (6.0Gb/s)
    * READ_LOG_DMA_EXT equivalent to READ_LOG_EXT
      DMA Setup Auto-Activate optimization
      Asynchronous notification (eg. media change)
      Software settings preservation
      Device Sleep (DEVSLP)
    * SMART Command Transport (SCT) feature set
    * SCT Write Same (AC2)
    * SCT Features Control (AC4)
    * SCT Data Tables (AC5)
    * reserved 69[4]
    * reserved 69[7]
    * Data Set Management TRIM supported (limit 8 blocks)
    * Deterministic read ZEROs after TRIM
Security:
 Master password revision code = 65534
  supported
 not enabled
 not locked
 not frozen
 not expired: security count
  supported: enhanced erase
 2min for SECURITY ERASE UNIT. 2min for ENHANCED SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 500a07510c251af4
 NAA : 5
 IEEE OUI : 00a075
 Unique ID : 10c251af4
Integrity word not set (found 0x0000, expected 0x1ba5)
Device Sleep:
 DEVSLP Exit Timeout (DETO): 50 ms (drive)
 Minimum DEVSLP Assertion Time (MDAT): 10 ms (drive)