Caution - In order to run On-board diagnostics, you must halt the system in an
orderly manner. Do not use the Stop(L1)-a keys to halt the system when the
operating system or any other stand-alone program has already booted. Abruptly
aborting program execution may cause damage to data files.
To run On-board diagnostics:
1. Save all your work and quit all applications.
2. As root, halt the system, depending on your installed operating system:
4
If your operating system is SunOS 5.x or later, enter
/usr/sbin/halt
4
If your operating system is SunOS 4.x, enter
/usr/etc/halt
3. You are presented with theok prompt. Theok prompt is the default prompt. If
you want to change the default prompt to the> prompt, see the Open Boot 2.0
Command Reference.
4. Enter help diag to get a listing of tests comprising on-board diagnostics.
The following example summarizes the steps you need to take to halt the system,
enter the Forth Toolkit, and list the diagnostic tests.
hostname# /usr/etc/halt
ok help diag
Category: Diag (diagnostic routines)
test device-specifier ( -- ) run selftest method for specified device
Examples:
test /iommu/sbus/ledma@f,400010/le - test net
test net - test net (device-specifier is an alias)
test scsi - test scsi (device-specifier is an alias)
test floppy - test floppy disk drive
watch-clock (--) - show ticks of real-time clock
watch-net (--) - monitor broadcast packets using auto-selected interface
watch-aui (--) - monitor broadcast packets using AUI interface
watch-tpe (--) - monitor broadcast packets using TPE interface
watch-net-all (--) - monitor broadcast packets on all net interfaces
probe-scsi (--) - show attached SCSI devices
probe-scsi-all (--) - show attached SCSI devices for all host adapters
test-all (--) - execute test for all devices with selftest method
test-memory (--) - test all memory if diag-switch? is true, otherwise test memory
specified by selftest-#megs
Diagnostics Overview 15