Table of Contents

Firmware

The card shipped with firmware for 9300-8i even though it's an external port card (would have thought it were 9300-8e). Might be a knock-off with the wrong description flashed into it.

Download from Broadcom

There are three components to the firmwares:

Checking current versions

kowlan ~/Installer_P16_for_Linux # ./sas3flash_linux_x64_rel/sas3flash -list
Avago Technologies SAS3 Flash Utility
Version 17.00.00.00 (2018.04.02) 
Copyright 2008-2018 Avago Technologies. All rights reserved.

        Adapter Selected is a Avago SAS: SAS3008(C0)

        Controller Number              : 0
        Controller                     : SAS3008(C0)
        PCI Address                    : 00:04:00:00
        SAS Address                    : 500605b-0-0b4e-c8d9
        NVDATA Version (Default)       : 0e.01.00.07
        NVDATA Version (Persistent)    : 0e.01.00.07
        Firmware Product ID            : 0x2221 (IT)
        Firmware Version               : 16.00.10.00
        NVDATA Vendor                  : LSI
        NVDATA Product ID              : SAS9300-8i
        BIOS Version                   : 08.11.00.00
        UEFI BSD Version               : 18.00.00.00
        FCODE Version                  : N/A
        Board Name                     : SAS9300-8i
        Board Assembly                 : N/A
        Board Tracer Number            : N/A

        Finished Processing Commands Successfully.
        Exiting SAS3Flash.

This shows the card is running an “IT” mode firmware, expects firmwares for SAS9300-8i, is currently running contorller firmware 16.00.10.00 and UEFI boot rom 18.00.00.00,

Upgrading

./sas3flash_linux_x64_rel/sas3flash -o -f ~/9300_8i_Package_P16_IR_IT_FW_BIOS_for_MSDOS_Windows/Firmware/SAS9300_8i_IT/SAS9300_8i_IT.bin -b ~/9300_8i_Package_P16_IR_IT_FW_BIOS_for_MSDOS_Windows/uefi_bsd_rel/mpt3x64.rom

Flash the controller ahd UEFI firmwares at the same time. The flash tool will do a compatibility check and warn if there's a bad combination. Might prevent an accidental bricking of the card.

Operation

Listing available controllers

kowlan ~ # /opt/lsi/sas3ircu LIST
Avago Technologies SAS3 IR Configuration Utility.
Version 17.00.00.00 (2018.04.02) 
Copyright (c) 2009-2018 Avago Technologies. All rights reserved. 
 
 
         Adapter      Vendor  Device                       SubSys  SubSys 
 Index    Type          ID      ID    Pci Address          Ven ID  Dev ID 
 -----  ------------  ------  ------  -----------------    ------  ------ 
   0     SAS3008       1000h   97h    00h:04h:00h:00h      1000h   30e0h 
SAS3IRCU: Utility Completed Successfully.

Viewing available disks

Needs sys-block/sas3ircu. Have emerged this onto the box temporarily, but should try to get this packaged upstream.

kowlan ~ # /opt/lsi/sas3ircu 0 DISPLAY
Avago Technologies SAS3 IR Configuration Utility.
Version 17.00.00.00 (2018.04.02) 
Copyright (c) 2009-2018 Avago Technologies. All rights reserved. 

Read configuration has been initiated for controller 0
------------------------------------------------------------------------
Controller information
------------------------------------------------------------------------
  Controller type                         : SAS3008
  BIOS version                            : 8.11.00.00
  Firmware version                        : 16.00.10.00
  Channel description                     : 1 Serial Attached SCSI
  Initiator ID                            : 0
  Maximum physical devices                : 1023
  Concurrent commands supported           : 9856
  Slot                                    : 2
  Segment                                 : 0
  Bus                                     : 4
  Device                                  : 0
  Function                                : 0
  RAID Support                            : No
------------------------------------------------------------------------
IR Volume information
------------------------------------------------------------------------
------------------------------------------------------------------------
Physical device information
------------------------------------------------------------------------
------------------------------------------------------------------------
Enclosure information
------------------------------------------------------------------------
  Enclosure#                              : 1
  Logical ID                              : 500605b0:0b4ec8d9
  Numslots                                : 8
  StartSlot                               : 0
------------------------------------------------------------------------
SAS3IRCU: Command DISPLAY Completed Successfully.
SAS3IRCU: Utility Completed Successfully.

No disks or SCSI enclosures here, need to check the cables.

Recovering lost arrays

https://www.thomas-krenn.com/en/wiki/StorCLI_commands#Incorporating_an_improperly_removed_device

Seen before, during a reboot, all disks in a RAID1 were detected as UBUnsp (unconfigured, bad, unsupported). Reseating the drives helped. To bring them back online: