ISR 4300 - Stuck In Boot Loop after upgrade
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2022 09:20 PM
Hey Guys,
I have tried to upgrade ISR4331 without upgrading bootloader first and now it is stuck in a boot loop
I'm trying to send a break command but nothing is happening.
Initializing Hardware ... System integrity status: 00000610 Rom image verified correctly System Bootstrap, Version 15.4(3r)S5, RELEASE SOFTWARE Copyright (c) 1994-2015 by cisco Systems, Inc. Current image running: Boot ROM0 Last reset cause: LocalSoft Cisco ISR4331/K9 platform with 4194304 Kbytes of main memory ........ boot: unsupported boot device "isr4300-universalk9.16.09.01.SPA.bin" autoboot: boot failed, restarting... Initializing Hardware ... System integrity status: 00000610 Rom image verified correctly System Bootstrap, Version 15.4(3r)S5, RELEASE SOFTWARE Copyright (c) 1994-2015 by cisco Systems, Inc. Current image running: Boot ROM0 Last reset cause: LocalSoft Cisco ISR4331/K9 platform with 4194304 Kbytes of main memory ........ no valid BOOT image found Final autoboot attempt from default boot device... Warning: filesystem is not clean Warning: filesystem is not clean File size is 0x00000482 Located XXXXXXXXX.lic Image size 1154 inode num 12, bks cnt 1 blk size 8*512 # Boot image size = 1154 (0x482) bytes Unknown image structure Warning: filesystem is not clean File size is 0x00000183 Located tracelogs.260 Image size 387 inode num 13, bks cnt 1 blk size 8*512 Boot image size = 387 (0x183) bytes Unknown image structure Warning: filesystem is not clean File size is 0x0000001e Located throughput_monitor_params Image size 30 inode num 14, bks cnt 1 blk size 8*512 Boot image size = 30 (0x1e) bytes Unsigned package found, aborting ... Warning: filesystem is not clean File size is 0x22c1151d Located isr4300-universalk9.16.09.01.SPA.bin Image size 583079197 inode num 16, bks cnt 142354 blk size 8*512 ############################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################## Boot image size = 583079197 (0x22c1151d) bytes Package header rev 3 structure detected Calculating SHA-1 hash...done validate_package: SHA-1 hash: calculated 595cdb24:b9751f91:731a4622:7034be2b:f11d9c77 expected 595cdb24:b9751f91:731a4622:7034be2b:f11d9c77 RSA Signed RELEASE Image Signature Verification Successful. Package Load Test Latency : 10573 msec Unknown image structure boot: cannot determine first file name on device "bootflash:/" autoboot: boot failed, restarting...
Is there anything I can do to force it into ROMMON or boot of USB?
- Labels:
-
XR OS and Platforms
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2022 09:43 PM - edited 03-17-2022 09:57 PM
@xXAzazelXx wrote:
no valid BOOT image found
If the router is in ROMMON, post the complete output to the following commands:
- dir bootflash:
- set
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2022 12:33 AM
Hi Leo,
No sorry, it just keeps looping and restarting.
I am trying to send BREAK via putty but it just keeps rebooting and that is it. Any advice on how to get it in to ROMMON?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2022 12:40 AM - edited 03-18-2022 01:07 AM
@xXAzazelXx wrote:
No sorry, it just keeps looping and restarting.
Post the boot-up process.
I cannot diagnose without the right information.
I cannot tell if the router is in a boot-crash-loop or trying to load an incompatible firmware file and booting.
Otherwise, raise a TAC Case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2022 06:25 AM
Hi Leo,
No worries, please see attached putty log straight after boot for a while.
Thank you,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2022 06:51 AM
@xXAzazelXx wrote:
Unknown image structure Warning: filesystem is not clean File size is 0x00000183 Located tracelogs.260 Image size 387 inode num 13, bks cnt 1 blk size 8*512
Contact Cisco TAC and organize for an RMA. The flash is dead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2022 06:34 PM
It's a second-hand device, there is no TAC, but thank you for the reply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2022 09:48 AM
- Try fsck flash:
M.
-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2022 06:33 PM
Thank you but I cant get in to ROMMON or the XE to action this sorry, its just keeps rebooting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2022 12:55 AM
Unknown image structure Warning: filesystem is not clean
what was the before version, and what version you upgrade to ? (this information help us also)
as mentioned other post, try to break in to ROMMON
follow steps to get into ROMMON :
If you have the image in USB, try to boot from USB and see if the router boots?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2022 06:38 AM
Thank you,
I'm not sure what the previous version was sorry, it's been bricked for a while.
Thank you for the link but looks like the instructions are only if you can already login to the device to set the confreg, but since mine is looping I am unable to do so.
I do have the image and can copy it onto the USB but since I cant get into ROMMON I cant boot from USB unless there is another way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2022 07:57 AM
the instruction given to break the key to get in to ROMMON.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2022 01:37 AM - edited 03-18-2022 01:56 AM
In my opinion, you have your bootflash: file system damaged
You can try to re-format your flash by issuing a
format flash:
command.
But remember to do a config backup first!!!
After the formatting, copy these config file back.
By the way, while booting, you can change the Serial Port Speed to 1200 and hold SPACE bar on boot up for 10-30 sec.
It may help to entering the ROMMON mode, dont forget to config speed back to 9600 to interact with ROMMON terminal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2022 01:52 AM
I noticed two lines of log:
boot: cannot determine first file name on device "bootflash:/" boot: unsupported boot device "isr4300-universalk9.16.09.01.SPA.bin"
In my opinion, you may wrongly type the image config command
boot system isr4300-universalk9.16.09.01.SPA.bin or boot system bootflash:/ or something else
instead of:
boot system flash:/isr4300-universalk9.16.09.01.SPA.bin
Which makes the Bootloader think "isr4300-universalk9.16.09.01.SPA.bin" or "bootflash:/" is your boot device, but non of the boot image is on them.
To solve the problem, you can try to boot up without loading any configuration. You can find out how to do it, it is same to Password Recovery. Usually executing a confreg 0x<something> after entering the ROMMON
The way may help to abort the boot up and enter rommon 0> command mode are provided above, you can try it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2022 06:44 AM
Thank you for your comments,
Well, part of the problem is that I cannot get int to the ROMMON mode.
The device is just stuck in the reloading loop so I cannot set the config values.
I've tried putty, SecureCRT etc and I just spam it with a break key to no success.
I've tried setting the speed to 1200 as you mentioned and holding down space bar for a while and switching back.
Is there anything else i can try?
