Steps to Resolve Corrupted Flash or Boot Loop Issues.
Summary
Provides a step-by-step guide to troubleshoot and recover ICX switches stuck in a boot loop due to corrupted flash images. The process includes diagnosing boot errors, preparing the device for recovery, and restoring a functional firmware image.Question
How can I recover an ICX switch that is stuck in a boot loop?Repeated Restarting-Rebooting: The switch continuously restarts without completing the boot process, displaying the same startup messages or errors each time.
Error Messages during Boot: The switch displays specific errors, such as "Wrong Image Format for bootm command" or "ERROR: indicating issues with the flash image or bootloader.
Stuck at Boot Loader Screen: The switch halts at the bootloader prompt (e.g., ICX7450-Boot>), where it fails to load the proper firmware or image, requiring manual intervention.
Inability to Boot from Primary or Secondary Image: The switch attempts to boot from both the primary and secondary images but fails, often displaying messages like "no valid image" or "could not boot from secondary."
No Network Connectivity Since the device is unable to complete the boot process, it does not initialize network interfaces, resulting in no connectivity to the network or management interfaces.
Troubleshooting Steps
When dealing with a corrupted flash or related issues, follow these steps to troubleshoot and resolve the problem.Boot Loop Process
When a unit is stuck in a boot loop and fails to stabilize, the first step is to console into the unit directly and review the boot process. This can provide insights into why the unit is not booting correctly.Example Error:
Booting image from SecondaryWrong Image Format for bootm command
ERROR: can't get kernel image!
could not boot from secondary, no valid image; trying to boot from primary
Booting image from Primary
Wrong Image Format for bootm command
ERROR: can't get kernel image!
1.Console the Unit:
Connect to the unit via a console cable and monitor the boot process. Interrupt the boot process by pressing b at the boot counter.Ruckus Networks Bootloader: 10.1.26T215 (Nov 29 2022 - 04:42:59)
Validate Shmoo parameters stored in flash ..... OK
Restoring Shmoo parameters from flash .....
Running simple memory test ..... OK
ICX7450-24 Copper (Non-POE), PVT1
SYS CPLD VER: 0x10, Released Ver: 0
Enter 'b' to stop at boot monitor: 3 >>>> Press 'b' to stop the process.
ICX7450-Boot>
2.Access Boot Mode:
Check the installed images using the show_image command.ICX7450-Boot> show_image
===========================
Primary : SPR08095k(33554432)
Secondary: SPS08095j(31457280)
===========================
3.Set Up for Recovery:
Connect an Ethernet cable from the management port to the TFTP server.Ensure the device is in boot mode for recovery.
4.Configure Environment Variables:
Set the TFTP server IP and other necessary network settings.ICX 7450-48> setenv serverip 10.10.10.21
ICX 7450-48> setenv ipaddr 10.10.10.22
ICX 7450-48> setenv gatewayip 10.10.10.1
ICX 7450-48> setenv netmask 255.255.255.0
ICX 7450-48> saveenv
Verify the settings:
ICX 7450-48> printenv
baudrate=9600
ipaddr=10.10.10.22
gatewayip=10.10.10.1
netmask=255.255.255.0
serverip=10.10.10.21
uboot=ruckus/ICX7450/bootcode/spz10115
Version:10.1.06T215 (May 15 2015 - 11:28:23)
5.Test Connectivity:
Ping the TFTP server to ensure connectivity.Note:Please disable the Windows Firewall, as it can sometimes block network traffic
ICX 7450-48> ping 10.10.10.21
ethPortNo = 0
Using egiga0 device
host 10.10.10.21 is alive
6.Update the Flash:
ICX 7450-48> update_primary
For versions below 8080f, update the uboot file.
ICX 7450-48> setenv uboot
ICX 7450-48> update_uboot
7.Boot the Unit:
Video Link as reference: https://www.youtube.com/watch?v=RHriOYYD_iI
Link as reference :https://docs.commscope.com/bundle/fastiron-09010-upgradeguide/page/GUID-9B5D5A56-039D-44FB-8FD2-B9B55E71ADE8.html
Note: Applicable only to the ICX-8200 family of switches
For ICX-8200 models, boot from the golden image if necessary.
boot_golden_primary - Flash the Golden UFI Image to Primary and boot from Primary
boot_golden_secondary
Workaround
N/AResolution
Please see the troubleshooting SectionArticle Number:
000014631
Updated:
December 12, 2024 12:12 PM (4 months ago)
Tags:
Firmware, Troubleshooting, Known Issues and Workarounds, Ruckus ICX Switches, Brocade EOS Products
Votes:
0
This article is:
helpful
not helpful