Sun Microsystems THE SUN 805-7945-10 User Manual

Sun Microsystems, Inc.
Palo Alto, CA 94303-4900
U.S.A
Platform Notes: The Sun™ GigabitEthernet Device Driver
Solaris 7
Part No.: 805-7945-10
March 1999, Revision A
Send comments about this document to:
docfeedback@sun.com
Copyright 1998 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, California 94303-4900 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 reproducedin any form by any means without prior written authorization of Sun and its licensors, if any.Third-partysoftware, including font technology, is copyrighted and licensed from Sun suppliers.
Parts of the product may be derived fromBerkeley BSD systems, licensed from the University of California. UNIX is a registered trademark in the U.S. and other countries, exclusively licensed through X/Open Company,Ltd.
Sun, Sun Microsystems, the Sun logo, GEM, and Solaris are trademarks, registeredtrademarks, or service marks of Sun Microsystems,Inc. in the U.S. and other countries. All SPARCtrademarks are used under license and are trademarks or registeredtrademarks of SPARC International, Inc. in the U.S. and other countries. Products bearing SPARCtrademarks arebased upon an architecturedeveloped by Sun Microsystems,Inc.
The OPEN LOOK and Sun™ Graphical User Interface was developed by Sun Microsystems, Inc. for its users and licensees. Sun acknowledges the pioneering efforts of Xerox in researchingand developing the concept of visual or graphical user interfaces for the computer industry.Sun holds a non-exclusive license from Xerox to the Xerox Graphical User Interface, which license also covers Sun’s licensees who implement OPEN LOOK GUIs and otherwise comply with Sun’s written license agreements.
RESTRICTED RIGHTS: Use, duplication, or disclosureby the U.S. Government is subject to restrictions of FAR52.227-14(g)(2)(6/87) and FAR
52.227-19(6/87), or DFAR252.227-7015(b)(6/95) and DFAR227.7202-3(a). DOCUMENTATIONIS PROVIDED “AS IS” AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONSAND WARRANTIES,
INCLUDING ANY IMPLIED WARRANTYOF MERCHANTABILITY,FITNESSFOR A PARTICULARPURPOSEOR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THATSUCH DISCLAIMERS ARE HELD TO BE LEGALLYINVALID.
Copyright 1998 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, Californie 94303 Etats-Unis. Tousdroitsréservés. Ce produit ou document est protégé par un copyright et distribué avec des licences qui en restreignentl’utilisation, la copie, la distribution, et la
décompilation. Aucune partie de ce produitou document ne peut être reproduitesous aucune forme, par quelque moyen que ce soit, sans l’autorisation préalable et écrite de Sun et de ses bailleurs de licence, s’il y en a. Le logiciel détenu par des tiers, et qui comprend la technologie relativeaux polices de caractères, est protégé par un copyright et licencié par des fournisseurs de Sun.
Des parties de ce produit pourront être dérivées des systèmes Berkeley BSD licenciés par l’Université de Californie. UNIX est une marque déposée aux Etats-Unis et dans d’autrespays et licenciée exclusivement par X/Open Company, Ltd.
Sun, Sun Microsystems, le logo Sun, GEM, et Solaris sont des marques de fabrique ou des marques déposées, ou marques de service, de Sun Microsystems,Inc. aux Etats-Unis et dans d’autres pays. Toutesles marques SPARCsontutilisées sous licence et sont des marques de fabrique ou des marques déposées de SPARCInternational, Inc. aux Etats-Unis et dans d’autrespays. Les produits portant les marques SPARCsont basés sur une architecture développée par Sun Microsystems, Inc.
L’interfaced’utilisationgraphique OPEN LOOK et Sun™ a été développée par Sun Microsystems, Inc. pour ses utilisateurs et licenciés. Sun reconnaîtles effortsde pionniers de Xerox pour la recherche et le développement du concept des interfaces d’utilisation visuelle ou graphique pour l’industrie de l’informatique. Sun détient une licence non exclusive de Xerox sur l’interface d’utilisation graphique Xerox, cette licence couvrant également les licenciés de Sun qui mettent en place l’interface d’utilisation graphique OPEN LOOK et qui en outre se conforment aux licences écrites de Sun.
CETTE PUBLICATIONEST FOURNIE "EN L’ETAT" ET AUCUNE GARANTIE, EXPRESSE OU IMPLICITE, N’EST ACCORDEE, Y COMPRIS DES GARANTIES CONCERNANT LA VALEURMARCHANDE,L’APTITUDEDE LA PUBLICATIONA REPONDRE A UNE UTILISATION PARTICULIERE,OU LE FAITQU’ELLE NE SOIT PASCONTREFAISANTE DE PRODUIT DE TIERS. CE DENI DE GARANTIE NE S’APPLIQUERAIT PAS,DANS LA MESURE OU IL SERAIT TENU JURIDIQUEMENT NUL ET NON AVENU.
Please
Recycle
Contents
1. Installing and Configuring the ge Device Driver 1
Installing the Driver Software 1
To Install the Driver Software 1 Set Up the Software on Solaris Systems 2
Configuring the Driver Parameters 4
GigabitEthernet MAC 4 Driver Parameter Values and Definitions 5 Defining the Current Status 6 Flow Control Parameters 6 Interpacket Gap Parameters 7 Defining an Additional Delay Before Transmitting a Packet Using
lance_mode and ipg0 7 Operational Mode Parameters 8 Reporting Local PCS Capabilities 9 Reporting the Link Partner Capabilities 9
Setting ge Driver Parameters 10
Setting Parameters Using the ndd Utility 10
To Specify the Device Instance for the ndd Utility 11
Non-Interactive and Interactive Modes 11
Contents iii
To Use the ndd Utility in Non-Interactive Mode 12 To Use the ndd Utility in Interactive Mode 12 To View the ge Driver Parameters 12
Autonegotiation Mode 13
To Set Autonegotiation to Off (Forced Mode) 13
Setting Parameters Using the ge.conf File 14
Understanding the ge.conf File 14
To Set Parameters Using the ge.conf File on an SBus adapter 15 To Set Parameters Using the ge.conf File on a PCI adapter 16
Network Configuration 16
To Configure the Host Files 16 To Set Up a Diskless Client on a Server 18 To Perform a Net-Install of the Solaris Environment Over the ge
Interface 19
iv Platform Notes: The Sun GigabitEthernet Device Driver • March 1999
Installing and Configuring the ge Device Driver
These Platform Notes include instructions for installing and configuring the software used by the Sun GigabitEthernet adapter. It also contains information for configuring the network. Unless otherwise noted, all instructions apply to both the Sun GigabitEthernet/P adapter and the Sun GigabitEthernet/S adapter.
The document is organized as follows:
Installing the Driver Software
Configuring the Driver Parameters
Setting ge Driver Parameters
Network Configuration

