SATA3 SSD Freezes intermittently on Macbook Pro

Just installed a Crucial m4 256GB SSD on my Macbook Pro 13″.  I join my MacOS X Lion onto the network.  And then, it started freezing intermittently while using.  Puzzles me at first, so I disjoin the network, did varies tests.  Finally I found the problem lies on the SATA3 SSD with the intel board. Here are the steps I did to get it solved.

1) Upgrade to your latest SSD firmware.  For Crucial, you can find the firmware from this link:

http://www.crucial.com/

Click on support then SSD, you will find download firmware.  For Macbook, you got to download the CD image and then burn into CD.  Reboot with CD inserted and hold on to “C” key while booting up to let it boot from CD.

2) Enable Trim.  To make it simple, just download the Trim Enabler from this link:

http://www.groths.org/?page_id=322

Install and then just enable Trim

3) Set HDAPM (Hard Disk Advance Power Management) to minimum.  Download the hack from this link:

http://mckinlay.net.nz/hdapm/

After you install, open Terminal (use Spotlight to find if you don’t know where is it), then run the following command:

sudo hdapm disk0 min

Leave the Terminal open, you need it for step 4.

4) Disable SMS (Sudden Motion Sensor). run the following command:

sudo pmset -a sms 0

 

After you have done all these, you can say goodbye to the spinning rainbow beach ball!  Cheers!