Bug 83011 - [GinGin beta 3] - tg3 NICs fail to obtain DHCP IP during boot
Summary: [GinGin beta 3] - tg3 NICs fail to obtain DHCP IP during boot
Status: CLOSED DUPLICATE of bug 83010
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: dhcp
Version: 9
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2003-01-29 15:22 UTC by Larry Troan
Modified: 2016-04-18 09:39 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2006-02-21 18:51:29 UTC

Attachments (Terms of Use)

Description Larry Troan 2003-01-29 15:22:04 UTC
On Dell PowerEdge 6600/6650\'s with their embedded Broadcom 5703, the system
fails to obtain an IP address during boot. When bringing up the device during
boot, system gives an error, says to check the cable.

Once system boots, you can \"service network restart\" and the device (eth0)
will obtain and IP adress with no problems. 
Action by: jhull
Issue Registered
Action by: jgarzik
This is a symptom of a buggy DHCP client, that does not wait for the link to
show up.  The BCM570x chips have a phy init sequence that takes a long time to
process, and some DHCP clients written during the 10/100 days have not been
updated to support these slower phy init sequences.  If this is \"pump\", the
Red Hat DHCP client used by the installer (and _only_ by the installer... not
used after install), then this is a bug I just hit in the lab yesterday.

Status set to: Waiting on Tech

Action by: mdomsch
yes, this issue was registered testing only the installer (hence pump), not
using dh-client after install.

Action by: mdomsch
oh, my mistake, comment immediately preceeding was for a different issue. 
Please ignore.

Action by: jhull
The system picked up an IP just fine during install (I did an NFS install). Only
when the system boots after the OS is installed does the problem exist.

Action by: ltroan
Escalated to Bugzilla
Action by: ltroan
opening bugzillas against both pump and dhclient per jeff garzik.

Bugzilla id 83010 added to Issue Tracker.
Category set to: Installer


Comment 1 Daniel Walsh 2003-01-29 21:16:23 UTC
This is not a problem with dhcp I believe.  Basically they are getting an error 

eth0 failed; no link present.  Check cable?

This comes from the ifup script.  The ifup script is calling the check_link_down
function in /etc/sysconfig/network-scripts/network-functions.

This code runs the following

    if [ -x /sbin/mii-tool ]; then
        LC_ALL=C ip link show $1 2>/dev/null| grep -q UP || ip link set $1 up
>/dev/null 2>&1
	# wait for link to come up
	sleep 5
	/sbin/mii-tool $1 >/dev/null 2>&1 || return 1

/sbin/mii-tool is probably returning an error like
eth0: no link

So we need to know why the card is taking more than 5 seconds to get up or put
the script in a loop to check for more than 5 seconds.

Either way this bug should be reassigned to initscripts

Comment 2 Bill Nottingham 2003-01-30 05:18:47 UTC

*** This bug has been marked as a duplicate of 83010 ***

Comment 3 Red Hat Bugzilla 2006-02-21 18:51:29 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

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