Cisco CISCO851-K9 - 851 Integrated Services Router Configuration Manual page 185

Access routers
Table of Contents

Advertisement

Appendix C
ROM Monitor
The following are ROM monitor debugging commands:
stack or k—Produces a stack trace; for example:
rommon 6> stack
Stack trace:
PC = 0x801111b0
Frame 00: FP = 0x80005ea8
Frame 01: FP = 0x80005eb4
Frame 02: FP = 0x80005f74
Frame 03: FP = 0x80005f9c
Frame 04: FP = 0x80005fac
Frame 05: FP = 0x80005fc4
context—Displays processor context; for example:
rommon 7> context
CPU context of the most recent exception:
PC
CTR = 0x801065e4
DEC = 0xffffffff
R0
R4
R8
R12 = 0x00000080
R16 = 0xffffffff
R20 = 0xffffffff
R24 = 0xffffffff
R28 = 0xffffffff
frame—Displays an individual stack frame.
sysret—Displays 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,
pc: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—Displays size in bytes, starting address, available range of main memory, the starting
point and size of packet memory, and size of NVRAM; for example:
rommon 9> meminfo
Main memory size: 40 MB.
Available main memory starts at 0x10000, size 40896KB
IO (packet) memory size: 5 percent of main memory.
NVRAM size: 32KB
OL-5332-01
= 0x801111b0
MSR = 0x00009032
XER = 0xa0006d36
TBU = 0xffffffff
= 0x00000000
R1
= 0x80005ea8
= 0x8fab0d76
R5
= 0x80657d00
= 0x00000000
R9
= 0x80570000
R13 = 0xffffffff
R17 = 0xffffffff
R21 = 0xffffffff
R25 = 0xffffffff
R29 = 0xffffffff
reason: user break
error address: 0x801111b0
Cisco 850 Series and Cisco 870 Series Access Routers Software Configuration Guide
PC = 0x801111b0
PC = 0x80113694
PC = 0x8010eb44
PC = 0x80008118
PC = 0x80008064
PC = 0xfff03d70
CR
= 0x53000035
DAR = 0xffffffff
TBL = 0xffffffff
R2
= 0xffffffff
R6
= 0x80570000
R10 = 0x0000954c
R14 = 0xffffffff
R18 = 0xffffffff
R22 = 0xffffffff
R26 = 0xffffffff
R30 = 0xffffffff
Debug Commands
LR
= 0x80113694
DSISR = 0xffffffff
IMMR
= 0xffffffff
R3
= 0x00000000
R7
= 0x80570000
R11
= 0x00000000
R15
= 0xffffffff
R19
= 0xffffffff
R23
= 0xffffffff
R27
= 0xffffffff
R31
= 0xffffffff
C-9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents