11-13-2012 02:35 AM - edited 03-03-2019 06:50 AM
I recently obtained a 2851 and have been battling this issue for a week now. An odd set of circumstances happen with the bootstrap startup process. If the router has loss of power or when reloaded; it fails to read the CF card and boots to rommon. I can tftp an image to it (tftpdnld -r) and IOS CAN read the flash card along with any saved configuration.
In fact once in IOS, I can wr mem and print the hardware details of the CF card. Once I reload the router it goes to rommon, fails to open the flash, then sits until i tftp the image back. When the router load IOS, it also loads the startup config.
I don't think it's a problem with the CF card as IOS can read it. I've tried formatting the card from IOS and from my pc as FAT, FAT16, FAT32, and NTFS - it didn't make a different. I updated the ROMMON to allow for USB booting but haven't purchased a USB Drive yet for testing. The upgrade didn't resolve this issue either. It almost seems like a firmware problem with the EPROM.
I've played with the config register to see what, if any, impact it had. Currently it's set to 0x2102, putting it in the diag register didn't produce any other errors than what's listed below.
I'm stumped and out of ideas. Hoping somebody has some insight on what could be causing this to happen.
Apprecite your time reading my question.
Upgrade ROMMON initialized
program load complete, entry point: 0x8000f000, size: 0xcb80
open(): Open Error = -66
loadprog: error - on file open
boot: cannot load "flash:c2800nm-advsecurityk9-
11-13-2012 04:52 AM
Boot IOS, update rommon,try again.
Note: cisco.com downloads require a valid support contract.
11-13-2012 05:01 AM
I updated rommon already, same issue. I didn't have bootusb ability until I did the update, but the same issue remains.
11-13-2012 05:48 AM
Then rommon is unable to read CF, you can try "dir flash:" in rommon. You can try another CF module.
The fact that IOS can read/write CF does not indicate that rommon can, as they are different code.
11-29-2012 10:01 AM
Just an update. Any rommon commands (dev, dir, etc) do not see cf or usb in either port. Using boot system flash & boot system usbflash0 didn't make a difference. I don't think this is resolvable via software fix, and assume this to be an issue with the eprom. Appreciate the advice and assistance, replacement will be my next step.
11-29-2012 12:19 PM
Have you tried different types of CF and USB memory ?
12-08-2012 08:05 PM
Yes, I have tried different types of CF and USB with the same result. I have "official" cisco 256mb cf and a sandisk cf. I have tried various brands of usbflash.
I added boot system statements to the config to cf, then usb0, then usb1 to see if perhaps one would read. It looks like it doesn't bother after the first device fails. This is only for my studies and I can deal with "tftpdnld -r" every time I boot it. Just was trying to nail down any other possibilies.
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
.
c2851 platform with 262144 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
open(): Open Error = -66
loadprog: error - on file open
boot: cannot load "flash:c2800nm-ipvoice-mz.151-2.T1.bin"
c2851 platform with 262144 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
open(): Open Error = -66
boot: cannot open "flash:"
boot: cannot determine first executable file name on device "flash:"
c2851 platform with 262144 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
open(): Open Error = -66
boot: cannot open "flash:"
boot: cannot determine first executable file name on device "flash:"
c2851 platform with 262144 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled
Upgrade 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 >
12-08-2012 08:32 PM
open(): Open Error = -66
loadprog: error - on file openboot: cannot load "flash:c2800nm-ipvoice-mz.151-2.T1.bin
The router can't read the IOS file (c2800nm-ipvoice-mz.151-2.T1.bin). The router couldn't even begin.
Can you post the output to the command "dir flash:" please?
Any rommon commands (dev, dir, etc) do not see cf or usb in either port.
You are both right and wrong.
You are right that in ROMmon, the command to boot from USB is not available. This is because the command is "hidden". In ROMmon, try the command "boot usbflash0:filename.txt". As you know, in ROMmon, no shortcuts allowed to the word "usbflashX:" has to spelled out completely.
07-17-2013 01:52 AM
Hi I have this problem as well,
I copied all files off a good working 128 meg compact flash to usb, then copied them all back to a new 256 meg compact flash formated on the same router (2800) and when i try to boot of it get the
open(): Open Error = -66 error.
Any idea on what has gone wrong, I too am just teaching myself stuff on my home lab,
Cheers Mike
07-17-2013 08:00 AM
OP here, I've just gotten used to doing an ios tftp every time I turn the router on from rommon. I try not to powercycle the router while doing labs but I've not found anything that fixed mine.
As mentioned above, as soon as I tftp the IOS over it automagically loads the config and reads all flash types, it's just during initial boot. I never continued researching rommon versions or looking through the bug toolkit. Might head that direction if you have access though.
07-17-2013 06:28 PM
Try another CF card.
Copy the image using router IOS, not PC.
Post the complete boot log as well output of "set" and "dir flash:" from rommon.
07-23-2013 01:23 AM
open(): Open Error = -66 error.
The IOS is corrupt. Compare the MD5 hash values against the ones in the Cisco Download website.
07-18-2013 12:14 AM
Hi here we go,
I think i may have sused our problem, I have found a cisco field notice FN62573 which highlights a faulty batch of compact flash's made which gives this problem, the fix is to update my rommon, but as my CF was purchased for lab work, i would have to upgrage all routers i use it on, not very clever. I purchased two cisco CF 256meg to avoid this sort of issue as I had read other makes gave issues. may be I should have just bought two new ones for £10 of diffrent make, these are 2006 and has the 980 cylinders mentioned in the field notice.
Both the new cf's are same batch and displaythe same fault with just one file on it, this being the IOS, I recon the ebay seller knew this hence probably got them for nothing and sold them to me for £40 the pair,
any way going forward, toinight after work i intend to read the field notice and try to update the rommon, this will be a good exercise in itself.
All coments apreciated Many thanks to all that reply
here is the output
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:"
System Bootstrap, Version 12.4(13r)T, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2006 by cisco Systems, Inc.
PLD version 0x10
GIO ASIC version 0x127
c2801 platform with 393216 Kbytes of main memory
Main memory is configured to 64 bit mode with parity disabled
Readonly ROMMON initialized
rommon 1 >
eadonly ROMMON initialized
rommon 1 >
rommon 1 > set
PS1=rommon ! >
?=0
WARM_REBOOT=
BSI=0
RANDOM_NUM=1194184284
RET_2_RTS=06:40:20 UTC Thu Jul 18 2013
RET_2_RCALTS=1374129622
rommon 2 > dir flash
bad device name
usage: dir
rommon 3 >
07-18-2013 12:24 AM
There is no point in buying Cisco memory.
You can update rommon, and/or return faulty part using ebay or paypal buyer protection.
note: flash: is spelled with a final column.
07-23-2013 01:25 AM
Hi Michael,
All my ISR 1 routers and Sup720 cards sport a 2 Gb CF. Cisco does NOT sell 2 Gb CF. I hope you got the hint.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide