Linux reboots when loading mptsas with all ports connected

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

fr3

New Member
Nov 20, 2023
6
1
3
How odd. I have an onboard SAS1068E B3 controller and two SAS2308 D1 pcie cards (one SAS9217-8i and onw HP H220) with two 8087 ports each.

Code:
[root@UR ~]# sas2flasher/Installer_P20_for_Linux/sas2flash_linux_i686_x86-64_rel/sas2flash -c 0 -list

LSI Corporation SAS2 Flash Utility

Version 20.00.00.00 (2014.09.18)

Copyright (c) 2008-2014 LSI Corporation. All rights reserved


        Adapter Selected is a LSI SAS: SAS2308_1(D1)


        Controller Number              : 0

        Controller                     : SAS2308_1(D1)

        PCI Address                    : 00:07:00:00

        SAS Address                    : 500605b-0-08b5-c220

        NVDATA Version (Default)       : 14.01.30.16

        NVDATA Version (Persistent)    : 14.01.30.16

        Firmware Product ID            : 0x2214 (IT)

        Firmware Version               : 20.00.07.00

        NVDATA Vendor                  : LSI

        NVDATA Product ID              : LSI2308-IT

        BIOS Version                   : N/A

        UEFI BSD Version               : N/A

        FCODE Version                  : N/A

        Board Name                     : SAS9217-8i

        Board Assembly                 : 03-25599-00A

        Board Tracer Number            : SV41304831


        Finished Processing Commands Successfully.

        Exiting SAS2Flash.

[root@UR ~]# sas2flasher/Installer_P20_for_Linux/sas2flash_linux_i686_x86-64_rel/sas2flash -c 1 -list

LSI Corporation SAS2 Flash Utility

Version 20.00.00.00 (2014.09.18)

Copyright (c) 2008-2014 LSI Corporation. All rights reserved


        Adapter Selected is a LSI SAS: SAS2308_1(D1)


        Controller Number              : 1

        Controller                     : SAS2308_1(D1)

        PCI Address                    : 00:02:00:00

        SAS Address                    : 500605b-0-04b1-ab00

        NVDATA Version (Default)       : 14.01.30.16

        NVDATA Version (Persistent)    : 14.01.30.16

        Firmware Product ID            : 0x2214 (IT)

        Firmware Version               : 20.00.07.00

        NVDATA Vendor                  : LSI

        NVDATA Product ID              : LSI2308-IT

        BIOS Version                   : N/A

        UEFI BSD Version               : N/A

        FCODE Version                  : N/A

        Board Name                     : H220

        Board Assembly                 : H3-25278-05D

        Board Tracer Number            : SV22206797


        Finished Processing Commands Successfully.

        Exiting SAS2Flash.

[root@UR ~]#

[root@UR ~]# lsiutil


LSI Logic MPT Configuration Utility, Version 1.72, Sep 09, 2014


3 MPT Ports found


     Port Name         Chip Vendor/Type/Rev    MPT Rev  Firmware Rev  IOC

1.  /proc/mpt/ioc0    LSI Logic SAS1068E B3     105      011a0000     0

2.  /proc/mpt/ioc0    LSI Logic SAS2308 D1      200      14000700     0

3.  ioc1              LSI Logic SAS2308 D1      200      14000700     0


Select a device:  [1-3 or 0 to quit]

If all 4 of the 8087's on the cards are connected, then my kernel reboots when loading the mptsas module. else, if less than 4 8087's are connected, it boots to a login prompt. IT didn't do that before the firmware update. What might cause this?

I backed up the firmware before updating but sas2flasher won't let me put the original fw back.
Bash:
[root@UR ~]# sas2flasher/Installer_P20_for_Linux/sas2flash_linux_i686_x86-64_rel/sas2flash -c 0 -o -f sas2flash.c0.ufirmware.b4update

LSI Corporation SAS2 Flash Utility

Version 20.00.00.00 (2014.09.18)

Copyright (c) 2008-2014 LSI Corporation. All rights reserved


        Advanced Mode Set


        Adapter Selected is a LSI SAS: SAS2308_1(D1)


        Executing Operation: Flash Firmware Image


                Firmware Image has a Valid Checksum.

                Firmware Version 19.00.00.00

                Firmware Image compatible with Controller.


                Valid NVDATA Image found.

                NVDATA Version 11.00.00.00

                Checking for a compatible NVData image...


                NVDATA Device ID and Chip Revision match verified.

                ERROR: Cannot downgrade NVDATA version 14.01.30.16

                       to 11.00.110000.00.


                ERROR: Failed to get valid NVDATA image from File!


                Firmware Image Validation Failed!


        Due to error remaining commands will not be executed.

        Unable to Process Commands.

        Exiting SAS2Flash.

[root@UR ~]#



Should I be able to run the same IT mode fw on both SAS2308 cards?

[root@UR ~]# sas2flasher/Installer_P20_for_Linux/sas2flash_linux_i686_x86-64_rel/sas2flash -c 1 -o -f sas2flash.c1.ufirmware.b4update

LSI Corporation SAS2 Flash Utility

Version 20.00.00.00 (2014.09.18)

Copyright (c) 2008-2014 LSI Corporation. All rights reserved


        Advanced Mode Set


        Adapter Selected is a LSI SAS: SAS2308_1(D1)


        Executing Operation: Flash Firmware Image


                Firmware Image has a Valid Checksum.

                Firmware Version 13.10.53.00

                Firmware Image compatible with Controller.


                Valid NVDATA Image found.

                NVDATA Version 0d.43.00.00

                Checking for a compatible NVData image...


                NVDATA Device ID and Chip Revision match verified.

                ERROR: Cannot downgrade NVDATA version 14.01.30.16

                       to 0d.43.d0000.00.


                ERROR: NVDATA Image does not match Controller Chip Revision!

                       NVDATA Chip Revision Range: 0x1 to 0x3

                       Controller Chip Revision: 0x5


                ERROR: No compatible NVDATA Image(s) found!


                Firmware Image Validation Failed!


        Due to error remaining commands will not be executed.

        Unable to Process Commands.

        Exiting SAS2Flash.

[root@UR ~]#
Should I be able to run the same fw on both of these 2308 cards?

Other backstory. this server was stable for years in datacente. 6 months ago I added a gpu. 1 month ago it rebooted on its own while under moderate IO load. I was able to log back in but it wouldn't stay up more than a day or so without a reboot. I tried updating firmware on first raid card, and that went without problem. then I tried second, and got interrupted half way through and it wouldn't stay booted after that. I traveled to datacenter, noticed that on power up the fans spun and stopped several times before starting and running. I thought maybe it was over budget on power though it had a 1kw psu.... I took out gpu, then it would never actualy start and stay running, just start and stop the fans they wouldn't quite stop, but they were clearly losing power. I changed PSU and it booted and stayed booted. examining old psu found bulging caps, so I don't think its good to keep that one in and maybe it was "weakened" by that. replacement is only 550watts but it runs for many hours in breakin.

booting a live environment (bootimage breakin from ACT) and el8 from the os disks, it will reboot if all sas cables are connected now, but not if only 3 are connected
 
Last edited: