cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1530
Views
0
Helpful
14
Replies

IOS Upgradation failed Cisco 800 Series Router

gopishukla
Level 1
Level 1

Hi All, 

 

I am facing an error while upgrading IOS for Cisco 800 series routers , please check the below error and advice me 

Error: Failed to compute md5 hash for flash:/ir800-universalk9-mz.SPA.159-3.M5
IOS md5 verification failed!
Failed to remove corrupted IOS image: flash:/ir800-universalk9-mz.SPA.159-3.M5

 

Thanks in Advance 

14 Replies 14

balaji.bandi
Hall of Fame
Hall of Fame
Error: Failed to compute md5 hash for flash:/ir800-universalk9-mz.SPA.159-3.M5

i want to check 2 things here :

 

1. the file name end with .bin file, this was missing in your syntax

2. try dirt flash: ( take the full name and do same check again)

3. if that fails ( may be you copied wrong file, so download again from cisco download, copy again and test it.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Thanks for your email , i used the below command
bundle install flash: ir800-universakk9-bundle.SPA.159-4.M5.bin
and receiving the below error after end of the process

Hope it will help you for giving solutions .

Ok suggest to post below output :

show version

dir flash:

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hello Mr. Balaji 

 

Below are the response for your reference , looking forward a further support from your side , 

 

dir flash:
Directory of flash:/

1 -rw- 223099651 Jun 28 2022 04:17:36 -04:00 ir800-universalk9-bundle.SPA.159-3.M5.bin
2 -rw- 0 May 22 2022 21:27:34 -04:00 fs_recovered
3 drw- 0 Sep 14 2017 03:36:26 -04:00 managed
13 drw- 0 Sep 14 2017 03:36:26 -04:00 eem
14 -rw- 75282225 Jul 20 2020 11:09:40 -04:00 ir800-universalk9-mz.SPA.159-3.M1
15 drw- 0 Sep 28 2020 18:40:56 -04:00 .fwupgrade
16 drw- 0 Jun 29 2022 00:56:14 -04:00 ORPHAN1
19 -rw- 119046 Jul 20 2020 14:01:24 -04:00 crashinfo_20200720-175839-UTC

994951168 bytes total (620724224 bytes free)

 

sh version
Cisco IOS Software, ir800 Software (ir800-UNIVERSALK9-M), Version 15.9(3)M1, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2020 by Cisco Systems, Inc.
Compiled Thu 30-Jan-20 11:26 by prod_rel_team

ROM: Bootstrap program is IR800

ESNG_RTR21 uptime is 5 weeks, 2 days, 2 hours, 59 minutes
System returned to ROM by Power-on at 09:15:19 PDT Mon Aug 10 2020
System image file is "flash:/ir800-universalk9-mz.SPA.159-3.M1"
Last reload reason: Power-on

 

Thanks in Advance 

Hello 

I used the complete file name as upgraded more than 30 routers using the same IOS file , but few devices having the same issues , 

please share the check flash complete command as you mentioned in your response to try , 

 

Thanks in advance 


@gopishukla wrote:

I used the complete file name as upgraded more than 30 routers using the same IOS file , but few devices having the same issues 


I don't see how this was possible.

The filename of the error message says "ir800-universalk9-mz.SPA.159-3.M5" but we all know this is not correct, because: 

1.  The filename does not have an extension

2.  The filename is incomplete.  The correct filename has a "bundle" in the middle.  

So not sure how the 30 routers were upgraded with the wrong filename.  

Hello Leo 

 

Thanks for your message, below is the complete command and output, it might help to correct me 

 

bundle install flash:ir800-universalk9-bundle.SPA.159-3.M5.bin
Installing bundle image: /ir800-universalk9-bundle.SPA.159-3.M5.bin.........................................................................................................................................................................................................

updating Hypervisor image...

Starting File System integrity check
NOTE: File System will be deinited and later rebuilt

Starting partition 0 Analysis
Boot Sector/Boot Parameter Block check ...[Passed]
DIB not present
DIB & Monlib check ...[Passed]
Partition Init check ...[Passed]
Directory entries check ...[Passed]
SRP md5 verification passed!


updating IOS image...

Starting File System integrity check
NOTE: File System will be deinited and later rebuilt

Starting partition 0 Analysis
Boot Sector/Boot Parameter Block check ...[Passed]
DIB not present
DIB & Monlib check ...[Passed]
Partition Init check ...[Passed]
Creating orphan file: 20935 4603
Creating orphan file: 25538 1
Creating orphan files under /ORPHAN1
Directory entries check ...[Passed] Error: failed to compute md5 hash for flash:/ir800-universalk9-mz.SPA.159-3.M5

IOS md5 verification failed!

Failed to remove corrupted IOS image: flash:/ir800-universalk9-mz.SPA.159-3.M5!


@gopishukla wrote:

Creating orphan files under /ORPHAN1
Directory entries check ...[Passed] Error: failed to compute md5 hash for flash:/ir800-universalk9-mz.SPA.159-3.M5

IOS md5 verification failed!

Failed to remove corrupted IOS image: flash:/ir800-universalk9-mz.SPA.159-3.M5!


Oh, wait.  I know what this is.  

Clean up the ORPHAN sub-directory.  There is a file in there called "ir800-universalk9-mz.SPA.159-3.M5" which the script cannot remove.

Hello  Leo

Thanks for your quick response, can you pass the command line to clean the file, 

 

Regards 

 

Hello Leo , 

There is no such file name as you mentioned, below is the screenshot for your reference and further support.

delete flash:ir800-universalk9-bundle.SPA.159-3.M5
Delete filename [/ORPHAN1/ir800-universalk9-bundle.SPA.159-3.M5]?
Delete flash:/ORPHAN1/ir800-universalk9-bundle.SPA.159-3.M5? [confirm]
%Error deleting flash:/ORPHAN1/ir800-universalk9-bundle.SPA.159-3.M5 (File not found)
ESNG_RTR21#bundle install flash:ir800-universalk9-bundle.SPA.159-3.M5.bin
ERROR: source file flash:ir800-universalk9-bundle.SPA.159-3.M5.bin does not exist or it's empty

 

Thanks in Advance 

Do this: 

test if show hidden
delete /f /r bootstrap:/ORPHAN1

Leo Laohoo
Hall of Fame
Hall of Fame

@gopishukla wrote:

 

Error: Failed to compute md5 hash for flash:/ir800-universalk9-mz.SPA.159-3.M5
IOS md5 verification failed!
Failed to remove corrupted IOS image: flash:/ir800-universalk9-mz.SPA.159-3.M5

 


This means the IOS file is corrupt.  

Most common cause is the download was interrupted and not completed.

I tried to copied thrice and result was the same , I used the same IOS for other Cisco 800 series router and its working 

Not sure where is the problem , 


@gopishukla wrote:

I tried to copied thrice and result was the same , I used the same IOS for other Cisco 800 series router and its working 

Not sure where is the problem , 


No, it is not. 

Post the complete output to the command "dir flash:".

Review Cisco Networking for a $25 gift card