background image

Send comments about this document to:

[email protected]

Platform Notes: The Sun™
GigabitEthernet Device Driver

Solaris 7

Part No.: 805-7945-10

March 1999, Revision A

Sun Microsystems, Inc.

901 San Antonio Road

Palo Alto, CA 94303-4900

U.S.A

Summary of Contents for Solaris 7

Page 1: ...out this document to docfeedback sun com Platform Notes The Sun GigabitEthernet Device Driver Solaris 7 Part No 805 7945 10 March 1999 Revision A Sun Microsystems Inc 901 San Antonio Road Palo Alto CA 94303 4900 U S A ...

Page 2: ... 1998 Sun Microsystems Inc 901 San Antonio Road Palo Alto Californie 94303 Etats Unis Tous droits réservés Ce produit ou document est protégé par un copyright et distribué avec des licences qui en restreignent l utilisation la copie la distribution et la décompilation Aucune partie de ce produit ou document ne peut être reproduite sous aucune forme par quelque moyen que ce soit sans l autorisation...

Page 3: ...nd 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 Instanc...

Page 4: ... 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 ...

Page 5: ...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 Platfor...

Page 6: ...stall 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 inte...

Page 7: ...m that has a ge interface with the host name 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 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 ...

Page 8: ...ach 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...

Page 9: ... before transmitting a packet adv_1000autoneg_cap Read and write Operational mode parameter adv_1000fdx_cap Read and write Operational mode parameter adv_1000hdx_cap Read and write Operational mode parameter adv_pauseTX Read and write Operational mode parameter adv_pauseRX Read and write Operational mode parameter 1000autoneg_cap Read only PCS autonegotiation capability 1000fdx_cap Read only PCS f...

Page 10: ...uring autonegotiation For normal operations GEM doesn t need to source flow control frames However if GEM is operating on a slow bus for instance a 33 MHz PCI bus slot and there is a lot of frame reception activity there could be a performance degradation due to Receive FIFO overflow If the link partner is capable of terminating PAUSE flow control frames the performance of GEM could be improved by...

Page 11: ... Using lance_mode and ipg0 The GEM ASIC supports a programmable mode called lance_mode The ipg0 parameter is associated with lance_mode If lance_mode is enabled the default an additional delay is added by setting the ipg0 parameter before transmitting the packet This delay is in addition to the delay set by the ipg1 and ipg2 parameters The additional delay set by ipg0 helps to reduce collisions Sy...

Page 12: ... Parameters Parameter Values and Description adv_1000autoneg_cap Local PCS capability advertised by the hardware 0 Forced mode 1 Autonegotiation default adv_1000fdx_cap Local PCS capability advertised by the hardware 0 Not 1000 Mbits sec full duplex capable 1 1000 Mbits sec full duplex capable default adv_1000hdx_cap Local PCS capability advertised by the hardware 0 Not 1000 Mbits sec half duplex ...

Page 13: ..._cap Local PCS Full Duplex capability 0 Not 1000 Mbits sec full duplex capable 1 1000 Mbits sec full duplex capable 1000hdx_cap Local PCS Half Duplex capability 0 Not 1000 Mbits sec half duplex capable 1 1000 Mbits sec half duplex capable asm_dir_cap Local PCS Flow Control capability 0 Not Asymmetric Pause capable 1 Asymmetric Pause from Local Device capable pause_cap Local PCS Flow Control capabi...

Page 14: ...ters so they remain in effect after you reboot the system Create a kernel drv ge 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 The ndd utility supports any networking driver that implements the Data ...

Page 15: ...s from an adapter installed in a perspective SBus slot 2 Use the instance number to select the device The device remains selected until you change the selection Non Interactive and Interactive Modes You can use the ndd utility in two modes Non interactive Interactive In non interactive mode you invoke the utility to execute a specific command Once the command is executed you exit the utility In in...

Page 16: ...me and omit the value When you omit the set option a query operation is assumed and the utility queries the named driver instance retrieves the value associated with the specified parameter and prints it To Use the ndd Utility in Interactive Mode To modify a parameter value in interactive mode specify ndd dev ge as shown below The ndd utility then prompts you for the name of the parameter To View ...

Page 17: ...ng parameters adv_1000fdx_cap adv_1000hdx_cap adv_pauseTX and adv_pauseRX and set those values according to the user s manual that shipped with your link partner device for example switch See TABLE 6 for parameter values ndd dev ge read only link_status read only link_speed read only link_mode read only ipg1 read and write ipg2 read and write instance read and write lance_mode read and write ipg0 ...

Page 18: ...hardware path names for the ge devices in the device tree Typically the path names and the associated instance numbers will be present in the etc path_to_inst file where sbus b 0 network 2 100000 specifies the hardware node name in the device tree 0 is the instance number ge is the driver name In the device path name the last component after the last character and before the character network is t...

Page 19: ...ne of the previous example Name pci108e 2bad Parent pci 4 4000 Unit address 4 In the second line in the previous example Name pci108e 2bad Parent pci 6 2000 Unit address 1 In the third line in the previous example Name pci108e 2bad Parent pci 4 2000 Unit address 1 To Set Parameters Using the ge conf File on an SBus adapter 1 Set the ipg1 and ipg2 parameters for the above devices in the kernel drv ...

Page 20: ... prompt Network Configuration This section describes how to configure the driver after it has been installed on your system To Configure the Host Files After installing the Sun GigabitEthernet adapter driver software you must create a file for the adapter s Ethernet interface You must also create both an IP address and a host name for the Ethernet interface in the etc hosts file name pci108e 2bad ...

Page 21: ...interface If the instance number were 1 the file name would be etc hostname ge1 Do not create an etc hostname genum file for a Sun GigabitEthernet adapter interface you plan to leave unused The etc hostname genum file must contain the host name for the appropriate ge interface The host name should have an IP address and should be entered in the etc hosts file The host name should be different from...

Page 22: ...want to install the ge driver For the following example the root directory is 2 Use pkgadd to install the ge driver in the root partition of the diskless client on the server where x is 5 1 for Solaris 2 5 1 6 for Solaris 2 6 or 7 for Solaris 7 3 Set up the export root client_name hostname genum file See Network Configuration on page 16 4 Set up the export root client_name hosts file See Network C...

Page 23: ...being net installed is already configured then find the root directory with the etc bootparams file If the system being net installed is not already configured refer to the Solaris documentation that shipped with your system for configuration instructions 2 Install the appropriate OS driver support in the client s root directory For example if you are adding the ge driver to the Solaris 2 5 1 net ...

Page 24: ... ok prompt type boot full path name of the network device For Sun GigabitEthernet P For Sun GigabitEthernet S 5 Proceed with the OS installation according to the instructions provided with your Solaris CD ok show nets a pci 1f 0 pci 1 network 3 b pci 1f 0 pci 1 1 network 1 1 q NO SELECTION Enter Selection q to quit a sbus 1f 0 network 1 100000 b sbus 1f 0 SUNW hme e 8c00000 q NO SELECTION Enter Se...

Reviews: