Table des matières

OBP

OBP DIAGNOSTIC COMMANDS

The following table describes commands available in OpenBoot version 3.x. To use a command, simply type the command at the OBP ok prompt and press Return.

led-off/led-on Turns the system led off or on.

Note - Run the reset-all or the nvstore command to save the new alias in non-volatile memory (NVRAM).

Note - Run the reset-all or nvstore command to save changes in NVRAM.

Note - This command works only on systems with SBUS slots.

Tip - You can also press the Stop and N keys simultaneously during system power-up to reset the values to their defaults.

Note - Run the reset-all command to save changes in NVRAM.

PCI SYSTEMS DIAGNOSTIC COMMANDS

show-pci-devs-all (show all pci devices)
show-pci-configs-all
probe-pci

How To Run OBDiag

To prepare your system to run OBDiag, perform the following:

1. Set the OBP diagnostics variable:

ok setenv diag-switch? true

2. Set the auto-boot variable:

ok setenv auto-boot? false

3. Reset the system:

ok reset-all

Then, to run OBDiag, type obdiag at the ok prompt.

POWER ON SELF TEST (POST)

POST is a program that resides in the firmware of each board in a system, and it is used to initialize, configure, and test the system boards. POST output is sent to serial port A (on an Ultra Enterprise server, POST output is sent only to serial port A on the system and clock board). The status LEDs of each system board on Ultra Enterprise servers indicate the POST completion status. For example, if a system board fails the POST test, the amber LED stays lit.

You can watch POST ouput in real-time by attaching a terminal device to serial port A. If none is available, you can use the OBP command show-post-results to view the results after POST completes.

How To Run POST

1. Attach a terminal device to serial port A.

2. Set the OBP diagnostics variable:

ok setenv diag-switch? true

3. Set the desired testing level.

Two different levels of POST can be run, and you can choose to run all tests or some of the tests. Set the OBP variable diag-level to the desired level of testing (max or min), for example:

ok setenv diag-level max

4. If you wish to boot from disk, set the OBP variable diag-device:

ok setenv diag-device disk

The system default for this variable is net.

5. Set the auto-boot variable:

ok setenv auto-boot? false

6. Save the changes.

ok reset-all

7. Power cycle the system (turn it off, and then back on).

POST runs while the system is powered on, and the output is displayed on the device attached to serial port A. After POST is completed, you can also run the OBP command show-post-results to view the result.