Flashing LSI Card to IT Mode

August 01, 2019

There’s quite a few posts out there on how to update a LSI card to IT mode, but none of them specifically focus on trying to do so from an Ubuntu (linux) machine. Nearly every single post is based on creating a bootable FreeDOS drive using Windows and Rufus. Of course, I have no Windows installations in our house so I wanted to find a way to do this using Ubuntu.

On top of needing to find a way to do this on Linux, I also had a hell of a time digging up all the necessary files to make this happen. I have hosted a copy of all of the necessary files for the LSI 9211-8i on my server and will provide them as long as no one has an issue with it.

Necessary Files

Creating the FreeDOS Boot Disk

Download unetbootin-linux64-661.bin and mark it as executable.

wget https://livearchivist.com/assets/lsi-9211-8i/unetbootin-linux64-661.bin
chmod +x unetbootin-linux64-661.bin
sudo ./unetbootin-linux64-661.bin

Choose FreeDOS as the Distribution and then select your flash drive.

Once the drive is imaged, go ahead and close unetbootin. Open up your file manager and copy the following files to the root of the flash drive:

Flashing the Cards

Boot from the flash drive.

Choose to boot into the FreeDOS live CD. Switch to the C:/ drive and then wipe the card’s memory.

Just so you know what the switches do:

I had to add the -c 0 switch, since I have more than one card in my server. Feel free to omit the switch if you only have one card, or run the commands multiple times like I did, incrementing the number to cover each card.

C:/
sas2flsh.exe -c 0 -o -e 6

Now the card should be ready to receive the new firmware.

Just so you know what the switches do:

sas2flsh.exe -c 0 -o -f 2118it.bin -b mptsas2.rom

DO NOT REBOOT YET

We need to double check to ensure that your cards have been flashed properly. If they haven’t and you reboot, you could leave them in an unrecoverable state.

sas2flsh.exe -listall

Make sure that all cards are reporting back with the proper firmware version. If they do report back properly, then you’re good to reboot! I hope this helps, I was digging on this for quite a while.