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

Load and Run Necessary iSCSI Software Components, Installing the Binary DKMS RPM Driver Package

Page 32 highlights

Linux Driver Software: Broadcom NetXtreme II Network Adapter User Guide NOTE: The examples used in this procedure refer to the bnx2 driver, but also apply to the bnx2x driver. 1. Create a directory and extract the TAR files to the directory: tar xvzf netxtreme2-version.tar.gz 2. Build the driver bnx2.ko (or bnx2i.ko) as a loadable module for the running kernel: cd netxtreme2-version make 3. Test the driver by loading it (first unload the existing driver, if necessary): rmmod bnx2 (or bnx2x, or bnx2i) insmod bnx2/src/bnx2.ko (or bnx2x/src/bnx2x.ko, or bnx2i/src/bnx2i.ko) Verify that your network adapter supports iSCSI by checking the message log. If the message "bnx2i: dev eth0 does not support iSCSI" appears in the message log after loading the bnx2i driver, then iSCSI is not supported. This message may not appear until the interface is opened, as with: ifconfig eth0 up 4. Load the cnic driver (if applicable): insmod cnic.ko 5. Install the driver and man page: make install NOTE: See the RPM instructions above for the location of the installed driver. 6. Install the user daemon (brcm_iscsiuio). Refer to Load and Run Necessary iSCSI Software Components for instructions on loading the software components required to use the Broadcom iSCSI offload feature. To configure the network protocol and address after building the driver, refer to the manuals supplied with your operating system. Installing the Binary DKMS RPM Driver Package Dynamic Kernel Module Support (DKMS) is designed to simplify the rebuilding of modules whenever you upgrade the kernel. This is accomplished by creating a framework where a kernel-dependent module source can reside. To install the binary DKMS RPM driver package 1. Download the binary DKMS RPM (dkms-version.noarch.rpm) from http://linux.dell.com/dkms/. 2. Install the binary DKMS RPM package: rpm -ivh dkms-version.noarch.rpm 3. Install the DKMS RPM driver package: rpm -ivh netxtreme2-version dkms.noarch.rpm Verify that your network adapter supports iSCSI by checking the message log. If the message "bnx2i: dev eth0 does not support iSCSI" appears in the message log after loading the bnx2i driver, then iSCSI is not supported. This message may not appear until the interface is opened, as with: ifconfig eth0 up 4. To use Broadcom iSCSI, refer to Load and Run Necessary iSCSI Software Components to load the necessary software components. For more information, go to http://linux.dell.com. Load and Run Necessary iSCSI Software Components The Broadcom iSCSI Offload software suite consists of three kernel modules and a user daemon. Required software components can be loaded either manually or through system services. 1. Unload the existing driver, if necessary: Manual: rmmod bnx2i 2. Load the iSCSI driver: 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]
NOTE: The examples used in this procedure refer to the bnx2 driver, but also apply to the bnx2x driver.
1. Create a directory and extract the TAR files to the directory:
tar xvzf netxtreme2-
version
.tar.gz
2. Build the driver bnx2.ko (or bnx2i.ko) as a loadable module for the running kernel:
cd netxtreme2-
version
make
3. Test the driver by loading it (first unload the existing driver, if necessary):
rmmod bnx2 (or bnx2x, or bnx2i)
insmod bnx2/src/bnx2.ko (or bnx2x/src/bnx2x.ko, or bnx2i/src/bnx2i.ko)
Verify that your network adapter supports iSCSI by checking the message log. If the message "bnx2i: dev eth0
does not support iSCSI" appears in the message log after loading the bnx2i driver, then iSCSI is not supported. This
message may not appear until the interface is opened, as with:
ifconfig eth0 up
4. Load the cnic driver (if applicable):
insmod cnic.ko
5. Install the driver and man page:
make install
NOTE: See the RPM instructions above for the location of the installed driver.
6. Install the user daemon (brcm_iscsiuio).
Refer to
Load and Run Necessary iSCSI Software Components
for instructions on loading the software components required to
use the Broadcom iSCSI offload feature.
To configure the network protocol and address after building the driver, refer to the manuals supplied with your operating
system.
Installing the Binary DKMS RPM Driver Package
Dynamic Kernel Module Support (DKMS) is designed to simplify the rebuilding of modules whenever you upgrade the kernel.
This is accomplished by creating a framework where a kernel-dependent module source can reside.
To install the binary DKMS RPM driver package
1. Download the binary DKMS RPM (dkms-
version
.noarch.rpm) from
.
2. Install the binary DKMS RPM package:
rpm -ivh dkms-
version
.noarch.rpm
3. Install the DKMS RPM driver package:
rpm -ivh netxtreme2-version dkms.noarch.rpm
Verify that your network adapter supports iSCSI by checking the message log. If the message "bnx2i: dev eth0
does not support iSCSI" appears in the message log after loading the bnx2i driver, then iSCSI is not supported. This
message may not appear until the interface is opened, as with:
ifconfig eth0 up
4. To use Broadcom iSCSI, refer to
Load and Run Necessary iSCSI Software Components
to load the necessary software
components.
For more information, go to
.
Load and Run Necessary iSCSI Software Components
The Broadcom iSCSI Offload software suite consists of three kernel modules and a user daemon. Required software
components can be loaded either manually or through system services.
1. Unload the existing driver, if necessary:
Manual:
rmmod bnx2i
2. Load the iSCSI driver: