cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1116
Views
0
Helpful
3
Replies

Router going to ROMMON after IOS update but then boots with "boot flash:"

vpmorozov
Level 1
Level 1

I've very strange problem on 3725 router. I've updated it from 12.3(9) IPBASE to 12.4 IPBASE+K9 IOS version.

First of all, I've tried:

- 2 different Cisco 3725;

- 2 different IOS: 12.4(10b) and 12.4(12)

- Updated bootstrap to Version 12.4(13r)T5

- confreg is 0x2102

The problem is:

1. I copy new IOS to flash;

2. I delete old IOS from flash;

3. I reboot router;

4. Router goes to ROMMON;

5. I enter "boot flash:IOSNAME" and router boot to normal state;

WHY? Something wrong with IOS on cisco site? How to add or calculate magic number?

========

System Bootstrap, Version 12.3(10r) [dchih 10r], RELEASE SOFTWARE (fc1)

Copyright (c) 2004 by cisco Systems, Inc.

System Bootstrap, Version 12.4(13r)T5, RELEASE SOFTWARE (fc1)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 2007 by cisco Systems, Inc.

c3725 platform with 262144 Kbytes of main memory

Main memory is configured to 64 bit mode with parity disabled

Upgrade ROMMON initialized

program load complete, entry point: 0x80008000, size: 0xa040

program load complete, entry point: 0x80008000, size: 0xa040

loadprog: bad file magic number: 0x0

boot: cannot load "flash:"

System Bootstrap, Version 12.4(13r)T5, RELEASE SOFTWARE (fc1)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 2007 by cisco Systems, Inc.

c3725 platform with 262144 Kbytes of main memory

Main memory is configured to 64 bit mode with parity disabled

Upgrade ROMMON initialized

slot0: CompactFlash not present.

System Bootstrap, Version 12.4(13r)T5, RELEASE SOFTWARE (fc1)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 2007 by cisco Systems, Inc.

c3725 platform with 262144 Kbytes of main memory

Main memory is configured to 64 bit mode with parity disabled

Upgrade ROMMON initialized

program load complete, entry point: 0x80008000, size: 0xa040

program load complete, entry point: 0x80008000, size: 0xa040

loadprog: bad file magic number: 0x0

boot: cannot load "flash:"

System Bootstrap, Version 12.4(13r)T5, RELEASE SOFTWARE (fc1)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 2007 by cisco Systems, Inc.

c3725 platform with 262144 Kbytes of main memory

Main memory is configured to 64 bit mode with parity disabled

Upgrade ROMMON initialized

rommon 1 > dir flash:

program load complete, entry point: 0x80008000, size: 0xa040

Directory of flash:

2640 775134 -rw- C3725_RM2.srec.124-13r.T5

2830 660 -rw- vlan.dat

2 17056536 -rw- c3725-ipbasek9-mz.124-10b.bin

rommon 2 > boot flash:c3725-ipbasek9-mz.124-10b.bin

program load complete, entry point: 0x80008000, size: 0xa040

program load complete, entry point: 0x80008000, size: 0x1044178

Self decompressing the image : ########################################################################################### [OK]

Smart Init is enabled

smart init is sizing iomem

ID MEMORY_REQ TYPE

000259 0X005F3C00 C3725 2NM Mainboard

0002A9 0X001FCE2F 16 port ethernet switch

00039E 0X001E0200 2 port CE1/T1 PRI NM(second generation)

0X003AA110 public buffer pools

0X00211000 public particle pools

TOTAL: 0X00F8BD3F

If any of the above Memory Requirements are

"UNKNOWN", you may be using an unsupported

configuration or there is a software problem and

system operation may be compromised.

Rounded IOMEM up to: 16Mb.

Using 6 percent iomem. [16Mb/256Mb]

3 Replies 3

Since you are able to boot the router using the new IOS image there's nothing wrong with the image. It appears the config register setting may be causing this. Can you verify whether the config register is set to 0x2102. Moreover, if you have a 'boot system' command in the configuration that's pointing to the old IOS image then remove it and make it to the point to the new IOS image or just don't leave any boot system commands in the config.

HTH

Sundar

I've opened TAC request about that. So, the answer is: IOS file should be the FIRST on flash. It's not so, it's clear from "dir flash:" in ROMMON.

maskmukesh
Level 1
Level 1

Hi,

I Agree with what Sundar says.

As per your post it seems you have uploaded the ios but its not able to take the boot file which you have uploaded, for this you will have togice command

boot system flash:filename.

regards

Mukesh

Getting Started

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: