Re: e1000 problems in 2.6.x

From: Bill Davidsen
Date: Sat Feb 14 2004 - 22:43:39 EST


Steve Simitzis wrote:
i should have mentioned in my email that i tried every combination of
settings: auto-neg on the box and forced on the switch, both forced
(to the same settings, of course), forced on the box with auto-neg on
the switch, and auto-neg on both sides. in all cases, the result was
the same: RX packet errors and the same watchdog messages. what i thought
was particularly strange was that the switch refused to auto-negotiate
full duplex.

(someone on another list suggested to try booting with the noapic
option, which i tried for good measure, even though i don't see
how that could have helped. again, no improvement.)

i was initially tempted to assume they were hardware problems, until
i noticed that the problems only appeared when running a 2.6 kernel.
also, the machines are only a few months old, so i'm assuming that
all the hardware is modern enough to do the right thing.

if there's anything you'd recommend trying out, please let me know.
i considered trying to run the 2.4.22 driver in a 2.6 installation,
but i didn't know if any of the driver code depended on anything else
elsewhere in the kernel source.

On 02/14/04, "Feldman, Scott" <scott.feldman@xxxxxxxxx> wrote:


another oddity is that even after forcing my interfaces to 100 Mbps full duplex, my switch is reporting half duplex. again, this only happens in 2.6.x. when running 2.4.22, full duplex is properly negotiated between the e1000 and my switch.

Are you forcing both the e1000 interfaces and the switch ports to the
same forced settings? A duplex mismatch would cause problems, but I'm
not sure why this is happening for 2.6 only. What happens if you don't
force settings, and just rely on autoneg? (Again, on both ends of the
wire).

1 - check your cables in case 2.6 is checking (or not) something
2 - set your NIC half to match the switch and see if there's a different problem.

Switches and NICs, especially nice new ones, don't always or even usually auto-auto, at least with any of the stuff I have. I have one system which works well full when the switch negotiates full and the NIC gets half. Any other force usually works poorly. If the NIC comes up helf just kick it into full in rc.local (ethtool, mii-tool, whatever) as long as the switch convinces itself that it's full.

I see this with 2.4 as well, so I'm familiar if not expert.

--
bill davidsen <davidsen@xxxxxxx>
CTO TMR Associates, Inc
Doing interesting things with small computers since 1979
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/