Question Locked

Cisco 2600 router keeps decompressing image --but wont load IOS

0 helpful
15 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hello
I have a 2600 router that I acquired , and it was booting in Rommon mode ...I checked the flash

rommon 1 > dir flash:
File size Checksum File name
12100916 bytes (0xb8a534) 0x79f0 c2600-js-mz.122-23f.bin

and the memory

Main memory size: 32 MB.
Available main memory starts at 0x10000, size 32704KB
IO (packet) memory size: 10 percent of main memory.
NVRAM size: 32KB

So I know the image is there --have changed config registerr to 0x2102 to boot up 'normally'

Checking the SET command comes this

rommon 3 > set
PS1=rommon ! >
RET_2_RUTC=1045236694
BSI=0
BOOT=flash:c2600-js-mz.122-23f.bin,12;
RET_2_RTS=
RET_2_RCALTS=
?=0

But when I reboot/reset --I get this over and over --it seems to decompress too quickly --I have erased the flash/reinstalled by xmodem and it did not have any errors , and I know the Image works as I have put it on 3 other routers .....any help please folks--or should I just send it back to Cisco :).....sorry heres the message

rommon 4 > i

System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)
Copyright (c) 1999 by cisco Systems, Inc.
TAC:Home:SW:IOS:Specials for info
C2600 platform with 32768 Kbytes of main memory

program load complete, entry point: 0x80008000, size: 0xb8a418
Self decompressing the image : #################################################
################################################################################
################################################################################
############# [OK]

System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)
Copyright (c) 1999 by cisco Systems, Inc.
TAC:Home:SW:IOS:Specials for info
C2600 platform with 32768 Kbytes of main memory

TIA

15 replies

by fregeus

..as if the decompression is ok and the IOS is ok. But for some reason, it doesn't know what to do next.

Do you get anything after the main memory statement? Does it give you a prompt?

TCB

by mullerfruit

The decompression seems ok(it only takes a minute or so) , then it loops it again and again--I left it on and eventually after about 6 lots of decompression I just get the Rommon prompt ...

System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)
Copyright (c) 1999 by cisco Systems, Inc.
TAC:Home:SW:IOS:Specials for info
C2600 platform with 32768 Kbytes of main memory

program load complete, entry point: 0x80008000, size: 0xb8a418
Self decompressing the image : #################################################
################################################################################
################################################################################
############# [OK]

System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)
Copyright (c) 1999 by cisco Systems, Inc.
TAC:Home:SW:IOS:Specials for info
C2600 platform with 32768 Kbytes of main memory

rommon 1 >

rommon 1 > confreg

Configuration Summary
enabled are:
load rom after netboot fails
console baud: 115200
boot: image specified by the boot system commands
or default to: cisco2-C2600

do you wish to change the configuration? y/n [n]: y
enable "diagnostic mode"? y/n [n]: n
enable "use net in IP bcast address"? y/n [n]: n
disable "load rom after netboot fails"? y/n [n]: n
enable "use all zero broadcast"? y/n [n]: n
enable "break/abort has effect"? y/n [n]: n
enable "ignore system config info"? y/n [n]: n
change console baud rate? y/n [n]: n
change the boot characteristics? y/n [n]: y
enter to boot:
0 = ROM Monitor
1 = the boot helper image
2-15 = boot system
[2]:

rommon 2 > set
PS1=rommon ! >
RET_2_RUTC=1045236694
BSI=0
BOOT=flash:c2600-js-mz.122-23f.bin,12;
RET_2_RTS=
RET_2_RCALTS=
?=0

Device is set to boot to the image file --but no joy ....all help greatfully recieved :)

by fregeus

...and you cannot seem to be able to boot, I would recommend calling Cisco for troubleshooting and possibly replacing the device. It might be defective. DOAs happens often since they started making them in China.

TCB.

by cg it

then your config register isn't set right.

This >>>> rommon 4 > i is not something you would see before the bootstrap loader program below..

System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)
Copyright (c) 1999 by cisco Systems, Inc.
TAC:Home:SW:IOS:Specials for info
C2600 platform with 32768 Kbytes of main memory

