Subject: Re: [Bugme-new] [Bug 10322] New: e1000 is not auto-negotiating to 1GB full duplex speed even there is 1GB speed availble

From: "Kok, Auke" <[email-masked]>
Date: Tue, 25 Mar 2008 15:02:56 -0700

Andrew Morton wrote:
>> Hardware Environment: e1000 with 82571 chip
>> Software Environment: CentOS 4.5
>> Problem Description:
>> We have a machine with the e1000(82571) driver which could not detect the
>> correct link mode with a switch supports 1000 Mbps/s. I just find that the
>> ethtool can't support 10 Mbps/s Half and 1000 Mbps/s Full mode. Therefore, the
>> e1000 code should be fixed by add all modes at the 216 lines in
>> e1000_ethtool.c. It is as follow:
>>
>> hw->autoneg_advertised |= ecmd->advertising |
>>                          ADVERTISED_TP |
>>                          ADVERTISED_Autoneg;
>>
>>
>> Steps to reproduce:
>> 1. Add a entry ' ETHTOOL_OPTS="autoneg on" ' in the
>> /etc/sysconfig/network-scripts/ifcfg-eth0;
>> 2. Run '/etc/init.d/network restart';
>> 3. Run 'ethtool eth0', it displays the speed is 100 Mbps/s. But the real link
>> mode should be 1000 Mbps/s

a bit moot because 82571 support is moving to e1000e and thus I will (probably)
not fix this bug. all 82571 support will be removed from e1000 from 2.6.26 onwards.

Please re-test against e1000e from 2.6.25-rc5 - if the bug is still in that driver
then we need to look at it again. Either that or reproduce against an 8254x adapter?

Auke