Appendix D
FORTH Diagnostics
D-3
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 self test 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.
Note –
The floppy disk test shown in the example below does not apply to the
SPARC Xterminal 1 system.
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.
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
ok test floppy
Testing floppy disk system. A formatted disk should be in the drive.
Test succeeded.
CODE EXAMPLE D-1
Displaying FORTH Diagnostics
Summary of Contents for SPARCstation 4
Page 13: ...Figures xiii FIGURE B 11 Keyboard Mouse Connector B 8 FIGURE B 12 13W3 Video Connector B 9 ...
Page 14: ...xiv SPARCstation 4 Xterminal 1 Service Manual January 1995 ...
Page 20: ...xx SPARCstation 4 Xterminal 1 Service Manual January 1995 ...
Page 28: ...1 8 SPARCstation 4 Xterminal 1 Service Manual January 1995 ...
Page 40: ...2 12 SPARCstation 4 Xterminal 1 Service Manual January 1995 ...
Page 50: ...3 10 SPARCstation 4 Xterminal 1 Service Manual January 1995 ...
Page 60: ...4 10 SPARCstation 4 Xterminal 1 Service Manual January 1995 ...
Page 114: ...9 28 SPARCstation 4 Xterminal 1 Service Manual January 1995 ...
Page 118: ...10 4 SPARCstation 4 Xterminal 1 Service Manual January 1995 ...
Page 152: ...11 34 SPARCstation 4 Xterminal 1 Service Manual January 1995 ...
Page 158: ...12 6 SPARCstation 4 Xterminal 1 Service Manual January 1995 ...
Page 172: ...B 10 SPARCstation 4 Xterminal 1 Service Manual January 1995 ...