Intermittent SSD Freezing on Newer Laptops

Discussion in 'Windows 7 Hardware' started by Mike, Jun 30, 2011.

  1. Mike

    Mike Windows Forum Admin
    Staff Member Premium Supporter

    Joined:
    Jul 22, 2005
    Messages:
    8,503
    Likes Received:
    791
    With new laptops coming out at a deep discount, many savvy computer users may be interested in taking advantage of such offers and then upgrading their laptop with a 3[SUP]rd[/SUP] party solid state drive. The most common updates appear to be made through Crucial, OCZ, and Intel, all of whom make decent and well placed SSDs at what is slowly becoming an affordable price.
    Modern AHCI controllers make use of a feature called TRIM. TRIM allows the operating system to inform the SSD that files are no longer needed on the drive and can be removed. To make a long story short, this helped solve a lot of problems with early SSDs and paved the way for better innovation.

    If you are looking at new laptops recently, but are on a low budget, you may be in luck. Many new laptops are coming out with dedicated mobile video cards from NVIDA and ATI. They are also coming out with Sandy Bridge-based motherboards that have native USB3 ports and eSATA on-board. Here’s where things get tricky for upgraders:

    First of all, you should know that with many Intel Sandy Bridge boards and later, you are going to have problems installing Windows 7 off USB. So you may want to think twice before you perform that clean install. This is because Windows 7 does not understand USB3 too well, and, at the time the OEM bits were shipped for the SP1 release and the original RTM, no one knew when USB3 was going to become available. You should be prepared to clean install Windows 7 from your DVD-ROM drive and install USB3 native drivers later.

    Secondly, there is compelling evidence that there is a weird LPM issue with some SSDs, especially Crucial SATA-3 SSDs and LPM. LPM is basically a power saving feature for hard drives, but it can also cause some AHCI systems using Sandy Bridge-based systems and later motherboards to cause the SSD to go haywire and freeze. Fortunately, there is a way to solve the “system freeze” once Intel Rapid Storage Management (RST) is installed on your system.
    First, check and see what is going on in your Event Viewer when the freeze takes place. If you are seeing something such as “The device, \Device\Ide\iaStor0, did not respond within the timeout period.”, you very likely want to deal with this problem using the fix detailed below.

    Please remember, that while Intel RST was originally designed for RAID controllers, it is now used to exploit advanced features of Intel-based chipsets even on AHCI based systems. In other words, Intel RST is good to have for anyone using an Intel-based chipset.

    Use the following registry edit to disable LPM if you are receiving an “iaStore” issue in Event Viewer, and an intermittent system freeze with your newly installed SSD:

    Create a file called ssd-lpm-fix.reg using Notepad and enter the following data:

    Code:
    Windows Registry Editor Version 5.00
    
    
    
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\iaStor\Parameters\Port0]
    
    
    "LPM"=dword:00000000
    "LPMDSTATE"=dword:00000000
    "DIPM"=dword:00000000
    
    
    
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\iaStor\Parameters\Port1]
    
    
    "LPM"=dword:00000000
    "LPMDSTATE"=dword:00000000
    "DIPM"=dword:00000000
    
    
    
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\iaStor\Parameters\Port2]
    
    
    "LPM"=dword:00000000
    "LPMDSTATE"=dword:00000000
    "DIPM"=dword:00000000
    
    
    
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\iaStor\Parameters\Port3]
    
    
    "LPM"=dword:00000000
    "LPMDSTATE"=dword:00000000
    "DIPM"=dword:00000000
    
    
    
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\iaStor\Parameters\Port4]
    
    
    "LPM"=dword:00000000
    "LPMDSTATE"=dword:00000000
    "DIPM"=dword:00000000
    
    
    
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\iaStor\Parameters\Port5]
    
    
    "LPM"=dword:00000000
    "LPMDSTATE"=dword:00000000
    "DIPM"=dword:00000000
    
    Run the .reg file to enter it into your registry and make the necessary modifications. You must have Intel RST installed for this to work.

    Also check out this guy's blog, who seems to know what he's talking about: Dell and Intel screw up big time -- iaStor and Windows Vista

    Looks like this problem has been going on since Windows Vista, especially on Dell laptops, hard drives that may not fully support the LPM/LPD specification for Link-state Power Management, and other issues. One thing is for sure: If the crashing and freezing problems with your SSD or other type of hard drive go away after applying this patch, chances are you do not have a hardware problem, but, in fact, there is a problem with Intel RST itself or a flaw in the hardware implementation of Link-State Power Management over AHCI or RAID on your computer. If that's the case, there's probably nothing to worry about, for so long as the problem goes away. Since LPM is designed to save power, and since SSDs consume far less energy than a standard 2.5" hard drive, disabling LPM in the registry shouldn't create a battery issue.

    Note: If you are not getting a "iaStore" error in your Windows Event Logs, you should be careful about making this change. Further, if you are not having any hard drive issues with intermittent freezing, etc. making this change will be mostly pointless. However, many users who have experienced intermittent hard drive freezes under AHCI and RAID have been able to solve the problem by disabling LPM in the registry using this option. A zip file of the .reg file is included as an attachment. ​Use at your own risk!
     

    Attached Files:

    1 person likes this.
  2. trala

    trala New Member

    Joined:
    Jun 18, 2012
    Messages:
    2
    Likes Received:
    2
    THANK YOU for posting this thread ;)

    I actually was having freezing issues myself with a Crucial M$ 128gb. I should re-word that, and say that I have used the M4 for 4 months and NEVER had a problem, until I went to a new motherboard, the ASUS Maximus V Gene, and even though all my drivers were up-to-date, I was experiencing these freezes, which if I would CTRL-ALT-DEL would lead me to the logon screen that read, "Preparing Security Options". Googling a bit, I eventually found this thread.

    The freezing problem in my case wasn't all that apparent unless I did certain things; especially when running VirtualBox and doing other things like browsing or listening to music at the same time. So running VB in the background became my way of testing this problem. I had already installed Intel RST. But whatever drivers I installed and re-installed, the issue would not go away. These freezes would come on regularly. At first I thought my mouse is freezing, and indeed I found some mention of USB problems on the ROG forum reported by people who also have the board I have.

    Anyway, since I applied to reg tweak given here, I have installed Win7 x64 on Virtualbox, while working in Win7 x64 (actual install) and I have not experienced the freezing issue anymore. So I'm pretty sure the LPM issue is what was causing the freezes for me as well. I'm keeping my fingers crossed that that is indeed the issue, because otherwise I wouldn't know what could be the problem with my board. The only possibility could be that I'm running 2 of the M4's in my system now, and I am using the new one as my system drive now, and I've only been using the new SSD for a couple of days (since the new mobo build).

    I also run across this interesting and related post on another forum, which gives the ability to add the LPM enable/disable feature to the Power Options advanced settings window.

    Thanks a bunch for taking the time to post this! :cool:
     
    Mike and (deleted member) like this.

Share This Page

Loading...