Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

corrupt IOS image and are stuck in ROMMON mode 1

Status
Not open for further replies.

josampe

Technical User
Feb 2, 2011
5
US
HELP!!!
I am in desperate need from someone to help me or perhaps guide me through on this. Recently i tried to upgrade flash in cisco 2691 256d/64f of mine and image i guess got corrupted and i never troubleshoot in this level before, i tried used xmodem to temporary put image in DRAM but with no luck. Here it is:

rommon 1 > i

System Bootstrap, Version 12.2(8r)T2, RELEASE SOFTWARE (fc1)
TAC Support: Copyright (c) 2002 by cisco Systems, Inc.
c2691 processor with 262144 Kbytes of main memory
Main memory is configured to 64 bit mode with parity disabled

Readonly ROMMON initialized
program load complete, entry point: 0x80008000, size: 0xca20
program load complete, entry point: 0x80008000, size: 0xca20

loadprog: error - on read during ELF program load
requested 34319676 (0x20bad3c) bytes, got 34075156 (0x207f214)
boot: cannot load "flash:"

Readonly ROMMON initialized
slot0: CompactFlash not present.

Readonly ROMMON initialized
program load complete, entry point: 0x80008000, size: 0xca20
program load complete, entry point: 0x80008000, size: 0xca20

The image before was c2691-adventerprisek9-mz.124-25b.bin and I tried to upgrade with c2691-entservicesk9-mz.124-13b.bin

Thank you so much for the help!!!
 
Ouch. Can you change your configuration register value?

Iolair MacWalter
Network Engineer
 
Yes, many many ouch! I also had changed the confreg 0x2102 and so on which in rommon you get very limited command but nothing seme to work at the moment. The one that really puzzle me is when you reset it, I show slot0: CompactFlash not present and dir flash:

rommon 1 > dir flash:
program load complete, entry point: 0x80008000, size: 0xca20
Directory of flash:

2 34103360 -rw- c2691-entservicesk9-mz.124-13b.bin

rommon 2 > ?
alias set and display aliases command
boot boot up an external process
break set/show/clear the breakpoint
confreg configuration register utility
cont continue executing a downloaded image
context display the context of a loaded image
cookie display contents of motherboard cookie PROM in hex
dev list the device table
dir list files in file system
dis disassemble instruction stream
dnld serial download a program module
frame print out a selected stack frame
help monitor builtin command help
history monitor command history
iomemdef set IO mem to a default 25%
meminfo main memory information
repeat repeat a monitor command
reset system reset
rommon-pref Select ROMMON
set display the monitor variables
showmon display currently selected ROM monitor
stack produce a stack trace
sync write monitor environment to NVRAM
sysret print out info from last system return
unalias unset an alias
unset unset a monitor variable
xmodem x/ymodem image download

I never had to troubleshoot this kind of issue before so please anybody may have the same issue that could help me. Thx in advance!
 
That is a valid directory listing from flash. The image should be okay if it will show you all that.

Can you reload the old image and boot normally?

One other wild thought, and I can't even remember if a 2691 has this. On my 2800, there is a PCMCIA card that can actually be removed from the router. When I look at flash, I get a
slot0: CompactFlash present
continuing boot.

If you have one of these, pull it out and re-seat it.

Iolair MacWalter
Network Engineer
 
Thank you Iolair - my problem is solved, I pull the compact flash out and put it back on again. And before i did that, I used PC to del the incompatible image and put the image that was original in it and problem solved.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top