Bit the bullet on a H310

whitey

Moderator
Jun 30, 2014
2,770
866
113
38
Successfully flashed many 9211-8i's/M1015's but never a H310/H200 yet. Flashed it easy enough, did it in a BIOS based system I keep around for flashing, sure there would have been not issues on EFI but I didnt want to take down one of my ESXi nodes.

Process if I remember correctly is roughly.

1. megacli -AdpAllInfo -aAll -page 20 (document sas address)
2. megarec -writesbr 0 sbrempty.bin
3. megerec -cleanflash 0
4. reboot
5. sas2flsh -o -f 6GBSSAS.FW
6. sas2flsh -o -sasadd 5d4aXXXXXXXXXXXX (16 digit sas address)
7. reboot
8. sas2flsh -o -f 2118it.bin (I used v7 first which allows IR <-> IT crossflashing, will ask to crossflash, type Y to proceed)
9. reboot
10. sas2flsh -o -f 2118it.bin (v19 of the LSI FW this time)
11. Validate w/ sas2flsh -list (should be in IT mode at v19 of LSI FW)

My H310 now gets queue depth 600 instead of the pathetic 25 initially w/ Dell FW on it. Gonna be used as my last vSAN HBA to pair w/ my 9211-8i's.

Definitive guide here that I used, just shortened up for the sake of straight to the point/being brief in hopes that someone else here may find it useful...I know there are a few of these floating around one forums but a dedicated H310 thread can never hurt.

SAS HBA crossflashing or flashing to IT mode, Dell Perc H200 and H310 | techmattr
 
Last edited:

whitey

Moderator
Jun 30, 2014
2,770
866
113
38
Yep, no pin paint/tape trick needed here, I had elec tape ready though :-D
 

FMA1394

Active Member
Jan 11, 2013
624
186
43
Successfully flashed many 9211-8i's/M1015's but never a H310/H200 yet. Flashed it easy enough, did it in a BIOS based system I keep around for flashing, sure there would have been not issues on EFI but I didnt want to take down one of my ESXi nodes.

Process if I remember correctly is roughly.

1. megacli -AdpAllInfo -aAll -page 20 (document sas address)
2. megarec -writesbr sbrempty.bin
3. megerec -cleanflash 0
4. reboot
5. sas2flsh -o -f 6GBSSAS.FW
6. sas2flsh -o -sasadd 5d4aXXXXXXXXXXXX (16 digit sas address)
7. reboot
8. sas2flsh -o -f 2118it.bin (I used v7 first which allows IR <-> IT crossflashing, will ask to crossflash, type Y to proceed)
9. reboot
10. sas2flsh -o -f 2118it.bin (v19 of the LSI FW this time)
11. Validate w/ sas2flsh -list (should be in IT mode at v19 of LSI FW)

My H310 now gets queue depth 600 instead of the pathetic 25 initially w/ Dell FW on it. Gonna be used as my last vSAN HBA to pair w/ my 9211-8i's.

Definitive guide here that I used, just shortened up for the sake of straight to the point/being brief in hopes that someone else here may find it useful...I know there are a few of these floating around one forums but a dedicated H310 thread can never hurt.

SAS HBA crossflashing or flashing to IT mode, Dell Perc H200 and H310 | techmattr
I want the opposite. Crossflashing it to vanilla LSI IR mode. 9260-8i or something?
 

RyC

Active Member
Oct 17, 2013
357
89
28
I think you can follow the same instructions, just replace 2118it.bin with 2118ir.bin (both are included in the download from LSI).

If you want an option ROM then replace sas2flsh -o -f 2118it.bin with sas2flsh -o -f 2118ir.bin -b mptsas2.rom (not sure if the option ROM is included or not though)

Also, how are you checking the queue depth?
 

whitey

Moderator
Jun 30, 2014
2,770
866
113
38
I think you can follow the same instructions, just replace 2118it.bin with 2118ir.bin (both are included in the download from LSI).

If you want an option ROM then replace sas2flsh -o -f 2118it.bin with sas2flsh -o -f 2118ir.bin -b mptsas2.rom (not sure if the option ROM is included or not though)

Also, how are you checking the queue depth?
esxtop, then hit d (devices), then hit f (edit/toggle fields), select D (Queue Stats), then enter, then you should see a field AQLEN:
 

Attachments

FMA1394

Active Member
Jan 11, 2013
624
186
43
I think you can follow the same instructions, just replace 2118it.bin with 2118ir.bin (both are included in the download from LSI).

If you want an option ROM then replace sas2flsh -o -f 2118it.bin with sas2flsh -o -f 2118ir.bin -b mptsas2.rom (not sure if the option ROM is included or not though)

Also, how are you checking the queue depth?
haven't bothered even thinking about it. open to suggestions.
 

whitey

Moderator
Jun 30, 2014
2,770
866
113
38
I explicitly left off the option ROM for faster boots since I am using these in ZFS boxes...once in IT mode may as well save yourself 20-30 secs on bootup on the hopeful rare chance that you do have to reboot the stg head/SAN/AIO.

AKA if you want to go back to IR mode you had better flash the option rom as well if i were a betting man. Kind of seems counter-intuitive or like the IR FW would slap your hand and say 'please provide me an option rom file as well' if you tried to take a IT mode HBA and flash back to IR w/out the -b switch...just my guess anyways, I will never need to do that so please report back if you do it. Curious in any case.
 
  • Like
Reactions: neo

Mattias71

New Member
Aug 20, 2020
5
0
1
This is how i got it working in DOS only mode with FreeDOS.


megacli.exe -AdpAllInfo -aAll -page 20
megacli.exe -AdpAllInfo -aAll | find “SAS Address”
megacli.exe -AdpAllInfo -aAll | find “SAS Address” > SASADD.txt

megarec -writesbr 0 sbrempty.bin
megarec -cleanflash 0

reboot

s2fp19.exe -o -f 6GBPSAS.FW
s2fp19.exe -o -sasadd 5xxxxxxxxxxxxxxx

reboot

sas2flsh.exe -o -f 2118p7.bin

reboot

s2fp19.exe -o -f 2118it.bin

s2fp19.exe -o -b mptsas2.rom (even after if you want bios on card)