Installing the Driver Software

The software required to use the Sun GigabitEthernet adapters is on the Solaris CD that accompanies these Platform Notes.

To Install the Driver Software

1. Become superuser.
1
2. Use the prtconf -pv command to determine if the system already contains a GigabitEthernet (ge) device.
For Sun GigabitEthernet/S:
# prtconf -pv | grep SUNW,sbus-gem compatible: ’SUNW,sbus-gem’ model: ’SUNW,sbus-gem’
For Sun GigabitEthernet/P:
# prtconf -pv | grep SUNW,pci-gem model: ’SUNW,pci-gem’
3. Install the software.
If your system contains a ge device, install the software as described in the
Solaris 7 3/99 Sun Hardware Platform Guide.
If your system does not contain a ge device, shut down the system and install
the adapter, then install the driver software as described in the Solaris 7 3/99 Sun
Hardware Platform Guide
Note – If your system supports Dynamic Reconfiguration (DR), do not shut down
or reboot. Refer to the installation manual that shipped with your system for further installation instructions.

Set Up the Software on Solaris Systems

1. Create an entry in the /etc/hosts file for each active ge interface.
# cat /etc/hosts # # Internet host table #
127.0.0.1 localhost
129.144.10.57 zardoz loghost
129.144.11.83 zardoz-11
2 Platform Notes: The Sun GigabitEthernet Device Driver • March 1999
2. Use the grep command to search the /etc/path_to_inst file for ge instances.
For Sun GigabitEthernet/P:
# grep ge /etc/path_to_inst “/pci@1f,4000/pci@1/network@1” 1 “ge”
For Sun GigabitEthernet/S:
# grep ge /etc/path_to_inst “/sbus@1f,0/network@1,100000” 1 “ge”
In these examples, the 0 instance is for the first GigabitEthernet adapter installed in each system.
3. Set up each hostname.genum file to correspond with each ge device in the path_to_inst file.
The following example shows the /etc/hostname.genum file required for a system that has a ge interface with the host name zardoz-11.
# cat /etc/hostname.ge1 zardoz-11
4. Set up the ge adapter using the ifconfig command, where ip_address is the system IP address of the machine that will use the adapter without first rebooting.
# ifconfig ge0 plumb # ifconfig ge0 ip_address up
Note – After installing the software, refer to the Sun GigabitEthernet/S 2.0 Adapter
Installation and User ’s Guide or the Sun GigabitEthernet/P 2.0 Adapter Installation and User’s Guide for further information about how to configure the software.
Installing and Configuring the ge Device Driver 3

Configuring the Driver Parameters

This section provides an overview of the capabilities of the GigabitEthernet ASIC used in the adapters, lists the available ge driver parameters, and describes how to configure these parameters.
The ge driver controls the Sun GigabitEthernet adapter devices. The Sun GigabitEthernet device is identified as network with the model property SUNW,sbus-gem or SUNW,pci-gem node. The ge driver is attached to the device with the compatible property pci108e,2bad for the Sun GigabitEthernet/P adapter or SUNW,sbus-gem for the Sun GigabitEthernet/S adapter. You can manually configure the parameters to customize each Sun GigabitEthernet adapter in your system.

GigabitEthernet MAC

The GigabitEthernet MAC (GEM) provides 1000BASE-SX networking interfaces. The driver automatically sets the link speed to 1000 Mbps and conforms to the IEEE
802.3z Ethernet standard. The GEM PCI ASIC provide the PCI interface, Media Access Control (MAC) functions, and Physical Code Sublayer (PCS) functions. The GEM SBus ASIC provides the SBus interface, MAC functions, and PCS functions. The External SERDES, which connects the 1000BASE-SX Compliant SC connector to the ASIC, provides the physical layer functions.
The GEM MAC and PCS are capable of all the operating speeds and modes listed in “Autonegotiation Mode” on page 13. The PCS performs autonegotiation with the remote end of the link (link partner) to select a common mode of operation.
The PCS also supports a forced mode of operation. You can select the speed and mode by creating a ge.conf file.
4 Platform Notes: The Sun GigabitEthernet Device Driver • March 1999
Loading...
+ 16 hidden pages