Bug 116586 - (NET TG3) Immediately after loading tg3.o module into kernel on an HP DL380 G3, ip reports that link is not up, even if cable is plugged in.
(NET TG3) Immediately after loading tg3.o module into kernel on an HP DL380 G...
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: kernel (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Garzik
Depends On:
  Show dependency treegraph
Reported: 2004-02-23 10:23 EST by David J Craigon
Modified: 2013-07-02 22:18 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-10-05 22:58:21 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description David J Craigon 2004-02-23 10:23:10 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115

Description of problem:
We have an HP DL380 G3. This has two (onboard) network cards claiming
to be:

Broadcom Corporation NetXtreme BCM5703 Gigabit Ethernet (rev 2)

(we are only using one of these cards, which is eth0)

When booting, the network card cannot obtain it's IP address from DHCP.
However after booting, we can run ifup fine!

I think I've figured out why this is.

When running the startup scripts, eventually S10network runs which in
turn runs ifup eth0.

ifup eth0 loads the correct module for the network card using modprobe
(at line 139 of the ifup script).

ifup then bails at line 249 saying the link is down _even if the
network card is attached to the network_. 

You can observe the same problem if you do the steps by hand (see
Steps to Reproduce below)

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Get a DL380G3 with RHEL on it :)
2. Make sure computer is attached to network
3. Boot into a runlevel, but use interactive startup to disable _all_
services on the way up
4. Run modprobe tg3
5. Run "if link"- it says eth0 says is not up. 
additionally, you can....
6. Run if link set eth0 down
7. Run if link again. Now it says it's up!
This explains why ifup fails the first time, but succeeds on
subsequent occasions.

Actual Results:  The link is stated to be down

Expected Results:  The link should be reported as up when the module
is loaded

Additional info:
Comment 1 Jeff Garzik 2004-06-14 13:40:49 EDT
Fixed in RHEL3 U2?

If not, I think this is fixed in RHEL3 U3.
Comment 2 David J Craigon 2004-06-23 10:01:16 EDT
It was RHEL3 U2 that didn't work. I've patched up, but we've only got
one of these and it's busy being a server now, so I can't really play
with it to see if it's fixed - sorry.
Comment 3 Ernie Petrides 2005-10-05 22:58:21 EDT
Jeff believes that this was fixed in RHEL3 U3 during our tg3 driver update.

Note You need to log in before you can comment on or make changes to this bug.