[CentOS] OCZ Vertex3 SSD and LSI 9211-8i (mpt2sas)

Wed Oct 3 22:58:14 UTC 2012
John R Pierce <pierce at hogranch.com>

On 10/03/12 2:35 PM, Tru Huynh wrote:
> On Wed, Oct 03, 2012 at 02:18:13PM -0700, John R Pierce wrote:
>> >On 10/03/12 12:59 PM, John R Pierce wrote:
>>> > >       # mkfs.ext4 /dev/sda1
>>> > >
>>> > >and it hangs at 'Discarding device blocks: 0/58607505'   which I gather
>>> > >is related to 'trim' aka 'discard'.
>> >
>> >and exactly the same behavior with the latest kernel
>> >2.6.32-279.9.1.el6.x86_64 and e2fsprogs-1.41.12-12.el6.x86_64
>> >
> firmware issue?
> http://forums.servethehome.com/showthread.php?867-OCZ-vertex4-imcompatible-with-LSI-SAS-9211-8i

hmm, not sure thats this problem, as the drive seems to work fine as 
long as I don't use "Discard' aka "SSD trim"...

I've just updated the SAS2 card bios and firmware to the latest, so lets 
see what happens when I reboot...   AHHHH, that fixed it :-/

for future reference...


flashed using

(the linux package3 doesn't include the firmware, so you need to 
download the windows package too).  the IR firmware supports raid while 
the IT firmware is just a jbod HBA.  my cards were already "IR" even 
though I'm not using that feature, so I saw no reason to force the 
restricted firmware on them.

to flash it after you collect the files you need:

     # chmod +x sas2flash
     # ./sas2flash -b mptsas2.rom
     # ./sas2flash -fwall 2118ir.bin

resulting versions are...

# ./sas2flash -listall
LSI Corporation SAS2 Flash Utility
Version (2011.05.13)
Copyright (c) 2008-2011 LSI Corporation. All rights reserved

         Adapter Selected is a LSI SAS: SAS2008(B2)

Num   Ctlr            FW Ver        NVDATA x86-BIOS         PCI Addr

0  SAS2008(B2)    0e.03.00.05     00:06:00:00

         Finished Processing Commands Successfully.
         Exiting SAS2Flash.

ok, now I can move forward.  this had be stymied for 24 hours... I've 
not run into any problems where I had to update HBA firmware for years 
and years and years.

john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast