Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

How to fix flash error?

Hello Everone

Couple of days back I just issue a CMD erase flash on my router to  remove old IOS so I can install new IOS & then the problem started. I tried to install new IOS via XMODEM & then after via TFTP dnld both ended with an error. So i stuck in rommon mode.

Then after I removed Compact Flash from router & formatted it on my xp machine (using card reader) in FAT format then I copied a new IOS into Compact Flash, this worked & booted the router from IOS. I thought that’s it, everything looks fine, I started configuring the router & it took me while then I saved configuration using WR cmd and after I reload the router. After reload there was no configuration on router it boots like, it is booted first time asking me if I wana configure press yes/no

Now no solution is coming to the way. If anyone can help me will be highly appreciated.

I am attaching error & boot process of my router in *.txt format also.

Regards & Thanks in Advance

Sabby

E-mail: sabby015@yahoo.com

========================================


Router#sh flash:
%Error show flash: (No device available)

Router#format flash:
Format operation may take a while. Continue? [confirm]
Format operation will destroy all data in "flash:".  Continue? [confirm]
%Error formatting flash (No device available)
Router#


Router#config t
Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#hostname C-CME-ROUTER
C-CME-ROUTER(config)#^Z
C-CME-ROUTER#

*Nov  9 10:03:31.015: %SYS-5-CONFIG_I: Configured from console by consolew
% No connections open

C-CME-ROUTER#wr


Building configuration...
[OK]


C-CME-ROUTER#reload


Proceed with reload? [confirm]


*Nov  9 10:03:47.659: %SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Command.

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

Initializing memory for ECC
.
c2811 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
program load complete, entry point: 0x8000f000, size: 0xcb80

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

Smart Init is enabled
smart init is sizing iomem
  ID            MEMORY_REQ                 TYPE
0003E7          0X003DA000 C2811 Mainboard
                0X000021B8 Onboard USB
                0X002C29F0 public buffer pools
                0X00211000 public particle pools
TOTAL:          0X008AFBA8

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: 10Mb.
Using 3 percent iomem. [10Mb/256Mb]

              Restricted Rights Legend

Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.

           cisco Systems, Inc.
           170 West Tasman Drive
           San Jose, California 95134-1706

Cisco IOS Software, 2800 Software (C2800NM-IPVOICEK9-M), Version 12.4(11)T, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Sat 18-Nov-06 17:16 by prod_rel_team
Image text-base: 0x400B0CAC, data-base: 0x42B20000


This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html you require further assistance please contact us by sending email to
export@cisco.com. 2811 (revision 49.46) with 251904K/10240K bytes of memory.
Processor board ID FCZ110171LN
2 FastEthernet interfaces
DRAM configuration is 64 bits wide with parity enabled.
239K bytes of non-volatile configuration memory.
1973999K bytes of USB Flash usbflash0 (Read/Write)
62720K bytes of ATA CompactFlash (Read/Write)

If

Cisco


         --- System Configuration Dialog ---

Would you like to enter the initial configuration dialog? [yes/no]: n

% Crashinfo may not be recovered at flash:crashinfo
% This file system device reports an error


Press RETURN to get started!


*Nov  9 10:05:33.687: %USB_HOST_STACK-6-USB_DEVICE_CONNECTED: A Full speed USB device has been inserted in port 0.
*Nov  9 10:05:34.035: %SW_VLAN-4-IFS_FAILURE: VLAN manager encountered file operation error: call = ifs_open/read / code = 2595 (No device available)
    / bytes transfered = 0
*Nov  9 10:05:34.051: %LINEPROTO-5-UPDOWN: Line protocol on Interface VoIP-Null0, changed state to up
*Nov  9 10:05:34.055: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Nov  9 10:05:34.055: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up
*Nov  9 10:05:34.503: %USBFLASH-5-CHANGE: usbflash0 has been inserted!
*Nov  9 10:05:35.055: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to down
*Nov  9 10:05:35.055: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
*Nov  9 10:05:37.111: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
*Nov  9 10:05:44.487: %SYS-
Router>
Router>5-RESTART: System restarted --
Cisco IOS Software, 2800 Software (C2800NM-IPVOICEK9-M), Version 12.4(11)T, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Sat 18-Nov-06 17:16 by prod_rel_team
*Nov  9 10:05:44.495: %SNMP-5-COLDSTART: SNMP agent on host Router is undergoing a cold start
*Nov  9 10:05:44.699: %SYS-6-BOOTTIME: Time taken to reboot after reload =  116 seconds
*Nov  9 10:05:46.211: %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to administratively down
*Nov  9 10:05:46.215: %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down
*Nov  9 10:05:47.211: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to down
Router>

Everyone's tags (1)
5 REPLIES
Hall of Fame Super Gold

Re: How to fix flash error?

What is the config-registry value?  It should be 0x2102.

New Member

Re: How to fix flash error?

Many Thanks for the reply...

Yh config-register is set to 0x2102

New Member

Re: How to fix flash error?

use "confreg 0x2101"  in rommon mode e.g:  rommon>confreg 0x2101

then boot the ios then try to format the flash

New Member

Re: How to fix flash error?

The Flash mem settings is confreg 0x2102, see the link below

http://www.cisco.com/en/US/products/hw/routers/ps133/products_tech_note09186a008022493f.shtml#set-config

And/or you can go through resetting Confreg via the Cisco menu

Confreg

Go through a bunch of questions

On the boot option <2>

Also, remember you can point the boot-up statement to a specific IOS image in Rommon and in the IOS. Not sure, when you re-downloaded the image that you re-installed the one you had before or you grab a newer version..

do the follow

dir flash<---This verifies Rommon can see all the internal and external slots. Hopefully, Flash is detected and it shows what's on the card

boot flash:c3845-adventerprisek9-mz.124-10.bin <---Or whatever the name of your IOS

i <---syncs the changes into Rommon

New Member

Re: How to fix flash error?

Thanks to everyone for their time & help. It is working now

I changed the Compact flash card & copy ios agian & It booted itself, now I can save all my configurations.

Once again Thanks to all

Cheers

Warm Regards

Sabby

2234
Views
0
Helpful
5
Replies
CreatePlease to create content