Red Hat Bugzilla – Bug 145422
Anaconda (ethtool= option setting)
Last modified: 2007-11-30 17:07:06 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5)
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-18.104.22.168/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):
Steps to Reproduce:
Created attachment 109913 [details]
Fixed the described problem. Additionally some debug messages have been added.
Commited to RHEL3, RHEL4 and HEAD.
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.