Enable Disk SpinDown on LSI 9211/IBM M10155 min read

I have a lot of 9211-8i’s in the lab, probably about 12, all flashed to IT mode. These are a godsend as they just work. They’re easy to flash to IT mode (rids them of any RAID, they become HBAs) and are 6GBp/s which is awesome.

One of the things I didn’t know until quite later on is that these cards by default (on Windows at least) do not support spindown calls from the OS, meaning my disks are running 24/7 which wasn’t a problem until I had about 20 disks all running and I realised how much power that actually was for no good reason. After a little searching I found forum posts from people who had modified the INF driver of the card and gotten the power down to work, after putting it off for a while I finally did it and got it to work and have noticed both power loss and a little bit of a temperature drop which is nice.

As I said before, I did find this online and I’m not trying to pass this as my own discovery or anything, I just didn’t find an actual blog post detailing the procedure; so if you’re reading this and this was you, message me and credit is all yours. Now onto the mothod;

  1. First things first, I would head over to the support page of the card and flash the latest BIOS and firmware, at the time of writing this is P20. Also download the driver whilst you’re here as well. There are loads of guides online on how to crossflash/flash these cards so I needn’t bother, just look around and you’ll find some good guides, it’s very easy to follow.
  2. Once your cards are flashed to IT mode on the latest firmware you’ll want to make sure that you delete/uninstall the driver for the cards in device manager, make sure to tick delete driver. Do this for all the cards in the system.

uninstall

3) The next step is to unpack the driver package you downloaded earlier to somewhere. I downloaded the Windows 8.1/Server 2012 R2 as I run Server 2012 R2 and only unpacked the x64 folder. The following files should be in the archive:

dir list

What you want to do is open the ‘lsi_sas2.inf’ in your favourite editor (should be Notepad++).

4) Do a search for ‘[Shutdown_addreg]’ and you’ll see the following key:

shutdown_reg

You’ll want to add the following line under the current one and it will look like the following image:
HKR, "StorPort", "EnableIdlePowerManagement", 0x00010001, 0x01

shutdown_reg edited

I have included my edited lsi_sas2.inf for 8.1/Server 2012 R2 and other ‘popular’ operating systems if you just want to download a pre-edited one; you can find it at the bottom of this post. You will need to add this to the folder with the other files, you cannot just download the INF.

5) Now that you’ve done this the driver is no longer signed which means that Windows will NOT accept this as a valid driver, however this isn’t too much of an issue. Now that we have the edited INF file we need to reboot the machine into a mode that disables driver signature enforcement. To do this reboot the machine and spam the F8 key during Windows bootup, on my system this invoked the “What device do you want to boot from?” so I chose my boot SSD and continued to spam F8, I was then presented with this screen:

1016.clip_image004_thumb_33151481

You need to select the highlighted option and press enter, the machine will boot as normal but with the signature enforcement disabled.

6) Once you’re booted up head into device manager and open up storage adaptors, the driver might have installed itself again by itself (mine did) but that’s okay. Follow these steps exactly:

  • Right click adaptor, click on properties.
  • Head to the Driver tab and click on Update Driver.
  • Click on browse my computer for driver software.
  • Then let me pick from a list of device drivers on my computer.
  • Select the ‘Have Disk’ option.
  • Browse to where your INF is located along with the other driver files, click on the INF file and click open and then OK.
  • Windows will warn you that the driver is not signed, click install anyway.Now when you do this for future adaptors, under ‘let me pick from a list of device drivers on my computer’ you will get the following screen:

non signed list

You can now select the modified driver from this list. You can do this to future adaptors/other adapters in your machine.

That’s it! You can now reboot to get back into ‘normal’ Windows and the driver will stick. I haven’t found any real way to see inside Windows whether the disks are spinning down or not but looking at the ‘Start/Stop Count’ in the SMART data as well as power usage that they are in fact spinning down.

You want to make sure that the power settings in Windows itself has been set to power down the disks at a certain time, mine is set for 30mins of inactivity.

And that’s it folks! It’s only fair to mention that I have read that starting and stopping disks reduces their lifetime due to head parking as opposed to running them 24/7 but I really don’t know how accurate this is and prefer the lower power usage and temperatures as this makes the other disks that actually are running happier in the enclosure. If I start seeing disks falling off in the next few months due to this I will post it here as an update, but I don’t really see why anyone shouldn’t do this for arrays that store things like media (which this one does).

Cheers and thanks for reading! MM~~

INF Files, these are all x64!, and please rename the file to ‘lsi_sas2.inf’!:

Windows 8.1\Server 2012
Windows 8\Server 2012
Windows 7\Server 2008 R2
Windows Server 2008

15 thoughts on “Enable Disk SpinDown on LSI 9211/IBM M10155 min read

    1. I don’t no, my biggest chassis is a 24 bay which would only require 3 cards. If I had anymore I’d probably use an expander. Why do you ask?

      Reply

  1. I don’t know how this didn’t get more comments, especially given the google position it has.

    I want to thank you from the bottom of heart for this. <3

    It helps me a lot since the drives in the Hot-Swap bays get above 50°C in summer and with the spin down the problem is fixed.

    Reply

  2. I’m going to link you from a few forums that don’t know about this!

    Reply

  3. Muffin, excellent guide. I have just set-up a WS2012R2 home NAS. I can hear my HDDs all the time (need to invest in new rubber feet for the Dell T20 case). I have 2x2TB WD Blacks and 2x4TB WD Reds. I want them all to spin down and your guide helped me achieve that, perfectly.

    As a suggestion, you might consider adding the following steps in place of “spamming F8” on Windows restart. I always miss the startup menu that way because my machine starts so quickly. If you like the steps, try them for yourself and add to step #5? If you don’t, then no worries!

    Steps to add to #5:

    Note: you may need to suspend BitLocker (or have Recovery USB installed) in order to modify Startup Settings
    A. Right-click Windows > Shut down or sign out > Shift + click Restart > Choose a reason… > Continue
    B. Choose an option > Troubleshoot > Startup Settings > Restart (Restart to change Windows options such as: Disable driver signature enforcement)

    Also, I wonder why we couldn’t suggest to LSI (Avagotech) that they add this to the driver (P21?) and get it signed! That would be awesome!

    Have a great day!

    Reply

  4. here’s the contents of my LSI.reg that i have just done for the inbox windows 10 drivers for my lsi 2308
    (you will have to edit slightly for you device id)
    no unsigned drivers required

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\PCI\VEN_1000&DEV_0087&SUBSYS_30301000&REV_05\4&3729ec9a&0&0008\Device Parameters\StorPort]
    “EnableIdlePowerManagement”=dword:00000001

    I have only just done it so its not confirmed yet but it should work

    Reply

  5. I see you use a Gen8 Microserver – did you find that flashing the M1015 went smoothly? I can’t seem to get it to work. Did you do it in the Gen8, or on another system?

    Reply

    1. I can’t quite remember I’m afraid, I usually do all the flashing on a machine I keep around with an EFI shell. I would recommend finding a live FreeDOS ISO (really hard to find but keep looking!), booting into that and using sas2flsh. Let me know if you need more help.

      Reply

Leave a Reply