Kevin Holman's System Center Blog

Posts in this blog are provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified in the Terms of UseAre you interested in having a dedicated engineer that will be your Mic

Event ID 129 – storachi - Reset to device, \Device\RaidPort0, was issued.

Event ID 129 – storachi - Reset to device, \Device\RaidPort0, was issued.

  • Comments 39
  • Likes

 

One of my Server 2012 machines kept hanging, and it was more than annoying.

 

The system is a Dell Precision 690 Workstation, with dual Xeon CPU’s, and has the Hyper-V role installed.  This machine uses an Intel storage controller and has an addition Dell SAS/SATA controller.  Primarily, I use this machine as my iSCSI server to host disks for other servers in my lab.

The problem, is that several times an hour, the entire system would hang, for 20-30 seconds.  It would always recover.  However, all the other servers that depend on this server for an iSCSI connection to storage, would also hang up or throw errors caused by not being able to reach the storage.  All the VM’s running on iSCSI disks would also just hang until this self corrected.  VERY frustrating for demos.  Smile

 

I read several articles on the web, mostly pertaining to Windows 8.  There are all sorts of recommendation such as enabling hot swap options in the BIOS for AHCI controlled disks, changing from the Windows driver for the intel storage controller to the Intel branded RST drivers.  Some only experience this with SSD’s installed, and this system does have three of them.

 

When the hang occurred – you would see the following in the system event log:

 

 

Log Name:      System
Source:        storahci
Date:          6/19/2013 4:36:34 PM
Event ID:      129
Task Category: None
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      VS3.opsmgr.net
Description:
Reset to device, \Device\RaidPort0, was issued.

 

What finally resolved this for me – was changing the power management settings, from Balanced to High Performance.  What this actually changed that was critical to this condition was modifying PCI Express > Link State Power Management > Off

 

 

image

 

Turning this from “Moderate” to “Off” resolved the issue and I no longer get these frequent hangs.

From an article I found that discussed this:

PCI Express has "active-state" power management, which lowers power consumption when the bus is not active (that is, no data is being sent between components or peripherals). On a parallel interface such as PCI, no transitions occur on the interface until data needs to be sent.

In contrast, high-speed serial interfaces such as PCI Express require that the interface be active at all times so that the transmitter and receiver can maintain synchronization. This is accomplished by continuously sending idle characters when there is no data to send. The receiver decodes and discards the idle characters. This process consumes additional power, which impacts battery life on portable and handheld computers.

To address this issue, the PCI Express specification creates two low-power link states and the active-state power management (ASPM) protocol. When the PCI Express link goes idle, the link can transition to one of the two low-power states. These states save power when the link is idle, but require a recovery time to resynchronize the transmitter and receiver when data needs to be transmitted. The longer the recovery time (or latency), the lower the power usage. The most frequent implementation will be the low-power state with the shortest recovery time.

 

I can assume that the 20-30 second “hang” was a resynchronization process, and turning this to “Off” kept the PCI express bus in synch at all times.  Might help you if you run into this.

Comments
  • Thanks! This was enough of a clue for me to finally fix an issue which had been affecting my system for a month or so which until now I had no clue how to fix. I've now resolved the problem.

  • You the man Kevin! Ive been looking all over the internet for a solution after just building this brand new computer. I ran a lot of test to check things and your solution just fixed it. Thanks!

  • Kevin, great stuff man. I was having similar issues with my SMB file server occasionally disconnecting from my Hyper-V servers which was driving me crazy. Turns out that I had the Hyper-V servers on balanced versus high performance which in turn may have been the underlying issue (the symptom in this case was a single host which all VM's on the SMB file share went offline).

  • I'm slowly losing my mind to those issue myself. I have a Lenovo Y40 laptop, consisting of a i7 processor, Liteon 256GB ssd, 8GB ram, AMD R9 275X dedicated gpu. This thing freezes up for the 20-30 seconds in windows, games, media, whatever - with this same event ID. I've tried setting the Link power management from HIPM to DIPM and then to Active, none of which help. I've checked for any updated bios and drivers and I appear to have the latest of everything. What could I be missing?

  • It didn't really help me. I turned it off and the problems vanished for a couple of days, then they came back. I used the registry trick and disabled the HDD low power settings too, didn't help either. Now I turned both settings on again and I didn't notice and hangs for the past 2 days. I have no idea what's the cause or how to solve it, other than it seems to be the AHCI driver.

    It seems to happen at random. I used a ThinkPad L440 with Windows 8.1 x64 and a Crucial MX100 SSD. I feel like it is a problem with the Intel AHCI driver and they need to look into it.

  • I'm having the same problem with a new PNY Optima 240 G SSD and a fresh install of Win 10. None of the other fixes have worked yet for me.

  • It fixed mine. I am running the tech preview of Win 10 and never had this issue until I reinstalled the OS on a new PNY Optima 240 G SSD. It would happen every few min. I tried above several times with no success until I made a NEW power plan. Any time I tried to select 'high performance' it would always revert back to 'balanced' on its own. Now it has gone over 2 hrs with no recurrence. I am a happy camper.

  • Thank you, I have had this issue every time I did a clean install. I fixed it before but didn't document the settings I was changing. Your solution seems to be the key! Thanks again!

  • I finally found a solution to my problem (four post above it is posted). I changed my SATA AHCI driver in the device manager. I even still use the Intel driver (didn't change to the basic Microsoft one), Just go to properties->update driver, then let it give you a list of drivers on the PC and select the Intel driver with the "8C03" at the end. No more hang ups since then!

    Hope this helps!

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
Search Blogs