NIO CommKit Host Interface Installation and System Administration Manual

DKDIAG(1M) DKDIAG(1M)
E-27 CommKit Host Interface, Release 4.0
4 Control Null Removal
Verify that control NULL codes are removed from received data stream.
5 Interrupts
Verify that hardware interrupts from the board occur when the receive FIFO becomes not-
empty and when the transmit FIFO becomes less than half-full.
6 Board Reset and Initialization
Reset the hardware and verify that the proper modes are set.
7 Transmit FIFO Reset
Test whether the transmit FIFO on the board can be reset.
8 Receive FIFO Reset
Test whether the receive FIFO on the board can be reset.
EXAMPLES
dkdiag –i 0 –a
Runs a single iteration of all diagnostic phases for interface board zero and prints a summary.
dkdiag –i 1 –as
Runs all phases of diagnostics for interface board one in Soak mode until terminated by typing the
QUIT character at the keyboard. Report of the progress of the diagnostics may be requested by
typing an INTERRUPT character.
dkdiag –i 0 –n 10 –p1,2,3
Runs ten iterations of diagnostic phases 1, 2, and 3 for interface board zero.
FILES
/opt/dk/sbin directory in which this command resides
/dev/dk/diagX diagnostic device for interface X
SEE ALSO
dkdaemon(1M), dkhs(7)
ksh(1), sh(1), stty(1) in the AT&T UNIX System V User’s Reference Manual
DIAGNOSTICS
Any of several errors may occur when attempting to run the diagnostics. The possible errors are described
below.
Diagnostics may not access Device when interface is active.
An attempt was made to run dkdiag when the host interface was active. The dkdaemon(1M)
program must be stopped before dkdiag may be run.
Open Device failed errno Code.
Some miscellaneous error occurred when trying to open the diagnostic device. The UNIX System
error was Code.