Installation guide
F-4 Cisco 4000 Series Installation Guide
Entering the ROM Monitor Program
• dir—Lists the files on the named device, dir device, where the device is flash or
bootflash; lists the available files on that device.
For example:
rommon 11 > dir flash:
File size Checksum File name
2229799 bytes (0x220627) 0x469e C4500-k
Debugging Commands
Most of the debugging commands are functional only when the Cisco IOS software has
crashed or is aborted. If you enter the debug commands and Cisco IOS crash information
is not available, the screen will display the following error message:
“xxx: kernel context state is invalid, can not proceed."
• stack or k—Produces a stack trace.
• context—Displays the processor context.
• frame—Displays an individual stack frame.
• sysret—Displays the return information from the last booted system image. This
includes the reason for terminating the image, a stack dump of up to eight frames, and
if an exception is involved, the address where the exception occurred.
For example:
rommon 8 > sysret
System Return Info:
count: 19, reason: user break
pc:0x60043754, error address: 0x0
Stack Trace:
FP: 0x80007e78, PC: 0x60043754
FP: 0x80007ed8, PC: 0x6001540c
FP: 0x80007ef8, PC: 0x600087f0
FP: 0x80007f18, PC: 0x80008734