2020年3月30日 星期一

更新Areca 1880的韌體到V1.56

手上有一張舊的磁碟陣列卡,最近的作動很奇怪,使用df去看容量的時候會出現負數。使用dmesg的錯誤訊息如下
# dmesg -T | tail
[Thu Mar 26 22:59:14 2020] EXT4-fs (sdf): error count: 622
[Thu Mar 26 22:59:14 2020] EXT4-fs (sdf): initial error at 1580290899: ext4_mb_generate_buddy:739
[Thu Mar 26 22:59:14 2020] EXT4-fs (sdf): last error at 1582988391: ext4_mb_generate_buddy:739
[Fri Mar 27 23:00:42 2020] EXT4-fs (sdf): error count: 622
[Fri Mar 27 23:00:42 2020] EXT4-fs (sdf): initial error at 1580290899: ext4_mb_generate_buddy:739
[Fri Mar 27 23:00:42 2020] EXT4-fs (sdf): last error at 1582988391: ext4_mb_generate_buddy:739
[Sat Mar 28 23:02:10 2020] EXT4-fs (sdf): error count: 622
[Sat Mar 28 23:02:10 2020] EXT4-fs (sdf): initial error at 1580290899: ext4_mb_generate_buddy:739
[Sat Mar 28 23:02:10 2020] EXT4-fs (sdf): last error at 1582988391: ext4_mb_generate_buddy:739
[Sun Mar 29 16:02:14 2020] arcmsr 0000:04:00.0: vpd r/w failed.  This is likely a firmware bug on this device.  Contact the card vendor for a firmware update.
雖然這個網頁說是下了指令lspci -vv導致的錯誤,但實際上這張RAID card上面的磁碟陣列還是作動不正常。

步驟 1. 確認目前的韌體版本,看起來是V1.50
# /root/cli64 sys info
The System Information
===========================================
Main Processor     : 800MHz
CPU ICache Size    : 32KB
CPU DCache Size    : 32KB
CPU SCache Size    : 0KB
System Memory      : 512MB/800MHz/ECC
Firmware Version   : V1.50 2012-01-20
BOOT ROM Version   : V1.50 2012-01-20
Serial Number      : YYYYCACTARACTAR8
Controller Name    : ARC-1880
Current IP Address : xxx.xxx.xxx.xxx
===========================================
GuiErrMsg<0x00>: Success.

步驟 2. 到官方網站下載最新版本的韌體V1.56
2019?07/30釋放出來的,對於ARC-12x3/1880 firmware多了下面幾項修正
  1. Patch HGST G3 enclosure SES2 firmware update problem
  2. Seagate XS960SE70004 firm rev 002, 960GB SSD problem
  3. Add progress % for some http operation
  4. Fix SEAGATE 84bay JBOD does not report slot string
  5. Improve FAIL_DRIVE_IF_MANY_ERROR

步驟 3. 儲存舊的設定檔
# /root/cli64
CLI> set password=XXXX
CLI> sys showcfg
The System Configuration
=====================================================
System Beeper Setting         : Enabled
Background Task Priority      : Low(20%)
JBOD/RAID Configuration       : RAID
SATA NCQ Support              : Enabled
HDD Read Ahead Cache          : Enabled
Volume Data Read Ahead        : Normal
HDD Queue Depth               : 32
Stagger Power On Control      : 0.7
Spin Down Idle HDD (Minutes)  : Disabled
Empty HDD Slot LED            : OFF
SAS Mux Setting               : Auto
SES2 Support                  : Enabled
Auto Activate Incomplete Raid : Enabled
Disk Write Cache Mode         : Auto
Disk Capacity Truncation Mode : Multiples Of 10G
=====================================================
GuiErrMsg<0x00>: Success.

CLI> sys savebin path=/root/areca1880-ctrlr1.bin
CLI> quit

# file areca1880-ctrlr1.bin 
areca1880-ctrlr1.bin: 386 executable not stripped

# strings areca1880-ctrlr1.bin 
Areca RAID SubsystemARC-1880V1.50 2012-01-20
這邊注意密碼預設是0000,要是真的沒辦法去找參考資料有master password(底線的部分是數字)
  • MNO974315743924
  • mno974315743924

步驟 4. 更新韌體到V1.56
注意下載的四個檔案都要安裝不然會出現問題
# /root/cli64 

CLI> sys updatefw path=/root/ARC-1880_1213_1223/ARC1880BIOS.BIN
Message: Updating...Please Wait, It May Take Few Minutes
GuiErrMsg<0x50>: Firmware CRC Error.

CLI> sys updatefw path=/root/ARC-1880_1213_1223/ARC1880BOOT.BIN
Message: Updating...Please Wait, It May Take Few Minutes
Message: Please Restart Controller To Take Effect
GuiErrMsg<0x00>: Success.

CLI> sys updatefw path=/root/ARC-1880_1213_1223/ARC1880FIRM.BIN
Message: Updating...Please Wait, It May Take Few Minutes
Message: Please Restart Controller To Take Effect
GuiErrMsg<0x00>: Success.

CLI> sys updatefw path=/root/ARC-1880_1213_1223/ARC1880MBR0.BIN
Message: Updating...Please Wait, It May Take Few Minutes
Message: Please Restart Controller To Take Effect
GuiErrMsg<0x00>: Success.

CLI> quit

參考資料

_EOF_

沒有留言:

張貼留言