Contidos dentroLocalizar Mais DocumentaçãoDestaques de Recursos de Suporte | Fazer download desta apostila em PDF (5975 KB)
Chapter 37 HSI/S Board Test (sunlink)The sunlink test verifies the functionality of the SBus HSI boards. sunlink tests the HDLC and SDLC protocol of SBus HSI boards and PCI bus HSI boards. sunlink downloads the DCP microcode, initializes the selected channel, and configures the selected channel to the protocol being tested. Next, sunlink opens a datagram socket and tries to modify the socket to accept ioctl communications with the driver, and receive Synchronous mode information from it. sunlink then opens the ports, linking the upper and lower layers with ioctl calls. After initialization, this test checks for activity before attempting to send or receive data. An error message is returned if activity is detected; otherwise the transmit buffer is filled with random data. Random data is used by default; other patterns may be specified. The data is then transmitted. If the transmission succeeds, sunlink then receives the returned data and verifies that it is identical to what was sent. Finally, statistics about the send and receive are gathered from the socket. A full sunlink test takes approximately eight minutes per port and makes a brief check of the board ports before the actual test begins. If the port is bad, the test immediately aborts and returns an error message. Note - This test will not pass unless you install the correct loopback connectors or port to port cables on the ports you are testing. The ports specified for test in the option menu must have loopback connectors attached. See Appendix A for loopback connector part numbers and wiring instructions. sunlink OptionsThe Configuration field displays the available ports. (See Figure 37-1.) Figure 37-1 sunlink Options menu
Table 37-1 sunlink Options
sunlink Command Line Syntax/opt/SUNWvts/bin/sunlink standard_arguments -o dev=device_name,P=port#, p=data_pattern,I,C=B/E Table 37-2 sunlink Command Line Syntax
The following is a typical command line syntax for testing an HSI/S Sbus card: # /opt/SUNWvts/bin/sunlink -o dev=hih0,P=0_to_1+2_to_3 Typing this at the command line tests the internal loopback for port 0. 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". sunlink Test ModesThe sunlink test only supports the Functional test mode. sunlink Loopback ConnectorsRefer to Appendix A of this manual, and the High Speed Serial Interface hardware manuals for information on loopback connectors. sunlink Error MessagesTable 37-3 sunlink Error Messages
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||