6 how to use openboot diagnostics (obdiag), 1 what to do – Sun Microsystems 220R User Manual

Page 195

Advertising
background image

7.6

How to Use OpenBoot Diagnostics
(OBDiag)

When you turn on the system power, OBDiag runs automatically if any of the
following conditions apply:

4

The

diag-switch?

OpenBoot PROM variable is set to

true

.

4

You hold down the keyboard’s Stop and D keys as you power on the system. The
systems’s

ok

prompt will appear.

In the event of an automatic system reset, POST diagnostics run under the following
condition:

4

The OpenBoot PROM variable

diag-switch?

is set to

true

.

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.

7.6.1

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 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 Section
7.7 “How to Set the Diagnostic Level for POST and OBDiag” on page 205.

3. At the

ok

prompt type:

ok setenv diag-switch? true

diag-switch? = true

Diagnostics and Troubleshooting

195

Advertising