Hewlett-packard user guide printer printer (333 pages)
Summary of Contents for Sun Microsystems Solaris 7
Page 1
Platform Notes: The Sun™ GigabitEthernet Device Driver Solaris™ 7 Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, CA 94303-4900 U.S.A Part No.: 805-7945-10 March 1999, Revision A Send comments about this document to: docfeedback@sun.com...
Page 2
Etats-Unis et dans d’autres pays 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. Toutes les marques SPARC sont utilisées sous licence et sont des marques de fabrique ou des marques déposées de SPARC International, Inc.
Contents 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...
Page 4
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...
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.
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.
Page 7
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.
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.
Driver Parameter Values and Definitions describes the parameters and settings for the ge driver. TABLE 1 ge Driver Parameters, Status, and Descriptions TABLE 1 Parameter Status Description Read only Defines the current status link_status Read only Defines the current status link_speed Read only Defines the current status...
Defining the Current Status The read-only parameters described in explain the operational mode of the TABLE 2 interface. Based on the value of these parameters, you can determine the current status of a link. Read-Only Parameters Defining the Current Status TABLE 2 Parameter Values and Description...
Interpacket Gap Parameters The GEM ASIC supports the programmable Interpacket Gap (IPG) parameters ipg1 and ipg2. The total IPG is the sum of ipg1 and ipg2: 0.096 microseconds for the link speed of 1000 Mbps. lists the default values and allowable values for the IPG parameters, ipg1 TABLE 4 and ipg2.
Reporting Local PCS Capabilities describes the read-only PCS capabilities that GEM PCS supports. These TABLE 7 parameters define the capabilities of the hardware. Read-Only PCS Capabilities TABLE 7 Parameter Description (Local PCS Capabilities) 1000autoneg_cap 0 = Not capable of autonegotiation 1 = Autonegotiation capable Local PCS Full Duplex capability 1000fdx_cap...
To Specify the Device Instance for the ndd Utility Before you use the ndd utility to get or set a parameter for a ge device, you must specify the device instance for the utility. 1. Check the /etc/path_to_inst file to identify the instance associated with a particular device.
To Use the ndd Utility in Non-Interactive Mode This section describes how to modify and to display parameter values. 1. To modify a parameter value, use the -set option. If you invoke the ndd utility with the -set option, the utility passes value, which must be specified down to the named /dev/ge driver instance, and assigns it to the parameter: # ndd -set /dev/ge parameter value...
To list all the parameters supported by the ge driver, type ndd /dev/ge \?. (See through for parameter descriptions.) TABLE 1 TABLE 8 # 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...
2. Set adv_1000autoneg_cap to 0. Setting Parameters Using the ge.conf File You can also specify the properties described in this section on a per-device basis by creating a ge.conf file in the /kernel/drv directory. Use a ge.conf file when you need to set a particular parameter for a device in the system. The parameters you set are read and write parameters that are listed in “Driver Parameter Values and Definitions”...
Note – The “name” property in the ge.conf file should be the same value as the “compatible” property. In this case, the value is SUNW,sbus-gem. See page 7 for more information about the .properties file. For Sun GigabitEthernet/P: To identify a PCI device unambiguously in the ge.conf file, use the name, parent name, and the unit-address for the device.
To Set Parameters Using the ge.conf File on a PCI adapter 1. Set the ipg1 and ipg2 parameters for the above devices in the kernel/drv/ge.conf file. name=”pci108e,2bad” parent=”/pci@4,4000” unit-address=”4” ipg1=20 ipg2=10; name=”pci108e,2bad” parent=”/pci@6,2000” unit-address=”1” ipg1=20 ipg2=10; name=”pci108e,2bad” parent=”/pci@4,2000” unit-address=”1” ipg1=20 ipg2=10;...
Page 21
1. At the command line, use the grep command to search the /etc/path_to_inst file for ge interfaces. For Sun GigabitEthernet/P: The following example shows the device instance from an adapter installed in slot 1. # grep ge /etc/path_to_inst “/pci@1f,4000/network@1” 0 “ge” For Sun GigabitEthernet/S: The following example shows the device instance from an adapter installed in slot 0.
3. Create an appropriate entry in the /etc/hosts file for each active ge 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 4. If your system does not support Dynamic Reconfiguration (DR), reboot. To Set Up a Diskless Client on a Server You can set up a server so that you can boot and run diskless clients across a GigabitEthernet network.
To Perform a Net-Install of the Solaris Environment Over the ge Interface This procedure is applicable only if you are installing the Solaris operating environment over the network using the ge interface. Note – The Solaris CD-ROM cannot be used to perform a net-install since it is a read-only medium.
Page 24
3. At the ok prompt, type: ok show-nets The show-nets command lists the system devices. You should see the full path name of the network device, similar to the examples below. For Sun GigabitEthernet/P: 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: For Sun GigabitEthernet/S: a) /sbus@1f,0/network@1,100000...
Need help?
Do you have a question about the Solaris 7 and is the answer not in the manual?
Questions and answers