Dell Broadcom NetXtreme Family of Adapters Broadcom NetXtreme II Network Adapt - Page 30

Packaging, Installing Linux Driver Software, bnx2x Driver, Installing the Source RPM Package

Page 30 highlights

Linux Driver Software: Broadcom NetXtreme II Network Adapter User Guide bnx2 driver reports support for Magic Packet WOL via ethtool. Enabling support via ethtool is mandatory to successfully wake the system. To determine the silicon revision of your Broadcom NetXtreme II device, use the lspci command, where "10" = revision B0, "11" = revision B1, and "12" = revision B2. bnx2x Driver The current version of the driver has been tested on 2.6.x kernels starting from 2.6.9. The driver may not compile on kernels older than 2.6.9. Testing is concentrated on i386 and x86_64 architectures. Only limited testing has been done on some other architectures. Minor changes to some source files and Makefile may be needed on some kernels. bnx2i Driver The current version of the driver has been tested on 2.6.x kernels, starting from 2.6.18 kernel. The driver may not compile on older kernels. Testing is concentrated on i386 and x86_64 architectures, Red Hat EL5, and SUSE 11 SP1 distributions. Packaging The Linux driver is released in the packaging formats shown in Table 2. The netxtreme2 package contains the bnx2 (1 Gb network adapter) driver, the bnx2x (10 Gb network adapter) driver, and the bnx2i (iSCSI) driver for source RPM and compressed tar. Table 2: Linux Driver Packaging Format Drivers Source RPM netxtreme2 - version.src.rpm Compressed tar netxtreme2-version.tar.gz Source DKMS RPM netxtreme2-version.dkms.src.rpm Binary DKMS RPM netxtreme2-version.dkms.noarch.rpm Supplemental tar netxtreme2_sup-version.tar.gz Source KMP RPM broadcom-netxtreme2-version.src.rpm KMP RPM broadcom- netxtreme2 - kmp - default- version.x86_64.rpm KMP trace RPM broadcom-netxtreme2-kmp-trace-version.x86_64.rpm KMP Xen RPM broadcom- netxtreme2 - kmp - xen- version.x86_64.rpm Identical source files to build the driver are included in both RPM and TAR source packages. The supplemental tar file contains additional utilities such as patches and driver diskette images for network installation. Updated open-iSCSI components are released in source RPM format. netxtreme2-version.src.rpm: NetXtreme II L2/cnic/bnx2i driver source RPM. netxtreme2-version.tar.gz: tar zipped NetXtreme II L2/cnic/bnx2i driver Installing Linux Driver Software Installing the Source RPM Package Building the Driver from the Source TAR File Installing the Binary DKMS RPM Driver Package NOTE: If a bnx2/bnx2x/bnx2i driver is loaded and the Linux kernel is updated, the driver module must be recompiled if the driver module was installed using the source RPM or the TAR package. This does not apply to the source DKMS RPM. Installing the Source RPM Package NOTE: The examples in this procedure refer to the bnx2 driver, but also apply to the bnx2x and bnx2i drivers. 1. Install the source RPM package: rpm -ivh netxtreme2-version.src.rpm file:///T|/htdocs/NETWORK/BroadCom/71921/NetXtremeII/en/linux.htm[9/26/2012 3:28:46 PM]

  • 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
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224

Linux Driver Software: Broadcom NetXtreme II Network Adapter User Guide
file:///T|/htdocs/NETWORK/BroadCom/71921/NetXtremeII/en/linux.htm[9/26/2012 3:28:46 PM]
bnx2 driver reports support for Magic Packet WOL via ethtool. Enabling support via ethtool is mandatory to successfully wake
the system. To determine the silicon revision of your Broadcom NetXtreme II device, use the
lspci
command, where "10" =
revision B0, "11" = revision B1, and "12" = revision B2.
bnx2x Driver
The current version of the driver has been tested on 2.6.x kernels starting from 2.6.9. The driver may not compile on kernels
older than 2.6.9. Testing is concentrated on i386 and x86_64 architectures. Only limited testing has been done on some other
architectures. Minor changes to some source files and Makefile may be needed on some kernels.
bnx2i Driver
The current version of the driver has been tested on 2.6.x kernels, starting from 2.6.18 kernel. The driver may not compile
on older kernels. Testing is concentrated on i386 and x86_64 architectures, Red Hat EL5, and SUSE 11 SP1 distributions.
Packaging
The Linux driver is released in the packaging formats shown in
Table 2
. The netxtreme2 package contains the bnx2 (1 Gb
network adapter) driver, the bnx2x (10 Gb network adapter) driver, and the bnx2i (iSCSI) driver for source RPM and
compressed tar.
Table 2: Linux Driver Packaging
Format
Drivers
Source RPM
netxtreme2-
version
.src.rpm
Compressed tar
netxtreme2-
version
.tar.gz
Source DKMS RPM
netxtreme2-
version
.dkms.src.rpm
Binary DKMS RPM
netxtreme2-
version
.dkms.noarch.rpm
Supplemental tar
netxtreme2_sup-
version
.tar.gz
Source KMP RPM
broadcom-netxtreme2-
version
.src.rpm
KMP RPM
broadcom-netxtreme2-kmp-default-
version
.x86_64.rpm
KMP trace RPM
broadcom-netxtreme2-kmp-trace-
version
.x86_64.rpm
KMP Xen RPM
broadcom-netxtreme2-kmp-xen-
version
.x86_64.rpm
Identical source files to build the driver are included in both RPM and TAR source packages. The supplemental tar file contains
additional utilities such as patches and driver diskette images for network installation.
Updated open-iSCSI components are released in source RPM format.
netxtreme2-
version
.src.rpm: NetXtreme II L2/cnic/bnx2i driver source RPM.
netxtreme2-
version
.tar.gz: tar zipped NetXtreme II L2/cnic/bnx2i driver
Installing Linux Driver Software
Installing the Source RPM Package
Building the Driver from the Source TAR File
Installing the Binary DKMS RPM Driver Package
NOTE: If a bnx2/bnx2x/bnx2i driver is loaded and the Linux kernel is updated, the driver module must be recompiled if
the driver module was installed using the source RPM or the TAR package. This does not apply to the source DKMS RPM.
Installing the Source RPM Package
NOTE: The examples in this procedure refer to the bnx2 driver, but also apply to the bnx2x and bnx2i drivers.
1. Install the source RPM package:
rpm -ivh netxtreme2-
version
.src.rpm