C H A P T E R  2

Installing and Setting Up the Device Driver Software

The e1000g device driver software comes bundled with the Solaris 10 11/06 Operating System and later compatible versions. This chapter explains how to verify the e1000g device driver software on Solaris x86 systems and how to install the e1000 driver on Linux and Microsoft Windows systems. This chapter contains the following sections:


Verifying the e1000g Driver on a Solaris x86 Platform

If your system uses the Solaris x86 operating system you might want to check the version of the driver and ensure the Sun x4 PCI-Express Quad Gigabit Ethernet UTP Low Profile adapter is properly loaded and is recognized by the Solaris x86 Operating System.


procedure icon  To Check the Driver Version on a Solaris x86 Platform

single-step bullet  Check that the version of the e1000g driver is 5.0.14 or later:


modinfo | grep e1000g 
127 ffffffffefc42000  189f0   8   1  e1000g (Intel PRO/1000 Ethernet 5.0.14)
 



Note - If the version number is 5.0.11, you must install the latest driver patch. See Patch Requirements.



Downloading and Installing the Driver on a Linux Platform

If your system uses the RedHat or SuSe Linux operating system you must download the e1000 device driver to install it.


procedure icon  To Download and Install the Driver on a Linux Platform

1. Login to your system.

2. Download the driver RPM for your operating system:

http://www.sun.com/download/


sun-pci-e-gigabit-kernel-7.4.27-1.src.rpm

3. Use the rpm tool to install the driver on SuSe and RedHat Linux.


# rpm -ivh /tmp/RHEL4U4-large/RPMS/x86_64/e1000-1.0-1.x86_64.rpm
Preparing...             ###########################################
1:e1000                   ###########################################

4. Use the ethtool command to check the version of the e1000 driver, for example:


# ethtool -i eth4
driver: e1000
version: 7.4.27-NAPI
firmware-version: 4.3-2
bus-info: 0000:83:00.0


Setting Up the Driver on a Linux Platform

If your system uses the Linux operating system you will need to perform the following procedure to be sure the e1000 device driver is properly installed and loaded.


procedure icon  To Set Up the Driver on a Linux Platform

1. Build the e1000 device driver:


# rpmbuild --rebuild sun-pci-e-gigabit-kernel-7.4.27-1.src.rpm

After the rpmbuild, two files should exist:


# ls -al
 
sun-pci-e-dual-gigabit-kernel-7.4.27-1.i386.rpm
sun-pci-e-dual-gigabit-kernel-ls

2. Use the u-name -p command to discover your architecture.

For example:


# cd  /usr/src/packages/RPMS/(’uname -p’)
 
x86_64

In this example, the architecture is x86. Your architecture might be i386, i586, or x86_64.



Note - Output shown is this procedure are examples only. Your output may be different, but is will be similar to the examples.


3. Change to the rpm directory:

4. Install the e1000 driver rpms.

Reboot the system after running rpm -ivh * command to ensure that the e1000-7.4.27 driver is successfully installed and loaded to the system after the driver installation.

5. Verify the version of the e1000 driver:


modinfo e1000 | grep ver
 
filename:       /lib/modules/2.6.16.21-0.8-smp/kernel/drivers/net/e1000/e1000.ko
description:    Intel(R) PRO/1000 Network Driver
version:        7.4.27-NAPI
vermagic:       2.6.16.21-0.8-smp SMP 586 REGPARM gcc-4.1
srcversion:     1AF927CC4BA42E4CF1D1CEE
parm:           AutoNeg:Advertised auto-negotiation setting (array of int)

6. Use the depmod command to register the Sun x4 PCI-Express Quad Gigabit Ethernet UTP Low Profile adapter :


# depmod

7. Load e1000 driver for all instances:


# modprobe e1000

8. Verify that the driver is loaded.

In the following example, the e1000 driver is shown in bold italic. On your system the driver will be indistinguishable from the other modules.


# lsmod
 
Module                  Size  Used by
nfs                   261833  0 
lockd                  81905  1 nfs
parport_pc             29569  0 
lp                     15281  0 
parport                47437  2 parport_pc,lp
autofs4                29129  2 
i2c_dev                14145  0 
i2c_core               27841  1 i2c_dev
sunrpc                199993  3 nfs,lockd
ds                     20681  0 
yenta_socket           22209  0 
pcmcia_core            69585  2 ds,yenta_socket
button                  8161  0 
battery                10313  0 
ac                      5833  0 
md5                     4801  1 
ipv6                  289313  8 
joydev                 11073  0 
ohci_hcd               26193  0 
ehci_hcd               36805  0 
e1000                 122220  0 
forcedeth              23105  0 
tg3                   100165  0 
dm_snapshot            17705  0 
dm_zero                 2753  0 
dm_mirror              25977  0 
ext3                  139473  2 
jbd                    86897  1 ext3
dm_mod                 67369  6 dm_snapshot,dm_zero,dm_mirror
sata_nv                10949  2 
libata                 53769  1 sata_nv
sd_mod                 19265  3 
scsi_mod              150577  2 libata,sd_mod

9. Run the dmesg command to see which devices the e1000 driver was mapped to:


# dmesg
divert: allocating divert_blk for eth6
e1000: eth3: e1000_probe: Intel(R) PRO/1000 Network Connection
e1000: eth2: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex
e1000: eth3: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex

10. Use the ethtool command to check the parameter configuration for a specific port.

For example:


#  ethtool eth6
Settings for eth6:
         Supported ports: [ TP ]
         Supported link modes:   10baseT/Half 10baseT/Full
                                 100baseT/Half 100baseT/Full
                                 1000baseT/Full
         Supports auto-negotiation: Yes
         Advertised link modes:  10baseT/Half 10baseT/Full
                                 100baseT/Half 100baseT/Full
                                 1000baseT/Full
         Advertised auto-negotiation: Yes
         Speed: 1000Mb/s
         Duplex: Full
         Port: Twisted Pair
         PHYAD: 1
         Transceiver: internal
         Auto-negotiation: on
         Supports Wake-on: umbg
         Wake-on: d
         Current message level: 0x00000007 (7)
         Link detected: yes


procedure icon  To Remove the Driver From a Linux Platform

single-step bullet  To remove the driver packages from a Linux Platform use the rpm -e command:


# rpm -e sun-pci-e-gigabit-kernel-7.4.27-1


Downloading and Installing the Driver on a Microsoft Windows Platform

If your system uses the Microsoft Windows Server 2003 you must download and install the e1000 device driver to install it.


procedure icon  To Download and Install the Driver on a Windows Platform

1. Login to your system.

2. Download the driver from one of the following web site:

http://downloadcenter.intel.com/Product_Filter.aspx?ProductID=2255&lang=eng

3. Click on the following exe files to install the driver:

4. Follow the instructions in the install wizard.

5. If the Found New Hardware Wizard screen is displayed, click Cancel.

The autorun automatically runs after you have extracted the files.


procedure icon  To Remove the Driver From a Microsoft Windows Platform

1. From the Control Panel, double-click Add/Remove Programs.

2. Select Intel® PRO Network Connections Drivers.

3. Click Add/Remove.

4. When the confirmation dialog displays, click OK