Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jun 2021 13:04:59 +0200
From:      "O. Hartmann" <ohartmann@walstatt.org>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   storcli: howto crossflash Fujitsu PRAID400i to LSI3008 HBA?
Message-ID:  <20210623130455.60efd02f@freyja>

next in thread | raw e-mail | index | archive | help
Hello out there.

I have a bunch of Fujitsu PRAID400i Controller from some servers we switch=
 to
FreeBSD driven systems and ZFS. I will not use RAID controllers with ZFS s=
o I
tried to cross flash these controllers, but without any success. The DOS t=
ools
I use produce on several mainboards a PAL error. The motherboard's UEFI I
uitilise doesn't provide a UEFI shell, so at that point it seems I'm stuck=
. I
found the FreeBSD port storcli, but the tool doesn't crossflash - or it do=
esn't
reveal its magic knobs to do so.

The sas3flash FreeBSD binary imag from Broadcom
https://www.broadcom.com/products/storage/host-bus-adapters/sas-9300-8i

doesn't recognize the test adapter (the adapters seem to have different st=
ages
of firmware brandings, some from 2015 do have Avago, other, newer from 201=
9,
seem to be branded with Broadcom):

pciconf -lvbc

mrsas0@pci0:1:0:0:      class=3D0x010400 rev=3D0x02 hdr=3D0x00 vendor=3D0x=
1000
device=3D0x005f subvendor=3D0x1734 subdevice=3D0x1211
    vendor     =3D 'Broadcom / LSI'
    device     =3D 'MegaRAID SAS-3 3008 [Fury]'
    class      =3D mass storage
    subclass   =3D RAID
    bar   [10] =3D type I/O Port, range 32, base 0xe000, size 256, enabled
    bar   [14] =3D type Memory, range 64, base 0xfb300000, size 65536, ena=
bled
    bar   [1c] =3D type Memory, range 64, base 0xfb200000, size 1048576, e=
nabled
    cap 01[50] =3D powerspec 3  supports D0 D1 D2 D3  current D0
    cap 10[68] =3D PCI-Express 2 endpoint max data 256(4096) FLR NS
                 max read 512
                 link x4(x8) speed 8.0(8.0) ASPM disabled(L0s)
    cap 05[a8] =3D MSI supports 1 message, 64 bit, vector masks
    cap 11[c0] =3D MSI-X supports 97 messages, enabled
                 Table in map 0x14[0xe000], PBA in map 0x14[0xf000]
    ecap 0001[100] =3D AER 2 0 fatal 0 non-fatal 1 corrected
    ecap 0019[1e0] =3D PCIe Sec 1 lane errors 0
    ecap 0004[1c0] =3D Power Budgeting 1
    ecap 0016[190] =3D DPA 1
    ecap 000e[148] =3D ARI 1

The sas3flash utility reports:

# /tmp/Installer_P16_for_FreeBSD/sas3flash_freebsd_amd64_rel/sas3flash
Avago Technologies SAS3 Flash Utility
Version 17.00.00.00 (2018.04.02)
Copyright 2008-2018 Avago Technologies. All rights reserved.

        No Avago SAS adapters found! Limited Command Set Available!
        Finished Processing Commands Successfully.
        Exiting SAS3Flash.



Does anyone have had success on flashing this type of SAS controller from =
IR
firmware to IT firmware?

Thanks in advance,

oliver



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210623130455.60efd02f>