Monday, July 16, 2012

LSI 9211-8i Firmware and BIOS Update

I had problem with this LSI card after putting it on Supermicro X7DBN with 3 x Seagate SAS drives, with this error message: "Message Unit Reset failed on adapter #0!"

Spent the whole day figuring how to solve this out. Many suggested to update the BIOS and firmware on the card, using EFI Script during BIOS boot. One of the write-up is here: http://hardforum.com/showthread.php?t=1660130

But, there is no EFI boot available in the Phoenix BIOS for my motherboard.

I found this great write-up on how to update the LSI firmware and BIOS by USB boot the system using an open-source FreeDOS. To do it,
1. Format a USB stick with FAT 32.
2. Download UNETBOOTIN-WINDOWS-575.
3. Download FreeDOS USB Boot 1.1
4. Using Unetbootin, image the USB stick with the FreeDOS image.
5. Put the following files into the USB stick:
2118it.bin

DOS4GW.EXE

MEGAREC.EXE

SAS2FLSH.EXE

mptsas2.rom

6. Boot FreeDOS from USB thumb drive.
7. Clean controller flash memory:
sh megarec -cleanflash 0

8. Reboot FreeDOS from USB thumb drive.
9. Flash firmware and OptionROM images:
sas2flsh -o -f 2118it.bin -b mptsas2.rom

10. Set controller SAS address (replace 500605bxxxxxxxxx with the actual SAS address of your controller):
sas2flsh -o -sasadd 500605bxxxxxxxxx

11. Reboot into OS

VOILA! Now my LSI card could find all the hard disks installed for the system! And, the original -IR (RAID) type firmware is now converted to -IT (passthrough) type firmware, which is more suitable for ZFS. Yeay!

More details can be found here:
http://blog.grem.de/sysadmin/LSI-SAS2008-Flashing-2012-04-12-22-17.html
http://www.servethehome.com/ibm-serveraid-m1015-part-4/
http://www.lsi.com/support/Pages/Download-Results.aspx?productcode=P00049&assettype=0&component=Storage%20Component&productfamily=Host%20Bus%20Adapters&productname=LSI%20SAS%209211-8i
http://zfsonlinux.org/docs/SC10_BoF_ZFS_on_Linux_for_Lustre.pdf

No comments: