Sun Microsystems GigaSwift Ethernet Adapter Installation And User Manual

Sun Microsystems GigaSwift Ethernet Adapter Installation And User Manual

Gigaswift ethernet adapter
Table of Contents

Advertisement

Quick Links

Sun
GigaSwift Ethernet
Adapter Installation and
User's Guide
Sun Microsystems, Inc.
www.sun.com
Part No. 817-4341-10
August
2004, Revision A
Submit comments about this document at: http://www.sun.com/hwdocs/feedback

Advertisement

Table of Contents
loading

Summary of Contents for Sun Microsystems GigaSwift Ethernet Adapter

  • Page 1 GigaSwift Ethernet ™ Adapter Installation and User’s Guide Sun Microsystems, Inc. www.sun.com Part No. 817-4341-10 August 2004, Revision A Submit comments about this document at: http://www.sun.com/hwdocs/feedback...
  • Page 2 Copyright 2004 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, Californie 95054, Etats-Unis. Tous droits réservés. Sun Microsystems, Inc. a les droits de propriété intellectuels relatants à la technologie qui est décrit dans ce document. En particulier, et sans la limitation, ces droits de propriété...
  • Page 3: Table Of Contents

    Contents Preface xix Sun GigaSwift Ethernet Adapter Overview 1 Hardware Overview 1 Sun GigaSwift Ethernet MMF Adapter 1 LED Displays on the MMF Adapter 2 Sun GigaSwift Ethernet UTP Adapter 2 LED Displays on the UTP Adapter 3 Hardware and Software Requirements 4...
  • Page 4 PCI Bus Interface Parameters 44 Jumbo Frames 45 Setting ce Driver Parameters 46 Setting Parameters Using the ndd Utility 47 To Specify Device Instances for the ndd Utility 47 Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004...
  • Page 5 Setting Parameters Using the ce.conf File 50 To Set Driver Parameters Using a ce.conf File 51 Usability Enhancements to the Driver 52 GigaSwift Ethernet Driver Operating Statistics 54 Reporting the Link Partner Capabilities 55 Configuring VLANs 63 Overview of VLANs 63 Configuring VLANs 66 To Configure Static VLANs 67 Installing the Software Manually 69...
  • Page 6 To Set Autonegotiation to off for Other Noncompliant Network Equipment 100 Failure to Configure GigaSwift Ethernet Instance 100 Nonspecific Issues 101 Problem With DR Attach on Sun Enterprise Platforms 102 Index 103 Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004...
  • Page 7 Figures Sun GigaSwift Ethernet MMF Adapter 2 FIGURE 1-1 Sun GigaSwift Ethernet UTP Adapter 3 FIGURE 1-2 Ethernet Tag Header Format 66 FIGURE 5-2 Sun GigaSwift Ethernet MMF Adapter Connector 89 FIGURE C-1 Sun GigaSwift Ethernet UTP Adapter Connector 90 FIGURE C-2...
  • Page 8 Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004...
  • Page 9 Tables Front Panel Display LEDs for the MMF Adapter 2 TABLE 1-1 Front Panel Display LEDs for the UTP Adapter 3 TABLE 1-2 Device Link Parameters 33 TABLE 3-1 link-clock Capabilities for Link Up 34 TABLE 3-2 ce Driver Parameter, Status, and Descriptions 38 TABLE 4-1 Operational Mode Parameters 39 TABLE 4-2...
  • Page 10 TABLE C-2 Performance Sepcifications 91 TABLE C-3 Physical Characteristics 91 TABLE C-4 Power Requirements 91 TABLE C-5 SunVTS Documentation 94 TABLE D-1 Troubleshooting the GigaSwift Ethernet Adapter 101 TABLE D-2 Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004...
  • Page 11 Compliance Model Number: Product Family Name: 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...
  • Page 12 Manager, Compliance Engineering Sun Microsystems, Inc. 4150 Network Circle, MPK15-102 Santa Clara, CA 95054, USA Tel: 650-786-3255 Fax: 650-786-3723 Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004 1 A/m Pass Pass Pass TÜV Rheinland Certificate No. CB Scheme Certificate No.
  • Page 13: Declaration Of Conformity

    Compliance Model Number: Product Family Name: 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...
  • Page 14 Manager, Compliance Engineering Sun Microsystems, Inc. 4150 Network Circle, MPK15-102 Santa Clara, CA 95054, USA Tel: 650-786-3255 Fax: 650-786-3723 Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004 Pass Pass Pass TÜV Rheinland Certificate No. CB Scheme Certificate No.
  • Page 15: Regulatory Compliance Statements

    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.
  • Page 16 Cet appareil numérique de la classe B est conforme à la norme NMB-003 du Canada. Graphic showing the Japanese VCCI-A regulatory statement. Graphic showing the Japanese VCCI-B regulatory statement. viii Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004...
  • Page 17 BSMI Class A Notice The following statement is applicable to products shipped to Taiwan and marked as Class A on the product compliance label. Graphic showing the BSMI Class A Notice for products shipped to Taiwan. GOST-R Certification Mark Graphic showing the GOST-R Certification Mark.
  • Page 18 Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004...
  • Page 19: Preface

    Preface The Sun GigaSwift Ethernet Adapter Installation and User’s Guide provides installation instructions for both the Sun GigaSwift Ethernet UTP adapter and the Sun GigaSwift Ethernet MMF adapter. This manual also describes how to configure the driver software. These instructions are designed for enterprise system administrators with experience installing network hardware and software.
  • Page 20: Typographic Conventions

    Typeface AaBbCc123 AaBbCc123 AaBbCc123 1 The settings on your browser might differ from these settings. xx Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004 Meaning The names of commands, files, and directories; on-screen computer output What you type, when contrasted...
  • Page 21: Shell Prompts

    Shell Prompts Shell C shell C shell superuser Bourne shell and Korn shell Bourne shell and Korn shell superuser Related Documentation Application PCI Adapter Installation Storage Device Installation Dynamic Reconfiguration Installation Diagnostic Software OpenBoot™ Commands Accessing Sun Documentation You can view, print, or purchase a broad selection of Sun documentation, including localized versions, at: http://www.sun.com/documentation Prompt...
  • Page 22 You can submit your comments by going to: http://www.sun.com/hwdocs/feedback Please include the title and part number of your document with your feedback: Sun GigaSwift Ethernet Adapter Installation and User’s Guide, part number 817-4341-10 xxii Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004...
  • Page 23: Sun Gigaswift Ethernet Adapter Overview

    C H A P T E R Sun GigaSwift Ethernet Adapter Overview This chapter provides a description of the Sun GigaSwift Ethernet UTP and MMF adapter hardware and software. This chapter includes the following sections: “Hardware Overview” on page 1 “Hardware and Software Requirements”...
  • Page 24: Led Displays On The Mmf Adapter

    1000 Mbit/sec Ethernet networks. At 10 or 100 Mbit/sec the adapter can be set to either half or full-duplex. At 1000 Mbit/sec, the adapter must operate at full-duplex. Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004 Meaning if Lit Link is up.
  • Page 25: Led Displays On The Utp Adapter

    They are labeled on the front panel as shown in Front Panel Display LEDs for the UTP Adapter TABLE 1-2 Label Meaning if On/Active LINK Gigabit link is up. Link is transmitting or receiving data. TABLE 1-2 Color Green Yellow Chapter 1 Sun GigaSwift Ethernet Adapter Overview Source...
  • Page 26: Hardware And Software Requirements

    Hardware and Software Requirements Before using the Sun GigaSwift Ethernet adapter, make sure your system meets the following hardware and software requirements: Hardware and Software Hardware OpenBoot PROM** Operating System *Opteron platforms such as the Sun Fire v20Z are the only platforms that currently support the Sun GigaSwift Ethernet adapter with the Solaris 9 x86 Operating System.
  • Page 27: Product Features

    If the patch is not available on SunSolve, contact your local sales or service representative. Product Features You can install or replace the Sun GigaSwift Ethernet adapter. You can also diagnose a failure using the built-in diagnostic tools. Key Protocols and Interfaces...
  • Page 28: Diagnostic Support

    User-executable self-test using OpenBoot PROM SunVTS™ diagnostic tool Support for Solaris 9 x86 Operating System The Sun GigaSwift Ethernet MMF/UTP adapter supports the Solaris 9 x86 Operating System in the Sun Fire v20Z. Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004...
  • Page 29: Installing The Adapter

    “Verifying the Software Installation” on page 21 “Configuring the Network Host Files” on page 22 Note – If you are installing the Sun GigaSwift Ethernet adapter in a machine running the Solaris 9 x86 Operating System, the following features are not supported: diskless client, installing the Solaris Operating System over this adapter, using this adapter as the primary boot device.
  • Page 30: Installing The Adapter Without Dynamic Reconfiguration

    PCI slot. Slide the adapter face plate into the small slot at the end of the PCI opening. 8. Applying even pressure at both corners of the adapter, push the PCI adapter until it is firmly seated in the slot. Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004...
  • Page 31: To Verify The Hardware Installation

    Note – Green LEDs will not light until the correct driver is installed. To Verify the Hardware Installation After you have installed the Sun GigaSwift Ethernet adapter, but before you boot your system, perform the following tasks to verify the installation. Refer to the your Solaris documentation for the detailed instructions.
  • Page 32 You should see the full path name of the network devices, similar to the example below. In this example, the network@0 and the network@1 devices are the Sun GigaSwift Ethernet adapter, and the network@2 is the onboard Ethernet device. ok show-nets...
  • Page 33 4. View the .properties file for a list of device properties. The .properties command displays the specific information about the installed adapter. If you are using the Sun GigaSwift Ethernet MMF adapter, your output will be similar to the following. ok cd /pci@8,700000/network@2 ok .properties assigned-addresses...
  • Page 34 Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004 82001810 00000000 11200000 00000000 00200000 82001830 00000000 11100000 00000000 00100000 00 00 00 00 00 00 e8 00 eeprom 00 00 08 00...
  • Page 35: Setting The Local-Mac-Address? Variable

    NVRAM variable is set to true, the system sets the MAC address for the network interface of the Sun GigaSwift Ethernet adapter to be the address provided by the adapter. If this variable is set to false, the system sets the MAC address for the adapter’s network interface to be the same as the system MAC...
  • Page 36: Rebooting The System

    NO SELECTION Enter Selection, q to quit:q 2. Set the Sun GigaSwift Ethernet adapter device to be your default boot device. ok setenv boot-device /pci@8,600000/network@1 Note that the command shown in this example sets your boot device to be port 0 on the network portion of the card.
  • Page 37: To Install The Software Using The Installation Script

    To Install the Software Using the Installation Script 1. At the system console, become superuser (root). 2. Insert the Sun GigaSwift Ethernet Adapter CD into a CD-ROM drive that is connected to your system. If your system is running Sun Enterprise Volume Manager, it should automatically mount the CD-ROM to the /cdrom/cdrom0 directory.
  • Page 38 3 - GigaSwift Ethernet Compact PCI Adapter 4 - Quad GigaSwift Ethernet Adapter 5. Select 2, the Sun GigaSwift Ethernet adapter, and answer the questions, if required, in the installation script. Note – After the installation script runs, you see a summary of the software package or patch that was installed.
  • Page 39 3 - GigaSwift Ethernet Compact PCI Adapter 4 - Quad GigaSwift Ethernet Adapter Please select the product to install: 2 GigaSwift Ethernet Adapter Driver for x86 Installation. Copyright 2004 Sun Microsystems, Inc. Use is subject to license terms. *** Checking for correct version of GigaSwift Ethernet Driver Packages...
  • Page 40: Operating System

    - Install VLAN Ethernet Utility Patch: 114600-02. Press return to continue, or 'Q' followed by a return to quit: Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004 Script Output for x86 Systems When Requirements Are Met Script Output When Packages Require Patches...
  • Page 41 SUNWvld SUNWvldu SUNWvldx Installation completed. Summary: GigaSwift Ethernet Adapter Driver has been updated using patch 112817-16. It will be necessary to reboot the system to reload the updated driver. Optional VLAN Utility has been updated using may be necessary to reboot the system to reload the updated driver.
  • Page 42 Installation of <SUNWced> was successful. Copyright 2002 Sun Microsystems, Inc. Use is subject to license terms. Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004 Script Output When Packages Are Not Found Product Installation Please select the product to install: 2 All rights reserved.
  • Page 43: Verifying The Software Installation

    Use is subject to license terms. Installation of <SUNWceax> was successful. *** Installing Sun VLAN Utility Copyright 2001 Sun Microsystems, Inc. All rights reserved. Installation of <SUNWvld> was successful. Copyright 2001 Sun Microsystems, Inc. All rights reserved. Installation of <SUNWvldx> was successful.
  • Page 44: Configuring The Network Host Files

    You must also create both an IP address and a host name for its Ethernet interface in the /etc/hosts file. Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004 ce (CE Ethernet Driver v1.136) fssnap_if (File System Snapshot Interface)
  • Page 45 # grep ce /etc/path_to_inst "/pci@8,600000/network@1" 0 "ce" In the example above, the device instance is from a Sun GigaSwift Ethernet adapter. For clarity, the instance number is in bold italics. 2. Use the ifconfig command to set up the adapter’s ce interface.
  • Page 46 3. Create an appropriate entry in the /etc/hosts file for each active ce interface. For example: # cat /etc/hosts # Internet host table 127.0.0.1 localhost 129.144.10.57 zardoz loghost 129.144.11.83 zardoz-11 Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004...
  • Page 47: Network Configuration

    # grep ce /etc/path_to_inst "/pci@8,600000/network@1" 0 "ce" In this example, the device instance is from a Sun GigaSwift Ethernet adapter installed in slot 1. For clarity, the instance number is in bold italics. Be sure to write down your device path and instance, which in the example is “/pci@1f,0/pci@1/network@4”...
  • Page 48 The host name must be different from any other host name of any other interface, for example: /etc/hostname.ce0 and /etc/hostname.ce1 cannot share the same host name. The following example shows the /etc/hostname.cenumber file required for a system called zardoz that has a Sun GigaSwift Ethernet adapter (zardoz-11). # cat /etc/hostname.hme0 zardoz # cat /etc/hostname.ce0 zardoz-11 3.
  • Page 49: Setting Up A Gigaswift Ethernet Network On A Diskless Client System

    Setting Up a GigaSwift Ethernet Network on a Diskless Client System Before you can boot and operate a diskless client system across a gigabit Ethernet network, you must first install the GigaSwift Ethernet software packages into the root directory of the diskless client. You can find the GigaSwift Ethernet software packages on the Sun GigaSwift Ethernet Driver CD.
  • Page 50: Installing The Solaris Operating System Over A Gigaswift Ethernet Network

    GigaSwift Ethernet interface. Before you can install the Solaris Operating System on a client system with a GigaSwift Ethernet adapter, you must first add the GigaSwift Ethernet software packages to the install server. These software packages are on Sun GigaSwift Ethernet Driver CD.
  • Page 51: To Install The Solaris Operating System Over A Gigaswift Ethernet Network

    To Install the Solaris Operating System Over a GigaSwift Ethernet Network 1. Prepare the install server and client system to install the Solaris Operating System over the network. The Solaris Advanced Installation Guide describes how to create the install server and set up the client systems.
  • Page 52 In this example, the network@4 device is the Sun GigaSwift Ethernet adapter. ok show-nets a) /pci@8,600000/network@1 b) /pci@8,700000/network@5,1 q) NO SELECTION Enter Selection, q to quit: q Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004...
  • Page 53 8. At the ok prompt, boot the client system using the full device path of the Gigabit Ethernet device. The following examples show the options available: Booting in autonegotiated mode: ok boot:link-param, -v Booting in autonegotiated verbose mode at 1000 Mbps half-duplex: boot /pci@1f,4000/network@4:speed=1000,duplex=half,link-clock=auto Note –...
  • Page 54: Booting Over The Gigaswift Ethernet Network

    Note – The Solaris 9 x86 version of the operating system cannot be installed over a GigaSwift Ethernet interface. The Sun GigaSwift Ethernet adapter can be linked up either with autonegotiation enabled or disabled. When link-up is attempted with autonegotiation enabled (the...
  • Page 55: Table 3-1 Device Link Parameters

    the device and its link partner. Attempting to link-up with autonegotiation disabled requires knowledge of the current capabilities at which both the device and its link partner are configured. The structure of the boot net command line that includes device parameters is as follows: ok boot device-path:speed=s,duplex=d,link-clock=c,promiscuous, Where:...
  • Page 56: Table 3-2 Link-Clock Capabilities For Link Up

    # boot net:speed=100,duplex=full, To attempt to force link-up while advertising 1000 Mbps full-duplex link-clock master capibility to the link partner: # boot net:speed=1000,duplex=full,link-clock=master, Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004 autoneg 1000fdx 1000hdx master-cfg-enable...
  • Page 57 Note – The link partner must be configured as link-clock slave. To attempt to autonegotiate the link while advertising 1000 Mbps full- and half- duplex, and link-clock auto capability to the link partner: # boot net:speed=1000,duplex=auto,link-clock=auto, Note – Link partner must autonegotiate in order to link-up at 1000 Mbps. Chapter 3 Network Configuration...
  • Page 58 Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004...
  • Page 59: Configuring Driver Parameters

    Ethernet adapter (108e is the vendor ID and abba is the PCI device ID). You can manually configure the ce device driver parameters to customize each Sun GigaSwift Ethernet adapter device in your system. This section provides an overview of the capabilities of the GigaSwift Ethernet device used in the adapter, lists the available ce device driver parameters, and describes how to configure these parameters.
  • Page 60: Gigaswift Ethernet Driver Parameter Values And Definitions

    Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004 Status Description Read and write Device instance Read and write Operational mode parameter Read and write Operational mode parameter Read and write...
  • Page 61: Operational Mode Parameters

    ce Driver Parameter, Status, and Descriptions (Continued) TABLE 4-1 Parameter Status Read and write infinite-burst Read and write disable-64bit Read and write accept-jumbo Operational Mode Parameters The following parameters determine the transmit and receive speed and duplex. describes the operational mode parameters and their default values TABLE 4-2 Operational Mode Parameters TABLE 4-2...
  • Page 62: Flow Control Parameters

    TABLE 4-3 Read-Write Flow Control Keyword Descriptions TABLE 4-3 Keyword adv_asmpause_cap adv_pause_cap Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004 Description The adapter supports asymmetric pause, which means it can pause only in one direction. 0=Off (default) 1=On This parameter has two meanings, each depending on the value of adv_asmpause_cap.
  • Page 63: Gigabit Link Clock Mastership Controls

    Gigabit Link Clock Mastership Controls The concept of link clock mastership was introduced with gigabit twisted-pair technology. One side of the link is the master that provides the link clock and the other side is the slave that uses the link clock. Once this relationship is established, the link is up, and data can be communicated.
  • Page 64: Table 4-5 Parameters Defining Enable_Ipg0 And Ipg0

    If your network has systems that use longer IPG (the sum of ipg1 and ipg2), and if those systems seem to be slow in accessing the network, increase the values of ipg1 and ipg2 to match the longer IPGs of other machines. Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004 Values Description...
  • Page 65: Interrupt Parameters

    Interrupt Parameters describes the receive interrupt blanking values. TABLE 4-7 RX Blanking Register for Alias Read TABLE 4-7 Field Name Values 0 to 511 rx_intr_pkts 0 to 524287 rx_intr_time Random Early Drop Parameters describes the RX random early detection 8-bit vectors, which allow you to TABLE 4-8 enable random early drop (RED) thresholds.
  • Page 66: Pci Bus Interface Parameters

    PCI Bus Interface Parameters TABLE 4-9 Parameter tx_dma_weight Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004 Values Description 0 to 255 Random early detection and packet drop vectors for when FIFO threshold is greater than 6,144 bytes and fewer than 8,192 bytes.
  • Page 67: Jumbo Frames

    PCI Bus Interface Parameters TABLE 4-9 Parameter Description Determines the multiplication factor for granting credit to the RX rx_dma_weight side during a weighted round robin arbitration. Values are 0 to 3. (Default=0) Enables the infinite burst capability to be utilized. When this is in infinite_burst effect and the system supports infinite burs, the adapter does not free the bus until complete packets are transferred across the bus.
  • Page 68: Setting Ce Driver Parameters

    If you use the ndd utility, the parameters are valid only until you reboot the system. This method is good for testing parameter settings. Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004 = the IP address of the interface.
  • Page 69: Setting Parameters Using The Ndd Utility

    To set parameters so they remain in effect after you reboot the system, create a /platform/sun4u/kernel/drv/ce.conf file and add parameter values to this file when you need to set a particular parameter for a device in the system. Setting Parameters Using the ndd Utility Use the ndd utility to configure parameters that are valid until you reboot the system.
  • Page 70: To Use The Ndd Utility In Noninteractive Mode

    (Enter the parameter name or ? to view all parameters) After you enter the parameter name, the ndd utility prompts you for the parameter value (see TABLE 4-1 Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004 through TABLE 4-12...
  • Page 71: Setting The Autonegotiation Mode

    To list all the parameters supported by the ce driver, type ?. through TABLE 4-1 TABLE 4-12 # ndd /dev/ce name to get/set ? ? instance adv_autoneg_cap adv_1000fdx_cap adv_1000hdx_cap adv_100T4_cap adv_100fdx_cap adv_100hdx_cap adv_10fdx_cap adv_10hdx_cap adv_asmpause_cap adv_pause_cap master_cfg_enable master_cfg_value use_int_xcvr enable_ipg0 ipg0 ipg1 ipg2...
  • Page 72: Setting Parameters Using The Ce.conf File

    The parameters you can set are the read and write parameters listed in “GigaSwift Ethernet Driver Parameter Values and Definitions” on page 38. Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004 for the descriptions and possible values of these parameters.
  • Page 73: To Set Driver Parameters Using A Ce.conf File

    Note – Configuring the parameters by putting ndd commands in rcX.d scripts is not supported. The man pages for prtconf(1M) and driver.conf(4) include additional details. The next procedure shows an example of setting parameters in a ce.conf file. To access any man page, type the man command plus the name of the man page. For example, to access man pages for prtconf(1M), type: % man prtconf To Set Driver Parameters Using a ce.conf File...
  • Page 74: Usability Enhancements To The Driver

    In older Ethernet device drivers, determining the link status for a driver required a two-step process: First, you had to set the instance: # ndd -set /dev/ce instance 2 Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004...
  • Page 75 Then you had to get the link status: # ndd -get /dev/ce link_status Starting in the Solaris 9 Operating System, this method of determining the link status is discouraged, and in some cases, it is removed completely as a driver feature.
  • Page 76: Gigaswift Ethernet Driver Operating Statistics

    Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004 Description (Local interface Capabilities) 0 = Not capable of autonegotiation 1 = Autonegotiation capable Local interface full-duplex capability 0 = Not 1000 Mbit/sec full-duplex capable...
  • Page 77: Reporting The Link Partner Capabilities

    Read-Only ce Device Capabilities (Continued) TABLE 4-11 Parameter Description (Local interface Capabilities) Local interface half-duplex capability cap_10hdx 0 = Not 10 Mbit/sec half-duplex capable 1 = 10 Mbit/sec half-duplex capable Local interface flow control capability cap_asm_pause 0 = Not asymmetric pause capable 1 = Asymmetric pause (from the local device) capable Local interface flow control capability cap_pause...
  • Page 78: Table 4-13 Transmit And Receive Parameters

    Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004 is not relevant and the parameter TABLE 4-12 Description Number of physical layer re-initializations every time you change link parameters using NDD this increments.
  • Page 79 Transmit and Receive Parameters (Continued) TABLE 4-13 Parameter Description Number of packets that were split across two pages. rx_split_pkts Number of times the hardware cannot post completion entries for rx_no_comp_wb received data. Number of times the hardware cannot receive data because there is rx_no_buf no more receive buffer space.
  • Page 80: To Check Link Partner Settings

    If you are running the Solaris 9 Operating System, type the kstat command as superuser: CODE EXAMPLE 4-1 # kstat ce:0 module: ce name: alignment_err brdcstrcv brdcstxmt cap_1000fdx Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004 Output from the kstat Command class: instance: 0...
  • Page 81 Output from the kstat Command (Continued) CODE EXAMPLE 4-1 # kstat ce:0 cap_1000hdx cap_100T4 cap_100fdx cap_100hdx cap_10fdx cap_10hdx cap_asmpause cap_autoneg cap_pause code_violations collisions crc_err crtime excessive_collisions first_collision ierrors ifspeed ipackets ipackets64 ipackets_cpu00 ipackets_cpu01 ipackets_cpu02 ipackets_cpu03 late_collisions lb_mode length_err link_T4 link_asmpause link_duplex link_pause link_speed...
  • Page 82 Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004 Output from the kstat Command (Continued) 2352.506837979...
  • Page 83: To Discover Link Partner Capabilities

    Output from the kstat Command (Continued) CODE EXAMPLE 4-1 # kstat ce:0 tx_dma_hdr_bind_fail tx_dma_pld_bind_fail tx_dvma_pkts tx_hdr_pkts tx_inits tx_max_desc tx_max_pend tx_msgdup_fail tx_no_desc tx_nocanput tx_queue0 tx_queue1 tx_queue2 tx_queue3 tx_starts tx_uflo xcvr_addr xcvr_id xcvr_inits xcvr_inuse To Discover Link Partner Capabilities Use the kstat command to discover link partner capabilities. # kstat ce:0 | grep lp_ lp_cap_1000fdx lp_cap_1000hdx...
  • Page 84: To Discover Link Settings

    You can check the Layer 3 configuration by invoking the ifconfig command on a preconfigured interface as shown in the above examples:. ifconfig ce123000 ce123000: flags=1000843<...> mtu 9194 inet ip-address-vlan-1 ... ether 8:0:20:c4:51:df Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004 link_T4 link_asmpause link_duplex link_pause link_speed...
  • Page 85: Configuring Vlans

    C H A P T E R Configuring VLANs This chapter explains VLANs in detail and provides configuration instructions and examples. VLANs: Virtual Local Area Networks (VLANs) are commonly used to split up groups of network users into manageable broadcast domains, to create logical segmentation of workgroups, and to enforce security policies among each logical segment.
  • Page 86 PC 2 (VLAN 2) (VLAN 2) Example of Servers Supporting Multiple VLANs with Tagging Adapters FIGURE 5-1 The example network has the following features: Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004 Main Server Accounting Adapter Server GIgabit/Tagged...
  • Page 87 The Main Server is a high-use server that needs to be accessed from all VLANs and IP subnets. The server has a Sun GigaSwift Ethernet adapter installed. All three IP subnets are accessed by means of the single physical adapter interface. The server is attached to one of the SunSwitch’s Gigabit Ethernet ports, which is configured for...
  • Page 88: Configuring Vlans

    Note – If you configure a VLAN virtual device for an adapter, all traffic sent or received by that adapter must be in VLAN-tagged format. Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004 Octet 12 bytes...
  • Page 89: To Configure Static Vlans

    This format limits the maximum number of PPAs (instances) you can configure to 1000 in the /etc/path_to_inst file. For example, on a server with the Sun GigaSwift Ethernet adapter having an instance of 0, that belongs to a member of two VLANs, with VID 123 and 224, you would use ce123000 and ce224000, respectively, as the two VLAN PPAs.
  • Page 90 Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004...
  • Page 91: Installing The Software Manually

    Solaris operating system. To Install the Driver Software Manually 1. Become superuser. 2. Insert the Sun GigaSwift Ethernet Adapter CD into a CD-ROM drive that is connected to your system. If your system is running Sun Enterprise Volume Manager™, it should...
  • Page 92: Table A-1 Files And Directories On The Cd-Rom

    GigabitEthernet/Solaris_OS -VER/Packages/ For Solaris 9 SPARC architecture GigabitEthernet/Solaris_9/ sparc/Packages/ Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004 Contents U.S. copyright file French copyright file Contains the Sun GigaSwift Ethernet software packages applicable to your version (OS-VER) of the Solaris software: •...
  • Page 93 The optional VLAN packages: • SUNWvld—VLAN utility routines • SUNWvldu—VLAN utility headers Contains PDF copy of the user manual Sun GigaSwift Ethernet Adapter (32-bit Driver) Sun GigaSwift Ethernet Adapter (64-bit Driver) Sun Ethernet Vlan Utility Routines Sun Ethernet Vlan Utility Routines (64-bit)
  • Page 94 For example, if your system is running the Solaris 8 operating system, you would type the following: # /usr/sbin/pkgadd -d /cdrom/cdrom0/GigaSwiftEthernet/Solaris_8/Packages/ If your system is running Solaris 9 SPARC software type the following: # /usr/sbin/pkgadd -d /cdrom/cdrom0/GigaSwiftEthernet/Solaris_9/Sparc/Packages/ Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004...
  • Page 95 # pkgadd -d /Solaris_9/i386/Packages/ A menu similar to the following displays: The following packages are available: SUNWcea Sun GigaSwift Ethernet Adapter Driver 32 bit adb Macros (sparc) 1.0,REV=2001.05.04 SUNWceax Sun GigaSwift Ethernet Adapter Driver 64 bit adb Macros (sparc) 1.0,REV=2001.05.04 SUNWced.u...
  • Page 96: Verifying Patches

    Solaris 9 8/03 s9s_u4wos_08a SPARC Copyright 2003 Sun Microsystems, Inc. 2. Verify patch versions for the GigaSwift Etnernet driver: Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004 Description SunOS 2.7: Sun GigaSwift Ethernet 1.0 driver patch SunOS 5.8: Sun GigaSwift Ethernet 1.0 driver patch SunOS 5.8: vlan driver patch*...
  • Page 97 To verify patches for the Solaris 8 Operating System, type the following: # showrev -p | grep 111883 The patch version should be -24 or greater. To verify patches for the Solaris 9 SPARC Operating System, type the following: # showrev -p | grep 112817 The patch version should be -17 or greater.
  • Page 98: To Install A Sun Vlan Utility Patch

    If your system is running the Solaris 8 SPARC Operating System, type the following: # cd /cdrom/cdrom0 # patchadd GigaSwiftEthernet/Solaris_8/Patches/ Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004 All Rights Reserved. Use is subject to license terms. Assembled 13 June 2003...
  • Page 99 4. If your system is running the Solaris 9 SPARC Operating System, type the following: # cd /cdrom/cdrom0 # patchadd GigaSwiftEthernet/Solaris_9/Sparc/Patches/ You will see output similar to the following Solaris 9 SPARC Operating System example: Verifying sufficient filesystem capacity (dry run method)... Installing patch packages...
  • Page 100 Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004...
  • Page 101: Using The Sun Gigaswift Ethernet Driver In Solaris 9 X86 Operating Systems

    “Using the Installation Script” on page 81 “Installing the Software Manually” on page 84 “Configuring Driver Parameters” on page 87 Hardware and Software Requirements Before using the Sun GigaSwift Ethernet adapter, make sure your system meets the following hardware and software requirements: Hardware and Software Hardware...
  • Page 102: Patch Requirements

    PCI Local Bus Rev 2.2-compliant (6.6-inch x 2.5-inch short card) IPv4 and IPv6 support Load balancing for RX packets among multiple CPUs IEEE 802.1Q VLAN IEEE 802.1P/802.1D Priority Tagging/Quality Of Service RAS support Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004...
  • Page 103: Features Not Currently Supported

    When you have executed the script, select the interface card that is installed on your system. For this product, select the “Sun GigaSwift Ethernet Adapter.” The script first checks to ensure that the software driver package has already been installed.
  • Page 104 2. Insert the Sun GigaSwift Ethernet Adapter CD into a CD-ROM drive that is connected to your system. If your system is running Sun Enterprise Volume Manager, it should automatically mount the CD-ROM to the /cdrom/cdrom0 directory. If your system is not running Sun Enterprise Volume Manager, mount the CD-...
  • Page 105 Script Output for x86 Systems When Requirements Are Met CODE EXAMPLE B-1 Product Installation 1 - Dual Gigabit Ethernet Dual SCSI/P Adapter 2 - GigaSwift Ethernet Adapter (copper/fiber) 3 - GigaSwift Ethernet Compact PCI Adapter 4 - Quad GigaSwift Ethernet Adapter Please select the product to install: 2 GigaSwift Ethernet Adapter Driver Installation.
  • Page 106: Installing The Software Manually

    Installing the Software Manually To Install the Software Manually 1. Become superuser. 2. Insert the Sun GigaSwift Ethernet Adapter CD into a CD-ROM drive that is connected to your system. If your system is running Sun Enterprise Volume Manager™, it should automatically mount the CD-ROM to the /cdrom/cdrom0 directory.
  • Page 107 Files and Directories on the CD-ROM (Continued) TABLE B-1 File or Directory For Solaris 9 SPARC architecture GigabitEthernet/Solaris_9/ sparc/Packages/ For Solaris 9 x86 architecture GigaSwiftEthernet/Solaris_9 /i386/Packages/ GigaSwiftEthernet/Docs/en Note – If you intend to use VLAN, you must install VLAN packages when you install the software packages.
  • Page 108 Type the numbers of all but the optional packages if you prefer not to install them. 6. Reboot the system: ok boot -r Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004 Sun GigaSwift Ethernet Adapter Sun GigaSwift Ethernet Adapter Sun GigaSwift Ethernet Adapter Driver 32 bit adb Macros (i386) 1.0,REV=2001.05.04...
  • Page 109: Verifying The Software Installation

    Verifying the Software Installation After you have run the automated installation script, check to be sure you have the current version of the driver installed. Use the modinfo command to verify that you have the current driver (v1.137 or later) installed. Type grep CE, using uppercase letters, to get only the specific driver information: # modinfo |grep CE 84 7821c000...
  • Page 110 Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004...
  • Page 111: Connectors

    A P P E N D I X Specifications This appendix lists the specifications for the Sun GigaSwift Ethernet adapter. It contains the following sections: “Connectors” on page 89 “Performance Specifications” on page 91 “Physical Characteristics” on page 91 “Power Requirements” on page 91 Connectors shows the connector for the Sun GigaSwift Ethernet MMF adapter.
  • Page 112: Figure C-2 Sun Gigaswift Ethernet Utp Adapter Connector

    Table A-2 lists the characteristics of the Cat-5 connector used by the Sun GigaSwift Ethernet UTP adapter. Cat-5 Connector Link Characteristics TABLE C-2 Description Operating range Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004 Distance Up 100 meters...
  • Page 113: Table C-3 Performance Sepcifications

    Performance Specifications Performance Sepcifications TABLE C-3 Feature PCI clock PCI data burst transfer rate PCI data/address width PCI modes 1 GBit/s, 850 nm (MMF) 1 GBit/s, 850 nm (UTP) Physical Characteristics Physical Characteristics TABLE C-4 Dimension Measurement Length 6.600 inches (167.64 mm) Width 2.536 inches (64.41mm) Power Requirements...
  • Page 114 Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004...
  • Page 115: Sunvts Diagnostic Software

    A P P E N D I X Diagnostic Software and Troubleshooting Issues This appendix provides an overview of the SunVTS diagnostic application and instructions for testing the adapter using the onboard FCode self-test. There is also a section outlining some common troubleshooting issues. This appendix contains the following sections: “SunVTS Diagnostic Software”...
  • Page 116: Table D-1 Sunvts Documentation

    # ifconfig ceinstance unplumb Where instance Refer to SunVTS documentation for instructions on how to run netlbtest. Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004 Description Describes the SunVTS diagnostic environment Describes each SunVTS test (including the nettest)
  • Page 117: Using The Openboot Prom Fcode Self-Test

    Using the OpenBoot PROM FCode Self- Test The Sun GigaSwift Ethernet adapter’s self-test verifies the correct operation of the adapter and identifies any hardware problems with the adapter. The self-test is a suite of tests that reside in the adapter’s FCode PROM.
  • Page 118 6. Use the show-nets command to display the list of network devices on the system. Among the list of devices, you should see the two interfaces specific to the Sun GigaSwift Ethernet adapter you want to test, as shown in the following example. ok show-nets...
  • Page 119 Note – The speed, duplex, and link-clock parameters are optional tests. See for more information about these parameters. TABLE 3-1 The following default tests are run when you execute the test command: MAC internal loopback 1000 Mbps PHY loopback 100 Mbps PHY loopback 10 Mbps PHY loopback Refer to the appropriate OpenBoot Command Reference Manual for more information about the test command.
  • Page 120: Troubleshooting Issues

    Network Switches You might experience interoperability issues when using the Sun GigaSwift Ethernet adapter with the SunSwitch switch, the Alteon ACE 110 switch, or other pre- or non-IEEE 802.3z standard compliant network equipment. If you experience difficulties with noncompliant equipment, set the adapter and switch autonegotiation properties to off and try to configure the interface manually.
  • Page 121 The following procedure describes how to turn autonegotiation off for one SunSwitch port. 1. Establish a connection to the switch using either a serial connection or a Telnet connection. Refer to the SunSwitch 1.1 Installation and Configuration Guide (805-3743-10) for more information.
  • Page 122: To Set Autonegotiation To Off For Other Noncompliant Network Equipment

    To solve this problem, open the path_to_inst file for editing and remove the lines containing ce device path. Reboot the machine and try to configure it again. Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004...
  • Page 123: Table D-2 Troubleshooting The Gigaswift Ethernet Adapter

    Nonspecific Issues describes the problems you may encounter in using the GigaSwift TABLE D-2 Ethernet adapter as well as a solution for them: Troubleshooting the GigaSwift Ethernet Adapter TABLE D-2 Problem Description prtdiag does not If a PCI I/O board of an UltraSPARC III system is filled...
  • Page 124: Problem With Dr Attach On Sun Enterprise Platforms

    Solaris 2.6 Operating System. To add DR support for ce interfaces on such systems, make the following changes: 1. Add the following lines to the /etc/system file: set dr:detach_safe_list1="ce" set hswp:suspend_safe_list1="ce" 2. Reboot the system. Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004...
  • Page 125: Index

    Index SYMBOLS /etc/hostname.cenumber file, 23, 26 assigning an IP address, 23, 26 autonegotiation setting disabling, 49 ce driver parameter, status, and descriptions, 38 configuring device driver parameters, 37 configuring the driver parameters, 37 configuring the network host files, 22, 25 configuring VLANs, 66 diagnostic support, 6 diskless clients, 27...
  • Page 126 5, 80 SunVTS documentation, 94 SunVTS diagnostic application, 93 SUNW,qfe devices, 96 Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004 test diagnostic command, 95 to set, 13 verify the installation, 9 virtual device, 67...

This manual is also suitable for:

GcsGfs

Table of Contents