Introduction
An upgrade fails because of insufficient Flash memory
Resolution
Sometimes the firmware upgrade to the Access Point (AP) fails due to an insufficient memory in Flash on the Access Point. In that case, try deleting crashinfo files from the AP.
To delete the crash info, issue the AP# delete flash: crashinfo_20050209-003009.
Note: There should be enough memory in Flash to store the new image. Only then does the upgrade work. Sometimes the exception crashinfo file may accumulate and fill in the Flash memory. Make sure that the crashinfo files are deleted before the upgrade.
In order to overwrite the firmware image on the AP, issue this command on the Telnet session of the AP:
AP# archive download-sw /force-reload /overwrite tftp://ip address/image
filename (for e.g c1200-k9w7-tar.123-4.JA.tar )
Exception Crashinfo file
To enable the creation of a diagnostic file at the time of unexpected system shutdowns, use the exception crashinfo filecommand in global configuration mode. To disable the creation of crashinfo files, use the noform of this command.
exception crashinfo file device : filename
no exception crashinfo file device : filename
Syntax Description
device:filename | Specifies the flash device and file name to be used for storing the diagnostic information. The file name can be up to 38 characters. The colon is required. |
Command Default
Disabled
Command Modes
Global configuration
Command History
Release
Modification
12.2(4)T, 12.2(11) | This command was introduced for the Cisco 3600 series only. |
12.2(13)T | This command was implemented in Cisco 6400-NSP images. |
12.2(15)JA | This command was integrated into Cisco IOS Release 12.2(15)JA. |
12.2(33)SRA | This command was integrated into Cisco IOS Release 12.2(33)SRA. |
Usage Guidelines
The crashinfo file saves information that helps Cisco technical support representatives to debug problems that caused the Cisco IOS image to fail (crash). The device writes the crash information to the console at the time of the failure, and the file is created the next time you boot the IOS image after the failure (instead of while the system is failing). The filename will be filename_yyyymmdd-hhmmss , where y is year, m is month, d is date, h is hour, and s is seconds.
Examples
In the following example, a crashinfo file called “crashdata” will be created in the default flash memory device if a system crash occurs:
Router(config)# exception crashinfo file flash:crashinfo
Related Commands
Command
Description
exception crashinfo buffersize | Changes the size of the crashinfo buffer. |
Problem Type
Upgrade
Products
Access point
Reference
For more information, refer to the article How to update Access Point firmware using TFTP when it is not possible to perform update through the HTTP interface.
For the Managing Firmware and Configurations section for a particular platform, refer to these documents: