Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide Part No.
Copyright © 2005, 2010, Oracle and/or its affiliates. All rights reserved. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means.
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 sunlinkTest E.
vi Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • May 2010
Figures FIGURE 1-1 SunHSI/U Adapter 2 FIGURE 3-1 SunHSI Software Directories and Files FIGURE 3-2 SunHSI Devices Created by the Postinstall Script FIGURE B-1 Null modem Cable (Both Suns Supply 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 • May 2010
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 • May 2010
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 • Certification and Accreditation Administration of the People’s Republic of China (CNCA) — China • Korea Communications Commission (KCC) — Korea Please read the approp
ICES-003 Class A Notice - Avis NMB-003, Classe A This Class A digital apparatus complies with Canadian ICES-003. Cet appareil numérique de la classe A est conforme à la norme NMB-003 du Canada. 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. Korean Class A Notice The following is the Korean Class A Broadcasting and Telecommunication Products for Business Purpose Statement.
xiv Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • May 2010
Declaration of Conformity To receive a copy of the latest Declaration of Conformity (DoC) for the product, create an online request at(https://www2.sun.de/dct/forms/reg_us_1607_755_0.jsp), or send email to: compliance_request_ww@oracle.com.
xvi Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • May 2010
Preface This document provides information for users of the Sun PCI High Speed Quad Port Serial Interface Adapter from Oracle. 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. Typographic Conventions Typeface 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.
Documentation, Support, and Training These web sites provide additional resources: Sun Function URL Documentation http://docs.sun.com/ Support http://www.sun.com/support/ Training http://www.sun.com/training/ Document Feedback Submit comments about this document by clicking the Feedback [+] link at: http://docs.sun.com/.
xx Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • May 2010
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 • May 2010
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 • May 2010
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.
FIGURE 3-1 SunHSI Software Directories and Files root /bin /opt /kernel /SUNWconn /drv /HSIP /man HSIP hsip_init* hsip_loop* hsip_stat* /man1m /man7d hsip_init.1m* hsip_loop.1m* hspi_stat.1m* hsip.7d* /sparcv9 /bin /man /man1m /man7d hsip_init.1m hsip_loop.1m hsip_stat.1m hsip.7d HSIP hsip_init hsip_loop hsip_stat * Signifies a 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: 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.
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.10.10 qa8a-hihp3 # Client site (/etc/hosts) #======================= #local 192.10.10.20 qa1b-hihp0 193.10.10.20 qa1b-hihp1 194.10.10.20 qa1b-hihp2 195.10.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 • May 2010
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 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 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 Pin No. RS-449 Interface Signals 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 • May 2010
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 allows you to connect two Sun systems that each supply clocking, using the RS-449 interface. Each Sun 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 allows you to another system, Sun or non-Sun, using the RS-449 interface. The Sun 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. FIGURE B-3 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) 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.
inaudible—amount of distortion in the voice signal. Digital data streams 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.
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 • May 2010
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/.
If neither of the files in Step 1 contains the MANPATH variable, add the following line to the end of one of the files, or contact your system administrator for assistance. setenv MANPATH “/opt/SUNWconn/man/” 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/.
Glossary AMI bps CEPT Alternate Mark Inversion Bits per second European Conference of Postal and Telecommunications Administrations CSU Channel Service Unit CPU tCentral Processing Unit DSU Data Service Unitr.
44 Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • May 2010