Tuesday, June 10, 2014

How to Force a Crash Dump When the Solaris Operating System is Hung

First of all, you need to drop the system into OK Prompt. For Old model which has Sun keyboard, you can press STOP+A, or for newer model / terminal, press break key sequences, example:
————-
~.
#.
#~
~#

If your console is a terminal, you can type :

“shift-break”    or
“ctrl-break”    or
“ctrl-\” (ctrl-backslash) or
“<enter>” followed by “~” and
“ctrl-break”     on Solaris Sparc,

To send a <BREAK> from Hyperterm, use <Ctrl>-<Pause> or <Alt>-<Pause>
On Hyperterminal, Ctrl-Break
————

Okay after you able to drop system to the OK prompt, you will see below PROMPT messages:

Type ‘go’ to resume
ok



All you need to do is to type ‘sync’ (without the quotes) and press Enter. The system will immediately panic.

Now the hang condition has been converted into a panic, so an image of memory can be collected for later analysis.

The system will attempt to reboot after the dump is complete.

No comments:

Post a Comment