Command line test examples, Qlctest(1m), Qlctest (1m) – Sun Microsystems StorEdge 6900 Series User Manual
Page 35: For internal use only
Chapter 2
General Troubleshooting Procedures
19
For Internal Use Only
Command Line Test Examples
To run a single Sun StorEdge diagnostic test from the command line rather than
through the Storage Automated Diagnostic Environment interface, you must log into
the appropriate Host or Slave for testing the components. The following two tests,
the
qlctest
(1M) and the
switchtest
(1M) are provided as examples.
qlctest
(1M)
The
qlctest
(1M) comprises several subtests that test the functions of the Sun
StorEdge PCI dual Fibre Channel (FC) host adapter board. This board is an HBA that
has diagnostic support. This diagnostic test is not scalable.
CODE EXAMPLE 2-1
qlctest
(1M)
# /opt/SUNWstade/Diags/bin/qlctest -v -o "dev=
/devices/pci@6,4000/SUNW,qlc@3/fp@0,0:devctl|run_connect
=Yes|mbox=Disable|ilb=Disable|ilb_10=Disable|elb=Enable"
"qlctest: called with options: dev=/devices/pci@6,4000/SUNW,qlc@3/
fp@0,0:devctl|run_connect=Yes|mbox=Disable|ilb=Disable|ilb_10=Disable|el
b=Enable"
"qlctest: Started."
"Program Version is 4.0.1"
"Testing qlc0 device at /devices/pci@6,4000/SUNW,qlc@3/fp@0,0:devctl."
"QLC Adapter Chip Revision = 1, Risc Revision = 3,
Frame Buffer Revision = 1029, Riscrom Revision = 4,
Driver Revision = 5.a-2-1.15 "
"Running ECHO command test with pattern 0x7e7e7e7e"
"Running ECHO command test with pattern 0x1e1e1e1e"
"Running ECHO command test with pattern 0xf1f1f1f1"
"Running ECHO command test with pattern 0x4a4a4a4a"
"Running ECHO command test with pattern 0x78787878"
"Running ECHO command test with pattern 0x25252525"
"FCODE revision is ISP2200 FC-AL Host Adapter Driver: 1.12 01/01/16"
"Firmware revision is 2.1.7f"
"Running CHECKSUM check"
"Running diag selftest"
"qlctest: Stopped successfully."