使用CLI介面連線讀取並下指令確認狀態
因使用USB‑C 介面的Console線,putty開啟然後選擇COM Port,並在裝置管理員確認是設定在COM8
讀取開機資訊分析後發現有以下錯誤:Config partition mounted
UBIFS error (ubi1:0 pid 566): ubifs_recover_leb: corrupt empty space LEB 12:8192, corruption starts at 290777
UBIFS error (ubi1:0 pid 566): ubifs_scanned_corruption: corruption at LEB 12:298969
UBIFS error (ubi1:0 pid 566): ubifs_scanned_corruption: first 8192 bytes from LEB 12:298969
UBIFS error (ubi1:0 pid 566): ubifs_recover_leb: LEB 12 scanning failed
mount: mounting ubi1:resources on /opt failed: Structure needs cleaning
Resource partition is mounted!!
上述發現是磁區載入系統發生錯誤,不是韌體有問題就有可能是NAND硬體磁區壞了.....希望不是後者.....
目前只能更新韌體試試看了....
先至官網下載相關檔案並存到USB隨身碟:
mnz10114.bin
SPS08080f.bin
SPS08095gufi.bin
以上這些檔案下載步驟有點繁瑣,省略縮減篇幅.....
CLI下指令開始更新:
ICX7150-24P Switch>en
No password has been assigned yet...
ICX7150-24P Switch#mount disk0
External USB is already mounted.
ICX7150-24P Switch#show files disk0
F 58697614 SPS08095sufi.bin
F 786944 mnz10114.bin
F 25976488 SPS08080f.bin
D 4096 [----] disk0/System Volume Information
85461046 bytes 3 File(s) in disk0
ICX7150-24P Switch#show flash
Stack unit 1:
Compressed Pri Code size = 24723488, Version:08.0.61aT211 (SPS08061a.bin)
Compressed Sec Code size = 28314668, Version:08.0.61aT213 (SPR08061a.bin)
Compressed Boot-Monitor Image size = 786944, Version:10.1.10T225
Code Flash Free Space = 1292455936
確認目前版本:
ICX7150-24P Switch#show version
Copyright (c) 1996-2017 Brocade Communications Systems, Inc. All rights reserved.
UNIT 1: compiled on Aug 14 2017 at 06:54:44 labeled as SPS08061a
(24723488 bytes) from Primary SPS08061a.bin
SW: Version 08.0.61aT211
Compressed Boot-Monitor Image size = 786944, Version:10.1.10T225 (mnz10110)
Compiled on Sun Jun 25 09:25:15 2017
HW: Stackable ICX7150-24-POE
升級bootrom:
ICX7150-24P Switch#copy disk0 flash mnz10114.bin bootrom
Flash Memory Write (8192 bytes per dot)
ICX7150-24P Switch#.................................................................................................
SYNCING IMAGE TO FLASH. DO NOT SWITCH OVER OR POWER DOWN THE UNIT(65536 bytes per dot)...
............
Copy Done.
韌體升級到中間版本8080f (主分割區和子分割區均可安裝):
ICX7150-24P Switch#copy disk0 flash SPS08080f.bin secondary
ICX7150-24P Switch#Load to buffer (8192 bytes per dot) ..........................................................................................................................................................................................................................................
SYNCING IMAGE TO FLASH. DO NOT SWITCH OVER OR POWER DOWN THE UNIT(65536 bytes per dot)...
...................................................................................................
Copy Done.
檢查它是否正確安裝在正確的分割區中:
ICX7150-24P Switch#show flash
Stack unit 1:
Compressed Pri Code size = 24723488, Version:08.0.61aT211 (SPS08061a.bin)
Compressed Sec Code size = 25976488, Version:08.0.80fT211 (SPS08080f.bin)
Compressed Boot-Monitor Image size = 786432, Version:10.1.14T225
Code Flash Free Space = 1292464128
從輔助分割區啟動Switch,以確保韌體已正確安裝。
ICX7150-24P Switch#boot system flash secondary yes
T=2h50m40.7: Halt and reboot
Unmounting the External USB
The system is going down NOW!
Sent SIGTERM to all processes
Sent SIGKILL to all processes
reboot: Restarting system
在開機程序中查到格式化載入韌體時有自動隱藏錯誤磁區:
Resources partition is factory-corrupted! Formatting!!
Formatting will destroy all the certificates and licenses!!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Erasing 1024 Kdma_mem_base: 0x96000000, dma_mem_len: 0x8000000, warm_mem_base: 0x9f500000, warm_mem_len: 0xb00000
Erasing 1024 Kibyte @ 1f700000 - 98% complete.
Skipping bad block at 0x1f800000
Skipping bad block at 0x1f900000
Skipping bad block at 0x1fa00000
Skipping bad block at 0x1fb00000
Skipping bad block at 0x1fc00000
Skipping bad block at 0x1fd00000
Skipping bad block at 0x1fe00000
Skipping bad block at 0x1ff00000
Erasing 1024 Kibyte @ 20000000 - 100% complete.
Resource partition is mounted!!
整個程序完成後檢查版本確認已是SPS08080f
之後再更新到目前最新版本:
ICX7150-24P Switch#copy disk0 flash SPS08095sufi.bin secondary
Flash Memory Write (8192 bytes per dot)
ICX7150-24P Switch#............................................................................................................................
Processing the bundle image...
Flashing application image to Secondary partition...
SYNCING IMAGE TO FLASH. DO NOT SWITCH OVER OR POWER DOWN THE UNIT(65536 bytes per dot)...
..................................................
Flashing bootrom image...
SYNCING IMAGE TO FLASH. DO NOT SWITCH OVER OR POWER DOWN THE UNIT(65536 bytes per dot)...
............
Post processing bundle image...
Bundle image processed successfully
再次檢查版本確認已是最新版本
從輔助分區啟動:
ICX7150-24P Switch#boot system flash secondary yes
開機程序中顯示韌體載入已無磁區錯誤
sd 0:0:0:0: [sda] No Caching mode page found
sd 0:0:0:0: [sda] Assuming drive cache: write through
Config partition mounted
Resource partition is mounted!!
另開機程序顯示版本也已是最新
System initialization completed...console going online.
Copyright (c) Ruckus Networks, Inc. All rights reserved.
UNIT 1: compiled on Apr 24 2025 at 03:17:45 labeled as SPS08095s
(31457280 bytes) from Secondary SPS08095s.bin (UFI)
SW: Version 08.0.95sT211
Compressed Primary Boot Code size = 786944, Version:10.1.27T225 (mnz10127)
Compiled on Thu Jan 16 09:53:32 2025
HW: Stackable ICX7150-24-POE
因目前是副分割區啟動,確認開機與狀態都正常後把副分割區韌體寫入到主分割區:
ICX7150-24P Switch#copy flash flash primary
Flash Memory Write (8192 bytes per dot)
ICX7150-24P Switch#........................................................................................................
Processing the bundle image...
Flashing application image to Primary partition...
SYNCING IMAGE TO FLASH. DO NOT SWITCH OVER OR POWER DOWN THE UNIT(65536 bytes per dot).............
Flashing bootrom image to Primary partition...
SYNCING IMAGE TO FLASH. DO NOT SWITCH OVER OR POWER DOWN THE UNIT(65536 bytes per dot)...
............
Post processing bundle image...
Bundle image processed successfully
Copy Done
這樣Switch就修復成功囉~
不過雖然是NAND硬體磁區損壞,但這Switch的Format功能不錯,可以自動隱藏損壞的部分,但有風險的是之後可能還會壞其他磁區,只要是儲存裝置磁區有開始壞的現象有很高的機率會陸續壞其他位置.........
還好只是Switch不是伺服器,頂多網路不通或是當機,影響不會太嚴重,真壞了可隨時換掉,只要先把IP與VLAN等其他設定檔設定上即可
參考資料:
https://community.ruckuswireless.com/t5/RUCKUS-Support-for-Lennar-Homes/Firmware-Upgrade-for-ICX-7150/m-p/53197
https://community.ruckuswireless.com/t5/RUCKUS-Support-for-Lennar-Homes/How-to-Upgrade-a-RUCKUS-ICX-7150-C12P-Switch-using-a-USB-flash/td-p/46781
韌體下載處:
https://support.ruckuswireless.com/software
沒有留言:
張貼留言