Sun Microsystems 220R Server User Manual


 
Chapter 7 Diagnostics and Troubleshooting 129
How to Use OpenBoot Diagnostics
(OBDiag)
When you turn on the system power, OBDiag runs automatically if any of the
following conditions apply:
The OpenBoot PROM (OBP) variable diag-switch? is set to true.
You hold down the keyboard’s Stop and D (Shift-d) keys as you power on the
system, and then the systems’s ok prompt will appear. See “How to Power On the
System” on page 34.
You can also run OBDiag in an interactive mode and select which tests you want to
perform. The following procedure describes how to run OBDiag interactively from
the system ok prompt.
What to Do
Note Perform this procedure with the power on and the keyswitch in the
Power-On/Off position.
1. With the keyswitch in the Power-On/Off position, press the Break key on your
alphanumeric terminal’s keyboard, or enter the Stop-a sequence on a Sun
keyboard.
To enter the Stop-a sequence, press the Stop key and the a key simultaneously.
The ok prompt is displayed.
2. (Optional) Select a diagnostic level.
Three different levels of diagnostic testing are available for OBDiag; see “How to Set
the Diagnostic Level for POST and OBDiag” on page 131.
3. Then type:
ok setenv diag-switch? true
diag-switch? = true