Guide for converting LSI SAS 3008 Controller from IR mode to IT mode, in order to run ZFS on a linux environment.
Adapted from original Github repository: https://github.com/EverLand1/9300-8i_IT-Mode , and combined with this video: https://www.youtube.com/watch?v=A54VuVNVX5M
Download all five of these files from this repo (specific to LSI3008) and put them on a USB drive. They are necessary for this guide.
- bootx64.efi : UEFI Shell Boot File
- mptsas3.rom : Legacy BIOS OROM (LSI3008 version)
- mpt3x64.rom : UEFI BIOS OROM (LSI3008 version)
- SAS9300_8i_IT.bin : IT Firmware Version (LSI3008 version)
- sas3flash.efi : Flashing tool
- To access the UEFI shell later on with the required files, you must format your USB flash drive into a bootable Free-DOS drive using Rufus. Launch Rufus, select the correct drive under "Device", select "Free-DOS" under "Boot Selection", and click "Start". This should only take a couple seconds.
- After the drive has completed formatting to Free-DOS, create a folder on the root of the USB named "EFI".
- Inside that folder, create another folder named "Boot".
- Move the bootx64.efi file into the "Boot" folder. (Resulting filepath is EFI/Boot/bootx64.efi)
- Now add all required files from this repo to the root of the USB.
- Before powering on the machine, unplug any external drives that are on the system. This is not necessary, but it may make the process easier later.
- Next, plug in the USB drive.
- Access the BIOS/UEFI menu to make sure you can boot to the UEFI shell from this USB drive. This can be done through several ways, depending on your system's manufacturer, as well as the operating system or lack there of. It can usually be triggered by spamming a function key during startup.
- This article includes UEFI/BIOS keys for popular brands, as well as Windows and Linux specific ways to access the UEFI menu.
- Enable the system to boot to the drive in BIOS. Once again these settings vary depending on manufacturer.
- "Secure Boot" to "Disabled"
- "Boot Mode" from "Legacy" to "UEFI" or "Auto"
Note: On my system, a Lenovo ThinkServer, this setting was found under "Boot Manager" then "Boot Mode". Again, manufacturer specific. THIS MAY NOT BE AVAILABLE OR NECESSARY ON ALL SYSTEMS.
- Save these changes and restart the system.
- Boot to the USB drive. If possible, you can access the boot menu during startup similarly to the BIOS menu. However, you can also go back to the BIOS menu and change the boot sequence to make the UEFI USB Drive the first device the system boots to upon startup. You will now be able to boot to the USB.
-
You should find yourself at a
Shell>command line prompt. If you are experienced with using the terminal or are adventerous, here are some interesting commands you can play around with while in this shell. -
Now, to find all available drives on the system, type
map. This may already show up when you are first brought into the shell. -
Your USB drive should be named something along the lines of "Removable Hard Disk". If not, choose the first drive that shows up first. Mount to the alias of that drive. For example, if the drive is named
fs0, typefs0:(remember the colon). Your terminal prompt should now readfs0:\>as you have successfully mounted the drive. -
Type
dirto see the filesystem on that drive (Equivalent of usinglsin Linux.). If you do not see the files you put on the USB drive, retry the previous commands beginning withmapuntil you find the correct drive. -
Type:
sas3flash.efi -listThis shows the SAS Address as mentioned earlier. ENSURE TO TAKE A PICTURE OF THIS SCREEN AND RECORD THE SAS Address if you haven't already. -
Type this command:
sas3flash.efi -c 0 -o -e 6. After it completes, the firmware currently on it will be cleared
You may get an error stating "Controller is not operational. A firmware download is required." Type quit to exit that prompt and continue with this guide.
This erases the running flash/bios on the RAID controller.
- Next, type: ```sas3flash.efi -c 0 -o -f SAS9300_8i_IT.bin -b mptsas3.rom -b mpt3x64.rom
- This flashes the new UEFI and Legacy BIOS firmware with ROM
- Lastly, type this command:
sas3flash.efi -list
- Verify that all information including the SAS Address are correct.
- You are now able to reboot the system and have completed this guide.
- Command in UEFI shell: reset
- MAIN TUTORIAL - How to flash a LSI SAS 3008 HBA (e.g. IBM M1215) to IT mode - ServeTheHome Forum
- Crossflashing of LSI 9341-8i to LSI 9300-8i - ServeTheHome Forum
- Detailed newcomers' guide to crossflashing LSI 9211/9300/9305/9311/9400/94xx HBA and variants - TrueNAS Forum
- [HOW-TO] Flashing LSI SAS HBA Controller [EFI/UEFI] - TrueNAS Forum
- Older Card Versions - LSI SAS 2008 RAID Controller/HBA Information - ServeTheHome Forum
- Outdated Firmware Version Notice - iXsystems

