Update LSI SAS2008 IT (dell perc H200) firmware to version 20 on TrueNas

Mongo_Loyd

Cadet
Joined
May 24, 2021
Messages
4
Hello Everyone,

I've been a Freenas/Truenas user for about 10 years on my HP Microservers Gen 8.

I have read these two excellent threads before posting, but my question is not discussed in these threads:

https://www.truenas.com/community/r...9300-9305-9311-9400-94xx-hba-and-variants.54/
https://www.truenas.com/community/t...bios-detection-fix-hotswap-not-working.84689/

About a decade ago I bought a Dell T610 and left it in a closet due to noise and moved to HP Microservers.

I updated my Dell T610 perc H200 SAS controller to IT mode with LSI firmware version 13 back in the day, about 10 years ago before installing Solaris 11.3

I want to rebuild this machine as a TrueNas backup server for my HP Gen 8's but want to upgrade the firmware on the HBA to match the driver on the current build of truenas.

I am running TrueNAS-12.0-U3.1 off a USB stick with no drives or pools attached to the HBA.

Can I flash to the latest firmware directly from TrueNas as it has sas2flash installed?

I don't see a v21 firmware for the LSI, only v 20.

I ssh into the T610 and get the following output:

Code:
root@truenas[~]# sas2flash -listall
LSI Corporation SAS2 Flash Utility
Version 16.00.00.00 (2013.03.01)
Copyright (c) 2008-2013 LSI Corporation. All rights reserved

    Adapter Selected is a LSI SAS: SAS2008(B1)   

Num   Ctlr            FW Ver        NVDATA        x86-BIOS         PCI Addr
----------------------------------------------------------------------------

0  SAS2008(B1)     13.00.01.00    0c.00.00.04    07.11.10.00     00:05:00:00
1  SAS2008(B1)     13.00.01.00    0c.00.00.04    07.11.10.00     00:02:00:00

    Finished Processing Commands Successfully.
    Exiting SAS2Flash.


Then I make sure the HBA is no longer a perc and correctly shows LSI crossflash was successful:

Code:
root@truenas[/mnt]# sas2flash -c 0 -list
LSI Corporation SAS2 Flash Utility
Version 16.00.00.00 (2013.03.01)
Copyright (c) 2008-2013 LSI Corporation. All rights reserved

    Adapter Selected is a LSI SAS: SAS2008(B1)   

    Controller Number              : 0
    Controller                     : SAS2008(B1)   
    PCI Address                    : 00:05:00:00
    SAS Address                    : 5a4badb-0-0ec1-2d00
    NVDATA Version (Default)       : 0c.00.00.04
    NVDATA Version (Persistent)    : 0c.00.00.04
    Firmware Product ID            : 0x2213 (IT)
    Firmware Version               : 13.00.01.00
    NVDATA Vendor                  : LSI
    NVDATA Product ID              : SAS9211-8i
    BIOS Version                   : 07.11.10.00
    UEFI BSD Version               : 02.00.01.09
    FCODE Version                  : N/A
    Board Name                     : PERC H200I
    Board Assembly                 : N/A
    Board Tracer Number            : N/A

    Finished Processing Commands Successfully.
    Exiting SAS2Flash.
root@truenas[/mnt]# sas2flash -c 1 -list
LSI Corporation SAS2 Flash Utility
Version 16.00.00.00 (2013.03.01)
Copyright (c) 2008-2013 LSI Corporation. All rights reserved

    Adapter Selected is a LSI SAS: SAS2008(B1)   

    Controller Number              : 1
    Controller                     : SAS2008(B1)   
    PCI Address                    : 00:02:00:00
    SAS Address                    : 5a4badb-0-0991-6000
    NVDATA Version (Default)       : 0c.00.00.04
    NVDATA Version (Persistent)    : 0c.00.00.04
    Firmware Product ID            : 0x2213 (IT)
    Firmware Version               : 13.00.01.00
    NVDATA Vendor                  : LSI
    NVDATA Product ID              : SAS9211-8i
    BIOS Version                   : 07.11.10.00
    UEFI BSD Version               : 02.00.01.09
    FCODE Version                  : N/A
    Board Name                     : PERC H200I
    Board Assembly                 : N/A
    Board Tracer Number            : N/A

    Finished Processing Commands Successfully.
    Exiting SAS2Flash.
