I’ve spent hours digging through forums trying various things but I am struggling to find the right answer. I am building my first Truenas system (SCALE). Installation was no issue but it seems the OS is unable to properly see my HBA card. The card is LSI SAS 9300-16I. I successfully flashed the card in IT mode. I tried with and without including the unnecessary bits that do things like provide the build in boot gui but it made no difference in Truenas seeing the hba.
I had no issues with flashing by booting into shell and using sas3flash. The card shows up as 2 controllers (2 X 8 port) and i did flash both of them to the recommended version for Truenas which is of course also IT mode.
Working backwards from not being able to see any drives connected to the controller in Truenas I assume it is related to truenas not seeing the card properly. This is the output from sas3flash after ssh to the OS
"
truenas_admin@truenas[~]$ sudo sas3flash -list
Avago Technologies SAS3 Flash Utility
Version 16.00.00.00 (2017.05.02)
Copyright 2008-2017 Avago Technologies. All rights reserved.
No Avago SAS adapters found! Limited Command Set Available!
ERROR: Command Not allowed without an adapter!
ERROR: Couldn't Create Command -list
Exiting Program.
"
This is the relative output from lscpci
"
04:00.0 Serial Attached SCSI controller: Broadcom / LSI SAS3008 PCI-Express Fusion-MPT SAS-3 (rev 02)
06:00.0 Serial Attached SCSI controller: Broadcom / LSI SAS3008 PCI-Express Fusion-MPT SAS-3 (rev 02)
"
This is the relative output from lscpci -vv
"
Serial Attached SCSI controller: Broadcom / LSI SAS3008 PCI-Express Fusion-MPT SAS-3 (rev 02)
Subsystem: Broadcom / LSI SAS 9300-16i
!!! Unknown header type 7f
Interrupt: pin ? routed to IRQ 17
IOMMU group: 17
Region 0: I/O ports at 4000 [size=256]
Region 1: Memory at 81440000 (64-bit, non-prefetchable) [size=64K]
Region 3: Memory at 81400000 (64-bit, non-prefetchable) [size=256K]
Expansion ROM at 81300000 [disabled] [size=1M]
Kernel modules: mpt3sas
Serial Attached SCSI controller: Broadcom / LSI SAS3008 PCI-Express Fusion-MPT SAS-3 (rev 02)
Subsystem: Broadcom / LSI SAS 9300-16i
!!! Unknown header type 7f
Interrupt: pin ? routed to IRQ 18
IOMMU group: 18
Region 0: I/O ports at 3000 [size=256]
Region 1: Memory at 81240000 (64-bit, non-prefetchable) [size=64K]
Region 3: Memory at 81200000 (64-bit, non-prefetchable) [size=256K]
Expansion ROM at 81100000 [disabled] [size=1M]
Kernel modules: mpt3sas
"
Photos of sas3flash working from thumb drive. In these photos I don’t currently have the unnecessary bits flashed as per recommendation in some forums.
Same photos of sas3flash working from thumb drive but now with unnecessary bios flashed which makes no difference in operability with Truenas OS
I flashed with 2 versions of mpt files from different sources but my understanding is that bios doesn’t matter here anyway.
The most useful guides/resources I used.
There was one more but I have to find it again.