cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
11530
Views
0
Helpful
30
Replies

Cisco 2811 Stuck in readonly rommon mode

I have a 2811 router and I can not get it to boot properly. I've been troubleshooting it for a few days now but haven't made any progress. I'll start with with I've tried so far and post the output from the commands I have tried.

 

The router was pulled off our rack after we upgraded to a new router. It has a Cisco 128Mb CF card. When I first booted, it went directly into rommon mode. The first thing I tried was the confreg 0x2142 command. After I power cycle the router it just boots back to the same prompt. I setup a TFTP server and tried copying the IOS but kept getting timeout errors. I tried different ethernet cables and both ports ethernet port on the router but no luck. I then tried the xmodem method and changed the serial baud rate 1152000. I left it running overnight and came back to a timeout error. I then found a spare 256MB Sandisk Compact Flash card and tried the TFTP and xmodem methods again but got the same error. I then bought a compact flash card reader and was able to read and format both cards. I copied the contents of the original CF card to my PC then formatted (tried both FAT and FAT32) and put a new IOS on it but it still would not boot. I then put the original files on the SanDisk CF card (tried both FAT and FAT32 again) but still get the same errors. I then found an old 4GB usb memory stick and formatted it then copied a new IOS to it but I can't seem to access the drive using the DIR command. I just ordered a new OEM Cisco 128MB CF card but it probably will not be here till next week. Any information or suggestions would be helpful. Below is the output from the console.

___________________________________________________________________________

 

System Bootstrap, Version 12.4(13r)T11, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2009 by cisco Systems, Inc.

Initializing memory for ECC
..
c2811 platform with 524288 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled


Readonly ROMMON initialized
program load complete, entry point: 0x8000f000, size: 0xcb80
open(): Open Error = -66
boot: cannot open "flash:"
boot: cannot determine first executable file name on device "flash:"
c2811 platform with 524288 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled


Readonly ROMMON initialized
program load complete, entry point: 0x8000f000, size: 0xcb80
open(): Open Error = -66
boot: cannot open "flash:"
boot: cannot determine first executable file name on device "flash:"
c2811 platform with 524288 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled


Readonly ROMMON initialized
Entering rommon> prompt after several failed attempts to boot an IOS image.
Please check your internal/external flash drives for the correct IOS image
and issue 'reset' at the rommon> prompt to re-try the boot process.
rommon 1 > confreg 0x2142


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

System Bootstrap, Version 12.4(13r)T11, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2009 by cisco Systems, Inc.

Initializing memory for ECC
..
c2811 platform with 524288 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled


Readonly ROMMON initialized
program load complete, entry point: 0x8000f000, size: 0xcb80
open(): Open Error = -66
boot: cannot open "flash:"
boot: cannot determine first executable file name on device "flash:"
c2811 platform with 524288 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled


Readonly ROMMON initialized
program load complete, entry point: 0x8000f000, size: 0xcb80
open(): Open Error = -66
boot: cannot open "flash:"
boot: cannot determine first executable file name on device "flash:"
c2811 platform with 524288 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled


Readonly ROMMON initialized
Entering rommon> prompt after several failed attempts to boot an IOS image.
Please check your internal/external flash drives for the correct IOS image
and issue 'reset' at the rommon> prompt to re-try the boot process.
rommon 1 > dev
Devices in device table:
id name
flash: compact flash
bootflash: boot flash
usbflash0: usbflash0
usbflash1: usbflash1
eprom: eprom
rommon 2 > dir flash:
program load complete, entry point: 0x8000f000, size: 0xcb80
open(): Open Error = -66
dir: cannot open device "flash:"
rommon 3 > dir bootflash:
dir: cannot access device "bootflash:"
rommon 4 > dir usbflash0:
program load complete, entry point: 0x8000f000, size: 0x3d240
open(): Open Error = -1
dir: cannot open device "usbflash0:"
rommon 5 > dir usbflash1:
program load complete, entry point: 0x8000f000, size: 0x3d240
open(): Open Error = -1
dir: cannot open device "usbflash1:"
rommon 6 > dir usbflash0:
program load complete, entry point: 0x8000f000, size: 0x3d240
open(): Open Error = -1
dir: cannot open device "usbflash0:"
rommon 7 > dir eprom:
dir: cannot access device "eprom:"
rommon 8 >

30 Replies 30

Leo Laohoo
Hall of Fame
Hall of Fame
Insert the original Cisco-branded CF and try to format the CF. If the command is accepted then the CF has been recognized by the router. If not, then something is wrong with the CF or the reader.
Next, USB. The bootstrap shows someone has upgraded the bootstrap so that it can support booting the IOS via the USB. The question now comes is: Is there a USB thumb drive that is supported by the router?

It says "command "format" not found"

Would this be because it is in readonly rommon mode?

Yes, it will work. ROMmon is always "read only".
To boot an IOS, from ROMmon and from a USB stick, the command is hidden: boot usbflash0:IOS_filename.bin

I've been trying to format the CF as suggested but the format command will not work in rommon mode. I did some research and I'm not the only one having this issue. Both links below state that you can not format in rommon mode. I've also included the output from the console.

 

https://supportforums.cisco.com/t5/lan-switching-and-routing/please-help-format-flash-in-rommom/td-p/1527985

 

http://www.routerdiscussions.com/viewtopic.php?f=16&t=9777

 

____________________________________________________________________

 


c2811 platform with 524288 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled


Readonly ROMMON initialized
program load complete, entry point: 0x8000f000, size: 0xcb80
open(): Open Error = -66
boot: cannot open "flash:"
boot: cannot determine first executable file name on device "flash:"
c2811 platform with 524288 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled


Readonly ROMMON initialized
program load complete, entry point: 0x8000f000, size: 0xcb80
open(): Open Error = -66
boot: cannot open "flash:"
boot: cannot determine first executable file name on device "flash:"
c2811 platform with 524288 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled


Readonly ROMMON initialized
Entering rommon> prompt after several failed attempts to boot an IOS image.
Please check your internal/external flash drives for the correct IOS image
and issue 'reset' at the rommon> prompt to re-try the boot process.
rommon 1 > dir
usage: dir <device>
rommon 2 > dev
Devices in device table:
id name
flash: compact flash
bootflash: boot flash
usbflash0: usbflash0
usbflash1: usbflash1
eprom: eprom
rommon 3 > dir flash:
program load complete, entry point: 0x8000f000, size: 0xcb80
open(): Open Error = -66
dir: cannot open device "flash:"
rommon 4 > format flash:

monitor: command "format" not found
rommon 5 > dir usbflash0:
program load complete, entry point: 0x8000f000, size: 0x3d240
open(): Open Error = -1
dir: cannot open device "usbflash0:"
rommon 6 > format flash:

monitor: command "format" not found
rommon 7 > boot flash:c2800nm-ipbasek9-mz.151-4.M5.bin
program load complete, entry point: 0x8000f000, size: 0xcb80
open(): Open Error = -66
loadprog: error - on file open
boot: cannot load "flash:c2800nm-ipbasek9-mz.151-4.M5.bin"
rommon 8 > boot usbflash0:c2800nm-ipbasek9-mz.151-4.M5.bin
usbflash0: not present
rommon 9 > boot usbflash1:c2800nm-ipbasek9-mz.151-4.M5.bin
program load complete, entry point: 0x8000f000, size: 0x3d240

*** TLB (Load/Fetch) Exception ***
Access address = 0x364
PC = 0x8003d878, Cause = 0x8, Status Reg = 0x3040a803

monitor: command "boot" aborted due to exception
rommon 10 > format flash:

monitor: command "format" not found
rommon 11 > dir bootflash:
Please reset before executing this command
rommon 12 > boot bootflash:c2800nm-ipbasek9-mz.151-4.M5.bin
Please reset before booting
rommon 13 >

 

Hi

Try with an USB memory stick, but it must for formatted using FAT (not FAT32 just FAT) on your computador include the new Image and try to boot from it.

It should work while you get a new compact flash. 

 




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

I formated the 4GB memory stick I have in FAT and copied 3 different IOS images to the drive. Below is the output from the console.

 

_______________________________________________________________

 

 

System Bootstrap, Version 12.4(13r)T11, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2009 by cisco Systems, Inc.

Initializing memory for ECC
..
c2811 platform with 524288 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled


Readonly ROMMON initialized
program load complete, entry point: 0x8000f000, size: 0xcb80
open(): Open Error = -66
boot: cannot open "flash:"
boot: cannot determine first executable file name on device "flash:"
c2811 platform with 524288 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled


Readonly ROMMON initialized
program load complete, entry point: 0x8000f000, size: 0xcb80
open(): Open Error = -66
boot: cannot open "flash:"
boot: cannot determine first executable file name on device "flash:"
c2811 platform with 524288 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled


Readonly ROMMON initialized
Entering rommon> prompt after several failed attempts to boot an IOS image.
Please check your internal/external flash drives for the correct IOS image
and issue 'reset' at the rommon> prompt to re-try the boot process.
rommon 1 > dev
Devices in device table:
id name
flash: compact flash
bootflash: boot flash
usbflash0: usbflash0
usbflash1: usbflash1
eprom: eprom
rommon 2 > boot usbflash0:c2800nm-ipbasek9-mz.151-4.M5.bin
usbflash0: not present
rommon 3 > boot usbflash1:c2800nm-ipbasek9-mz.151-4.M5.bin
program load complete, entry point: 0x8000f000, size: 0x3d240

*** TLB (Load/Fetch) Exception ***
Access address = 0x364
PC = 0x8003d878, Cause = 0x8, Status Reg = 0x3040a803

monitor: command "boot" aborted due to exception
rommon 4 > boot usbflash0:c2800nm-adventerprisek9-mz.124-19b.bin
Please reset before booting
rommon 5 > reset
c2811 platform with 524288 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled


Readonly ROMMON initialized
program load complete, entry point: 0x8000f000, size: 0xcb80
open(): Open Error = -66
boot: cannot open "flash:"
boot: cannot determine first executable file name on device "flash:"
c2811 platform with 524288 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled


Readonly ROMMON initialized
program load complete, entry point: 0x8000f000, size: 0xcb80
open(): Open Error = -66
boot: cannot open "flash:"
boot: cannot determine first executable file name on device "flash:"
c2811 platform with 524288 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled


Readonly ROMMON initialized
Entering rommon> prompt after several failed attempts to boot an IOS image.
Please check your internal/external flash drives for the correct IOS image
and issue 'reset' at the rommon> prompt to re-try the boot process.
rommon 1 > boot usbflash0:c2800nm-adventerprisek9-mz.124-19b.bin
usbflash0: not present
rommon 2 > boot usbflash1:c2800nm-adventerprisek9-mz.124-19b.bin
program load complete, entry point: 0x8000f000, size: 0x3d240

*** TLB (Load/Fetch) Exception ***
Access address = 0x364
PC = 0x8003d878, Cause = 0x8, Status Reg = 0x3040a803

monitor: command "boot" aborted due to exception
rommon 3 >

The USB flash drive works but the IOS could be corrupt.

Hi

I don't think 3 images could show problems at same time.

http://blog.ipspace.net/2007/02/upgrade-2800-series-router-to-support.html

 

On the comments there is the same error, the suggestion is open case with the Cisco TAC

rommon 1 > dir usbflash0:
program load complete, entry point: 0x8000f000, size: 0x3d240

*** TLB (Load/Fetch) Exception ***
Access address = 0x364
PC = 0x8003d878, Cause = 0x8, Status Reg = 0x3040a803