root@truenas[/mnt]#


Then I check the driver vs firmware versions:
Code:
root@truenas[~]# dmesg | grep mps
mps0: <Avago Technologies (LSI) SAS2008> port 0xdc00-0xdcff mem 0xdf3b0000-0xdf3bffff,0xdf3c0000-0xdf3fffff irq 34 at device 0.0 on pci4
mps0: Firmware: 13.00.01.00, Driver: 21.02.00.00-fbsd
mps0: IOCCapabilities: 1285c<ScsiTaskFull,DiagTrace,SnapBuf,EEDP,TransRetry,EventReplay,HostDisc>
mps1: <Avago Technologies (LSI) SAS2008> port 0xfc00-0xfcff mem 0xdf5b0000-0xdf5bffff,0xdf5c0000-0xdf5fffff irq 41 at device 0.0 on pci7
mps1: Firmware: 13.00.01.00, Driver: 21.02.00.00-fbsd
mps1: IOCCapabilities: 1285c<ScsiTaskFull,DiagTrace,SnapBuf,EEDP,TransRetry,EventReplay,HostDisc>


So from the other threads I reference in my post and the broadcom website I see the latest firmware is V.20
https://docs.broadcom.com/docs/12350530

Can I download this file, ftp it to my root user's home directory o another usb pool and flash with this windows firmware .bin file directly from truenas or do I have to build a DOS usb drive with rufus?

Should I leave it as is and just install the latest version of TrueNas on an SSD?

I there a V.21 firmware for this HBA?

Many thanks in advance!
Regards,
ML
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
As long as the card is already running IT mode firmware, the onboard sas2flash is usually sufficient to update the card, yes.

However, I suggest you export your pool and do not have it mounted, because the controller will "go away" on the OS during the flash process. It makes the process slightly harrowing, and if you can put a "virgin" FreeNAS/TrueNAS on a USB thumb drive or something like that and use it exclusively to update the card firmware, that's the way I prefer to do that.
 

Spearfoot

He of the long foot
Moderator
Joined
May 13, 2015
Messages
2,478
Hello Everyone,

I've been a Freenas/Truenas user for about 10 years on my HP Microservers Gen 8.

I have read these two excellent threads before posting, but my question is not discussed in these threads:

https://www.truenas.com/community/r...9300-9305-9311-9400-94xx-hba-and-variants.54/
https://www.truenas.com/community/t...bios-detection-fix-hotswap-not-working.84689/

About a decade ago I bought a Dell T610 and left it in a closet due to noise and moved to HP Microservers.

I updated my Dell T610 perc H200 SAS controller to IT mode with LSI firmware version 13 back in the day, about 10 years ago before installing Solaris 11.3

I want to rebuild this machine as a TrueNas backup server for my HP Gen 8's but want to upgrade the firmware on the HBA to match the driver on the current build of truenas.

I am running TrueNAS-12.0-U3.1 off a USB stick with no drives or pools attached to the HBA.

Can I flash to the latest firmware directly from TrueNas as it has sas2flash installed?

I don't see a v21 firmware for the LSI, only v 20.

I ssh into the T610 and get the following output:

Code:
root@truenas[~]# sas2flash -listall
LSI Corporation SAS2 Flash Utility
Version 16.00.00.00 (2013.03.01)
Copyright (c) 2008-2013 LSI Corporation. All rights reserved

    Adapter Selected is a LSI SAS: SAS2008(B1)  

Num   Ctlr            FW Ver        NVDATA        x86-BIOS         PCI Addr
----------------------------------------------------------------------------

0  SAS2008(B1)     13.00.01.00    0c.00.00.04    07.11.10.00     00:05:00:00
1  SAS2008(B1)     13.00.01.00    0c.00.00.04    07.11.10.00     00:02:00:00

    Finished Processing Commands Successfully.
    Exiting SAS2Flash.


Then I make sure the HBA is no longer a perc and correctly shows LSI crossflash was successful:

Code:
root@truenas[/mnt]# sas2flash -c 0 -list
LSI Corporation SAS2 Flash Utility
Version 16.00.00.00 (2013.03.01)
Copyright (c) 2008-2013 LSI Corporation. All rights reserved

    Adapter Selected is a LSI SAS: SAS2008(B1)  

    Controller Number              : 0
    Controller                     : SAS2008(B1)  
    PCI Address                    : 00:05:00:00
    SAS Address                    : 5a4badb-0-0ec1-2d00
    NVDATA Version (Default)       : 0c.00.00.04
    NVDATA Version (Persistent)    : 0c.00.00.04
    Firmware Product ID            : 0x2213 (IT)
    Firmware Version               : 13.00.01.00
    NVDATA Vendor                  : LSI
    NVDATA Product ID              : SAS9211-8i
    BIOS Version                   : 07.11.10.00
    UEFI BSD Version               : 02.00.01.09
    FCODE Version                  : N/A
    Board Name                     : PERC H200I
    Board Assembly                 : N/A
    Board Tracer Number            : N/A

    Finished Processing Commands Successfully.
    Exiting SAS2Flash.
root@truenas[/mnt]# sas2flash -c 1 -list
LSI Corporation SAS2 Flash Utility
Version 16.00.00.00 (2013.03.01)
Copyright (c) 2008-2013 LSI Corporation. All rights reserved

    Adapter Selected is a LSI SAS: SAS2008(B1)  

    Controller Number              : 1
    Controller                     : SAS2008(B1)  
    PCI Address                    : 00:02:00:00
    SAS Address                    : 5a4badb-0-0991-6000
    NVDATA Version (Default)       : 0c.00.00.04
    NVDATA Version (Persistent)    : 0c.00.00.04
    Firmware Product ID            : 0x2213 (IT)
    Firmware Version               : 13.00.01.00
    NVDATA Vendor                  : LSI
    NVDATA Product ID              : SAS9211-8i
    BIOS Version                   : 07.11.10.00
    UEFI BSD Version               : 02.00.01.09
    FCODE Version                  : N/A
    Board Name                     : PERC H200I
    Board Assembly                 : N/A
    Board Tracer Number            : N/A

    Finished Processing Commands Successfully.
    Exiting SAS2Flash.
root@truenas[/mnt]#


Then I check the driver vs firmware versions:
Code:
root@truenas[~]# dmesg | grep mps
mps0: <Avago Technologies (LSI) SAS2008> port 0xdc00-0xdcff mem 0xdf3b0000-0xdf3bffff,0xdf3c0000-0xdf3fffff irq 34 at device 0.0 on pci4
mps0: Firmware: 13.00.01.00, Driver: 21.02.00.00-fbsd
mps0: IOCCapabilities: 1285c<ScsiTaskFull,DiagTrace,SnapBuf,EEDP,TransRetry,EventReplay,HostDisc>
mps1: <Avago Technologies (LSI) SAS2008> port 0xfc00-0xfcff mem 0xdf5b0000-0xdf5bffff,0xdf5c0000-0xdf5fffff irq 41 at device 0.0 on pci7
mps1: Firmware: 13.00.01.00, Driver: 21.02.00.00-fbsd
mps1: IOCCapabilities: 1285c<ScsiTaskFull,DiagTrace,SnapBuf,EEDP,TransRetry,EventReplay,HostDisc>


So from the other threads I reference in my post and the broadcom website I see the latest firmware is V.20
https://docs.broadcom.com/docs/12350530

Can I download this file, ftp it to my root user's home directory o another usb pool and flash with this windows firmware .bin file directly from truenas or do I have to build a DOS usb drive with rufus?

Should I leave it as is and just install the latest version of TrueNas on an SSD?

I there a V.21 firmware for this HBA?

Many thanks in advance!
Regards,
ML
Your link is to Broadcom's P20 version 20.00.07.00 firmware, which is the latest firmware available for these LSI/Avago/Broadcom SAS2008-series cards.

I have applied this firmware to multiple Dell H200 HBAs, booting from a DOS USB stick made w/ Rufus, and using the DOS version of SAS2FLSH.EXE.

You should be able to flash the card using sas2flash running TrueNAS, but I haven't done this myself.

There are several related threads about this subject here on the forum.
 

Mongo_Loyd

Cadet
Joined
May 24, 2021
Messages
4
Thank you gentlemen,

It worked.

I flashed twice, once for controller 0 and once for controller 1:
Output is:

