SunVTS 2.0 Test Reference Manual
只搜寻这本书
以 PDF 格式下载本书

Introduction

1

The Sun Validation and Test Suite (SunVTS) software runs multiple diagnostic hardware tests from a single user interface. SunVTS verifies the configuration, functionality, and reliability of most hardware controllers and devices.
SunVTS works from either the Common Desktop Environment(TM) (CDE) user interface or the OPEN LOOK(TM) (OL) user interface, which lets you set test parameters quickly and easily while running the diagnostic tests. The sample screens and menus in this manual are of SunVTS using the OPEN LOOK user interface.
This manual describes SunVTS Version 2.0, which is on the SMCC Updates CD. The default installation directory for SunVTS is /opt/SUNWvts. When you are installing SunVTS, you can specify a different directory to install the software.

Accessing SunVTS

You can access SunVTS from various interfaces: CDE, OL, or the TTY interface. SunVTS tests can be run from a shell command line, using the command line syntax for each test. The SunVTS kernel probes for hardware devices installed on your system.
Graphical User Interfaces (GUIs) SunVTS GUIs let you select tests and test options by pointing and clicking with a mouse button. You can use the CDE or OL interface.
TTY Interface Using the TTY interface, you can run SunVTS from a terminal or modem attached to a serial port. This feature requires that you use the keyboard instead of using the mouse, and it displays one screen of information at a time. However, it emulates the window system whenever possible.
Command Line Interface You can also run each of the SunVTS tests individually from a shell command line using the command line syntax. Each test description contains the corresponding command line syntax.
For more information about running individual tests from the command line, refer to the specific test description in this manual.
Standard Command Line Arguments Different types of command arguments can be applied to a test: generic command arguments (common to all tests), and test-specific command arguments. Because the code for each test defines test-specific arguments, this section only addresses generic command parameters.
The standard usage for all SunVTS tests is:

  Usage: testname [-scruvdtelnf] [-p number][-i number] [-w number] [-o test specific arguments]  

The following table defines the standard SunVTS command Line arguments:
Table 1-1
ArgumentDefinition
-sRuns a test in SunVTS mode.
-cEnables a core dump; the test creates a core file if a system crash occurs.
-rRuns on Error; if an error occurs, the test continues the next test sequence instead of exiting.
-uDisplays the Usage statement.
-vRuns the test in Verbose mode; the test displays VERBOSE messages that tell more about the testing process.
Table 1-1 (Continued)
ArgumentDefinition
-dRuns the test in Debug mode; the test displays DEBUG messages to help programmers debug their test code.
-tRuns the test in test function trace mode; the test displays TRACE messages that track down function calls and sequences currently being used by the test code.
-eRuns in stress mode; the test runs under increased system load.
-lRuns in online mode.
-nRuns in connectivity mode.
-fRuns in offline mode.
-i numberDefines the number of instances for scalable tests.
-p numberDefines the number of passes.
-w numberFor scalable tests, defines which instance the test is assigned.
Test-Specific Arguments Test-specific arguments should follow the format specified in the getsubopt(3c) man page. There should be at least one test-specific argument, as described in Table 1-2.
Table 1-2
ArgumentDefinition
-oSeparate each test-specific argument by commas, with no space after the each comma. For example: # ./sample -v -o dev=/dev/audio,volume=78

The test option format is specified by the man page getsubopt(3C).

Test Modes SunVTS has several test modes that you can select during testing. The modes are Connectivity, Online, Offline, and Stress. The following table lists the various tests by group, and indicates the test modes available for each test.
Table 1-3
Test NameConnectivityOnlineOfflineStress
System Board



audiotestYesYesYesYes
fputestYesYesYesNo
mptestYesYesYesNo
pmemYesYesYesNo
systestNoNoYesNo
vmem
Devices
NoNoYesNo
cdtestYesYesYesYes
disktestYesYesYesNo
tapetest

Parallel Ports

YesYesYesNo
bpptestYesYesYesNo
ecpptestYesYesYesNo
lpvitestNoNoYesNo
spdtest

Comm Ports

NoNoYesNo
spiftestNoNoYesNo
sptestYesYesYesNo
sunlink

Networks

NoNoYesNo
isdntestYesYesYesNo
nettestYesYesYesNo
Table 1-3
Test NameConnectivityOnlineOfflineStress
Controllers



plntestYesYesYesNo
pstest

Frame Buffers

NoNoYesYes
cg6testNoNoYesYes
cg14testNoNoYesYes
fbtestNoNoYesNo
ffbtestNoNoYesNo
leotestNoNoYesNo
sxtestNoNoYesNo
tcxtest

Miscellaneous

NoNoYesYes
pcsertestNoNoYesNo
rtvctestNoNoYesNo
sundialsNoNoYesNo
sunbuttonsNoNoYesNo
xbtestNoNoYesNo
Hardware Verification The SunVTS kernel automatically probes the system kernel for installed hardware devices. Those devices are then displayed on the SunVTS control panel with the appropriate tests and test options. This provides a quick check of your hardware setup.

Hardware and Software Requirements

The SunVTS Version 2.0 software runs on any system with the Solaris 2.5 (or later) operating environment installed. The operating system kernel must be configured to support all peripherals that are to be tested.

OPEN LOOK Software Requirements

You must meet the following requirements to run SunVTS with OPEN LOOK:
  • Run Solaris 2.5 operating environment, or later
  • Run OPEN LOOK Version 3.3 or later
  • Set the correct library path
You may have to set the LD_LIBRARY_PATH variable, depending on the location of the OPEN LOOK directory in your system.
  • If you installed or mounted OPEN LOOK files in the default location, /usr/openwin, you can ignore this step.
  • If OPEN LOOK is installed in a different location, you must specify the location of the OPEN LOOK libraries. Use the following command and substitute the pathname variable for the actual path where you installed the OPEN LOOK software:

  # setenv LD_LIBRARY_PATH pathname  

* Check the existing LD_LIBRARY_PATH by typing env.

Testing Multiple Frame Buffers

These rules apply when you test multiple frame buffers (displays) simultaneously:
  • You can test multiple frame buffers on a system at the same time, but only one frame buffer can run the OPEN LOOK software.
  • To avoid incorrect test failures, the frame buffer that runs the OPEN LOOK software must have window locking enabled. Any other frame buffers must have window locking disabled.

CAUTION Caution - If window locking is disabled (unlocked) on frame buffers that are running OPEN LOOK software, the SunVTS tests can return spurious error messages if you move the mouse during testing. Even a slight mouse movement can cause a test to fail.

  • By default, SunVTS enables window locking on the console monitor (frame buffers that are pointed by /dev/fb).
  • If you are running a frame buffer test from a command line, you can disable window locking by specifying a command line argument (see the test command line descriptions in this manual). For example, when running the generic frame buffer test (fbtest), use the lock=e/d option to disable or enable frame buffer locking. Frame buffer locking is being enabled in the example below.:

  #./fbtest -o dev=cgthree0,lock=e  

Remote Testing

The frame buffer locking option does not work when you start sunvts or vtsk remotely. In this case, set the frame buffer locking option to disable. Do not run any graphic programs (including vtsui) on that frame buffer during graphic testing.