program load complete, entry point: 0x80008000, size: 0xb8a418
Self decompressing the image : #################################################
################################################################################
################################################################################
############# [OK]

System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)
Copyright (c) 1999 by cisco Systems, Inc.
TAC:Home:SW:IOS:Specials for info
C2600 platform with 32768 Kbytes of main memory

This IOS command is for setting your config register:

2600#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
2600(config)#config-register 0x2102
2600(config)#
ctl+Z

follow the instructions below to configure your 2600 ....

http://www.cisco.com/en/US/products/hw/routers/ps259/products_tech_note09186a00801fc986.shtml

by mullerfruit

The issue lies in that I cant get out of ROMMON mode ..I have changed the config register in ROMMON to 0x2102
rommon 3 > confreg 0x2102

You must reset or power cycle for new config to take effect
rommon 4 >

But it still continues to loop in this manner...

by netman1958

Go to the Cisco Feature Navigator:
http://tools.cisco.com/ITDIT/CFN/jsp/index.jsp
click on "Search by Image" and enter your image name:
c2600-js-mz.122-23f.bin

Image Name c2600-js-mz.122-23f.bin
DRAM / Min Flash 48 / 16
Enterprise Product Number S26AP-12223

That image requires 48MB DRAM and you only have 32:
Main memory size: 32 MB.
Available main memory starts at 0x10000, size 32704KB

by cg it

can't decompress image insufficent memory.

by mullerfruit

What I cant understand is why the router allowed me to load the image successfully , I tried a larger file and it gave an error message of not enough room .
Any idea how I can remove this Image?
TIA, really appreciate the help .

by netman1958

Here is a link to the procedure:
http://www.cisco.com/en/US/products/hw/routers/ps259/products_tech_note09186a008015bf9e.shtml

Essentially you will need another compatible image and you use the
"tftpdnld -r" command from RomMon to download the new image to DRAM and boot it. Once the router is booted to the new image, you can delete the existing image with "del image_filename" then "copy tftp flash" to write the new image to flash.

by mullerfruit

Thanks again for the advice , what puzzles me most is that the router allowed the image to download onto it ...

by mullerfruit

Thank you for the link , however I am still unsure as to why the Image was able to be accepted on the router--if there was not enough room in the first instance , why were there no errors? The image is 11.5mb on my desktop (I assume this is tarred / zipped) , when I tried a larger image the router would not accept it ...why did it allow this image and not give me any errors?
TIA

by netman1958

There are 3 separate memory areas on the router. Think of Flash as the hard drive. That's where it stores the image files among other things. So if you "copy tftp flash" it copies the image from the tftp server into the flash memory on the router. All that is required is that the router have enough free space in flash to hold the file. Your image is approx. 12MB so as long as there is 12MB free flash memory on the router, it copies with no errors, the router doesn't perform a check to see if the decompressed image will fit into DRAM.

When you boot the router it starts decompressing the image and copying it into DRAM from which it executes. Obviously the decompressed image is too large for the amount of DRAM in your router and it fails.

If you run a "show version" command on your router, somewhere in the output you will see how much flash your router has. For example:
128K bytes of NVRAM.
16384K bytes of processor board System flash (Read/Write)
2048K bytes of processor board Web flash (Read/Write)

From the above we can see that this router has 16MB flash and can hold an image file close to that same size(depending on what else is stored in flash). But that doesn't mean that that image won't decompress into more bytes than the DRAM can run. You can see how much free flash memory you have with the "dir" or "dir flash:" command. At the end, it should have a summary such as this:
16515068 bytes total (682004 bytes free)

NVRAM holds your configuration info.

by mullerfruit

Is there anyway of deleting everything in flash/dram before I download the image to the router? I cant find how much memory I have in DRAM only the following

rommon 3 > meminfo

Main memory size: 32 MB.
Available main memory starts at 0x10000, size 32704KB
IO (packet) memory size: 10 percent of main memory.
NVRAM size: 32KB

Have learnt a great deal from you ,this is very much appreciated.

by netman1958

you can delete anything from ROMMON but you can follow the recovery procedure I linked to and boot a different image, then delete the current image from flash and copy down the new one.

Actually, if I were in your place I would just order another 32MB memory for the router and run the current image.

This discussion is closed to new replies.