Sun™ PCI High Speed Quad Port Serial Interface Adapter User’s Guide Sun Microsystems, Inc. www.sun.com Part No. 819-1207-10 December 2005, Revision A Submit comments about this document at: http://www.sun.
Copyright 2005 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All rights reserved. Sun Microsystems, Inc. has intellectual property rights relating to technology that is described in this document. In particular, and without limitation, these intellectual property rights may include one or more of the U.S. patents listed at http://www.sun.com/patents and one or more additional patents or pending patent applications in the U.S. and in other countries.
Contents Regulatory Compliance Statements Declaration of Conformity Preface 1. xi xv xvii Product Overview 1 Product Description Features 1 2 Hardware and Software Requirements 2. SunHSI/U Adapter Installation Installation Process ▼ 5 5 To Install the Adapter External Cabling 5 6 RS-232 to RS-449 Connections 3.
Installing the Software 12 ▼ To Install the SunHSI Software ▼ To Test the Installation Configuring the Software ▼ 4. SunHSI Utilities 14 17 T1 Compatibility Options 18 Operating Modes Options 18 19 IBM (SDLC) Mode hsip_loop Utility 20 hsip_stat Utility 21 19 Cable Pin Assignments & Signals Pin Assignments 23 Interface Signals 27 Null Modem Cable Requirements 23 29 Configuring Internal or External Clocking Building the Null Modem Cable RS-449 Null Modem Cable X.
D. SunVTS Diagnostic Testing 39 Using the SunVTS sunlink Test E.
vi Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Figures FIGURE 1-1 SunHSI/U Adapter 2 FIGURE 3-1 SunHSI PCI Software Directories and Files FIGURE 3-2 SunHSI Devices Created by the Postinstallation Script FIGURE B-1 Null Modem Cable –Both Sun Systems Supplies Clocking FIGURE B-2 Null Modem Cable –Sun System Supplies Clocking for Both Sides FIGURE B-3 X.
viii Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Tables TABLE 1-1 Hardware and Software Requirements TABLE 3-1 Required Disk Space TABLE A-1 RS-449 Connector Pin Assignments TABLE A-2 RS-449 Interface Signals TABLE B-1 RS-449 Signals 31 TABLE B-2 X.
x Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Regulatory Compliance Statements Your Sun product is marked to indicate its compliance class: • • • • Federal Communications Commission (FCC) — USA Industry Canada Equipment Standard for Digital Equipment (ICES-003) — Canada Voluntary Control Council for Interference (VCCI) — Japan Bureau of Standards Metrology and Inspection (BSMI) — Taiwan Please read the appropriate section that corresponds to the marking on your Sun product before attempting to install the product.
ICES-003 Class B Notice - Avis NMB-003, Classe B This Class B digital apparatus complies with Canadian ICES-003. Cet appareil numérique de la classe B est conforme à la norme NMB-003 du Canada. BSMI Class A Notice The following statement is applicable to products shipped to Taiwan and marked as Class A on the product compliance label.
CCC Class A Notice The following statement is applicable to products shipped to China and marked with “Class A” on the product’s compliance label.
xiv Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Declaration of Conformity Compliance Model Number: Product Family Name: HSI-U Sun PCI High Speed Serial Interface Adapter (X1355a) EMC USA—FCC Class A This equipment complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: 1. This equipment may not cause harmful interference. 2. This equipment must accept any interference that may cause undesired operation.
xvi Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Preface This document provides information for users of the Sun™ PCI High Speed Quad Port Serial Interface adapter. Information provided includes adapter installation, software installation and configuration, utilities, cable pin-outs and signals, and null modem cable requirements. This document is intended for use by either first-time or experienced users. If you have just acquired this product, review the introductory sections and follow the guidelines for installing and using the adapter.
Appendix D gives an overview of the SunVTS™ diagnostic software. Appendix E provides instructions for viewing the man pages. Using UNIX Commands This document might not contain information about basic UNIX® commands and procedures such as shutting down the system, booting the system, and configuring devices. Refer to the following for this information: ■ Software documentation that you received with your system ■ Solaris™ Operating System documentation, which is at: http://docs.sun.
Typographic Conventions Typeface1 Meaning Examples AaBbCc123 The names of commands, files, and directories; on-screen computer output Edit your.login file. Use ls -a to list all files. % You have mail. AaBbCc123 What you type, when contrasted with on-screen computer output % su Password: AaBbCc123 Book titles, new words or terms, words to be emphasized. Replace command-line variables with real names or values. Read Chapter 6 in the User’s Guide. These are called class options.
Documentation, Support, and Training Sun Function URL Documentation http://www.sun.com/documentation/ Support http://www.sun.com/support/ Training http://www.sun.com/training/ Third-Party Web Sites Sun is not responsible for the availability of third-party web sites mentioned in this document. Sun does not endorse and is not responsible or liable for any content, advertising, products, or other materials that are available on or through such sites or resources.
CHAPTER 1 Product Overview This chapter includes the following topics: ■ ■ ■ “Product Description” on page 1 “Features” on page 2 “Hardware and Software Requirements” on page 3 Product Description The Sun PCI High Speed Quad Port Serial Interface adapter is high-speed serial interface (HSI) adapter for PCI applications and is referred to as the SunHSI/U™ adapter in this manual. The adapter offers comprehensive hot-plug compatibility with Solstice™ WAN software packages available through Sun.
FIGURE 1-1 SunHSI/U Adapter The adapter comes with the RS-449 industry standard connectors (for example, DB-37). The protocols that operate with the SunHSI/U adapter include the Solstice X.25 and Solstice Point-to-Point Protocol (PPP). The SunHSI/U adapter conforms to the Sun Synchronous Serial Driver Interface Specification. Features ■ ■ ■ ■ ■ ■ ■ ■ 2 Four synchronous RS-449 serial ports Each port can be independently configured T1/E1 transfer speed simultaneously on all four ports Works in 3.
Hardware and Software Requirements The hardware and software requirements for the SunHSI/U adapter are listed in TABLE 1-1.
4 Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
CHAPTER 2 SunHSI/U Adapter Installation This chapter describes how to install the adapter in your system and includes the following topics: ■ ■ ■ “Installation Process” on page 5 “To Install the Adapter” on page 5 “External Cabling” on page 6 Installation Process A simplified version of the installation process follows: 1. Install the adapter (see “To Install the Adapter” on page 5). 2. Install the SunHSI PCI software (see “SunHSI PCI Software Installation” on page 9). 3.
Note – Refer to your system installation guide or service manual for detailed instructions for the following steps. 1. Power off your system, using the standard shutdown procedures described in the Solaris Handbook for Sun Peripherals or your system service manual. The Solaris Handbook for Sun Peripherals is shipped with the Solaris OS software and is available on the http://docs.sun.com web site. 2. Remove the cover from the unit to access the card slots and connectors. 3. Select an available 3.
RS-232 to RS-449 Connections In order to connect RS-232 devices to the adapter, you need to install an externally powered RS-449 to RS-232 interface converter to each DB-37 connector on which you intend to connect an RS-232 device. A converter is necessary because of incompatibilities between RS-232 and RS-449 signal levels. To obtain an externally powered RS-232 to RS-449 interface converter, contact: Black Box Corporation at: http://www.blackbox.
8 Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
CHAPTER 3 SunHSI PCI Software Installation This chapter describes how to install the SunHSI PCI software and includes the following sections: ■ ■ ■ ■ “Installation Overview” on page 9 “Before Installing the Software” on page 11 “Installing the Software” on page 12 “Configuring the Software” on page 14 Installation Overview Software for unbundled products is distributed in the form of software packages. The SunHSI PCI software package can be downloaded from the Sun Download Center at: http://www.sun.
/root /bin /opt /kernel /SUNWconn /drv /HSIP /man HSIP /man7d hsip_init* /man1m hsip_loop* hsip_stat* hsip_init.1m* hsip.7d* hsip_loop.1m* /man1m hspi_stat.1m* /bin /man HSIP /man7d hsip_init.1m hsip_loop.1m hsip_stat.1m /sparcv9 hsip.7d hsip_init hsip_loop hsip_stat * Symbolic link.
Before Installing the Software Verifying the Software and Hardware Requirements Before installing the software, answer the following questions: ■ Does your system have any available 3.3V or 5V PCI slots? ■ Have you downloaded the SunHSI software from the Sun Download Center at: http://www.sun.
Before installing the SunHSI PCI software on your system, check your system to see if previous versions of the SunHSI software are installed. If older SunHSI software exists, you must remove this software before installing the new SunHSI software.
2. Log in as superuser or change to superuser. You must possess superuser privileges to invoke the following commands. This ensures that all preinstallation scripts in the software package will be executed with superuser privileges. # /usr/bin/su Password: superuser-password 3. Using the pkgadd command, install the software packages as follows:. # pkgadd -d / download-directory/sunhsip_3_1/Product The following packages are available: 1 SUNWhsip SunHSI/P Driver for PCI 3.1,REV=2005.xx.
5.
▼ To Configure for Point-to-Point Protocol 1. Change to the /etc/ppp directory and create an executable file called conf_hsip, containing the following information: #!/bin/ksh -x DEVICE=‘echo $DEVICE | sed ’s/⁄dev⁄//’‘ /opt/SUNWconn/bin/hsip_init $DEVICE speed=2048000 mode=fdx loopback=no \ nrzi=no txc=baud rxc=rxc txd=txd rxd=rxd signal=no 2>&1 > /dev/null 2. Create another executable file called demand, containing the following information: if [ -f /var/run/ppp-demand.
4. Add the client site hosts on the server machine and add the server site hosts on the client machine. a. Edit the server’s /etc/hosts file and add the client site local hosts. b. Edit the client’s /etc/hosts file and add the server site local hosts. Note – Both IP addresses have to be on the same subnet. Refer to the hosts(4) man page and the sample /etc/hosts files: #Server site (/etc/hosts) #======================= #local 192.10.10.10 qa8a-hihp0 193.10.10.10 qa8a-hihp1 194.10.10.10 qa8a-hihp2 195.10.
CHAPTER 4 SunHSI Utilities The SunHSI software includes the hsip_init, hsip_loop, and hsip_stat utilities. This chapter contains a short description of each utility. Refer to each man page to get more information on the commands. Also see “Viewing the Man Pages” on page 41.
T1 Compatibility Options The version of the hsip_init utility shipped with the SunHSI software has options that enable you to invert data and clock signals to accommodate the requirements of T1 or CEPT transmission equipment.
HDLC Mode The default operating mode used by the SunHSI software is the HDLC full-duplex protocol (mode=fdx). In this mode the transmitter is always enabled. The transmitter sends flag bytes continuously when it is not sending a data frame. If no message is currently being transmitted, the driver will attempt to start sending its next message. At this point the driver indicates that it is busy transmitting, to prevent the transmission of another message concurrently.
If the CTS signal drops before the frame transmission is complete, the frame is discarded and the abort error statistic is incremented. If the transmission underruns, an abort sequence is not sent and the frame is silently discarded. The RTS signal remains asserted until the data transmission is complete. IBM Half-Duplex Mode Half-duplex is a submode of the IBM mode (mode=ibm-hdx).
hsip_stat Utility The hsip_stat utility reports the event statistics maintained by the SunHSI device driver. The report might be a single snapshot of the accumulated totals, or a series of samples showing incremental changes. At the beginning of the report, the device name being used to query a particular device appears. See the hsip_stat(1M) man page for more information.
22 Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
APPENDIX A Cable Pin Assignments & Signals This appendix includes the following information: ■ ■ “Pin Assignments” on page 23 “Interface Signals” on page 27 Pin Assignments A shielded, hydra-style breakout cable providing four 37-pin, D-shell (DB-37) DTE connectors is available for the SunHSI/U adapter. Since there are not enough wires to create the signal ground (pin 19) connections, use the shield ground (pin 1) of the DB-37 connector for this signal.
TABLE A-1 24 RS-449 Connector Pin Assignments (Continued) 80-Pin Amp. Pin No. RS-449 Signal Name RS-449 DB-37 Pin No.
TABLE A-1 RS-449 Connector Pin Assignments (Continued) 80-Pin Amp. Pin No. RS-449 Signal Name RS-449 DB-37 Pin No.
TABLE A-1 26 RS-449 Connector Pin Assignments (Continued) 80-Pin Amp. Pin No. RS-449 Signal Name RS-449 DB-37 Pin No.
Interface Signals Functional descriptions of the RS-449 interface signals are provided in TABLE A-2. TABLE A-2 RS-449 Interface Signals RS-449 Pin Number Signal Name Function 1 Shield Ground Enables tandem sections of shielded cable to retain continuity through the connector. 19 Signal Ground (SG) Directly connects the DTE circuit ground to the DCE circuit ground, providing a path for DTE and DCE signal commons.
28 Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
APPENDIX B Null Modem Cable Requirements A synchronous null modem cable is a specially configured cable that simulates modems that are connected back-to-back. When the distance between the two host systems is not great, you may be able to use a null modem cable instead of a synchronous modem or a synchronous modem eliminator. The maximum distance a null modem cable can work is determined by the specification for your serial port interface.
Configuring Internal or External Clocking To configure an RS-449 port to provide transmit clocking for itself as well as receive clocking for the other end of the link, set the txc (transmit clock) and rxc (receive clock) parameters in hsip_init to baud and rxc, respectively.
RS-449 Null Modem Cable TABLE B-1 and TABLE B-2 list the signals and names for RS-499 and X.21 circuits. TABLE B-1 RS-449 Signals Circuit Name Direction TxD Transmit Data To DCE RxD Receive Data From DCE TxC Transmit Clock To DCE TxCI Transmit Clock In From DCE RxC Receive Clock From DCE RTS Request to Send To DCE CTS Clear to Send From DCE DCD Data Carrier Detect From DCE DTR Data Terminal Ready To DCE DSR Data Set Ready From DCE SG Signal Ground TABLE B-2 X.
FIGURE B-1 illustrates a synchronous null modem cable that enables you to connect two Sun systems that each supply clocking, using the RS-449 interface. Each Sun system supplies clocking on pins 17 and 35. The null modem cable routes this clocking to pins 8 and 26 on the opposite side to provide receive clocking. Because the RS-449 interface is balanced, there are two pins for each signal. For example, Transmit Data (TxD), pins 4 and 22, is connected to Received Data (RxD), pins 6 and 24.
FIGURE B-2 illustrates a synchronous null modem cable that enables you to connect to to another system, Sun or nonSun, using the RS-449 interface. The Sun system supplies both the transmit and receive clocks for the other system. Note that this null modem cable is not symmetrical.
X.21 to RS-449 Converter FIGURE B-3 illustrates the pin connections required for an X.21 to RS-449 converter. T(2,9) TxD (4,22) S (6,13) RxC (8,26) TxCI (5,23) C (3,10) RTS (7,25) CTS (9,27) R (4,11) RxD (6,24) I (5,12) DCD (13,31) G (8) SG (19) X.21 interface (15-pin connector) RS-449 interface workstation (37-pin connector) FIGURE B-3 X.21 to RS-449 Converter When using an X.
APPENDIX C T1 Inverted Data and Clock Signals This appendix includes the following topics: ■ ■ “Data Signal Inversion” on page 35 “Clock Signal Inversion” on page 37 Data Signal Inversion The requirement for inverting data signals arises from the ones density problem you encounter with most T1 transmission lines in North America.
between two computers are another matter, since the corruption of even one data bit causes a packet to be rejected. Note that in a typical data packet it is quite easy to produce bit patterns that violate the ones-density requirement. A random file could easily contain a sequence of bytes that would produce 16 or more consecutive zero bits if transmitted serially. There are many different schemes for circumventing the ones-density requirement.
By inverting the data signal with HDLC framing on both ends of a link, the HDLC zero insertion algorithm becomes a ones insertion algorithm. This guarantees that in any set of seven bits, at least one bit will be a one. Thus, the HDLC data stream meets the density requirements of North American T1 lines without sacrificing any bandwidth. Clock Signal Inversion The need to invert clock lines is separate from the need to invert data lines.
38 Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
APPENDIX D SunVTS Diagnostic Testing The SunVTS software executes multiple diagnostic hardware tests from a single user interface, and is used to verify the configuration and functionality of most hardware controllers and devices. The SunVTS software operates primarily from a graphical user interface, enabling test parameters to be set quickly and easily while a diagnostic test operation is being performed.
Note – Some of the sunlink tests require a RS-449 loopback plug, which can be ordered through Sun (part number 540-1430).
APPENDIX E Viewing the Man Pages The following man pages are included with the SunHSI software: ■ ■ ■ ■ hsip(7d) hsip_init(1m) hsip_loop(1m) hsip_stat(1m) If you cannot view these man pages, you need to add the /opt/SUNWconn/man/ directory to your MANPATH environment variable. Depending on the UNIX shell you are using, this variable might be defined in one of a number of startup files. Man Pages ▼ To View Man Pages in the C Shell Environment 1. Examine your $HOME/.login and $HOME/.
3. Use the source command on the file you edited to make the changes effective in your current window. For example, if you added the MANPATH line to the .login file, you would type: hostname% source $HOME/.login Note – If you log out and then back into your system, you update the MANPATH variable in all command windows and shells. ▼ To View Man Pages in Bourne or Korn Shell Environments 1. Using a text editor, add these two lines to the end of the $HOME/.profile file.
Glossary AMI bps CEPT Alternate mark inversion. Bits per second. European Conference of Postal and Telecommunications Administrations. CSU channel service unit. CPU central processing unit. DSU Data Service Unit. E1 HDLC MHz European equivalent of T1. High-Level Data Link Control. MegaHertz. PLL Phase-locked loop. PPP Point-to-Point Protocol. SDLC SNA T1 WAN Synchronous Data Link Control. System Network Architecture.
44 Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Index bipolar 8-zero substitution (B8ZS), 36 violation, 36 boot -r command, 13 hsip_stat, 21 SunVTS, 39 testing software install, 14 directory structure, software, 10 disk space checking, 11 requirement, 11 documentation online, xix related, xix SunVTS, 39 C H cables hydra style connector, 6 null modem cable, 29 diagram, 32, 33 passive cabling system, 6 RS-232 to RS-449 converter, 7 RS-449 pin assignments, 23 X.
bourne environment, 42 C shell environment, 41 korn shell environment, 42 N null modem cable, 29 building, 30 signals, 31 X.21 signals, 31 O ones density, 35 operating modes HDLC, 19 IBM full-duplex, 19 IBM half-duplex, 20 multipoint, 20 SDLC, 19 P phased-lock loop (PLL), 35 hsip_stat, 21 installation, 9 to 14 software packages, 12 testing, 14 protocols, supported, 2 removing older versions, 12 required disk space, 11 SunHSI, 3, 9, 11 SunHSI/P 3.