02-04-2010 06:03 PM - edited 03-03-2019 05:51 AM
Hi Friends,
In my office one Router went to Rommon mode.When I give the dir flash: it did't showed any IOS.I used tftpdnld process to upload the IOS.Then it worked fine for 1 day.Next I restarted the Router and again it went Rommon mode.This time when i give the dir flash:,it is not showing the IOS that is present in the falsh.So i tried to the boot the Router with boot flash:iosname.bin but it is giving following error.
bad file magic number and with some other errors it ends with Rommon prompt.
My question is whether it is the problem of the corrupted Flash or IOS?
If it is the flash,to confirm it,is it possible to boot the Router by removing the flash away from Router and booting it with TFTP server?
Please answer my question,I am waiting for all of your valuable suggestions.
Thanks & Regards
Ganesh
02-04-2010 06:10 PM
What's the model of your router?
What's the IOS and feature set?
Can you post the output for "dir"?
02-04-2010 06:33 PM
Router Model is 2851 with 2851
IOS is c2800nm-adventerprisek9-mz.124-11.T4.bin
c2851 platform with 524288 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled
Upgrade ROMMON initialized
program load complete, entry point: 0x8000f000, size: 0xcb80
program load complete, entry point: 0x8000f000, size: 0xcb80
loadprog: bad file magic number: 0x0
boot: cannot load "flash:"
c2851 platform with 524288 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled
Upgrade ROMMON initialized
program load complete, entry point: 0x8000f000, size: 0xcb80
program load complete, entry point: 0x8000f000, size: 0xcb80
loadprog: bad file magic number: 0x0
boot: cannot load "flash:"
c2851 platform with 524288 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled
Upgrade ROMMON initialized
rommon 1 >
02-04-2010 06:50 PM
Could be a bug on the IOS itself. Can you please read the Deferred Image Notice? There'a reason why you can no longer download this version.
02-04-2010 06:58 PM
But we have the same Routers in different locations using same IOS.We have not experienced this kind of problem anywhere.Are there chances for the corruption of the flash card.
Other thing is,is it possible to boot Router from TFTP server with flash card from Rommon mode using tftpdnld -r.
02-04-2010 07:22 PM
How big is your CF? 64mb?
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: