Checking if my LSI HBA is in IT Mode

Martin C2S

Dabbler
Joined
Oct 12, 2020
Messages
20
Hello,

Simple question here, how do I check if my LSI HBA card is indeed in IT Mode?

The reason I ask I'm seeing, what I think is some odd behaviour when looking at my disks breakdown. When I take a drive out, add a new one or swap some drives around, the new one won't show up and the ones that have moved positions will lose their serial number in GUI. The only way to get them to show up is to either put them in their original spots or reboot the system.

Could this be because the card isn't in IT mode or some other reason?

TIA!
 

blanchet

Guru
Joined
Apr 17, 2018
Messages
516
For LSI HBA, use either sas3flash or sas2flash depending on your model

Code:
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:01:00:00
    SAS Address                    : xxxxxxxxxxxx
    NVDATA Version (Default)       : 0e.00.30.28
    NVDATA Version (Persistent)    : 0e.00.30.28
    Firmware Product ID            : 0x2221 (IT)
    Firmware Version               : 15.00.03.00
    NVDATA Vendor                  : LSI
    NVDATA Product ID              : LSI3008-IT
    BIOS Version                   : 08.35.00.00
    UEFI BSD Version               : 17.00.00.00
    FCODE Version                  : N/A
    Board Name                     : LSI3008-IT
    Board Assembly                 : N/A
    Board Tracer Number            : N/A

    Finished Processing Commands Successfully.
    Exiting SAS3Flash.


The line Firmware Product ID line tells you if you are in IT or IR (RAID) mode.
 

Martin C2S

Dabbler
Joined
Oct 12, 2020
Messages
20
Awesome! So that worked, using sas2flash, for one of my cards but how do I get a listing for the 2nd one?
 

blanchet

Guru
Joined
Apr 17, 2018
Messages
516
  • To list your adapters use sas3ircu list or sas2ircu list
  • To display the information about a specific adapter, use sas3flash -c XX -list or sas2flash -c XX -list
    where XX is the index displayed with sas3ircu list (or sas2ircu list)
Example
Code:
# sas3ircu list
Avago Technologies SAS3 IR Configuration Utility.
Version 16.00.00.00 (2017.04.26)

         Adapter      Vendor  Device                       SubSys  SubSys
Index    Type          ID      ID    Pci Address          Ven ID  Dev ID
-----  ------------  ------  ------  -----------------    ------  ------
   0     SAS3008       1000h   97h    00h:01h:00h:00h      15d9h   0808h


The index is 0, so I add -c 0
Code:
# sas3flash -c 0 -list
Avago Technologies SAS3 Flash Utility
Version 16.00.00.00 (2017.05.02)

    Adapter Selected is a Avago SAS: SAS3008(C0)

    Controller Number              : 0
    Controller                     : SAS3008(C0)
    PCI Address                    : 00:01:00:00
    SAS Address                    : xxxxxx
    NVDATA Version (Default)       : 0e.00.30.28
    NVDATA Version (Persistent)    : 0e.00.30.28
    Firmware Product ID            : 0x2221 (IT)
    Firmware Version               : 15.00.03.00
    NVDATA Vendor                  : LSI
    NVDATA Product ID              : LSI3008-IT
    BIOS Version                   : 08.35.00.00
    UEFI BSD Version               : 17.00.00.00
    FCODE Version                  : N/A
    Board Name                     : LSI3008-IT

    Finished Processing Commands Successfully.
    Exiting SAS3Flash.
 

Martin C2S

Dabbler
Joined
Oct 12, 2020
Messages
20
Awesome, thanks! Confirmed both the cards are in IT mode with just a slight difference in firmware version (20.00.06 vs. 20.00.07) but I don't think this should be an issue and shouldn't be causing the issues I described in my original post.

Any ideas on what could be causing that behaviour?
 
Top