Sun™ FastEthernet™ PCI Adapter Installation and User’s Guide Sun Microsystems Computer Company A Sun Microsystems, Inc. Business 2550 Garcia Avenue Mountain View, CA 94043 USA 415 960-1300 fax 415 969-9131 Part No.
Copyright 1997 Sun Microsystems, Inc. 2550 Garcia Avenue, Mountain View, California 94043-1100 U.S.A. All rights reserved. This product or document is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation. No part of this product or document may be reproduced in any form by any means without prior written authorization of Sun and its licensors, if any.
Regulatory Compliance Statements Your Sun product is marked to indicate its compliance class: • • • Federal Communications Commission (FCC) — USA Department of Communications (DOC) — Canada Voluntary Control Council for Interference (VCCI) — Japan 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.
DOC Class A Notice - Avis DOC, Classe A This Class A digital apparatus meets all requirements of the Canadian Interference-Causing Equipment Regulations. Cet appareil numérique de la classe A respecte toutes les exigences du Règlement sur le matériel brouilleur du Canada. DOC Class B Notice - Avis DOC, Classe B This Class B digital apparatus meets all requirements of the Canadian Interference-Causing Equipment Regulations.
Declaration of Conformity Compliance ID: FRESH-LITE Product Name: SUN FE PCI This product has been tested and complies with the following EMC and Safety standards: EMC FCC Class B — USA 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.
vi Sun FastEthernet PCI Adapter Installation and User’s Guide • July 1997
Contents 1. Product Overview 1 Hardware and Software Requirements 2 Media Independent Interface (MII) Connector Features 2. 3.
Configuring Driver Parameters Increasing TCP/IP Performance 13 13 Forcing Network Speed Between 10 Mbps and 100 Mbps 14 Sun FastEthernet PCI Adapter’s local-mac-address Property External Transceivers 16 A. Using the selftest Diagnostics 17 Ethernet FCode selftest Diagnostic B. Interface Signals 18 19 Sun FastEthernet PCI Adapter Connectors MII Connector Signals 20 RJ-45 Connector Signals C.
Preface This manual describes how to install and confgure your Sun™ FastEthernet™ PCI Adapter. The procedures in this manual assume that you are a system or network administrator experienced in installing similar hardware in a Solaris™ operating environment. How This Book Is Organized The document is organized as follows: Chapter 1, “Product Overview,” describes the hardware and software requirements of the Sun FastEthernet PCI Adapter as well as the adapter features.
UNIX Commands This document may not include specific software commands or procedures. Instead, it may name software tasks and refer you to operating system documentation or the handbook that was shipped with your new hardware. The type of information that you might need to use references for includes: ■ ■ ■ ■ Shutting down the system Booting the system Configuring devices Other basic software procedures See one or more of the following: ■ ■ ■ Solaris 2.
Shell Prompts The following table shows the default system prompt and superuser prompt for the C shell, Bourne shell, and Korn shell. Shell Prompt C shell machine_name% C shell superuser machine_name# Bourne shell and Korn shell $ Bourne shell and Korn shell superuser # Related Documents The following documents contain topics that relate to the information in the Sun FastEthernet PCI Adapter Installation and User’s Guide. Title Part Number Solaris 2.
Ordering Sun Documents SunDocsSM is a distribution program for Sun Microsystems technical documentation. Contact SunExpress for easy ordering and quick delivery. You can find a listing of available Sun documentation on the World Wide Web.
CHAPTER 1 Product Overview The Sun FastEthernet PCI Adapter offers 10 Mbps and 100 Mbps Ethernet networking with both an RJ-45 and a media independent interface (MII) connector.
Hardware and Software Requirements Before using the Sun FastEthernet PCI Adapter, make sure your system meets the following hardware and software requirements: TABLE 1-1 Hardware and Software Requirements Hardware and Software Requirements Hardware requirements Sun™ systems with an available PCI slot Software requirements Solaris 2.5.1 Hardware: 4/97 and later Solaris releases Firmware OpenBoot™ PROM version 3.0 or greater External transceivers Sun MII-AUI transceiver: order number X467A.
Features Following is a list of the Sun FastEthernet PCI Adapter features: PCI Ethernet Interface ■ ■ ■ ■ ■ ■ 32-bit PCI up to 33 MHz 32-bit target access to internal registers 8- , 16-, or 32-bit target access to configuration registers 32-bit master data transfers Two DMA channels with 2 Kbyte FIFOs Unique IEEE MAC address stored on board MII Interface ■ ■ ■ MII complies with IEEE 802.3u standard Connects to TX, T4, FX, AUI and all supporting transceivers Rate of 2.
4 Sun FastEthernet PCI Adapter Installation and User’s Guide • July 1997
CHAPTER 2 Installing the Sun FastEthernet PCI Adapter This chapter describes procedures for installing the adapter in your system. Note – Refer to your system installation or service manual for detailed instructions for the following tasks. ▼ To Install the Adapter 1. Power off your system and open the system unit. 2. Attach the adhesive copper strip of the wrist strap to the metal casing of the power supply. Wrap the other end twice around your wrist, with the adhesive side against your skin. 3.
7. If necessary, reinstall the PCI filler panel in the unused PCI opening. 8. Detach the wrist strap and close the system unit. Note – See the next chapter to complete the software configuration and additional setup procedures.
CHAPTER 3 Using the Sun FastEthernet PCI Adapter This chapter tells you how to verify that the adapter is functioning properly and how to optimize its performance. Verifying the Installation Before booting the system, verify the installation by performing the tasks that follow. Refer to the Solaris Handbook for SMCC Peripherals manual or your Solaris documentation for the detailed instructions. ▼ To Verify the Installation 1. Power on the system. 2.
3. Use the show-devs command to list the system devices. You should see output, similiar the following example, displayed on your screen.
Auto-Negotiation A key feature of the Sun FastEthernet PCI Adapter is auto-negotiation. The auto-negotiation protocol, as specified by the 100BASE-T standard, selects the operation mode (half-duplex or full-duplex) and auto-sensing protocol selects the speed (10 Mbps or 100 Mbps) for the adapter.
Monitoring Network Activity Perform the following task to verify that the system recognizes the Ethernet connection. Make sure that you are connected to an active network. ● To monitor network activity or incoming network packets, type the following at the ok promp: ok apply watch-net Internal loopback test -- succeeded. Transceiver check -- passed. Looking for Ethernet Packets. ‘.’ is a Good Packet. ‘X’ is a Bad Packet. Type any key to stop. ..........................
Configuring Host Files After installing the Sun FastEthernet PCI Adapter, you must create a hostname.hme file for its Ethernet interface. You must also assign an IP address and a hostname for its Ethernet interface in the /etc/hosts file. Your system motherboard Ethernet interface (network) uses the hme driver as well, with an interface identified as hme0. (The number 0 following hme represents the first instance of the interface.) You may see the interface(s) represented in the /etc/path_to_inst file.
2. Create an appropriate entry in the /etc/hosts file for each active hme channel. Using the example in Step 1, you will have: zardoz # cat /etc/hosts ... 127.0.0.1 localhost 129.144.10.57 zardoz loghost 129.144.11.83 zardoz-1 Booting from the Network You can use the Sun FastEthernet PCI Adapter interface as the boot device for your system. ▼ To Boot from the Network 1. At the ok prompt, type: ok show-devs The show-devs command lists the system devices.
Post-Installation Procedures (Optional) Perform the tasks in the following sections to customize the performance of the Sun FastEthernet PCI Adapter. Configuring Driver Parameters The hme device driver controls the SUNW,hme Ethernet device. The device driver automatically selects the link speed using the auto-negotiation protocol with the link partner. (See “Auto-Negotiation” on page 9.
▼ To Increase TCP/IP Performance ● As superuser, type: # ndd -set /dev/tcp tcp_xmit_hiwat 65535 # ndd -set /dev/tcp tcp_recv_hiwat 65535 # ndd -set /dev/tcp tcp_cwnd_max 65534 The changes will take effect immediately and affect all system networking interfaces. Forcing Network Speed Between 10 Mbps and 100 Mbps ▼ To Force Network Speed Between 10 Mbps and 100 Mbps 1. At the ok prompt, use the show-devs command to list the system devices.
5. Type: ok nvstore ok setenv use-nvramrc? true 6. Reboot your system. Refer to the Platform Notes: The hme Fast Ethernet Device Driver document for more information on the hme device driver and forcing network speed. This document is also available on the Solaris AnswerBook.
External Transceivers Some external transceivers support multiple link capabilities, such as 100BASE-T4, 100BASE-TX, and 10BASE-T, but not auto-negotiation. In this case, the driver attempts to bring-up the link in the highest priority capability in the following descending order of priority: ■ ■ ■ 100BASE-T4 100BASE-TX 10BASE-T To bring-up your external transceiver in a lower priority capability, you must configure the driver parameters to force the link to the desired mode.
APPENDIX A Using the selftest Diagnostics The following tests are available to help identify problems when the system containing the Sun FastEthernet PCI Adapter does not boot. The FCode selftest is added to the device tree during the probing phase of the OpenBoot PROM start-up sequence. You can invoke the FCode selftest diagnostics by using the OpenBoot user interface test or test-all commands. If you encounter an error while running the diagnostics, appropriate messages will be displayed.
Ethernet FCode selftest Diagnostic ● Type the following to run selftest using the test command: ok setenv diag-switch? true ok test Hme register test -- succeeded. Internal loopback test -- succeeded. Transceiver check -- Using Onboard Transceiver - Link Up.
APPENDIX B Interface Signals This appendix lists the interface signals of the Sun FastEthernet PCI Adapter’s connectors.
MII Connector Signals TABLE B-1 20 MII Connector Signals Pin Signal Pin Signal 1 +5V 21 +5V 2 MDIO 22 GND 3 MDC 23 GND 4 RXD<3> 24 GND 5 RXD<2> 25 GND 6 RXD<1> 26 GND 7 RXD<0> 27 GND 8 RX_DV 28 GND 9 RX_CLK 29 GND 10 RX_ER 30 GND 11 TX_ER 31 GND 12 TX_CLK 32 GND 13 TX_EN 33 GND 14 TXD<0> 34 GND 15 TXD<1> 35 GND 16 TXD<2> 36 GND 17 TXD<3> 37 GND 18 COL 38 GND 19 CRS 39 GND 20 +5V 40 +5V Sun FastEthernet PCI Adapter Install
RJ-45 Connector Signals TABLE B-2 RJ-45 Connector Signals Pin Signal 1 Transmit+ 2 Transmit- 3 Receive+ 4 No Connection 5 No Connection 6 Receive- 7 No Connection 8 No Connection Appendix B Interface Signals 21
22 Sun FastEthernet PCI Adapter Installation and User’s Guide • July 1997
APPENDIX C Specifications Physical Characteristics TABLE C-1 Physical Characteristics Dimension Measurement Length (with bracket) 7.395 in (186.06 mm) Width (with bracket) 4.759 in (120.88 mm) Height (not including PCB): Primary component side 0.570 in. (14.48 mm) Back side 0.105 in. (2.67 mm) Weight 0.
Power Requirements TABLE C-2 Power Requirements Specification Measurement Maximum power consumption 15 Watts Voltage 5V +/- 5% Ripple Maximum 100 mV Performance Specifications TABLE C-3 24 Performance Specifications Feature Specification PCI clock 33 MHz max. PCI data burst transfer rate 132 MB/sec. PCI data/Address lines AD31-0 PCI modes Master/slave MII 25 MHz rate for 100 Mbps; 2.5 MHz rate for 10 Mbps Conforms to IEEE 802.
Ordering Sun Documents SunDocsSM is a distribution program for technical documentation and is available from SunExpress.
AIR MAIL PAR AVION NE PAS AFFRANCHIR NO POSTAGE NECESSARY IF MAILED TO THE UNITED STATES IBRS/CCRI No. 808 INTERNATIONAL BUSINESS REPLY MAIL/RESPONSE PAYEE PERMIT NO.