Sun Microsystems Sun Quad User Manual
Sun Microsystems Sun Quad User Manual

Sun Microsystems Sun Quad User Manual

Sun microsystems fast ethernet pci adapter installation and user's guide
Table of Contents

Advertisement

Quick Links

Sun
Quad 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.: 805-1797-10
Revision A, August 1997

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Sun Quad and is the answer not in the manual?

Questions and answers

Summary of Contents for Sun Microsystems Sun Quad

  • Page 1 Quad 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.: 805-1797-10 Revision A, August 1997...
  • Page 2 Sun, Sun Microsystems, the Sun logo, AnswerBook, SunDocs, Quad FastEthernet, and Solaris are trademarks, registered trademarks, or service marks of Sun Microsystems, Inc. in the U.S. and other countries. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc.
  • Page 3: Regulatory Compliance Statements

    FCC radio frequency emission limits. Networking connections can be made using unshielded twisted-pair (UTP) cables. 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.
  • Page 4 This Class B digital apparatus meets all requirements of the Canadian Interference-Causing Equipment Regulations. Cet appareil numérique de la classe B respecte toutes les exigences du Règlement sur le matériel brouilleur du Canada. Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997...
  • Page 5: Supplementary Information

    This product was tested and complies with all the requirements for the CE Mark when connected to a Sun workstation or server. / S / Dennis P. Symanski Date Manager, Product Compliance Sun Microsystems Computer Company 2550 Garcia Avenue, M/S UMPK15-102 Mt. View, CA 94043, USA Tel: 415-786-3255 Fax: 415-786-3723 Class A...
  • Page 6 Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997...
  • Page 7: Table Of Contents

    Contents Product Overview 1 Features 2 Hardware and Software Requirements 3 Checking the OpenBoot PROM Revision Level 3 Displaying the OpenBoot PROM Revision Level 3 Installing the Adapter 5 Adding an Entry to the driver_aliases File 5 Installing the Adapter 6 Verifying the Installation 7 Examining Network Activity 8 Rebooting the System 9...
  • Page 8 To Set the Mode to Auto-Negotiation 34 Setting Parameters in the /etc/system File 35 Setting the ipg1 and ipg2 Parameters in the /etc/system File 36 viii Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997 Mode 34...
  • Page 9 Setting Parameters Using the qfe.conf File 36 Setting ipg Driver Parameters Using a qfe.conf File 37 D. Running Diagnostics Tests 39 Using the OpenBoot PROM FCode Selftest 39 Running the Ethernet FCode Selftest Diagnostic 40 Contents...
  • Page 10 Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997...
  • Page 11: How This Book Is Organized

    Chapter 1, “Product Overview,” describes the hardware and software features for the Sun Quad FastEthernet PCI adapter. Chapter 2, “Installing the Adapter,” tells you how to install the Sun Quad FastEthernet PCI adapter into your system. Chapter 3, “Configuring the Driver Software,” describes how to create and edit the device driver configuration files.
  • Page 12: Related Documents

    On-line AnswerBook™ for the complete set of documentation supporting the Solaris 2.x software environment. Other software documentation that you received with your system. Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997 Part Number (System dependent) (Release dependent)
  • Page 13: Typographic Conventions

    Typographic Conventions The following table describes the typographic changes used in this book. Typeface or Symbol Meaning The names of commands, files, AaBbCc123 and directories; on-screen computer output What you type, contrasted with AaBbCc123 on-screen computer output AaBbCc123 Command-line placeholder: replace with a real name or value AaBbCc123...
  • Page 14: Ordering Sun Documents

    Email: smcc-docs@sun.com Fax: SMCC Document Feedback 1-415-786-6443 Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997 Telephone 02-720-09-09 1-800-873-7869 0800-90-61-57 01-30-81-61-91...
  • Page 15: Product Overview

    C H A P T E R Product Overview The Sun Quad FastEthernet PCI adapter contains four fully-buffered twisted-pair Ethernet ports (RJ-45), providing four switchable 10BASE-T/100BASE-TX channels, on a PCI adapter. Ethernet Connectors Sun Quad FastEthernet PCI adapter FIGURE 1-1...
  • Page 16: Features

    Four independent Ethernet channels run at either 10 Mbps or 100 Mbps Supports half-duplex or full-duplex operation modes Multiple 48-bit IEEE 802.3 style media access control (MAC) identifiers, one for each channel Link integrity LED for each channel Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997 LEDs...
  • Page 17: Hardware And Software Requirements

    Hardware and Software Requirements Before installing the adapter, make sure your system meets the following hardware and software requirements: Hardware and Software Requirements TABLE 1-1 Requirements Supported Systems Supported Operating Environments OpenBoot™ PROM (OBP) Note – The information above is up-to-date as of the printing of this manual. Visit Sun on the World Wide Web at http://www.sun.com/ for the latest information.
  • Page 18 Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997...
  • Page 19: Installing The Adapter

    C H A P T E R Installing the Adapter This chapter tells you how to install the Sun Quad FastEthernet PCI adapter in your system and how to verify that it has been installed correctly. Adding an Entry to the driver_aliases File If your system is running the Solaris 2.5.1 Hardware: 4/97 operating environment,...
  • Page 20: Installing The Adapter

    7. If necessary, reinstall the PCI filler panel in the unused PCI opening. 8. Detach the wrist strap and close the system unit. 9. Connect Ethernet cables to the Sun Quad FastEthernet PCI adapter and to an Ethernet network. Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997...
  • Page 21: Verifying The Installation

    Verifying the Installation After you have installed the Sun Quad FastEthernet PCI adapter, but before you boot your system, perform the following tasks to verify the installation. Refer to the Solaris 2.x Handbook for SMCC Peripherals manual or your Solaris documentation for the detailed instructions.
  • Page 22: Examining Network Activity

    Examining Network Activity After you have installed the Sun Quad FastEthernet PCI adapter, but before booting the system, verify the installation by examining the network interfaces with the OpenBoot PROM watch-net-all command. Make sure that the interfaces are connected to an active network.
  • Page 23: Rebooting The System

    Rebooting the System After you have examined the network activity, perform a reconfiguration boot on your system so the operating environment can recognize the Sun Quad FastEthernet PCI adapter. Perform a reconfiguration boot on the system. ok boot -r Refer to the Solaris 2.x Peripheral’s Handbook for more information.
  • Page 24 Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997...
  • Page 25: Configuring The Driver Software

    C H A P T E R Configuring the Driver Software This chapter describes how to configure the driver software used by the Sun Quad FastEthernet PCI adapter. Installing the Driver Software The Sun Quad FastEthernet 2.0 CD-ROM contains the software required by the Sun Quad FastEthernet PCI adapter.
  • Page 26 "/pci@1f,2000/pci@2/SUNW,qfe@1,1" 5 "qfe" "/pci@1f,2000/pci@2/SUNW,qfe@2,1" 6 "qfe" "/pci@1f,2000/pci@2/SUNW,qfe@3,1" 7 "qfe" In the example above, the four SUNW,qfe@x,1 instances are from a Sun Quad FastEthernet PCI adapter installed in slot 2. For clarity, the instance numbers are bold. 2. Create an /etc/hostname.qfe<num> file, where <num> corresponds to the instance number of each interface you plan to use.
  • Page 27 Using the instance examples in Step 1, the following example shows the four /etc/hostname.qfe<num> files required for a system called zardoz that has a Sun Quad FastEthernet PCI adapter (zardoz-11, zardoz-12, zardoz-13, and zardoz-14). # cat /etc/hostname.hme0 zardoz # cat /etc/hostname.qfe4 zardoz-11 # cat /etc/hostname.qfe5...
  • Page 28: Booting From The Network

    Booting From the Network To use a Sun Quad FastEthernet PCI adapter ethernet interface as the boot device, perform the following tasks: 1. At the ok prompt type: ok show-devs The show-devs command lists the system devices. You should see the full path...
  • Page 29: Post-Installation Procedures (Optional)

    See Appendix C, “Configuring the Quad FastEthernet Device Driver Parameters,” for more information. Increasing TCP/IP Performance The TCP/IP performance of the Sun Quad FastEthernet PCI adapter can be increased by changing the TCP high water mark to 64K. This can be done with the ndd utility as follows.
  • Page 30: Forcing Network Speed Between 10 Mbps And 100 Mbps

    5. At the ok prompt type: ok nvstore ok setenv use-nvramrc? true 6. Reboot your system. See Appendix C, “Configuring the Quad FastEthernet Device Driver Parameters,” for more information on forcing network speed. Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997...
  • Page 31: Auto-Negotiation

    If the Sun Quad FastEthernet PCI adapter is connected to a link partner with which the auto-negotiation protocol fails to operate successfully, you can configure the device to not use this protocol and force the driver to set up the link in the mode and speed of your choice.
  • Page 32: Local-Mac-Address Property

    Property Each of the network interfaces of the Sun Quad FastEthernet PCI adapter have been assigned a unique MAC (Media Access Control) address, which represents the 48-bit ethernet address for that channel. The OpenBoot firmware reports this MAC address via the local-mac-address property in the device nodes corresponding to the network interfaces.
  • Page 33: Specifications

    A P P E N D I X Specifications Physical Dimensions Physical Dimensions TABLE A-1 Assembly Dimension Length Width Height: Primary component side Back side Weight Measurement 7.395 in (186.06 mm) 4.759 in (120.88 mm) 0.570 in. (14.48 mm) 0.105 in. (2.67 mm) 5.2 oz (148 g)
  • Page 34: Power Requirements

    Network Interface Ethernet Version PCI clock PCI data burst transfer rate PCI Data/Address Lines PCI modes Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997 Measurement 14 Watts 2.8 Amps @ 5V 5V +/- 5% Maximum 100 mV 5V, 2.0 Amps...
  • Page 35: Interface Signals

    A P P E N D I X Interface Signals Ethernet channels 32-Pin RJ-45 Connectors FIGURE B-1 Pin Descriptions for the 32-Pin RJ-45 Connectors: Channels 0 - 3 TABLE B-1 Description TD– Not Used Not Used RD– Not Used Not Used 16 17 24 25 32...
  • Page 36 Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997...
  • Page 37: Configuring The Quad Fastethernet Device Driver Parameters

    Configuring the Quad FastEthernet Device Driver Parameters The qfe device driver controls the Sun Quad FastEthernet PCI adapter’s SUNW,qfe Ethernet devices. You can manually configure the qfe device driver parameters to customize each SUNW,qfe device in your system. This appendix provides an overview of the internal transceiver used in the adapter, lists the available qfe device driver parameters, and describes how you can configure these parameters.
  • Page 38: Driver Parameter Values And Definitions

    100fdx_cap 100hdx_cap 10fdx_cap 10hdx_cap lp_autoneg_cap lp_100fdx_cap lp_100hdx_cap Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997 Driver Parameter, Status, and Descriptions Status Read only Read only Read only Read only Read and write Read and write...
  • Page 39: Defining The Current Status

    Driver Parameter, Status, and Descriptions (Continued) TABLE B-1 Parameter Status Read only lp_10fdx_cap Read only lp_10hdx_cap Read and write instance Read and write lance_mode Read and write ipg0 Defining the Current Status The read-only parameters described in interface. These parameters define the current status. Read-Only Parameters Defining the Current Status TABLE B-2 Parameter...
  • Page 40: Defining An Additional Delay Before Transmitting A Packet Using Lance_Mode And Ipg0

    20 by 400 ns to get 800 ns. If the link speed is 100 Mbps, and you set ipg0 to 30 nibble-times, multiply 30 by 40 ns to get 120 ns. Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997 Values...
  • Page 41: Operational Mode Parameters

    defines the lance_mode and ipg0 parameters. TABLE B-4 Parameters Defining lance_mode and ipg0 TABLE B-4 Parameter lance_mode ipg0 1. The default value is 16 nibble-times, which is 6.4 microseconds for 10 Mbps and 0.64 microseconds for 100 Mbps. Operational Mode Parameters describes the operational mode parameters and their default values.
  • Page 42: Defining The Number Of Back-To-Back Packets To Transmit

    Parameter autoneg_cap 100fdx_cap 100hdx_cap 10fdx_cap 10hdx_cap Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997 ) defines the maximum number of back-to- TABLE B-6 Values Description 1 to 255 = Number of back-to-back packets transmitted at one time...
  • Page 43: Reporting The Link Partner Capabilities

    Reporting the Link Partner Capabilities describes the read-only link partner capabilities. TABLE B-8 Read-Only Link Partner Capabilities TABLE B-8 Parameter Values lp_autoneg_cap lp_100fdx_cap lp_100hdx_cap lp_10fdx_cap lp_10hdx_cap If the link partner is not capable of auto-negotiation (when lp_autoneg_cap is 0) the information described in TABLE B-8 If the link partner is capable of auto-negotiation (when lp_autoneg_cap is 1) then the speed and mode information is displayed when you use auto-negotiation and...
  • Page 44: Setting Qfe Driver Parameters

    Before you use the ndd utility to get or set a parameter for a qfe device, you must specify the device instance for the utility since there will be at least four SUNW,qfe devices. Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997...
  • Page 45: To Specify The Device Instance For The Ndd Utility

    "/pci@1f,2000/pci@2/SUNW,qfe@1,1" 5 "qfe" "/pci@1f,2000/pci@2/SUNW,qfe@2,1" 6 "qfe" "/pci@1f,2000/pci@2/SUNW,qfe@3,1" 7 "qfe" In the example above, the four SUNW,qfe@x,1 instances are from a Sun Quad FastEthernet PCI adapter installed in slot 2. For clarity, the instance numbers are bold. 2. Use the instance number to select the device.
  • Page 46 (Enter the parameter name or ? to view all parameters) After entering the parameter name, the ndd utility prompts you for the parameter value (see TABLE B-1 Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997 through TABLE B-8...
  • Page 47 To list all the parameters supported by the qfe driver, type ndd /dev/qfe \?. (See through TABLE B-1 TABLE B-8 # ndd /dev/qfe \? transceiver_inuse link_status link_speed link_mode ipg1 ipg2 use_int_xcvr pace_size adv_autoneg_cap adv_100fdx_cap adv_100hdx_cap adv_10fdx_cap adv_10hdx_cap autoneg_cap 100fdx_cap 100hdx_cap 10fdx_cap 10hdx_cap lp_autoneg_cap...
  • Page 48: To Select One Local Transceiver Capability And Setting Forced Mode

    2. Set the local transceiver capabilities advertised by the hardware to 1, the auto- negotiation setting: adv_autoneg_cap 1 Use the ndd utility as described in “Using the ndd Utility in Interactive Mode” on page 32. Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997 on page 27). TABLE B-5...
  • Page 49: Setting Parameters In The /Etc/System File

    Setting Parameters in the /etc/system File To configure the qfe driver parameters for all SUNW,qfe devices in the system so that the parameter variables are always effective (even after rebooting the system), enter the parameter variables in the /etc/system file. When you reboot the system, the system reads the /etc/system file and sets these parameter variables in the qfe module in the operating system kernel.
  • Page 50: Setting The Ipg1 And Ipg2 Parameters In The /Etc/System File

    24. The man pages for prtconf (1M), system (4) and driver.conf (4) include additional details. The next section shows an example of setting parameters in a qfe.conf file. Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997...
  • Page 51: Setting Ipg Driver Parameters Using A Qfe.conf File

    Setting ipg Driver Parameters Using a qfe.conf File 1. Obtain the hardware path names for the qfe devices in the device tree. Typically the path names and the associated instance numbers will be present in the /etc/path_to_inst file. # grep qfe /etc/path_to_inst "/pci@1f,2000/pci@2/SUNW,qfe@0,1"...
  • Page 52 4. Save and close all files and programs, and exit the windowing system. 5. Halt and reboot the system by typing the init 6 command at the superuser prompt. Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997...
  • Page 53: Running Diagnostics Tests

    This appendix describes how to test the Sun Quad FastEthernet PCI adapter with its FCode PROM selftest. Note – To test the Sun Quad FastEthernet PCI adapter further, refer to the SunVTS User’s Guide that shipped with your operating system.
  • Page 54: Running The Ethernet Fcode Selftest Diagnostic

    In this example, the SUNW,qfe@x,1 entries identify the device paths to the four Ethernet channels. 5. Type the following to put the OpenBoot PROM into diagnostic mode: ok setenv diag-switch? true Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997...
  • Page 55 6. Type the following to run the selftest using the test command on one of the adapters four Ethernet channels: ok test <device path> The following tests are run when the test command is executed: hme register MAC internal loopback External loopback 100 Mbps PHY loopback 10 Mbps PHY loopback...
  • Page 56 8. Set the auto-boot? configuration parameter to true. ok setenv auto-boot? true 9. Reset and reboot the system. ok reset-all Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997...
  • Page 57 Index auto-negotiation, 17, 29, 34 booting from network, 14 reconfiguration, 9 configuring qfe driver parameters, 23 declaration of conformity, v driver parameters, 24 driver_aliases file, 5 editing /etc/hosts file, 11 /etc/system file, 15, 35 driver_aliases file, 5 hostname.qfe# files, 11 qfe.conf file, 15, 36 /etc/hosts file editing, 11...
  • Page 58 26 OpenBoot PROM displaying revision level, 3 requirements, 3 selftest diagnostics, 39 Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997 operation mode full-duplex, 17 half-duplex, 17 ordering Sun documentation, xiv parameters, setting, 23 to 38...
  • Page 59 24 requirements, 3 specifications performance, 20 physical dimensions, 19 power requirements, 20 Sun Quad FastEthernet 2.0 CD-ROM, 11 SunDocs, xiv SUNW,qfe devices, 15, 23, 30 /etc/system file, setting parameters, 35 TCP/IP performance, increasing, 15 testing OpenBoot PROM, 39...
  • Page 60 Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997...
  • Page 61 Ordering Sun Documents SunDocs is a distribution program for technical documentation and is available from SunExpress. To order or for more information: Country Phone Belgium 02-72-09-09 Canada 1-800-873-7869 France 0800-90-61-57 Germany 01-30-81-61-31 Holland 06-022-34-45 Japan 0120-33-9096 World Wide Web: http://www.sun.com/sunexpress/ Sun Welcomes Your Comments We are interested in improving our documentation and welcome your comments.
  • Page 62 IBRS/CCRI No. 808 INTERNATIONAL BUSINESS REPLY MAIL/RESPONSE PAYEE PERMIT NO. 808 POSTAGE WILL BE PAID BY ADDRESSEE INFORMATION PRODUCTS M/S MPK14-108 SUN MICROSYSTEMS INC 2550 GARCIA AVE MOUNTAIN VIEW CA 94043-9551 UNITED STATES OF AMERICA MOUNTAIN VIEW CA NE PAS AFFRANCHIR...

Table of Contents