Flashing Controller fails

Hi All,
I tried flashing my controller and it failed. Here’s the controller details

@truenas[~]# storcli show all
CLI Version = 007.1207.0000.0000 Sep 25, 2019
Operating system = FreeBSD 13.1-RELEASE-p9
Status Code = 0
Status = Success
Description = None

Number of Controllers = 0
Host Name = truenas.local
Operating System = FreeBSD 13.1-RELEASE-p9
StoreLib IT Version = 07.1300.0200.0000

root@truenas[~]# sas3flash -list
Avago Technologies SAS3 Flash Utility
Version 16.00.00.00 (2017.05.02)
Copyright 2008-2017 Avago Technologies. All rights reserved.

    Adapter Selected is a Avago SAS: SAS3008(C0)

    Controller Number              : 0
    Controller                     : SAS3008(C0)
    PCI Address                    : 00:02:00:00
    SAS Address                    : 5588a5a-0-f835-5900
    NVDATA Version (Default)       : 0e.01.00.39
    NVDATA Version (Persistent)    : 0e.01.00.39
    Firmware Product ID            : 0x2221 (IT)
    Firmware Version               : 16.00.11.00
    NVDATA Vendor                  : LSI
    NVDATA Product ID              : Dell HBA330 Adp
    BIOS Version                   : 08.37.02.00
    UEFI BSD Version               : 18.00.03.00
    FCODE Version                  : N/A
    Board Name                     : Dell HBA330 Adp
    Board Assembly                 : N/A
    Board Tracer Number            : N/A

    Finished Processing Commands Successfully.
    Exiting SAS3Flash.

root@truenas[~]#

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

    No LSI SAS adapters found! Limited Command Set Available!
    ERROR: Command Not allowed without an adapter!
    ERROR: Couldn't Create Command -list
    Exiting Program.

root@truenas[~]#

the error I got was;

How do I go to UEFI mode to flash it? The server is a Dell T340.

Thanks

I have always used a FreeDOS USB boot drive with the LSI utilities and code loaded on it to flash the SAS HBAs, that guarantees that nothing else is trying to access them while I am flashing.

IIRC those HBAs have space for two copies of the firmware so that a failed download does not brick them. Was the controller visible after a hard power cycle of the server?

I haven’t done this in over a year, so I don’t remember specifics.

You can typically boot in UEFI by selecting the UEFI shell from your motherboard’s boot menu.

This is a sas3 controller, not sas2, that’s why you are unable to list the controller with sas2flash.

I uses SAS3Flash though

Yes, it’s working fine, but Im very uncomfortable trying again and using my last life.
Is there a way of telling if it’s got a corrupted version and therfore I’m on my last life?

Thanks

Put sas3flash.efi and firmware on a USB thumbdrive.
Boot to BIOS/Boot Menu and select UEFI Shell.
Once in shell:

  • map to list filesystems
  • fs0: to go to the first device, which hopefully is the thumbdrive
  • dir to list content
  • repeat above two steps until you find the thumbdrive fs1: etc.
  • flash according to instructions

There is a way using sas2flsh / sas3flsh to get it to show you the primary and backup firmware, I don’t have the manual in front of me right now. BTW, it can do so much more than just flash FW, and the manual is pretty complete (but kind of hard to read).