monitor: command "dir" aborted due to exception

rommon 1 > boot usbflash0:c2800nm-advipservicesk9-mz.124-15.T7.bin
program load complete, entry point: 0x8000f000, size: 0x3d240

*** TLB (Load/Fetch) Exception ***
Access address = 0x364
PC = 0x8003d878, Cause = 0x8, Status Reg = 0x3040a803

monitor: command "boot" aborted due to exception




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

I tried the boot system usbflash0: command but still no luck in booting the router.

 

_______________________________________________________________

 

 

System Bootstrap, Version 12.4(13r)T11, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2009 by cisco Systems, Inc.

Initializing memory for ECC
..
c2811 platform with 524288 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled


Readonly ROMMON initialized
program load complete, entry point: 0x8000f000, size: 0xcb80
open(): Open Error = -66
boot: cannot open "flash:"
boot: cannot determine first executable file name on device "flash:"
c2811 platform with 524288 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled


Readonly ROMMON initialized
program load complete, entry point: 0x8000f000, size: 0xcb80
open(): Open Error = -66
boot: cannot open "flash:"
boot: cannot determine first executable file name on device "flash:"
c2811 platform with 524288 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled


Readonly ROMMON initialized
Entering rommon> prompt after several failed attempts to boot an IOS image.
Please check your internal/external flash drives for the correct IOS image
and issue 'reset' at the rommon> prompt to re-try the boot process.
rommon 1 > boot system usbflash0:c2800nm-ipbasek9-mz.151-4.M5.bin
program load complete, entry point: 0x8000f000, size: 0xcb80
open(): Open Error = -66
boot: cannot open "flash:"
an alternate boot helper program is not specified
(monitor variable "BOOTLDR" is not set)
and unable to determine first file in bootflash
loadprog: error - on file open
boot: cannot load "system usbflash0:c2800nm-ipbasek9-mz.151-4.M5.bin"
rommon 2 > boot system usbflash0:c2800nm-advipservicesk9-mz.124-25b.bin
program load complete, entry point: 0x8000f000, size: 0xcb80
open(): Open Error = -66
boot: cannot open "flash:"
an alternate boot helper program is not specified
(monitor variable "BOOTLDR" is not set)
and unable to determine first file in bootflash
loadprog: error - on file open
boot: cannot load "system usbflash0:c2800nm-advipservicesk9-mz.124-25b.bin"
rommon 3 >


hill.tyrone@outlook.com wrote:

rommon 2 > boot system usbflash0:c2800nm-advipservicesk9-mz.124-25b.bin


That is the wrong syntax.  From ROMmon it is:  boot usbflash0:c2800nm-advipservicesk9-mz.124-25b.bin

I've tried that previously...it failed in the previous console output I posted.

Julio,

 

I checked out the http://blog.ipspace.net/2007/02/upgrade-2800-series-router-to-support.html link and the instructions say that I need be on "ROMMON release 12.4(13r)T (description: C2800 ROMMON Upgrade; adds boot from usb flash drive capability)."It looks like the router is currently running version 12.4(13r)T11. I thought there could be something wrong with ROMMON so I downloaded and tried downgrading to C2800NM_RM2.srec.124-13r.T6 but the upgrade rom-monitor file usbflash0:C2800NM_RM2.srec.124-13r.T6 command did not work. I'm assuming this is because I'm in ROMMON mode and the upgrade needs to be done in exec mode.

 

I'm really new to the Cisco world and I'm trying to setup a home lab. I have several L3 test switches but I really need to practice router configurations, as some of the commands are not the same. Any help would much appreciated.

You don't need to upgrade the bootstrap because it's already been updated to allow, among other things, booting from USB.

Well it looks like I'm out of options. I got the new Cisco CF card and copied the 2 different IOS versions to it and I still get the exact same error. I'm assuming the CF reader on the router may be defective but it doesn't explain why I can't I boot from USB either.