内に含まその他のドキュメントサポート リソース | PDF 文書ファイルをダウンロードする (5975 KB)
Chapter 1 IntroductionThe 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 is comprised of many individual tests that support testing of a wide range of products and peripherals. Many of the tests are capable of testing devices in a 32-bit or 64-bit Solaris environment. Use SunVTS to test one device or multiple devices. Some of the major test categories are:
Such flexibility means that the proper test modes and options need to be selected to maximize its effectiveness. This book covers the individual test options and requirements. For overall test configuration modes and options refer to the SunVTS 3.0 User's Guide. This manual describes SunVTS Version 3.0 tests, that are distributed on the Sun Computer Systems Supplement CD. The default installation directory for SunVTS is /opt/SUNWvts. However, when you are installing SunVTS, you can specify a different directory. Refer to the SunVTS 3.0 User's Guide for installation information. RequirementsSunVTS revision 3.0 was first introduced, and designed to run in the Solaris 7 operating environment. The operating system kernel must be configured to support all peripherals that are to be tested. The system must be booted and the SunVTS packages must be installed. Refer to the SunVTS 3.0 User's Guide for more information. Some SunVTS tests have special requirements such as the connection of loopback connectors, installation of test media, or the availability of disk space. These requirements are listed for each test in the corresponding chapter in this book. Test ModesTwo modes of testing are available--Connection test and Functional test. These modes differ in their assumptions about the state of the system you are testing and your objectives. Only one test mode can be selected per test session. Each mode is described below: Connection Test ModeIn Connection test mode, the tests determine if the devices are connected to the system you are testing and verifies that they are accessible. Device functionality is not verified, however, you can safely run this mode when the system is online. Functional Test ModeIn Functional test mode, the tests fully exercise all aspects of the selected devices and their associated device drivers. In Functional test mode you can run a single test in to verify the functionality of a single device, or run multiple tests on all system devices for full system verification. For thorough testing, the tests use a significant portion of the system resources. For this reason, do not run critical applications on the system or use the system for production purposes while testing in Functional test mode. In Functional test mode, tests expect all system resources that are associated with the device to be available for testing. If the test cannot access a device, it registers a failure. The tests do not economize on runtime, but focus on achieving complete coverage and thoroughly exercising the device. Note - SunVTS does not verify that the system is in a safe offline state for Functional mode testing. You must be sure that your applications and the SunVTS diagnostic will not compete for system resources. For more information regarding runtime considerations refer to the SunVTS 3.0 User's Guide. Functional Test Mode via Solstice SyMONSolstice SyMON identifies a range of hardware and system status states quickly. Solstice SyMON has an online diagnostic interface, so you can access SunVTS when running SyMON. In this case, Functional test mode does operational testing to find and isolate faults, while minimizing the impact on other applications and users. When Functional test mode is accessed from SyMON, the system may be running critical production software. The tests are sensitive to this fact and usually try to achieve as much coverage as possible within the constraints imposed. In this mode, some of the test parameters, execution options, and some system level options are fixed (have preassigned values) that cannot be changed. This ensures that the system state is not violated by selecting an option or combination of options which could trigger unsafe actions. Table 1-1 shows the default values of the test execution options in different modes. Table 1-1 Test Execution Options
SunVTS User InterfacesYou can run SunVTS tests from various interfaces: The CDE and OL graphical user interfaces, or the TTY interface. SunVTS tests can also be run individually from a shell command line, using the command line syntax for each test (refer to "Running a Test from the Command Line"). Table 1-1 describes the various SunVTS system interfaces. Refer to the SunVTS 3.0 User's Guide for more information on these interfaces. Table 1-2 SunVTS System Interfaces
Collection of SunVTS testsMany individual tests make up the collection of tests in the SunVTS application. Each test is a separate process from the SunVTS kernel. Each test can be run individually from the command line or from the SunVTS user interface. When SunVTS is started, the SunVTS kernel automatically probes the system kernel to determine the hardware devices. The devices are then displayed on the SunVTS control panel with the appropriate tests and test options. This provides a quick check of your hardware configuration, and no time is wasted trying to run tests that are not applicable to your configuration. During testing, the hardware tests send the test status and messages to the SunVTS kernel through interprocess communication (IPC) protocols. The kernel passes the status to the user interface and logs the messages. SunVTS has a shared object library that contains test-specific probing routines. At runtime, the SunVTS kernel dynamically links in and calls these probing routines to initialize its data structure with test-specific information. You can add new tests into the SunVTS environment without recompiling the SunVTS source code. As of SunVTS 3.0, the SunVTS kernel and most tests support 32-bit and 64-bit operating environments. When the sunvts command is used to start SunVTS, the appropriate tests (32-bit or 64-bit versions) are presented. 32-Bit and 64-Bit TestsBecause each test is a separate program, you can run individual tests directly from the command line. When this is done, care must be taken to run the appropriate test (32-bit or 64-bit) that corresponds to the operating system that is running (32-bit or 64-bit). This is done by running tests from specific directories as follows:
Note - The SUNWvtsx package must be installed for 64-bit SunVTS support. For more information on SunVTS packages and installation procedures refer to the SunVTS 3.0 User's Guide. If you use the sunvts command to run SunVTS, SunVTS will automatically allocate 32-bit or 64-bit tests based on the 32-bit or 64-bit Solaris operating environment that is running. Therefore, the only time that you need to be concerned with the 32-bit or 64-bit operation is when you run the SunVTS kernel or SunVTS tests from the command line. If you are not sure which operating system is running, refer to the Solaris 7 System Administration manuals. In Solaris 7, the following command can be used to identify the application support of your system.
Note - The isainfo command is not available in Solaris 2.6 or earlier releases. Running a Test from the Command LineIn some cases it may be more convenient to run a single SunVTS test from the command line rather than through a SunVTS user interface. The following information describes how to do this. Unless specified, the test runs without the SunVTS kernel (vtsk). All events and errors are sent to stdout or stderr, and are not logged in the log files. When you run a test in this way, you must specify all test options in the form of command line arguments. There are two types of command line arguments:
The standard syntax for all SunVTS tests is:
testname
[-scruvdtelnf]
[-p number
][-i number
] [-w
number]
[-o test
specific arguments]
Note - 64-bit tests are located in the sparcv9 subdirectory: /opt/SUNWvts/bin/sparcv9/testname. If a test is not present in this directory, then it may only be available as a 32-bit test. For more information refer to "32-Bit and 64-Bit Tests". Standard Command Line ArgumentsThe following table defines the standard SunVTS command line arguments: Table 1-3 Standard Command-line Arguments
Note - If you choose to specify a test mode with the l, n, or f option, specify only one option at a time because only one test mode can be selected at a time. Test-Specific ArgumentsThere are test-specific arguments, as described in Table 1-4 Test-specific arguments follow the format specified in the getsubopt(3c) man page. For information about test-specific arguments refer to the specific test chapter in this book. Table 1-4 SunVTS Test-Specific Arguments
To Test Multiple Frame BuffersThe following rules apply when you test multiple frame buffers (displays) simultaneously:
If window locking is disabled (unlocked) on frame buffers that are running, the SunVTS tests can return false error messages if you move the mouse during testing. Even a slight mouse movement can cause a test to fail.
Remote Testing of Frame BuffersThe frame buffer locking option does not work when you start sunvts or vtsk remotely. In this case, disable the window locking option to d. Do not run any graphic programs (including vtsui) on that frame buffer during graphic testing. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||