Code:
sas2flash -listall
LSI Corporation SAS2 Flash Utility
Version 16.00.00.00 (2013.03.01)
Copyright (c) 2008-2013 LSI Corporation. All rights reserved

    Adapter Selected is a LSI SAS: SAS2008(B1)   

Num   Ctlr            FW Ver        NVDATA        x86-BIOS         PCI Addr
----------------------------------------------------------------------------

0  SAS2008(B1)     20.00.07.00    14.01.00.08    07.11.10.00     00:05:00:00
1  SAS2008(B1)     20.00.07.00    14.01.00.08    07.11.10.00     00:02:00:00

    Finished Processing Commands Successfully.
    Exiting SAS2Flash.


Code:
root@truenas[~]# sas2flash -c 0 -list
LSI Corporation SAS2 Flash Utility
Version 16.00.00.00 (2013.03.01)
Copyright (c) 2008-2013 LSI Corporation. All rights reserved

    Adapter Selected is a LSI SAS: SAS2008(B1)   

    Controller Number              : 0
    Controller                     : SAS2008(B1)   
    PCI Address                    : 00:05:00:00
    SAS Address                    : 5a4badb-0-0ec1-2d00
    NVDATA Version (Default)       : 14.01.00.08
    NVDATA Version (Persistent)    : 14.01.00.08
    Firmware Product ID            : 0x2213 (IT)
    Firmware Version               : 20.00.07.00
    NVDATA Vendor                  : LSI
    NVDATA Product ID              : SAS9211-8i
    BIOS Version                   : 07.11.10.00
    UEFI BSD Version               : 02.00.01.09
    FCODE Version                  : N/A
    Board Name                     : PERC H200I
    Board Assembly                 : N/A
    Board Tracer Number            : N/A

    Finished Processing Commands Successfully.
    Exiting SAS2Flash.
root@truenas[~]# sas2flash -c 1 -list
LSI Corporation SAS2 Flash Utility
Version 16.00.00.00 (2013.03.01)
Copyright (c) 2008-2013 LSI Corporation. All rights reserved

    Adapter Selected is a LSI SAS: SAS2008(B1)   

    Controller Number              : 1
    Controller                     : SAS2008(B1)   
    PCI Address                    : 00:02:00:00
    SAS Address                    : 5a4badb-0-0991-6000
    NVDATA Version (Default)       : 14.01.00.08
    NVDATA Version (Persistent)    : 14.01.00.08
    Firmware Product ID            : 0x2213 (IT)
    Firmware Version               : 20.00.07.00
    NVDATA Vendor                  : LSI
    NVDATA Product ID              : SAS9211-8i
    BIOS Version                   : 07.11.10.00
    UEFI BSD Version               : 02.00.01.09
    FCODE Version                  : N/A
    Board Name                     : PERC H200I
    Board Assembly                 : N/A
    Board Tracer Number            : N/A

    Finished Processing Commands Successfully.
    Exiting SAS2Flash.

Code:
root@truenas[~]# dmesg | grep mps
mps0: <Avago Technologies (LSI) SAS2008> port 0xdc00-0xdcff mem 0xdf3b0000-0xdf3bffff,0xdf3c0000-0xdf3fffff irq 34 at device 0.0 on pci4
mps0: Firmware: 20.00.07.00, Driver: 21.02.00.00-fbsd
mps0: IOCCapabilities: 1285c<ScsiTaskFull,DiagTrace,SnapBuf,EEDP,TransRetry,EventReplay,HostDisc>
mps1: <Avago Technologies (LSI) SAS2008> port 0xfc00-0xfcff mem 0xdf5b0000-0xdf5bffff,0xdf5c0000-0xdf5fffff irq 41 at device 0.0 on pci7
mps1: Firmware: 20.00.07.00, Driver: 21.02.00.00-fbsd
mps1: IOCCapabilities: 1285c<ScsiTaskFull,DiagTrace,SnapBuf,EEDP,TransRetry,EventReplay,HostDisc>


Thank you sooooooo much!.

I'll now install TrueNas on an SSD and backup my microservers.

No need for Rufus of DOS flash. I just FTP the bin file to my root mnt directory and flashed on TrueNas via sas2flash.

Thanks!!!!! So helpful. I'll report back if I have any issues. Now time to migrate data to my new SAS Ultrastars....
 
Top