Re: e1000 driver problems

From: Kok, Auke
Date: Mon Nov 26 2007 - 18:26:44 EST


Lukas Hejtmanek wrote:
> Hello,
>
> I have laptop thinkpad T61 with 82566MM Gigabit Network Connection (rev 03)
> (8086:1049). I have kernel 2.6.24-rc3. E1000E driver does not work (the card
> is not detected although it is PCI-E), with E1000 driver, it works mostly OK
> unless I force speed to 100Mbits. (ethtool -s eth0 autoneg off speed 100)

this device (the ich8 onboard NIC) will not be supported in e1000e until 2.6.25.

> I got message about device hang:
> Nov 20 10:57:24 anubis kernel: [ 212.307502] e1000: eth0: e1000_watchdog:
> 10/100 speed: disabling TSO
> Nov 20 11:03:02 anubis kernel: [ 242.811474] Tx Queue <0>
> Nov 20 11:03:02 anubis kernel: [ 242.811476] TDH <80>
> Nov 20 11:03:02 anubis kernel: [ 242.811478] TDT <81>
> Nov 20 11:03:02 anubis kernel: [ 242.811480] next_to_use <81>
> Nov 20 11:03:02 anubis kernel: [ 242.811482] next_to_clean <80>
> Nov 20 11:03:02 anubis kernel: [ 242.811484] buffer_info[next_to_clean]
> Nov 20 11:03:02 anubis kernel: [ 242.811486] time_stamp <100079cdf>
> Nov 20 11:03:02 anubis kernel: [ 242.811488] next_to_watch <80>
> Nov 20 11:03:02 anubis kernel: [ 242.811489] jiffies <100079e68>
> Nov 20 11:03:02 anubis kernel: [ 242.811491] next_to_watch.status <0>
> Nov 20 11:03:04 anubis kernel: [ 243.000047] Tx Queue <0>
> Nov 20 11:03:04 anubis kernel: [ 243.000049] TDH <80>
> Nov 20 11:03:04 anubis kernel: [ 243.000051] TDT <81>
> Nov 20 11:03:04 anubis kernel: [ 243.000053] next_to_use <81>
> and so on.
>
> Is it known problem?

there have been indeed know reports of these "fake" hangs. basically the counter
logic for these newer devices reports hangs too quickly for 10/100 speeds while
they actually are not occurring (the line is just very busy).

The fix for this has been to grant more time for the hardware to recover from this
busy state. I'll make sure to check if the upstream drivers are OK in this regard.

you can try our out-of-tree e1000 driver (7.6.x or newer) which should work OK for
you with respect to this problem. Please give that a try.

Cheers,

Auke
-
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/