Microsemi Adaptec RAID 8405 がある. もちろんebayで購入. Adaptec Series 8 シリーズ品
https://storage.microsemi.com/en-us/support/raid/sas_raid/asr-8405/
「lspci -v」でみると
05:00.0 RAID bus controller: Adaptec Series 8 12G SAS/PCIe 3 (rev 01)
Subsystem: Adaptec Device 0562
こんな感じ.
下記URLから「Bios Updates and Other Downloads」リンクをクリックして「Adaptec RAID 8405 Firmware Build 33556」を入手します
https://storage.microsemi.com/en-us/support/raid/sas_raid/asr-8405/
取得したファイルは「8405_fw_b33556.zip(3.8MB)」。このファイルを展開します
[root@e ~]# mkdir adaptec
[root@e ~]# cd adaptec/
[root@e adaptec]# unzip ../8405_fw_b33556.zip
Archive: ../8405_fw_b33556.zip
inflating: afu.exe
inflating: AS840501.ufi
[root@e adaptec]# file ./*
./afu.exe: MS-DOS executable
./AS840501.ufi: data
[root@e adaptec]#
afu.exeはwindows向けのプログラム. AS840501.ufiが目的のfirmware. どうやらfirmwareにlinux向けのupdaterは入ってないご様子.
どうもAdaptecのfirmwareには「ARCCONF」コマンドが必要みたい. この「ARCCONF」は先ほどのダウンロードサイトにて単体で入手できるが、
「maxView Storage Manager」パッケージの付属品としても含まれている.
ここでは後ほどどうせ「maxView Storage Manager」を構築するので「maxView Storage Manager」パッケージの付属品な「ARCCONF」を使う.
っで先のサイトで「Storage Manager Downloads」リンク先から「maxView Storage Manager v3.07.23850 for Linux x64」を取得する.
ファイル名は「msm_linux_x64_v3_07_23850.tgz(872MB)」で、これを展開します.
[root@e ~]# mkdir msm
[root@e ~]# cd msm
[root@e msm]# tar xf ../msm_linux_x64_v3_07_23850.tgz
展開して、その中に「cmdline/rpm/Arcconf-3.07-23850.x86_64.rpm」を入れる
[root@e msm]# dnf localinstall cmdline/rpm/Arcconf-3.07-23850.x86_64.rpm
[root@e msm]# ls -l /usr/Arcconf/
total 21476
-rwxrwxrwx 1 root root 21930062 Nov 26 2020 arcconf
-rwxrwxrwx 1 root root 8696 Nov 26 2020 License.txt
-rwxrwxrwx 1 root root 42134 Nov 26 2020 README.TXT
[root@e msm]#
っで実際に動かしてみる.
[root@e ~]# /usr/Arcconf/arcconf GETCONFIG 1
:
Controller Status : Optimal
Controller Mode : RAID (Expose RAW)
Channel description : SAS/SATA
Controller Model : Adaptec ASR8405
:
BIOS : 7.11-0 (33173)
Firmware : 7.11-0 (33173)
Driver : 1.2-1 (50877)
Boot Flash : 7.11-0 (33173)
CPLD (Load version/ Flash version) : 8/ 11
SEEPROM (Load version/ Flash version) : 1/ 1
FCT Custom Init String Version : 0x0
:
[root@e ~]#
取得したfirmwareは「33556」で現状は「33173」なので、取得したfirmwareを当ててみる
[root@e ~]# cd adaptec/
[root@e adaptec]# ls
afu.exe AS840501.ufi
[root@e adaptec]# /usr/Arcconf/arcconf ROMUPDATE 1 AS840501
Controllers found: 1
Are you sure you want to continue?
Press y, then ENTER to continue or press ENTER to abort: y
Updating controller 1 firmware...
Succeeded
You must restart the system for firmware updates to take effect.
Command completed successfully.
[root@e adaptec]#
っで再起動します
そして確認
[root@e ~]# /usr/Arcconf/arcconf GETCONFIG 1
:
BIOS : 7.18-0 (33556)
Firmware : 7.18-0 (33556)
Driver : 1.2-1 (50877)
Boot Flash : 7.18-0 (33556)
CPLD (Load version/ Flash version) : 8/ 11
SEEPROM (Load version/ Flash version) : 1/ 1
FCT Custom Init String Version : 0x0
:
[root@e ~]#
と更新を確認
firmwareを更新したので次はLinux側のドライバーを変えてみた. 本来はOS提供のドライバーで十分なのでしょうけど.
ダウンロードサイトで「Linux Driver Source Code」からドライバーを入手します.
ここではdkms向けの「Dynamic Kernel Module Source 1.2.1-60001 for Linux」を入手.
ファイル名は「aacraid-dkms-1.2.1.60001.tgz(444KB)」
[root@e ~]# mkdir aacraid-dkms
[root@e ~]# cd aacraid-dkms/
[root@e aacraid-dkms]# tar xf ../aacraid-dkms-1.2.1.60001.tgz
[root@e aacraid-dkms]# ls -lF rpm/
total 252
-rwxrwxrwx 1 root root 238744 Dec 24 2020 aacraid-1.2.1.60001-1dkms.noarch.rpm*
-rwxrwxrwx 1 root root 4279 Dec 24 2020 readme_rpm.txt*
-rwxrwxrwx 1 root root 4254 Dec 24 2020 readme.txt*
[root@e aacraid-dkms]#
rpmファイルをインストールします
[root@e ~]# dnf localinstall aacraid-dkms/rpm/aacraid-1.2.1.60001-1dkms.noarch.rpm
:
Loading new aacraid-1.2.1.60001 DKMS files...
Deprecated feature: REMAKE_INITRD
Building for 4.18.0-372.9.1.el8.x86_64
Building initial module for 4.18.0-372.9.1.el8.x86_64
Deprecated feature: REMAKE_INITRD
Error! Bad return status for module build on kernel: 4.18.0-372.9.1.el8.x86_64 (x86_64)
Consult /var/lib/dkms/aacraid/1.2.1.60001/build/make.log for more information.
warning: %post(aacraid-1.2.1.60001-1dkms.noarch) scriptlet failed, exit status 10
Error in POSTIN scriptlet in rpm package aacraid
Verifying : aacraid-1.2.1.60001-1dkms.noarch 1/1
Installed:
aacraid-1.2.1.60001-1dkms.noarch
Complete!
[root@e ~]#