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

Patching PCI Files Optional, Unloading/Removing the TG3 Driver, Driver Messages

Page 31 highlights

Patching PCI Files (Optional) For hardware detection utilities such as Red Hat kudzu to properly identify tg3 supported devices, a number of files containing PCI vendor and device information may need to be updated. Apply the updates by running the scripts provided in the Supplemental tar file. For example, on Red Hat Enterprise Linux, apply the updates by doing the following: ./patch_pcitbl.sh /usr/share/hwdata/pcitable pci.updates /usr/share/hwdata/pcitable.new ./patch_pciids.sh /usr/share/hwdata/pci.ids pci.updates /usr/share/hwdata/pci.ids.new Next, the old files can be backed up and the new files can be renamed for use. cp /usr/share/hwdata/pci.ids /usr/share/hwdata/old.pci.ids cp /usr/share/hwdata/pci.ids.new /usr/share/hwdata/pci.ids cp /usr/share/hwdata/pcitable /usr/share/hwdata/old.pcitable cp /usr/share/hwdata/pcitable.new /usr/share/hwdata/pcitable NOTE: The paths above are for Red Hat distributions. These paths may be different on other distributions. Unloading/Removing the TG3 Driver Unloading/Removing the Driver from an RPM Installation Removing the Driver from a TAR Installation Unloading/Removing the Driver from an RPM Installation To unload the driver, use ifconfig to bring down all ethX interfaces opened by the driver, and then type the following: rmmod tg3 If the driver was installed using rpm, do the following to remove it: rpm -e tg3- Removing the Driver from a TAR Installation If the driver was installed using make install from the tar file, the tg3.o driver file has to be manually deleted from the operating system. See Installing the Source RPM Package for the location of the installed driver. If there is an interface configuration that is related to the tg3 driver, then bring the interface down first by using ifconfig ethx down and then rmod tg3. Driver Messages The following are the most common sample messages that may be logged in the /var/log/messages file. Use dmesg -nlevel to control the level at which messages appear on the console. Most systems are set to level 6 by default. Driver Sign on tg3.c:version (date) NIC Detected eth#: Tigon3 [partno (BCM95xxx) rev 4202 PHY (57xx) (PCI Express) 10/100/1000BaseT Ethernet :00:xx:xx:xx:xx:xx eth#: RXcsums [1] LinkChg REG [0] MIirq [0] ASF [0] Split [0] Wirespeed [1]TSOcap [1] eth#: dma_rwctrl [76180000] ACPI : PCI interrupt 0000:02:02.0 [A] -> GSI 26 (level,low) -> IRQ 233 Flow Control tg3: eth#: Flow control is configured for TX and for RX. Link Up and Speed Indication tg3: eth#: Link is up at 1000 Mbps, full duplex. Link Down Indication

  • 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

Patching PCI Files (Optional)
For hardware detection utilities such as Red Hat kudzu to properly identify tg3 supported devices, a number of files containing
PCI vendor and device information may need to be updated.
Apply the updates by running the scripts provided in the Supplemental tar file. For example, on Red Hat Enterprise Linux,
apply the updates by doing the following:
./patch_pcitbl.sh
/usr/share/hwdata/pcitable pci.updates /usr/share/hwdata/pcitable.new
./patch_pciids.sh /usr/share/hwdata/pci.ids pci.updates /usr/share/hwdata/pci.ids.new
Next, the old files can be backed up and the new files can be renamed for use.
cp /usr/share/hwdata/pci.ids /usr/share/hwdata/old.pci.ids
cp /usr/share/hwdata/pci.ids.new /usr/share/hwdata/pci.ids
cp /usr/share/hwdata/pcitable /usr/share/hwdata/old.pcitable
cp /usr/share/hwdata/pcitable.new /usr/share/hwdata/pcitable
NOTE: The paths above are for Red Hat distributions. These paths may be different on other distributions.
Unloading/Removing the TG3 Driver
Unloading/Removing the Driver from an RPM Installation
Removing the Driver from a TAR Installation
Unloading/Removing the Driver from an RPM Installation
To unload the driver, use
ifconfig
to bring down all
ethX
interfaces opened by the driver, and then type the following:
rmmod tg3
If the driver was installed using
rpm
, do the following to remove it:
rpm -e tg3-<
version
>
Removing the Driver from a TAR Installation
If the driver was installed using make install from the tar file, the tg3.o driver file has to be manually deleted from the
operating system. See
Installing the Source RPM Package
for the location of the installed driver.
If there is an interface configuration that is related to the tg3 driver, then bring the interface down first by using
ifconfig
ethx down
and then
rmod tg3
.
Driver Messages
The following are the most common sample messages that may be logged in the
/var/log/messages
file. Use
dmesg -n
level
to control the level at which messages appear on the console. Most systems are set to level 6 by default.
Driver Sign on
tg3.c:
version
(
date
)
NIC Detected
eth#: Tigon3 [partno (BCM95xxx) rev 4202 PHY (57xx) (PCI Express) 10/100/1000BaseT Ethernet
:00:xx:xx:xx:xx:xx
eth#: RXcsums [1] LinkChg REG [0] MIirq [0] ASF [0] Split [0] Wirespeed [1]TSOcap [1]
eth#: dma_rwctrl [76180000]
ACPI : PCI interrupt 0000:02:02.0 [A] -> GSI 26 (level,low) -> IRQ 233
Flow Control
tg3: eth#: Flow control is configured for TX and for RX.
Link Up and Speed Indication
tg3: eth#: Link is up at 1000 Mbps, full duplex.
Link Down Indication