Dell Broadcom NetXtreme Family of Adapters Broadcom NetXtreme 57XX User Guide - Page 30

Network Installations

Page 30 highlights

rpm -ivh tg3-version dkms.noarch.rpm For more information, go to http://linux.dell.com/projects.shtml. Installing the Source RPM Package 1. Install the source RPM package. rpm -ivh tg3-version.src.rpm 2. Change the directory to the RPM path and build the binary driver for your kernel (the RPM path is different for different Linux distributions). cd /usr/src/redhat,OpenLinux,turbo,packages,rpm ... rpm -bb SPECS/tg3.spec or rpmbuild -bb SPECS/tg3.spec rpmbuild -bb SPECS/tg3.spec (for RPM version 4.x.x) NOTE: During your attempt to install a source RPM package, the following message may be displayed: error: cannot create %sourcedir /usr/src/redhat/SOURCE The most likely cause of the error is that the rpm-build package has not been installed. Locate the rpm-build package on the Linux installation media and install it using the following command: rpm -ivh rpm-build-version.i386.rpm Complete the installation of the source RPM. 3. Install the newly-built package (driver and man page). rpm -ivh RPMS/i386/tg3-version.i386.rpm Depending on the kernel, the driver is installed to the following path: 2.6.x kernels: /lib/modules/ kernel_version/kernel/drivers/net/tg3.ko 4. Load the driver. modprobe tg3 To configure the network protocol and address, refer to the Linux version-specific documentation. Building the Driver from the Source TAR File 1. Create a directory (tg3-version) and extract the TAR files to the directory. tar xvzf tg3-version.tgz 2. Build the driver tg3.o as a loadable module for the running kernel. CD tg3-version make clean make; make install 3. Test the driver by loading it. rmmod tg3 modprobe tg3 No message should be returned if this command runs properly. NOTE: See the RPM instructions above for the location of the installed driver. 4. To configure network protocol and address, refer to the manuals supplied with your operating system. Network Installations For network installations through NFS, FTP, or HTTP (using a network boot disk or PXE), a driver disk that contains the tg3 driver may be needed. The driver disk images for the most recent Red Hat versions are included. Boot drivers for other Linux versions can be compiled by modifying the Makefile and the make environment. Further information is available from the Red Hat website, http://www.redhat.com. To create the driver disk, select the appropriate image file (located in tg3_sup-version.tar.gz) and type the following: dd if=.dd.img of=/dev/fd0

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178

rpm -ivh tg3-version dkms.noarch.rpm
For more information, go to
.
Installing the Source RPM Package
1. Install the source RPM package.
rpm -ivh tg3-
version
.src.rpm
2. Change the directory to the RPM path and build the binary driver for your kernel (the RPM path is different for different
Linux distributions).
cd /usr/src/redhat,OpenLinux,turbo,packages,rpm ...
rpm -bb SPECS/tg3.spec or rpmbuild -bb SPECS/tg3.spec
rpmbuild -bb SPECS/tg3.spec (for RPM version 4.x.x)
NOTE: During your attempt to install a source RPM package, the following message may be displayed:
error: cannot create %sourcedir /usr/src/redhat/SOURCE
The most likely cause of the error is that the rpm-build package has not been installed. Locate the rpm-build
package on the Linux installation media and install it using the following command:
rpm -ivh rpm-build-version.i386.rpm
Complete the installation of the source RPM.
3. Install the newly-built package (driver and man page).
rpm -ivh RPMS/i386/tg3-
version
.i386.rpm
Depending on the kernel, the driver is installed to the following path:
2.6.x kernels
:
/lib/modules/
kernel_version
/kernel/drivers/net/tg3.ko
4. Load the driver.
modprobe tg3
To configure the network protocol and address, refer to the Linux version-specific documentation.
Building the Driver from the Source TAR File
1. Create a directory (tg3-
version
) and extract the TAR files to the directory.
tar xvzf tg3-
version
.tgz
2. Build the driver tg3.o as a loadable module for the running kernel.
CD tg3-
version
make clean
make; make install
3. Test the driver by loading it.
rmmod tg3
modprobe tg3
No message should be returned if this command runs properly.
NOTE: See the RPM instructions above for the location of the installed driver.
4. To configure network protocol and address, refer to the manuals supplied with your operating system.
Network Installations
For network installations through NFS, FTP, or HTTP (using a network boot disk or PXE), a driver disk that contains the tg3
driver may be needed. The driver disk images for the most recent Red Hat versions are included. Boot drivers for other Linux
versions can be compiled by modifying the Makefile and the make environment. Further information is available from the Red
Hat website,
.
To create the driver disk, select the appropriate image file (located in tg3_sup-
version
.tar.gz) and type the following:
dd if=<version>.dd.img of=/dev/fd0