cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5955
Views
20
Helpful
11
Replies

Cisco 871 Router, won't hold IOS images. RomMon City!!

george.carlisle
Level 1
Level 1

I'm trying to upgrade an 871 Router to support SIP.

I keep booting to Rommon and I get this message when I upload an IOS image:

I have only a 20mb flash some I watch what upload. Here's the message:

rommon 1 > xmodem
usage: xmodem [-cyrxu] <destination filename>
-c  CRC-16
-y  ymodem-batch protocol
-r  copy image to dram for launch
-x  do not launch on download completion
-u  upgrade ROMMON, System will reboot after upgrade
rommon 2 > xmodem -r
Do not start the sending program yet...

Invoke this application only for disaster recovery.
Do you wish to continue? y/n  [n]:  y
flashfs[0]: dir struct error[2].
flash: file system initialization failed
Ready to receive file
Download Complete!
Self decompressing the image : #################################################
################## [OK]

[IOS Boots briefly]

flashfs[0]: dir struct error[2].
flash: file system initialization failed
Could not open boot directory: flash:/
Unable to open boot file

System Bootstrap, Version 12.3(8r)YI4, RELEASE SOFTWARE
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2006 by cisco Systems, Inc.

C870 series (Board ID: 3-148) platform with 196608 Kbytes of main memory

rommon 1 >

2 Accepted Solutions

Accepted Solutions

Leo Laohoo
Hall of Fame
Hall of Fame

When in ROMmon, enter "i" and press enter.

IF it still doesn't work, RMA it.  The error message means that your Flash memory is experiencing something funny.

View solution in original post

Phillip Remaker
Cisco Employee
Cisco Employee

Sounds like a corrupted flash filesystem, a reformat is in order.

Step by step copied from another forum:

http://techrepublic.com.com/5208-6230-0.html?forumID=101&threadID=214906&messageID=2278621&tag=content;leftCol

When you boot the router c871, if the flash file-system does not work, after 3 retries it goes to the Rom Monitor [rommon].
I suggest to format the flash file-system and then reload the IOS file if you have saved it anywhwere else.
The startup-config it is not erased because it is stored to another part inside the NVRAM of the router.

rommon 1> format flash:
... wait 2-3 minutes ...

then set the variables for tftfdnld

IP_ADDRESS=192.168.1.100
IP_SUBNET_MASK=255.255.255.0
DEFAULT_GATEWAY=192.168.1.1
TFTP_SERVER=192.168.1.200
TFTP_FILE=the_name_of_the_ios_image.bin

tftpdnld
... wait ...

you may use the SET command of the RomMonitor to review your settings.
I suggest as an TFTP server the Solarwinds
it is easy and free.
At the example above the first IP is the
temporary IP of the router, the IP of the TFTP_SERVER is the IP of te PC running the TFTP server (Solarwinds).

When you reboot the router (or reload) then
it will start with the startup-config you have created the last time.
I suggest to update the router with the latest SDM tool that usualy comes on a CD with the router.

View solution in original post

11 Replies 11

george.carlisle
Level 1
Level 1

My question, what does this mean and How do I fix this below?

flashfs[0]: dir struct error[2].
flash: file system initialization failed
Could not open boot directory: flash:/
Unable to open boot file

I uploaded once and got the ios to run but now I only get the rommon.

Also, does this router support SIP extension to extension dialing onsite and site to site?

SB100#dir
%Error opening flash:/ (Invalid argument)

This is my latest effort

I've built a config but once I reboot I'll be back to the Rommon. I really need some comments here.

Leo Laohoo
Hall of Fame
Hall of Fame

When in ROMmon, enter "i" and press enter.

IF it still doesn't work, RMA it.  The error message means that your Flash memory is experiencing something funny.

This is not an answer. "i" is what i did when I lost the config. It just keeps booting to ROMmon.

The volunteers of this community do not have an obligation to provide answers either quickly or any answer at all. The best tactic that would get you answers in this community is to acknowledge the efforts of the volunteers either by using the appropriate words and/or generously rating their posts. If that still doesn't help you get the answer you are looking for, you can either open a TAC case or pay a professional consultant. However, opening a TAC case or paying to get the answers that you prefer does not guarantee that you will not need to replace faulty components in the end.

George,

How is Leo's answer, "not and answer"?? of course it is and a correct reply at that. No where in the previous postings did you say you did that already so it is a very good answer.

Mike

Hi Maria and Mike,

Thanks.

This is my only option in the end. I added a smartnet contract, which I didn't have at the time, Lamya Bashayreh.  Thanks for your comments.

Phillip Remaker
Cisco Employee
Cisco Employee

Sounds like a corrupted flash filesystem, a reformat is in order.

Step by step copied from another forum:

http://techrepublic.com.com/5208-6230-0.html?forumID=101&threadID=214906&messageID=2278621&tag=content;leftCol

When you boot the router c871, if the flash file-system does not work, after 3 retries it goes to the Rom Monitor [rommon].
I suggest to format the flash file-system and then reload the IOS file if you have saved it anywhwere else.
The startup-config it is not erased because it is stored to another part inside the NVRAM of the router.

rommon 1> format flash:
... wait 2-3 minutes ...

then set the variables for tftfdnld

IP_ADDRESS=192.168.1.100
IP_SUBNET_MASK=255.255.255.0
DEFAULT_GATEWAY=192.168.1.1
TFTP_SERVER=192.168.1.200
TFTP_FILE=the_name_of_the_ios_image.bin

tftpdnld
... wait ...

you may use the SET command of the RomMonitor to review your settings.
I suggest as an TFTP server the Solarwinds
it is easy and free.
At the example above the first IP is the
temporary IP of the router, the IP of the TFTP_SERVER is the IP of te PC running the TFTP server (Solarwinds).

When you reboot the router (or reload) then
it will start with the startup-config you have created the last time.
I suggest to update the router with the latest SDM tool that usualy comes on a CD with the router.

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: