LSI 9206-16e reading temp in linux?

legen

Active Member
Mar 6, 2013
200
34
28
Sweden
I just got myself a dell-branded (TFJRW) LSI 9206-16e adapter. It has dual 2308 SAS controllers.
When i first plugged it in it had firmware: 13.00.60.00 and no bios. When booting my proxmox (debian) it printed warnings that temperature thresholds were exceeded (it was some 70 degrees hot since i did not have the correct airflow). I added a fan and the temperature was ok (~50 degrees).

They looked like this,
Jun 20 07:11:02 blue kernel: [ 26.615135] mpt2sas_cm1: Temperature Threshold flags 0 exceeded for Sensor: 0 !!!
Jun 20 07:11:02 blue kernel: [ 26.615253] mpt2sas_cm1: Current Temp In Celsius: 42
Jun 20 07:11:02 blue kernel: [ 26.638755] mpt2sas_cm0: Temperature Threshold flags 0 exceeded for Sensor: 0 !!!
Jun 20 07:11:02 blue kernel: [ 26.638873] mpt2sas_cm0: Current Temp In Celsius: 37


I went on and flashed latest P20 firmware (20.00.07) and the corresponding bios.

But now i cannot figure out how to get the HBA temperature? I removed the fan and waited a while but now it does not print the temperature warnings anymore.

Do any one know how i can get the temperature of the HBA?

Thanks!
 

legen

Active Member
Mar 6, 2013
200
34
28
Sweden
You can get the latest version of Storcli and try
storcli /c0 show all | grep -i temperature
I did try storecli now but it does not detect my controller.

root@blue:/opt/MegaRAID/storcli# ./storcli64 show
CLI Version = 007.1316.0000.0000 Mar 12, 2020
Operating system = Linux 5.4.41-1-pve
Status Code = 0
Status = Success
Description = None

Number of Controllers = 0
Host Name = blue
Operating System = Linux 5.4.41-1-pve
StoreLib IT Version = 07.1400.0200.0200
StoreLib IR3 Version = 16.11-0


The controller is however detected by sas2ircu,
sas2ircu list
LSI Corporation SAS2 IR Configuration Utility.
Version 16.00.00.00 (2013.03.01)
Copyright (c) 2009-2013 LSI Corporation. All rights reserved.


Adapter Vendor Device SubSys SubSys
Index Type ID ID Pci Address Ven ID Dev ID
----- ------------ ------ ------ ----------------- ------ ------
0 SAS2308_2 1000h 87h 00h:04h:00h:00h 1000h 3070h

Adapter Vendor Device SubSys SubSys
Index Type ID ID Pci Address Ven ID Dev ID
----- ------------ ------ ------ ----------------- ------ ------
1 SAS2308_2 1000h 87h 00h:06h:00h:00h 1000h 3070h
SAS2IRCU: Utility Completed Successfully.


Any idea why storcli does not detect it while sas2ircu does?

Sas2ircu display:
sas2ircu 1 display
LSI Corporation SAS2 IR Configuration Utility.
Version 16.00.00.00 (2013.03.01)
Copyright (c) 2009-2013 LSI Corporation. All rights reserved.

Read configuration has been initiated for controller 1
------------------------------------------------------------------------
Controller information
------------------------------------------------------------------------
Controller type : SAS2308_2
BIOS version : 7.39.02.00
Firmware version : 20.00.07.00
Channel description : 1 Serial Attached SCSI
Initiator ID : 0
Maximum physical devices : 1023
Concurrent commands supported : 10240
Slot : Unknown
Segment : 0
Bus : 6
Device : 0
Function : 0
RAID Support : No
------------------------------------------------------------------------
IR Volume information
------------------------------------------------------------------------
------------------------------------------------------------------------
Physical device information
------------------------------------------------------------------------
------------------------------------------------------------------------
Enclosure information
------------------------------------------------------------------------
Enclosure# : 1
Logical ID : 500605b0:0aba6600
Numslots : 8
StartSlot : 0
------------------------------------------------------------------------
SAS2IRCU: Command DISPLAY Completed Successfully.
SAS2IRCU: Utility Completed Successfully.

Edit. Could it be that the card came with IR firmware and the It firmware now flashed isnt supported by storcli?
 
Last edited:

legen

Active Member
Mar 6, 2013
200
34
28
Sweden
I think I may have found the answer.

MegaCLI/StorCli requires the IR-firmware i.e. a "raid card". After flashing to IT and making it a HBA these tools no longer work.
I think the IT-firmware also lacks functions to read the actual temperature.
Sas2ircu can be used to query the IT-firmware but theres not much information to display since most functions are not available in that firmware.

For reference: https://www.reddit.com/r/homelab/comments/cqvxeb
I will get an external thermometer and try to measure the temperature to ensure my airflow is sufficient.