Bug 89113
Summary: | (NET TG3) tg3 driver will not receive packets if MTU is (dynamically) set to greater than 1500 | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Mark Harig <maharig> | ||||
Component: | kernel | Assignee: | David Miller <davem> | ||||
Status: | CLOSED ERRATA | QA Contact: | |||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 3.0 | CC: | benlu, binand, jgarzik, k.georgiou, mvoelker, tim | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i686 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-12-02 19:02:56 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Mark Harig
2003-04-17 19:12:27 UTC
Have you tried setting the MTU to anything LOWER than 1500? I'm seeing this issue setting the MTU to anything. Card is "Broadcom Corporation NetXtreme BCM5701 Gigabit Ethernet (rev 15)", as found in the Compaq DL360 G2. No more 7.x updates, so this is unlikely to be fixed. Can someone tell me whether this bug has been fixed in a later Red Hat release? (Red Hat 9, ES?) The same happens to me with a pair of Broadcom 5704 1000Base-T ethernet cards, when I try to set up a fixed value for MTU, with driver bcm5700 from a 2.4.9-e.34smp kernel (from RHEL 2.1AS). In this case I try to lower MTU to 1400 (to workaround a problem related to tunneling with ADSL lines), with the same results: the network interface stops working (i.e. doesn't send or receive anything). The driver version is 'Broadcom Gigabit Ethernet Driver bcm5700 with Broadcom NIC Extension (NICE) ver. 6.0.2 (02/14/03)' as shown in dmesg. May it be a problem with hardware/kernel driver... Regards, This appears to be a problem with the Broadcom ethernet card firmware. The following configuration did NOT work for me: # rpm -q kernel-smp kernel-smp-2.4.21-9.EL # ethtool -i eth0 driver: tg3 version: 2.3 firmware-version: bus-info: 02:01.0 And, running the Hardware Browser tool in the System Tools menu, the Network devices entry lists the devices as "NetXtreme BCM5703 Gigabit Ethernet". I then updated the ethernet cards' firmware from version 2.25 to 2.35. I can now run 'ifconfig eth0 mtu 1504' or even 'ifconfig eth0 mtu 1600' without any loss of communication. Because 'ethtool' does not display the firmware version, I do not know how to determine which version is on the BCM5703 card. Two BIG caveats: 1. Unfortunately, this behavior is flaky. Sometimes when I ran the command: # ifconfig eth0 mtu 1504 or # ifconfig eth0 mtu 1600 the communication was lost and I had to reset the interface using: # service network stop # rmmod tg3 # service network start that is, sometimes I could reset the interface MTU value and sometimes I could not. I do not know how to reproduce this consistently. 2. When I could reset the MTU value without losing the interface, setting it subseqently to a smaller value ALWAYS caused the interface to fail, i.e., the following combination always causes the interface to shut down: # ifconfig eth0 mtu 1600 # ifconfig eth0 mtu 1504 As can be seen from the command 'rpm -q kernel-smp', above, this problem is occurring on RH Enterprise Linux 3. Because I am seeing this problem on the latest version of Red Hat Enterprise Linux, I am re-opening this problem. I am changing the Product to 'Red Hat Enterprise Linux'. Note: There is no 'kernel-smp' Component provided by Bugzilla, even though the rpm package is 'kernel-smp'. You can check your Broadcom card's firmware version using the following command: # cat /proc/net/nicinfo/eth0.info | grep Bootcode_Version Mine says (bcm5704): Bootcode_Version 5704-v3.20 > You can check your Broadcom card's firmware version using the
> following command:
>
> # cat /proc/net/nicinfo/eth0.info | grep Bootcode_Version
Unfortunately, Red Hat Enterprise Linux 3 does not appear to have
that file, or even the /proc/net/nicinfo directory. I have a server
with all RH EL 3 RPM packages installed.
I have now seen this on two different ethernet cards that also use the tg3 driver. One uses a BCM5704 chip on the motherboard, the other is a Netgear GA302T card (we've tried several GA302T's, actually, and all have the same issue). Relevant output from lspci: 02:09.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet (rev 03) 02:09.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet (rev 03) And: 00:0b.0 Ethernet controller: Altima (nee Broadcom) AC9100 Gigabit Ethernet (rev 15) 0 Until the problem is fixed, some folks who have Broadcom BCM57XX-based cards might want to consider using the GPL'd Broadcom bcm5700 driver available from http://www.broadcom.com/drivers/downloaddrivers.php as a temporary workaround. I understand that this driver has it's own set of bugs and that Red Hat will not support it or include it in RHEL, but we need to be able to up the MTU on our machines and bcm5700 allows us to do so. We haven't had any negative fallout from switching drivers thus far, so we're using it as a temporary workaround until this bug is fixed. We're out of luck for the GA302T card though, since it does not use a BCM57XX chip and therefor Broadcom's driver won't work for it. Note that a co-worker of mine was unable to reproduce this bug on a BCM5782 card. Output from his lspci: 05:02.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5782 Gigabit Ethernet (rev 03) Subsystem: Hewlett-Packard Company: Unknown device 12bf Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 17 Memory at f8400000 (64-bit, non-prefetchable) [size=64K] Capabilities: [48] Power Management version 2 Capabilities: [50] Vital Product Data Capabilities: [58] Message Signalled Interrupts: 64bit+ Queue=0/3 Enable Created attachment 102776 [details]
Fix for MTU changing bug.
This will fix the problem.
Closing this old bug that is in modified state. If this bug has not been resolved, please reopen it with new information. |