question regarding crash

Unanswered Question
Feb 20th, 2007

hi

how do we capture crashinfo file from rommon mode. how do we capture stack traces from this rommom mode.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
purohit_810 Tue, 02/20/2007 - 10:22

Can you tell me is it Router OR Switch?

Which model?

Dharmesh Purohit

SPYME.GOOGLE Tue, 02/20/2007 - 17:02

hi

this for a 3600 router. i want to know in general how to collect crashinfo file from rommom mode on any type of platform

vaisharm Wed, 02/21/2007 - 20:47

There's no way any file can be copied from ROMMON mode. You can only view the contents of the flash from ROMMON mode (using 'dir flash:'). However, if the router was not 'manually' power cycled after the crash, you may obtain a stack trace from ROMMON which can be decoded to obtain more information about the crash. The commands that can be used are:

ROMMON1>sysret

or

ROMMON1>stack 50 or 'k 50'

Obtain a Stack Trace from ROM Monitor

http://www.cisco.com/warp/public/63/why_hang.html#ktrace

Note: The stack trace collected this way may not always be very useful in diagnosing a crash.

Alternately, if the crashinfo is stored on a PCMCIA flash card, you may take it out and use it on a similar router or on a laptop with PCMCIA dlash card reader.

-Vaibhav

Actions

This Discussion