cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
10615
Views
20
Helpful
20
Replies

ISR 4221 is stuck in bootloop

Bobns
Level 1
Level 1

Hi, a while ago i received 16 routers and they all didnt work: The solution 

 

But the router i used to try the solutions now isn't able to go thru with this solution when i boot the router it gives this output and stays in a loop of this:

Initializing Hardware ...

Checking for PCIe device presence...done
System integrity status: 0x610
Rom image verified correctly


System Bootstrap, Version 16.12(2r), RELEASE SOFTWARE
Copyright (c) 1994-2019  by cisco Systems, Inc.


Current image running: Boot ROM0

Last reset cause: LocalSoft
ISR4221/K9 platform with 4194304 Kbytes of main memory


........
unable to open bootflash:isr4200- (14)

........
autoboot: boot failed, restarting...

Resetting .......



Initializing Hardware ...

Checking for PCIe device presence...done
System integrity status: 0x610
Rom image verified correctly


System Bootstrap, Version 16.12(2r), RELEASE SOFTWARE
Copyright (c) 1994-2019  by cisco Systems, Inc.


Current image running: Boot ROM0

Last reset cause: LocalSoft
ISR4221/K9 platform with 4194304 Kbytes of main memory

 

1 Accepted Solution

Accepted Solutions

Hello,

 

After trying some solutions i tried the following and it worked:

 

!!! BEFORE !!!

Before you do this command you should know this delete's you're enitre configuration of the router.

The command is: wr erase

Before you restart make sure there is a binfile on the router.

View solution in original post

20 Replies 20

kubn2
Level 1
Level 1

Hi,

 

If you are not able to break this loop using break key and you don't have access to rommon then unfortunately you need to raise a TAC case for replacement

Well i am able to go into the rommon mode but when i assign the new bin file and boot the device it starts the loop.

Leo Laohoo
Hall of Fame
Hall of Fame

In ROMMON, post the complete output to the following command: 

set

rommon 1 > set
PS1=rommon ! >
THRPUT=
LICENSE_SUITE=
LICENSE_BOOT_LEVEL=
MCP_STARTUP_TRACEFLAGS=00000000:00000000
RET_2_RTS=
ETHER_SPEED_MODE=4
ETHER_PORT=0
BOOT=bootflash:isr4200-,12;bootflash:isr4200-universalk9_ias.16.12.04.SPA.bin,1; flash:isr4200-universalk9_ias.16.12.04.SPA.bin,12;flash:isr4200_universalk9_ias. 16.12.04.SPA.bin,12;
BSI=0
RANDOM_NUM=1890009866
RET_2_RCALTS=1604315853


@Bobns wrote:

BOOT=bootflash:isr4200-,12;bootflash:isr4200-universalk9_ias.16.12.04.SPA.bin,1; flash:isr4200-universalk9_ias.16.12.04.SPA.bin,12;flash:isr4200_universalk9_ias. 16.12.04.SPA.bin,12;


Values in the boot variable statement are set incorrectly. 

In ROMMON, post the complete output to the following command: 

dir

rommon 1 > dir
Incorrect Usage
rommon 2 > dir flash:

0   0         drw-     lost+found
0   0         -rw-     .sdwaninstaller
0   0         drw-     .ssh
0   0         drw-     core
0   0         drw-     .prst_sync
0   0         drw-     .rollback_timer
0   0         drw-     gs_script
0   0         drw-     tracelogs
0   0         drw-     .dbpersist
0   0         drw-     virtual-instance
0   0         drw-     vman_fdb
0   30        -rw-     throughput_monitor_params
0   0         drw-     onep
0   1030      -rw-     nvram
0   132108    -rw-     memleak.tcl
0   20109     -rw-     ios_core.p7b
0   0         drw-     sdwan
0   419430400 -rw-     .sdwaninstallerfs
0   0         drw-     callhome
0   0         drw-     .sdwaninstaller
0   0         drw-     vmanage-admin
0   35        -rw-     pnp-tech-time
0   81758     -rw-     pnp-tech-discovery-summary
0   0         drw-     .EXPANDwBcB
0   3         -rw-     hugepage.conf
0   7905      -rw-     packages.conf
0   7905      -rw-     packages.conf.00-
0   7905      -rw-     prev_packages.conf
0   2214872   -rw-     system-report_20201005-100025-UTC.tar.gz
0   0         drw-     license_evlog
0   563598663 -rw-     isr4200-universalk9_ias.16.12.04.SPA.bin

Get the router to boot the correct file using the following command: 

boot isr4200-universalk9_ias.16.12.04.SPA.bin

Once the router boots up successfully, remove the incorrect boot statements.  

And then initiate Install Mode using the following command: 

install add file bootflash:isr4200-universalk9_ias.16.12.04.SPA.bin activate commit

The system will start to unpack the IOS file and will create a file called "packages.conf". 

Change the boot variable string to point to this file: 

conf t
 boot system flash bootflash:packages.conf
