Appendix B ROM Monitor

Debug Commands

R28 = 0xffffffff R29 = 0xffffffff R30 = 0xffffffff R31 = 0xffffffff

frame—Display an individual stack frame.

sysret—Display return information from the last booted system image. This information 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:0x801111b0, error address: 0x801111b0 Stack Trace:

FP: 0x80005ea8, PC: 0x801111b0

FP: 0x80005eb4, PC: 0x80113694

FP: 0x80005f74, PC: 0x8010eb44

FP: 0x80005f9c, PC: 0x80008118

FP: 0x80005fac, PC: 0x80008064

FP: 0x80005fc4, PC: 0xfff03d70

FP: 0x80005ffc, PC: 0x00000000

FP: 0x00000000, PC: 0x00000000

meminfo—Display size in bytes, starting address, available range of main memory, the starting point and size of packet memory, and size of nonvolatile random-access memory (NVRAM). For example:

rommon 3> meminfo

Main memory size: 64 MB.

Available main memory starts at 0x10000, size 65472KB

IO (packet) memory size: 25 percent of main memory.

NVRAM size: 32KB

 

 

Cisco 1700 Series Router Software Configuration Guide

 

 

 

 

 

 

78-5407-03

 

 

B-13

 

 

 

Page 13
Image 13
Cisco Systems 1700 appendix Rommon 8 sysret System Return Info