Sun™ PCI High Speed Quad Port
Serial Interface Adapter
User’s Guide
Sun Microsystems, Inc.
Part No. 819-1207-10
December 2005, Revision A
Download from Www.Somanuals.com. All Manuals Search And Download.
Regulatory Compliance Statements xi
Declaration of Conformity xv
Preface xvii
1. Product Overview
1
3
2. SunHSI/U Adapter Installation
Installation Process
5
5
▼
3. SunHSI PCI Software Installation
Installation Overview
Before Installing the Software 11
Verifying the Software and Hardware Requirements 11
To Remove Older Versions of the Software 11
9
9
▼
iii
Download from Www.Somanuals.com. All Manuals Search And Download.
▼
▼
To Install the SunHSI Software 12
▼
4. SunHSI Utilities 17
hsip_initUtility 17
HDLC Mode 19
B. Null Modem Cable Requirements 29
Configuring Internal or External Clocking 30
C. T1 Inverted Data and Clock Signals 35
Data Signal Inversion 35
Bipolar with 8-Zero Substitution 36
HDLC Zero Insertion Algorithm 36
Clock Signal Inversion 37
iv Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Download from Www.Somanuals.com. All Manuals Search And Download.
E. Viewing the Man Pages 41
▼
▼
To View Man Pages in the C Shell Environment 41
To View Man Pages in Bourne or Korn Shell Environments 42
Glossary 43
Index 45
Contents
v
Download from Www.Somanuals.com. All Manuals Search And Download.
vi Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Download from Www.Somanuals.com. All Manuals Search And Download.
Figures
FIGURE 1-1
FIGURE 3-1
FIGURE 3-2
FIGURE B-1
FIGURE B-2
FIGURE B-3
2
SunHSI Devices Created by the Postinstallation Script 10
Null Modem Cable –Both Sun Systems Supplies Clocking 32
Null Modem Cable –Sun System Supplies Clocking for Both Sides 33
X.21 to RS-449 Converter 34
vii
Download from Www.Somanuals.com. All Manuals Search And Download.
viii
Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Download from Www.Somanuals.com. All Manuals Search And Download.
TABLE 1-1
TABLE 3-1
TABLE A-1
TABLE A-2
TABLE B-1
TABLE B-2
TABLE D-1
3
RS-449 Interface Signals 27
RS-449 Signals 31
X.21 Signals 31
Sun VTS Documentation 39
ix
Download from Www.Somanuals.com. All Manuals Search And Download.
x
Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Download from Www.Somanuals.com. All Manuals Search And Download.
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.
FCC Class A Notice
This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions:
1. This device may not cause harmful interference.
2. This device must accept any interference received, including interference that may cause undesired operation.
Note: This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to Part 15 of
the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment
is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy, and if it is
not installed and used in accordance with the instruction manual, it may cause harmful interference to radio communications.
Operation of this equipment in a residential area is likely to cause harmful interference, in which case the user will be required
to correct the interference at his own expense.
Modifications: Any modifications made to this device that are not approved by Sun Microsystems, Inc. may void the authority
granted to the user by the FCC to operate this equipment.
FCC Class B Notice
This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions:
1. This device may not cause harmful interference.
2. This device must accept any interference received, including interference that may cause undesired operation.
Note: This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of
the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential
installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in
accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee
that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or
television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the
interference by one or more of the following measures:
•
•
•
•
Reorient or relocate the receiving antenna.
Increase the separation between the equipment and receiver.
Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
Consult the dealer or an experienced radio/television technician for help.
Modifications: Any modifications made to this device that are not approved by Sun Microsystems, Inc. may void the authority
granted to the user by the FCC to operate this equipment.
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.
xi
Download from Www.Somanuals.com. All Manuals Search And Download.
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.
xii
Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Download from Www.Somanuals.com. All Manuals Search And Download.
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.
GOST-R Certification Mark
Regulatory Compliance Statements
Download from Www.Somanuals.com. All Manuals Search And Download.
xiii
xiv
Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Download from Www.Somanuals.com. All Manuals Search And Download.
Declaration of Conformity
HSI-U
Sun PCI High Speed Serial Interface Adapter (X1355a)
Compliance Model Number:
Product Family Name:
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.
European Union
This equipment complies with the following requirements of the EMC Directive 89/336/EEC:
As Telecommunication Network Equipment (TNE) in Both Telecom Centers and Other Than Telecom Centers per (as applicable):
EN 300 386 V.1.3.2 (2003-05) Required Limits:
EN 55022:1994 +A1:1995 +A2:1997 ClassA
EN 61000-3-2:2000
EN 61000-3-3:1995 +A1:2000
IEC 61000-4-2
Pass
Pass
6 kV (Direct), 8 kV (Air)
IEC 61000-4-3
3 V/m 80-1000MHz, 10 V/m 800-960 MHz, and 1400-2000 MHz
IEC 61000-4-4
1 kV AC and DC Power Lines, 0.5 kV Signal Lines
IEC 61000-4-5
2 kV AC Line-Gnd, 1 kV AC Line-Line and Outdoor Signal Lines, 0.5 kV Indoor signal Lines > 10m.
IEC 61000-4-6
3 V
IEC 61000-4-11
Pass
As Information Technology Equipment (ITE) Class A per (as applicable):
EN 55022:1994 +A1:1995 +A2:1997 Class A
EN 61000-3-2:2000
EN 61000-3-3:1995 +A1:2000
Pass
Pass
EN 55024:1998 +A1:2001 +A2:2003 Required Limits:
IEC 61000-4-2
IEC 61000-4-3
IEC 61000-4-4
IEC 61000-4-5
IEC 61000-4-6
IEC 61000-4-8
IEC 61000-4-11
4 kV (Direct), 8 kV (Air)
3 V/m
1 kV AC Power Lines, 0.5 kV Signal and DC Power Lines
1 kV AC Line-Line and Outdoor Signal Lines, 2 kV AC Line-Gnd, 0.5 kV DC Power Lines
3 V
1 A/m
Pass
Safety: This equipment complies with the following requirements of the Low Voltage Directive 73/23/EEC:
EC Type Examination Certificates:
EN 60950-1:2001, 1st Edition
IEC 60950-1:2001, 1st Edition
Chomerics Report No. SAFR0126B.03
CB Scheme Certificate No.
Evaluated to all CB Countries
UL 60950-1:2003, 1st Edition, CSA C22.2 No. 60950-1-03
File:
Supplementary Information: This product was tested and complies with all the requirements for the CE Mark. This
equipment complies with the Restriction of Hazardous Substances (RoHS) directive 2002/95/EC.
/S/
/S/
Dennis P. Symanski
DATE
Donald Cameron
DATE
Worldwide Compliance Office
Sun Microsystems, Inc.
4150 Network Circle, MPK15-102
Santa Clara, CA 95054 U.S.A.
Tel: 650-786-3255
Program Manager/Customer Quality
Sun Microsystems Scotland, Limited
Blackness Road, Phase I, Main Bldg.
Springfield, EH49 7LR
Scotland, United Kingdom
Tel: +44 1 506 672 539
Fax: 650-786-3723
Fax: +44 1 506 670 011
xv
Download from Www.Somanuals.com. All Manuals Search And Download.
xvi
Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Download from Www.Somanuals.com. All Manuals Search And Download.
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.
Note – The Sun PCI High Speed Quad Port Serial Interface adapter is high-speed
serial-interface (HSI) adapter for PCI applications The adapter is referred to as
SunHSI/U™ in this manual.
How This Book Is Organized
This document is organized as follows:
Chapter 1 describes the products and lists system requirements.
Chapter 2 provides instructions for installing the adapter.
Chapter 3 contains the SunHSI™ software installation instructions.
Chapter 4 describes the utilities supplied with the SunHSI software.
Appendix A lists the cable pin assignments and signals.
Appendix B provides information on external clocking and the null modem cable.
Appendix C explains the inverted data and clock signals for T1.
xvii
Download from Www.Somanuals.com. All Manuals Search And Download.
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:
■
Shell Prompts
Shell
Prompt
C shell
machine-name%
C shell superuser
machine-name#
Bourne shell and Korn shell
Bourne shell and Korn shell superuser
$
#
xviii Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Download from Www.Somanuals.com. All Manuals Search And Download.
Typographic Conventions
1
Typeface
Meaning
Examples
AaBbCc123
The names of commands, files,
and directories; on-screen
computer output
Edit your.loginfile.
Use ls-ato list all files.
% You have mail.
AaBbCc123
What you type, when contrasted % su
with on-screen computer output
Password:
Book titles, new words or terms, Read Chapter 6 in the User’s Guide.
AaBbCc123
words to be emphasized.
Replace command-line variables
with real names or values.
These are called class options.
You must be superuser to do this.
To delete a file, type rmfilename.
1 The settings on your browser might differ from these settings.
Related Documentation
The documents listed as online are available at:
Application
Title
Part Number
Format
Location
Installation
Sun PCI High Speed Quad Port Serial
Interface Adapter Release Notes
819-1208
PDF
Online
HTML
PDF
Online
Online
Installation
and User
Sun PCI High Speed Quad Port Serial
Interface Adapter User’s Guide
819-1207-10
Information
HTML
Online
Preface
xix
Download from Www.Somanuals.com. All Manuals Search And Download.
Documentation, Support, and Training
Sun Function
Documentation
Support
URL
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. Sun will not be responsible or liable for any actual or alleged damage
or loss caused by or in connection with the use of or reliance on any such content,
goods, or services that are available on or through such sites or resources.
Sun Welcomes Your Comments
Sun is interested in improving its documentation and welcomes your comments and
suggestions. You can submit your comments by going to:
Please include the title and part number of your document with your feedback:
Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide, part number
819-1207-10
xx Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Download from Www.Somanuals.com. All Manuals Search And Download.
CHAPTER
1
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™
with Solstice™ WAN software packages available through Sun. The SunHSI™
software is a transparent interface on the SunHSI/U adapter, providing a compliant
environment for SunLink™ WAN packages operating on similar Sun communication
modules.
The SunHSI/U adapter (see FIGURE 1-1) is an intelligent, four-port communication
controller with onboard CPU and memory dedicated to WAN communication
functions. This architecture operates much more efficiently at high data rates than
unintelligent WAN modules. Onboard intelligence allows the workstation or server
to be off-loaded from many of the low-level communication tasks that it must
perform when there is no native intelligence on the controller.
1
Download from Www.Somanuals.com. All Manuals Search And Download.
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
■
■
■
■
■
■
■
■
Four synchronous RS-449 serial ports
Each port can be independently configured
T1/E1 transfer speed simultaneously on all four ports
Works in 3.3 Volt 66 MHz and 5 Volt 33 MHz PCI slots
Increased RS-232 support for data transmission range, up to 100 Kbps
Meets PCI local bus specification, rev. 2.2
Solaris 64-bit and 32-bit Operating System compatibility
Hot-plug capability
2
Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Download from Www.Somanuals.com. All Manuals Search And Download.
Hardware and Software Requirements
The hardware and software requirements for the SunHSI/U adapter are listed in
TABLE 1-1.
TABLE 1-1
Hardware and Software Requirements
Sun Systems
Workstations
Servers
Sun Blade™ 100, 150, 1500, 1000, 2000, 2500
Sun Fire™ V210, V240, 280R, V440, V480, V490, V880, V890, V1280,
E2900, E6900/E4900, 15K/12K, E25K/E20K
NEBS-certified
servers
Netra™ 240, 440, 1280
Operating Systems
Solaris 10, Solaris 9, and Solaris 8
SunHSI Software (PCI device drivers, man pages, and utilities)
†
SunHSI/P™ 3.1 or newer
Diagnostics Version
Solaris 10
Solaris 9
Solaris 8
SunVTS™ 6.0 and subsequent compatible releases
SunVTS 5.0 and subsequent compatible releases
SunVTS 4.0 and subsequent compatible releases
†
The Sun HSI/P software is downloadable from the Sun Download Center at:
Chapter 1 Product Overview
Download from Www.Somanuals.com. All Manuals Search And Download.
3
4
Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Download from Www.Somanuals.com. All Manuals Search And Download.
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. Test the installation (see “To Test the Installation” on page 14).
▼ To Install the Adapter
Caution – Electronic components on printed circuit boards are extremely sensitive
to static electricity. Ordinary amounts of static electricity generated by your clothing
or work environment can damage the electronic equipment. When installing the
SunHSI/U adapter in a system, use anti-static grounding straps and antistatic mats
to help prevent damage due to electrostatic discharge.
5
Download from Www.Somanuals.com. All Manuals Search And Download.
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
2. Remove the cover from the unit to access the card slots and connectors.
3. Select an available 3.3 Volt or 5 Volt PCI slot and remove the slot filler panel.
4. Insert the adapter into the PCI connector of the system unit.
Ensure that the front plate on the adapter mounts flush with the chassis panel
opening.
5. Install the front plate screw to secure the adapter into the chassis.
This also provides a chassis ground connection to the adapter.
6. Reinstall the cover on the unit.
8. Connect any cables from the peripheral devices to the RS-449 connectors on the
adapter’s cable.
9. Turn power back on and allow the system to reboot.
This completes the hardware installation. Proceed to “SunHSI PCI Software
Installation” on page 9.
External Cabling
The SunHSI/U adapter provides external connectivity through a passive cabling
system. A hydra-style connector provides connectivity to four RS-449 devices by
means of four DB-37 female connectors in a DTE configuration.
Note – Always use shielded twisted pair RS-449 cables with your SunHSI/U
adapter.
6
Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Download from Www.Somanuals.com. All Manuals Search And Download.
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:
Note – Use only externally powered RS-449 devices with the SunHSI/U adapter.
Chapter 2 SunHSI/U Adapter Installation
Download from Www.Somanuals.com. All Manuals Search And Download.
7
8
Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Download from Www.Somanuals.com. All Manuals Search And Download.
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:
You can use the pkgaddcommand to install software packages, to spool software
packages for installation at a later date, or to remove software packages from your
system. For more information see the Solaris System Administration Guide. When you
have completed the software installation and run the postinstallation script, you will
have created the software directories and files illustrated in FIGURE 3-1 and
FIGURE 3-2.
Note – If you are upgrading to the SunHSI/U adapter from the SunHSI/P adapter
or if you are running a SunHSI/P adapter along with the SunHSI/U adapter, you
must upgrade the SunHSI software to the latest version.
9
Download from Www.Somanuals.com. All Manuals Search And Download.
/root
/kernel
/drv
/opt
/SUNWconn
/bin
/man
/HSIP
HSIP
/sparcv9
HSIP
/man1m
/man7d
hsip_init*
hsip_loop*
hsip_stat*
/bin
/man
hsip_init.1m*
hsip_loop.1m*
hspi_stat.1m*
hsip.7d*
/man1m
/man7d
hsip.7d
hsip_init
hsip_loop
hsip_stat
hsip_init.1m
hsip_loop.1m
hsip_stat.1m
* Symbolic link.
FIGURE 3-1 SunHSI PCI Software Directories and Files
/root
/dev
/hihp8
/hihp9
/hihpn
/hihpn
/hihpn
/hihpn
Board N
/hihp0
/hihp1
/hihp2
/hihp3
Board 1
/hihp4
/hihp5
/hihp6
/hihp7
Board 2
/hihp
Clone device
(Control Port)
/hihp10
/hihp11
Board 3
FIGURE 3-2 SunHSI Devices Created by the Postinstallation Script
10
Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Download from Www.Somanuals.com. All Manuals Search And Download.
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:
■
■
■
What is the installation directory (default directory is /opt)?
Do you have the superuser password for both the system where the software is to
be installed and the system with download software, if different?
■
Does your system have enough disk space?
Use both the following commands to check for disk space:
# df -k /opt
# df -k /
TABLE 3-1
Required Disk Space
SunHSI Package Name
SUNWhsip
Default Installation Directory
Approximate Space Required
1 Mbyte
/
SUNWhsipmand SUNWhsipu
/opt
1 Mbyte total
▼ To Remove Older Versions of the Software
Caution – Do not overwrite any existing SunHSI software packages. If you install
the SunHSI software packages over existing SunHSI software packages, you will
have two instances of the software packages. This might cause problems when
installing or backing out of software patches.
Chapter 3 SunHSI PCI Software Installation
Download from Www.Somanuals.com. All Manuals Search And Download.
11
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.
● Using the pkginfocommand, check the system for installed SunHSI software
packages:
system SUNWhsip
SunHSI/P Driver for PCI
system SUNWhsipm SunHSI/P Man Pages for PC
system SUNWhsipu SunHSI/P Utilities for PCI
■
■
If no SunHSI packages are installed, skip to the next section, “Installing the
Software” on page 12, to continue with the software installation.
If there are SunHSI packages installed, remove them by logging on as superuser
(root) and typing the following command:
# /usr/sbin/pkgrm SUNWhsip SUNWhsipu SUNWhsipm
Installing the Software
The SunHSI PCI driver, utilities, and man pages are distributed in the standard
Solaris pkgadddistribution format. The pkgaddutility loads the SUNWhsip,
SUNWhsipm, and SUNWhsipupackages onto the system from the distribution media.
▼ To Install the SunHSI Software
1. Access the directory where the SunHSI software has been downloaded.
# cd download-directory
where download-directory is the name of the directory where the SunHSI software was
downloaded.
12
Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Download from Www.Somanuals.com. All Manuals Search And Download.
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 pkgaddcommand, install the software packages as follows:.
# pkgadd -d /download-directory/sunhsip_3_1/Product
The following packages are available:
1 SUNWhsip
2 SUNWhsipm
3 SUNWhsipu
SunHSI/P Driver for PCI 3.1,REV=2005.xx.xx
SunHSI/P Man pages for PCI 3.1,REV=2005.xx.xx
SunHSI/P Utilities for PCI 3.1,REV=2005.xx.xx
Select package(s) you wish to process (or ’all’ to process
all packages). (default: all) [?,??,q]: all
where download-directory is the name of the directory where the SunHSI software was
downloaded.
a. Type allor leave blank then press the Returnkey to continue the installation
of the driver software.
If the pkgaddutility warns you that some scripts must be executed with
superuser permissions, type y.
4. After successful completion of the package installation, reboot the system using
the reconfigure option.
a. Synchronize the hard disks and halt the system, using the following
commands.
# /usr/sbin/sync
# /usr/sbin/halt
b. At the okprompt, type the bootcommand with the -roption:
ok boot -r
Chapter 3 SunHSI PCI Software Installation
Download from Www.Somanuals.com. All Manuals Search And Download.
13
5. After the system reboots, verify the installation by typing the following
commands:
# /usr/bin/pkginfo | grep SUNWhsip
system SUNWhsip
SunHSI/P Driver for PCI
system SUNWhsipm SunHSI/P Man Pages for PC
system SUNWhsipu SunHSI/P Utilities for PCI
# modinfo | grep HSIP
126 7bb24000 17708 150 1 HSIP (PT-PCI334 Driver)
# grep HSIP /etc/path_to_inst
"/ssm@0,0/pci@18,700000/pci1214,334a@2" 0 "HSIP"
The output shows that the packages are installed, the driver is loaded, and that the
software is mapped to the adapter.
▼ To Test the Installation
● Type the following command (replace n with the adapter port you are testing):
# hsip_loop -c 100 -l 2048 -s 2048000 -t 1 hihpn
This command runs an internal loopback test. For more information, see the
hsip_loop(1M) man page.
Configuring the Software
To configure the adapter for the Point-to-Point Protocol (PPP), see “To Configure for
Point-to-Point Protocol” on page 15. Also refer to the Solaris System Administration
Guide: Network Services documentation for the version of Solaris that you are
running. These documents are available from the following web site:
To configure the adapter for the X.25 9.2 protocol, refer to the Solstice X.25 9.2
Administration Guide (806-1234). The X.25 9.2 documents are available from the
following web site:
14
Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Download from Www.Somanuals.com. All Manuals Search And Download.
▼ To Configure for Point-to-Point Protocol
1. Change to the /etc/pppdirectory 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.pid ] &&
/usr/bin/kill -s 0 ‘/bin/cat /var/run/ppp-demand.pid‘
then
:
else
env DEVICE=hihp0 /usr/bin/pppd hihp0 :qa1b-hihp0 call far-hsip
env DEVICE=hihp1 /usr/bin/pppd hihp1 :qa1b-hihp1 call far-hsip
env DEVICE=hihp2 /usr/bin/pppd hihp2 :qa1b-hihp2 call far-hsip
env DEVICE=hihp3 /usr/bin/pppd hihp3 :qa1b-hihp3 call far-hsip
fi
3. Change to the /etc/ppp/peersdirectory and create an executable file called
far-hsip, containing the following information:
connect ’/etc/ppp/conf-hsip’
local
sync
noauth
0:
ipcp-accept-local
nodefaultroute
passive
persist
noccp
nopcomp
novj
noaccomp
Chapter 3 SunHSI PCI Software Installation
15
Download from Www.Somanuals.com. All Manuals Search And Download.
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/hostsfile and add the client site local hosts.
b. Edit the client’s /etc/hostsfile 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/hostsfiles:
#Server site (/etc/hosts)
#=======================
#local
# Client 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
192.10.10.20 qa1b-hihp0
193.10.10.20 qa1b-hihp1
194.10.10.20 qa1b-hihp2
195.10.10.20 qa1b-hihp3
#remote
# remote
192.10.10.20 qa1b-hihp0
193.10.10.20 qa1b-hihp1
194.10.10.20 qa1b-hihp2
195.10.10.20 qa1b-hihp3
192.10.10.10 qa8a-hihp0
193.10.10.10 qa8a-hihp1
194.10.10.10 qa8a-hihp2
195.10.10.10 qa8a-hihp
5. Edit the /etc/netmasksfile as follows:
192.10.10.0 255.255.255.0
193.10.10.0 255.255.255.0
194.10.10.0 255.255.255.0
195.10.10.0 255.255.255.0
6. Start the PPP connection by typing the following commands:
/etc/rc2.d/S47pppd stop
/etc/rc2.d/S47pppd start
boot -r
16
Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Download from Www.Somanuals.com. All Manuals Search And Download.
CHAPTER
4
SunHSI Utilities
on page 41.
This chapter includes the following topics:
■
■
■
“hsip_initUtility” on page 17
“hsip_loopUtility” on page 20
“hsip_statUtility” on page 21
Note – You need to be superuser (root) in order to run the hsip_init, hsip_loop,
or hsip_statutilities.
hsip_initUtility
modes common to synchronous serial lines. This modification is needed for the
operation of some communications packages and is useful in troubleshooting a link.
See the hsip_init(1M) man page for details.
The hsip_initutility includes options for T1 compatibility and operating modes.
See “T1 Compatibility Options” on page 18 and “Operating Modes Options” on
page 18 for information on these options.
17
Download from Www.Somanuals.com. All Manuals Search And Download.
T1 Compatibility Options
The version of the hsip_initutility 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. The hsip_initparameters that allow for
inversion are:
■ txd– transmit data signal
■ rxd– receive data signal
■ txc– transmit clock signal
■ rxc– receive clock signal
The effect of the default settings for all of these parameters is that SunHSI software
does not invert the data or clock signal controlled by the parameter. To invert a
signal, you specify a setting of the form param-name=-paramname, for example,
txc=-txc.
As an example, suppose you want to invert the transmit and receive data signals on
the first SunHSI/U port (port 0) on the second SunHSI/U adapter in your system.
To do so, enter the following command:
# hsip_init hihp4 txd=-txd rxd=-rxd
To invert both clock and data signals, enter:
# hsip_init hihp4 txd=-txd rxd=-rxd txc=-txc rxc=-rxc
Appendix C discusses the background and requirements for these inverted settings.
Operating Modes Options
This section describes the operating modes that you can set with the hsip_init
utility.
The SunHSI software operates in two main operating modes, the high-level data link
control (HDLC) mode and the IBM (SDLC) mode. The HDLC mode always operates
in a full-duplex, point-to-point fashion. While the IBM mode defaults to a
full-duplex, point-to-point, operation, you can also set this mode to be either a
half-duplex or a multipoint operation.
18
Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Download from Www.Somanuals.com. All Manuals Search And Download.
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. The driver also activates
a mechanism that ensures that the transmit operation will not hang if the hardware
is not responding.
When the transmission is completed, the busy mechanism previously set is cleared
and the next message can be transmitted. If the transmission is hung an abort
sequence is sent instead of the cyclic redundancy check (CRC), so that the receiver
will not interpret the frame as valid data. The message is discarded, and the output
error statistic is incremented, which allows for a proper recovery by higher level
protocols.
The received data is buffered until a complete frame has been received. If any error
occurs during the reception of a frame, the appropriate statistic is incremented and
the frame is discarded.
IBM (SDLC) Mode
SDLC mode is designed to support IBM system network architecture (SNA)
communications. It uses most of the same protocols used in HDLC mode, with two
major exceptions:
■
When the line is idle, instead of sending flag bytes the transmitter is disabled.
■
The request-to-send (RTS) and clear-to-send (CTS) signals are used to gate
transmission.
IBM Full-Duplex Mode
When the SunHSI software is set to this mode (mode=ibm-fdx), the software uses a
full-duplex point-to-point communication protocol. Both ends of the link are
expected to have RTS and CTS signals asserted at all times when data is being
exchanged. When starting a message transmission, the interface raises the RTS signal
and expects the CTS signal to be asserted immediately. If this is not done, all
messages currently queued for transmission are discarded, and the write operation
returns an error.
Chapter 4 SunHSI Utilities
Download from Www.Somanuals.com. All Manuals Search And Download.
19
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). Half-duplex mode
operates in the same manner as full-duplex mode except that transmission cannot
occur while receiving, and vice-versa. When a transmission is completed, the RTS
signal is dropped. Dropping the RTS signal tells the remote station to begin
transmitting if it is ready to.
IBM MultiPoint Mode
In a multipoint configuration (mode=ibm-mpt), more than two stations share a link.
This configuration is accomplished by designating one station as a primary station
and the rest as secondary stations. In this mode, the port acts as a secondary station.
The primary station arbitrates traffic on the link by polling the secondary stations, to
see if they are ready to transmit.
If a secondary station has data to transmit, it will raise its RTS signal and check for
CTS signals. When a CTS signal comes up the station may begin transmitting,
following the same rules for RTS and CTS signals used in half-duplex mode. When
the transmission is complete the secondary drops the RTS signal, which enables
another station to respond to a poll and begin transmitting. The RTS signal cannot be
dropped until the transmission is complete.
hsip_loopUtility
The hsip_looputility is high-speed, synchronous, serial loopback test program for
high-speed serial interface. The utility performs several loopback tests that exercise
the components of a serial communications link. See the hsip_loop(1M) man page
for more information.
20
Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Download from Www.Somanuals.com. All Manuals Search And Download.
hsip_statUtility
The hsip_statutility 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.
Chapter 4 SunHSI Utilities
Download from Www.Somanuals.com. All Manuals Search And Download.
21
22
Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Download from Www.Somanuals.com. All Manuals Search And Download.
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. The pin assignments for the cabling and connectors
are shown in TABLE A-1.
TABLE A-1 RS-449 Connector Pin Assignments
80-Pin Amp.
Pin No.
RS-449
Signal Name
RS-449
DB-37 Pin No.
Description
1
2
3
4
5
6
7
8
9
RxD1(A)
RxD1(B)
DTR1(A)
DTR1(B)
TxD1(A)
TxD1(B)
RTS1(A)
RTS1(B)
TxC1(A)
6
Port 1 Receive Data
Port 1 Receive Data
Port 1 Data Terminal Ready
Port 1 Data Terminal Ready
Port 1 Transmit Data
Port 1 Transmit Data
Port 1 Request To Send
Port 1 Request To Send
Port 1 Transmit Clock
24
12
30
4
22
7
25
17
23
Download from Www.Somanuals.com. All Manuals Search And Download.
TABLE A-1 RS-449 Connector Pin Assignments (Continued)
80-Pin Amp.
Pin No.
RS-449
Signal Name
RS-449
DB-37 Pin No.
Description
10
TxC1(B)
TxCI1(A)
TxCI1(B)
DCD1(A)
DCD1(B)
DSR1(A)
DSR1(B)
CTS1(A)
CTS1(B)
RxC1(A)
RxC1(B)
SG
35
5
Port 1 Transmit Clock
Port 1 Transmit Clock In
Port 1 Transmit Clock In
Port 1 Data Carrier Detect
Port 1 Data Carrier Detect
Port 1 Data Set Ready
Port 1 Data Set Ready
Port 1 Clear To Send
Port 1 Clear To Send
Port 1 Receive Clock
Port 1 Receive Clock
11
12
23
13
31
11
29
9
13
14
15
16
17
18
27
8
19
20
26
1
Shield Ground
Port 1 Shield Ground and Signal
Ground
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
RxD2(A)
RxD2(B)
DTR2(A)
DTR2(B)
TxD2(A)
TxD2(B)
RTS2(A)
RTS2(B)
TxC2(A)
TxC2(B)
TxCI2(A)
TxCI2(B)
DCD2(A)
DCD2(B)
DSR2(A)
DSR2(B)
CTS2(A)
6
Port 2 Receive Data
24
12
30
4
Port 2 Receive Data
Port 2 Data Terminal Ready
Port 2 Data Terminal Ready
Port 2 Transmit Data
22
7
Port 2 Transmit Data
Port 2 Request To Send
Port 2 Request To Send
Port 2 Transmit Clock
Port 2 Transmit Clock
Port 2 Transmit Clock In
Port 2 Transmit Clock In
Port 2 Data Carrier Detect
Port 2 Data Carrier Detect
Port 2 Data Set Ready
Port 2 Data Set Ready
Port 2 Clear To Send
25
17
35
5
23
13
31
11
29
9
24 Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Download from Www.Somanuals.com. All Manuals Search And Download.
TABLE A-1 RS-449 Connector Pin Assignments (Continued)
80-Pin Amp.
Pin No.
RS-449
Signal Name
RS-449
DB-37 Pin No.
Description
38
CTS2(B)
RxC2(A)
RxC2(B)
SG
27
8
Port 2 Clear To Send
Port 2 Receive Clock
Port 2 Receive Clock
39
40
26
1
Shield Ground
Port 2 Shield Ground and Signal
ground
41
RxD3(A)
RxD3(B)
DTR3(A)
DTR3(B)
TxD3(A)
TxD3(B)
RTS3(A)
RTS3(B)
TxC3(A)
TxC3(B)
TxCI3(A)
TxCI3(B)
DCD3(A)
DCD3(B)
DSR3(A)
DSR3(B)
CTS3(A)
CTS3(B)
RxC3(A)
RxC3(B)
SG
6
Port 3 Receive Data
42
24
12
30
4
Port 3 Receive Data
43
Port 3 Data Terminal Ready
Port 3 Data Terminal Ready
Port 3 Transmit Data
Port 3 Transmit Data
Port 3 Request To Send
Port 3 Request To Send
Port 3 Transmit Clock
Port 3 Transmit Clock
Port 3 Transmit Clock In
Port 3 Transmit Clock In
Port 3 Data Carrier Detect
Port 3 Data Carrier Detect
Port 3 Data Set Ready
Port 3 Data Set Ready
Port 3 Clear To Send
44
45
46
22
7
47
48
25
17
35
5
49
50
51
52
23
13
31
11
29
9
53
54
55
56
57
58
27
8
Port 3 Clear To Send
59
Port 3 Receive Clock
60
26
1
Port 3 Receive Clock
Shield Ground
Port 3 Shield Ground and Signal
Ground
61
62
63
64
RxD4(A)
RxD4(B)
DTR4(A)
DTR4(B)
6
Port 4 Receive Data
24
12
30
Port 4 Receive Data
Port 4 Data Terminal Ready
Port 4 Data Terminal Ready
Appendix A
Cable Pin Assignments & Signals
25
Download from Www.Somanuals.com. All Manuals Search And Download.
TABLE A-1 RS-449 Connector Pin Assignments (Continued)
80-Pin Amp.
Pin No.
RS-449
Signal Name
RS-449
DB-37 Pin No.
Description
65
TxD4(A)
TxD4(B)
RTS4(A)
RTS4(B)
TxC4(A)
TxC4(B)
TxCI4(A)
TxCI4(B)
DCD4(A)
DCD4(B)
DSR4(A)
DSR4(B)
CTS4(A)
CTS4(B)
RxC4(A)
RxC4(B)
SG
4
Port 4 Transmit Data
Port 4 Transmit Data
Port 4 Request To Send
Port 4 Request To Send
Port 4 Transmit Clock
Port 4 Transmit Clock
Port 4 Transmit Clock In
Port 4 Transmit Clock In
Port 4 Data Carrier Detect
Port 4 Data Carrier Detect
Port 4 Data Set Ready
Port 4 Data Set Ready
Port 4 Clear To Send
Port 4 Clear To Send
Port 4 Receive Clock
Port 4 Receive Clock
66
22
7
67
68
25
17
35
5
69
70
71
72
23
13
31
11
29
9
73
74
75
76
77
78
27
8
79
80
26
1
Shield Ground
Port 4 Shield Ground and Signal
ground
26 Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Download from Www.Somanuals.com. All Manuals Search And Download.
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.
4/22
6/24
5/23
Transmit Data
(TxD)
Used by the DTE to pass binary data to the DCE for
transmission over the communications channel.
Receive Data
(RxD)
Used by the DCE to pass binary data received from the
communications channel to the DTE.
Transmit Clock in
(TxCI)
Enables the DCE to transmit signal element timing to
the DTE. This enables the DTE Transmit Data signal on
circuit TxD to be in synchronization with On/Off
transitions on this lead.
8/26
Receive Clock
(RxC)
Transitions on this lead enables the DTE to time data
received over circuit RxD.
17/35
Transmit Clock
(TxC)
Enables the DTE to provide transmit timing
information to the DCE so that the DTE can
synchronize with data arriving over the TxD lead.
7/25
9/27
11/29
Request to Send
(RTS)
Used by the DTE to advise the DCE it is ready to
transmit data.
Clear to Send
(CTS)
Used by the DCE to advise the DTE that the DCE is
ready to send data over the communications channel.
Data Set Ready
(DSR)
Used to advise the DTE of the Ready status on the
DCE. In most cases, this signal simply implies the unit
is powered on.
12/30
13/31
Data Terminal
Ready (DTR)
Used by the DTE to advise the DCE it is ready to
transmit or receive.
Data Carrier Detect
(DCD)
The DCE uses this lead to advise the DTE that an
incoming signal on the communications channel is
present. When first initialized this signal is an
indication to the DTE to expect data momentarily.
Appendix A
Cable Pin Assignments & Signals
27
Download from Www.Somanuals.com. All Manuals Search And Download.
28 Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Download from Www.Somanuals.com. All Manuals Search And Download.
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.
There are two steps you must perform to use a null modem cable for machine
supplied clocking:
■
Run hsip_init(see “Configuring Internal or External Clocking” on page 30) so
that the Sun system, in the absence of a synchronous modem, supplies clocking
on the serial line.
■
Note – You must run hsip_initeach time you reboot your system.
The following topics are included in this appendix:
■
■
“Configuring Internal or External Clocking” on page 30
“Building the Null Modem Cable” on page 30
29
Download from Www.Somanuals.com. All Manuals Search And Download.
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_initto baudand rxc, respectively. For example, the
following hsip_initcommand sets the data rate of the first SunHSI/U serial port
to 9600 bps and sets the clocking as described:
# hsip_init hihp0 9600 txc=baud rxc=rxc
You enter such a command at both ends of a link if both sides are supplying
clocking.
If a Sun system is at each end of a link and one system supplies clocking for both
sides, enter the following command on the system that is not supplying the clocking:
# hsip_init hihp0 9600 txc=txc rxc=rxc
Building the Null Modem Cable
To build a null modem cable, you can configure your own cable or use a standard
cable with an adapter box.
Note – Be sure to use shielded, twisted-pair wire when building a null modem
cable.
If you decide to use an adapter box, be sure to obtain an adapter that allows you to
change the pin configurations. Preconfigured adapters generally do not work with
synchronous protocols because they do not handle clock signals correctly.
30 Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Download from Www.Somanuals.com. All Manuals Search And Download.
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
TxD
RxD
TxC
TxCI
RxC
RTS
Name
Direction
Transmit Data
Receive Data
To DCE
From DCE
To DCE
Transmit Clock
Transmit Clock In
Receive Clock
Request to Send
Clear to Send
From DCE
From DCE
To DCE
CTS
DCD
DTR
DSR
SG
From DCE
From DCE
To DCE
Data Carrier Detect
Data Terminal Ready
Data Set Ready
Signal Ground
From DCE
TABLE B-2 X.21 Signals
Circuit
Name
Direction
G
T
R
C
I
Signal Ground
Transmit
To DCE
Receive
From DCE
To DCE
Control
Indication
Signal Element Timing
Byte Timing
From DCE
From DCE
From DCE
S
B
Appendix B
Null Modem Cable Requirements
31
Download from Www.Somanuals.com. All Manuals Search And Download.
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. This means that pin 4 is connected to pin 6 and pin 22 is connected to
pin 24.
TxD (4,22)
RxD (6,24)
RTS (7,25)
CTS (9,27)
DSR (11,29)
SG (19)
TxD (4,22)
RxD (6,24)
RTS (7,25)
CTS (9,27)
DSR (11,29)
SG (19)
DCD (13,31)
DCD (13,31)
RxC (8,26)
RxC (8,26)
DTR (12,30)
TxC (17,35)
Sun workstation
DTR (12,30)
TxC (17,35)
Sun workstation
FIGURE B-1 Null Modem Cable –Both Sun Systems Supplies Clocking
32 Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Download from Www.Somanuals.com. All Manuals Search And Download.
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.
TxD (4,22)
RxD (6,24)
RTS (7,25)
CTS (9,27)
DSR (11,29)
SG (19)
TxD (4,22)
RxD (6,24)
RTS (7,25)
CTS (9,27)
DSR (11,29)
SG (19)
DCD (13,31)
DCD (13,31)
RxC (8,26)
DTR (12,30)
TxC (17,35)
TxCI (5,23)
RxC (8,26)
DTR (12,30)
Sun workstation
that supplies clocking
Sun System or
other device
FIGURE B-2 Null Modem Cable –Sun System Supplies Clocking for Both Sides
Appendix B
Null Modem Cable Requirements
33
Download from Www.Somanuals.com. All Manuals Search And Download.
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)
RxC (8,26)
S (6,13)
TxCI (5,23)
RTS (7,25)
C (3,10)
CTS (9,27)
RxD (6,24)
DCD (13,31)
SG (19)
R (4,11)
I (5,12)
G (8)
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.21 conversion you must perform the following hsip_init
operation:
#hsip_init hihp0 9600 txc=txc rxc=rxc
Note – Both receive and transmit clock inputs (RxC and TxCI) need a clock signal if
txcis set to txcand rxcis set to rxc.
34 Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Download from Www.Somanuals.com. All Manuals Search And Download.
APPENDIX
C
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. The T1 transmission
scheme uses a signaling mechanism known as Alternate Mark Inversion (AMI), in
which one bits are represented by a positive or negative pulse, while zero bits are
represented by the absence of a pulse. In this scheme, the polarity of each pulse must
be the opposite of the polarity of the pulse which immediately preceded it. This
signaling scheme makes it possible to embed a reference clock for the data into the
data stream itself.
Various types of T1 transmission equipment, such as Data Service Units (DSU),
Channel Service Units (CSU), repeaters, and various telephone central office
equipment, must be able to keep a phase locked loop (PLL) circuit locked on to this
reference clock. This PLL circuit uses the pulses generated when one bits are
transmitted to lock the embedded clock to a local reference oscillator. To keep the
PLL circuit locked on the extracted clock, a certain density of pulses (one bits) must
be guaranteed. For North American T1 lines, the density requirement dictates that at
least one out of every 16 bits must be a one (see AT&T Technical Publication 62411).
Another way of stating this is that no more than 15 consecutive zero bits can occur
anywhere in the data stream.
T1 lines were originally intended to carry voice traffic, wherein the digitized voice
signals could be altered to meet the ones-density requirement by forcing every
eighth bit of a voice channel to be a one. This practice introduces a small, but
virtually inaudible, amount of distortion in the voice signal. Digital data streams
35
Download from Www.Somanuals.com. All Manuals Search And Download.
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.
The most common technique simply reserves every eighth bit of the signal for a
density bit and forces this bit to be a one. These bits are not available for data
transmission, which means that 12.5 percent of the bandwidth of the T1 line is
wasted. When you consider that the lease cost for a coast-to-coast T1 line can be
expensive, this waste of bandwidth can be unacceptable. There are alternatives.
Bipolar with 8-Zero Substitution
One alternative of them uses a special code that transmission equipment can
generate when using the AMI signalling scheme. This special code depends on the
fact that two successive one bits that are represented by pulses of the same polarity
result in a signal known as a Bipolar Violation. A CSU can be designed so that it will
automatically replace any string of eight consecutive zeros with a special code
pattern that contains two of Bipolar Violations. A compatible, receiving CSU
recognizes this special code and converts it back to a pattern of eight zeros. This
technique is known as B8ZS (Bipolar with 8-Zero Substitution).
All CEPT lines (the European equivalent of T1) mandate the use of a variant of B8ZS
that reduces the density requirement to no more than three consecutive zeros.
However, telephone companies in North America have been slow to adopt B8ZS,
because it would entail a significant capital investment. Therefore, the B8ZS solution
cannot solve the ones-density problem in the short term.
HDLC Zero Insertion Algorithm
An alternative to B8ZS, an alternative used by the SunHSI product, makes use of the
fact that the HDLC framing rules specify that any data stream that contains five or
more consecutive one bits requires that the transmitting end insert a zero bit after
the fifth one bit. This guarantees that the HDLC flag pattern 01111110(hex 7E)
does not occur randomly inside a frame. The receiving end must automatically
discard the zero bit that follows a pattern of five consecutive ones. So, HDLC
framing, which is used by SunHSI/U, guarantees that, except for the flag pattern, in
any set of six bits at least one bit will be a zero. If you include the flag pattern in any
set of seven bits, at least one bit will be a zero.
36 Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Download from Www.Somanuals.com. All Manuals Search And Download.
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. Most
computer, modem, and terminal vendors adhere to an industry standard
specification known as RS-334. This specification defines the relationship between a
data bit and a reference clock on a synchronous serial link. The specification also
dictates that a device should transmit data with reference to the rising edge of the
clock signal, and that data should be received with reference to the falling edge of
the clock signal.
When using long cables or cables not carrying a clock signal, a phase shift might
occur causing a high number of errors. In such cases, inverting the clock signal may
correct the phase shift. You may also need to invert the clock signal when connecting
a SunHSI/U port to equipment not adhering to the RS-334 standard.
Appendix C
T1 Inverted Data and Clock Signals
37
Download from Www.Somanuals.com. All Manuals Search And Download.
38 Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Download from Www.Somanuals.com. All Manuals Search And Download.
APPENDIX
D
SunVTS Diagnostic Testing
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.
Refer to the SunVTS documents (see TABLE D-1) for instructions on how to run and
monitor the sunlinkdiagnostic. These SunVTS documents are available online at
the following URL:
Select the document for the Solaris release on your system.
TABLE D-1 Sun VTS Documentation
Title
Descriptions
SunVTS User’s Guide Describes the SunVTS diagnostic environment.
SunVTS Test
Describes each SunVTS test (including sunlink) and describes the
Reference Manual
various test options and command-line arguments.
SunVTS Quick
Reference Card
Provides an overview of the user interface.
Using the SunVTS sunlinkTest
The sunlinkdiagnostic test, which is shipped with the SunVTS software, verifies
the functionality of SunHSI adapters. This test can be run from the SunVTS user
interface, or it can be run from the command line. Refer to the SunVTS Test Reference
Manual for more information about the sunlinktest.
39
Download from Www.Somanuals.com. All Manuals Search And Download.
Note – Some of the sunlinktests require a RS-449 loopback plug, which can be
ordered through Sun (part number 540-1430).
40 Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Download from Www.Somanuals.com. All Manuals Search And Download.
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 MANPATHenvironment 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/.loginand $HOME/.cshrcfiles to locate the MANPATH
variable.
MANPATHvariable.
setenv MANPATH “/opt/SUNWconn/man/:$MANPATH”
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/”
41
Download from Www.Somanuals.com. All Manuals Search And Download.
3. Use the sourcecommand on the file you edited to make the changes effective in
your current window.
For example, if you added the MANPATHline to the .loginfile, 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/.profilefile.
MANPATH=/opt/SUNWconn/man:$MANPATH
export MANPATH
If this file did not already contain this variable, add the following two lines to the
end of the file, or contact your system administrator for assistance.
MANPATH=/opt/SUNWconn/man
export MANPATH
2. Make the changes effective in your current window.
$ . $HOME/.profile
Note – If you log out and then back into to your system, you update the MANPATH
variable in all command windows and shells.
42 Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Download from Www.Somanuals.com. All Manuals Search And Download.
Glossary
AMI Alternate mark inversion.
bps Bits per second.
CEPT European Conference of Postal and Telecommunications Administrations.
CSU channel service unit.
CPU central processing unit.
DSU Data Service Unit.
E1 European equivalent of T1.
HDLC High-Level Data Link Control.
MHz MegaHertz.
PLL Phase-locked loop.
PPP Point-to-Point Protocol.
SDLC Synchronous Data Link Control.
SNA System Network Architecture.
T1 A communications service providing leased-line support for 1,554,000 bps on
twisted copper wire.
WAN Wide area network.
43
Download from Www.Somanuals.com. All Manuals Search And Download.
44
Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Download from Www.Somanuals.com. All Manuals Search And Download.
Index
SunVTS, 39
A
adapter
features, 2
checking, 11
requirement, 11
B
bipolar
C
cables
RS-232 to RS-449 converter, 7
RS-449 pin assignments, 23
configuring clocking, 30
inverting clock signals, 37
options for T1 compatibility, 18
channel service unit (CSU), 35
I
installation
cabling, 6
D
process, 5
software, 9 to 14
software testing, 14
data signal inversion, 18
density bit, 36
device driver
see software
diagnostics
M
man pages, viewing
hsip_loop, 20
45
Download from Www.Somanuals.com. All Manuals Search And Download.
removing older versions, 12
N
building, 30
O
sunlink diagnostic, 39
versions, 3
operating modes
HDLC, 19
IBM half-duplex, 20
multipoint, 20
T
T1 requirements, 18
P
phased-lock loop (PLL), 35
X
R
removing older software, 12
requirements
hardware, 3
software, 3
RS-232 to RS-449 converter, 7
RS-449
pin assignments, 23
S
servers, 3
Software
software
devices, 10
directory structure, 10
downloading, 9
hsip_init, 17
hsip_loop, 20
46
Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005
Download from Www.Somanuals.com. All Manuals Search And Download.
|