D-4 SPARCstation 5 Service Manual—November 1996
D
D.1.1 test <alias name>, test <device path>
The test command, combined with a device alias or device path name, will
execute that device self-test program. If a device has no self-test program, this
message will be displayed: No selftest method for <device name>. To run
the self-test program for a device, type the test command followed by the
device alias or device path name. An example is shown below.
D.1.2 test-all
The test-all command tests all devices in the system that have a self-test
program. Tests are executed in order, using the device tree (viewed with the
show-devs command) as reference. Disks, tapes, and CD-ROMs are not tested
by test-all.
D.1.3 watch-clock
This test reads a register in the NVRAM/TOD (nonvolatile RAM/Time-of-Day)
chip on the main logic board and displays the result as a seconds counter. The
counter should count from 0 to 59 repeatedly until you interrupt it by pressing
any key on the keyboard.
The following screen gives you an example of a watch-clock test.
ok test floppy
Testing floppy disk system. A formatted disk should be in the drive.
Test succeeded.
ok watch-clock
Watching the ‘seconds’ register of the real-time clock chip.
It should be ‘ticking’ once a second.
Type any key to stop
41