Bug 145422

Summary: Anaconda (ethtool= option setting)
Product: Red Hat Enterprise Linux 3 Reporter: Michael Bischof <mb>
Component: anacondaAssignee: Paul Nasrat <nobody+pnasrat>
Status: CLOSED ERRATA QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: katzj
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2005-220 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-05-18 14:28:59 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:
Bug Depends On:    
Bug Blocks: 132991    
Attachments:
Description Flags
Fixed the described problem. Additionally some debug messages have been added. none

Description Michael Bischof 2005-01-18 07:51:31 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5)
Gecko/20041107 Firefox/1.0

Description of problem:
I had a problem installing RH3 on a box with a tg3 nic.
These nic's are (in combination with certain switches)
some kind of buggy (autodetection doesnt really work).

I was looking for a way to set speed and duplex setting
at installation time and found the ethtool= option.
But this option didnt help eiter.

While looking at anaconda-9.1.4.1/loader2/net.c I discovered
the reason for this. First the dhcp server gets asked for an 
ip address and only after that the speed and duplex settings are
done. I don't think thats right. If you don't get a link
(because of the broken autodetection) you won't get an ip 
from the dhcp server.

I fixed the code (patch attached, some debug messages added)
and now it works.


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

How reproducible:
Always

Steps to Reproduce:
1. ...
2. ...
3. ...
    

Additional info:

Comment 1 Michael Bischof 2005-01-18 07:52:32 UTC
Created attachment 109913 [details]
Fixed the described problem. Additionally some debug messages have been added.

Comment 5 Paul Nasrat 2005-02-24 17:04:54 UTC
Commited to RHEL3, RHEL4 and HEAD.  

Comment 6 Dennis Gregorovic 2005-05-18 14:28:59 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2005-191.html