Skip to contentSkip to conversation

New: e1000 is not auto-negotiating to 1GB full duplex speed even there is 1GB speed availble

Bugme-new Andrew Morton 2 participants 2 messages Mar 25, 2008 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

#1 lore raw

(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).

Quoted 19 lines · On Tue, 25 Mar 2008 07:29:56 -0700 (PDT) [email protected] wrote:

http://bugzilla.kernel.org/show_bug.cgi?id=10322

Summary: e1000 is not auto-negotiating to 1GB full duplex speed
even there is 1GB speed availble
Product: Drivers
Version: 2.5
KernelVersion: 2.6.23
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Network
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]

Quoted 2 lines

Latest working kernel version: 2.6.23.9
Earliest failing kernel version: 2.6.21

err, according to this, we had the bug in 2.6.21 and then fixed it in 2.6.23.9, so this is a report of an already fixed bug ;)

Can you please clarify the version numbers here?

Quoted 21 lines

Distribution:
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

#2 lore raw
Quoted 14 lines · Andrew Morton
Quoted 14 lines

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;
Quoted 6 lines
Quoted 6 lines

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