Sun Microsystems Sun Fire V440 Diagnostics And Troubleshooting Manual page 37

Hide thumbs Also See for Sun Fire V440:
Table of Contents

Advertisement

From the ok Prompt: The test and test-all Commands
You can also run OpenBoot Diagnostics tests directly from the ok prompt. To do this,
type the test command, followed by the full hardware path of the device (or set of
devices) to be tested. For example:
ok test /pci@1c,600000/scsi@2,1
Note – Knowing how to construct an appropriate hardware device path requires
precise knowledge of the hardware architecture of the Sun Fire V440 server. If you
lack this knowledge, it may help to use the OpenBoot show-devs command (see
"show-devs Command" on page 23), which displays a list of all configured devices.
To customize an individual test, you can use test-args as follows:
ok test /pci@1e,600000/usb@b:test-args={verbose,subtests}
This affects only the current test without changing the value of the test-args
OpenBoot configuration variable.
You can test all the devices in the device tree with the test-all command:
ok test-all
If you specify a path argument to test-all, then only the specified device and its
children are tested. The following example shows the command to test the USB bus
and all devices with self-tests that are connected to the USB bus:
ok test-all /pci@1f,700000
Note – You cannot reliably run OpenBoot Diagnostics commands following an
operating system halt, since the halt leaves system memory in an unpredictable
state. Best practice is to reset the system before running these commands.
Chapter 2 Diagnostics and the Boot Process
19

Advertisement

Table of Contents
loading

Table of Contents