end
wr

Make sure the config-registry is correct:  0x2102

Reboot the router.  
Hope this helps.

I have tried this but its still in the same loop.

If still in ROMMON, post the entire output to the following commands: 

dir
set

Post the entire bootup process from the beginning.  

dir didnt work but dir flash: and bootflash: worked here are the outputs.

rommon 4 > dir flash:

0   0         drw-     lost+found
0   0         -rw-     .sdwaninstaller
0   0         drw-     .ssh
0   0         drw-     core
0   0         drw-     .prst_sync
0   0         drw-     .rollback_timer
0   0         drw-     gs_script
0   0         drw-     tracelogs
0   0         drw-     .dbpersist
0   0         drw-     virtual-instance
0   0         drw-     vman_fdb
0   30        -rw-     throughput_monitor_params
0   0         drw-     onep
0   452457939 -rw-     isr4200-ucmk9.16.10.3a.SPA.bin
0   20109     -rw-     ios_core.p7b
0   0         drw-     callhome
0   0         drw-     sdwan
0   419430400 -rw-     .sdwaninstallerfs
0   0         drw-     .sdwaninstaller
0   0         drw-     vmanage-admin
0   35        -rw-     pnp-tech-time
0   102694    -rw-     pnp-tech-discovery-summary
0   132108    -rw-     memleak.tcl
0   3         -rw-     hugepage.conf
0   50164     -rw-     isr4200-firmware_dreamliner.16.10.3a.SPA.pkg
0   10703860  -rw-     isr4200-firmware_ngwic_t1e1.16.10.3a.SPA.pkg
0   9241588   -rw-     isr4200-firmware_nim_async.16.10.3a.SPA.pkg
0   4604920   -rw-     isr4200-firmware_nim_bri_st_fw.16.10.3a.SPA.pkg
0   17490932  -rw-     isr4200-firmware_nim_cwan.16.10.3a.SPA.pkg
0   2520048   -rw-     isr4200-firmware_nim_ge.16.10.3a.SPA.pkg
0   11490292  -rw-     isr4200-firmware_nim_shdsl.16.10.3a.SPA.pkg
0   6304756   -rw-     isr4200-firmware_nim_xdsl.16.10.3a.SPA.pkg
0   10118128  -rw-     isr4200-firmware_prince.16.10.3a.SPA.pkg
0   348767228 -rw-     isr4200-mono-ucmk9.16.10.3a.SPA.pkg
0   31244759  -rw-     isr4200-rpboot.16.10.3a.SPA.pkg
0   7905      -rw-     packages.conf.00-
0   7905      -rw-     prev_packages.conf
0   2439040   -rw-     system-report_20200117-222835-UTC.tar.gz
0   0         drw-     license_evlog
0   563598663 -rw-     isr4200-universalk9_ias.16.12.04.SPA.bin
0   50188     -rw-     isr4200-firmware_dreamliner.16.12.04.SPA.pkg
0   11199500  -rw-     isr4200-firmware_ngwic_t1e1.16.12.04.SPA.pkg
0   9274380   -rw-     isr4200-firmware_nim_async.16.12.04.SPA.pkg
0   4613136   -rw-     isr4200-firmware_nim_bri_st_fw.16.12.04.SPA.pkg
0   17605644  -rw-     isr4200-firmware_nim_cwan.16.12.04.SPA.pkg
0   2647048   -rw-     isr4200-firmware_nim_ge.16.12.04.SPA.pkg
0   11510796  -rw-     isr4200-firmware_nim_shdsl.16.12.04.SPA.pkg
0   6321164   -rw-     isr4200-firmware_nim_xdsl.16.12.04.SPA.pkg
0   10163208  -rw-     isr4200-firmware_prince.16.12.04.SPA.pkg
0   457163796 -rw-     isr4200-mono-universalk9_ias.16.12.04.SPA.pkg
0   33186103  -rw-     isr4200-rpboot.16.12.04.SPA.pkg
0   8203      -rw-     packages.conf
rommon 5 > set
PS1=rommon ! >
THRPUT=
LICENSE_SUITE=
LICENSE_BOOT_LEVEL=
MCP_STARTUP_TRACEFLAGS=00000000:00000000
RET_2_RTS=
ETHER_SPEED_MODE=4
ETHER_PORT=0
BOOT=flash:isr4200_unversalk9.ias.16.12.04.SPA.bin,12;flash:isr4200-universalk9_ias.16.12.04.SPA.bin,12;bootflash:packages.conf,1;
BSI=0
RANDOM_NUM=1298279341
RET_2_RCALTS=1604587124
rommon 6 > dir bootflash:

0   0         drw-     lost+found
0   0         -rw-     .sdwaninstaller
0   0         drw-     .ssh
0   0         drw-     core
0   0         drw-     .prst_sync
0   0         drw-     .rollback_timer
0   0         drw-     gs_script
0   0         drw-     tracelogs
0   0         drw-     .dbpersist
0   0         drw-     virtual-instance
0   0         drw-     vman_fdb
0   30        -rw-     throughput_monitor_params
0   0         drw-     onep
0   452457939 -rw-     isr4200-ucmk9.16.10.3a.SPA.bin
0   20109     -rw-     ios_core.p7b
0   0         drw-     callhome
0   0         drw-     sdwan
0   419430400 -rw-     .sdwaninstallerfs
0   0         drw-     .sdwaninstaller
0   0         drw-     vmanage-admin
0   35        -rw-     pnp-tech-time
0   102694    -rw-     pnp-tech-discovery-summary
0   132108    -rw-     memleak.tcl
0   3         -rw-     hugepage.conf
0   50164     -rw-     isr4200-firmware_dreamliner.16.10.3a.SPA.pkg
0   10703860  -rw-     isr4200-firmware_ngwic_t1e1.16.10.3a.SPA.pkg
0   9241588   -rw-     isr4200-firmware_nim_async.16.10.3a.SPA.pkg
0   4604920   -rw-     isr4200-firmware_nim_bri_st_fw.16.10.3a.SPA.pkg
0   17490932  -rw-     isr4200-firmware_nim_cwan.16.10.3a.SPA.pkg
0   2520048   -rw-     isr4200-firmware_nim_ge.16.10.3a.SPA.pkg
0   11490292  -rw-     isr4200-firmware_nim_shdsl.16.10.3a.SPA.pkg
0   6304756   -rw-     isr4200-firmware_nim_xdsl.16.10.3a.SPA.pkg
0   10118128  -rw-     isr4200-firmware_prince.16.10.3a.SPA.pkg
0   348767228 -rw-     isr4200-mono-ucmk9.16.10.3a.SPA.pkg
0   31244759  -rw-     isr4200-rpboot.16.10.3a.SPA.pkg
0   7905      -rw-     packages.conf.00-
0   7905      -rw-     prev_packages.conf
0   2439040   -rw-     system-report_20200117-222835-UTC.tar.gz
0   0         drw-     license_evlog
0   563598663 -rw-     isr4200-universalk9_ias.16.12.04.SPA.bin
0   50188     -rw-     isr4200-firmware_dreamliner.16.12.04.SPA.pkg
0   11199500  -rw-     isr4200-firmware_ngwic_t1e1.16.12.04.SPA.pkg
0   9274380   -rw-     isr4200-firmware_nim_async.16.12.04.SPA.pkg
0   4613136   -rw-     isr4200-firmware_nim_bri_st_fw.16.12.04.SPA.pkg
0   17605644  -rw-     isr4200-firmware_nim_cwan.16.12.04.SPA.pkg
0   2647048   -rw-     isr4200-firmware_nim_ge.16.12.04.SPA.pkg
0   11510796  -rw-     isr4200-firmware_nim_shdsl.16.12.04.SPA.pkg
0   6321164   -rw-     isr4200-firmware_nim_xdsl.16.12.04.SPA.pkg
0   10163208  -rw-     isr4200-firmware_prince.16.12.04.SPA.pkg
0   457163796 -rw-     isr4200-mono-universalk9_ias.16.12.04.SPA.pkg
0   33186103  -rw-     isr4200-rpboot.16.12.04.SPA.pkg
0   8203      -rw-     packages.conf
rommon 7 >

*Sigh*.  

The boot variable string is still set incorrect. 

From ROMMON enter the following command to force the router to boot: 

boot packages.conf

Once the router boots the IOS, post the complete output to the following command: 

sh run | b boot

I was trying some solutions online and then deleted the packages.conf file..

I am trying to remove the current bootvar files but they just wont get removed:

 

Router#show bootvar
BOOT variable = flash:isr4200_unversalk9.ias.16.12.04.SPA.bin,12;flash:isr4200-universalk9_ias.16.12.04.SPA.bin,12;bootflash:packages.                                                                                                                                         conf,1;
CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x2102

Standby not ready to show bootvar


Router(config)#no boot system flash flash:isr4200_univ
Router(config)#$tem flash flash:isr4200_universalk9.ias.16.12.04.SPA.bin
Router(config)#no boot sy
Router(config)#no boot system flash bootflash:packages.conf
Router(config)#$tem flash flash:isr4200_universalk9.ias.16.12.04.SPA.bin
Router(config)#exit
Router#sho
*Nov  9 09:02:25.497: %SYS-5-CONFIG_I: Configured from console by consolew bootvar
BOOT variable = flash:isr4200_unversalk9.ias.16.12.04.SPA.bin,12;flash:isr4200-universalk9_ias.16.12.04.SPA.bin,12;bootflash:packages.
CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x2102

Standby not ready to show bootvar



@Bobns wrote:
CONFIG_FILE variable does not exist

WTF.  

When correctly booted into IOS, post the complete output to the following command: 

sh boot
Review Cisco Networking for a $25 gift card