Re: Realtek 8168D: no active link (2.6.29.2)

From: Jonathan Woithe
Date: Mon May 18 2009 - 08:40:50 EST


Hi Ueimor

> > Indeed. To follow up on this, as per my earlier email I left the machine
> > disconnected from the mains all night - so it was truly "off" for about 9
> > hours. Just before coming to work I flicked it on and the "link" LED lit
> > almost immediately. So whatever the Realtek driver did, the resulting
> > status would appear to be stored in some kind of non-volatile memory. While
> > it would appear that this has worked around the problem for me, it would be
> > nice if the mainline driver could do this itself.
>
> The attached patch is not complete but can you give it a try and check if
> it makes a difference ?

Ok, I've tried this against 2.6.30-rc5. The practical upshot is that it has
had a positive effect. It turns out that the Realtek driver had enabled the
interface only at 100 Mbps (it's a new mainboard and I didn't fully
appreciate the significance of the speed LED colour). This patch allows
Linux to set the PHY to 1 Gbps. The interface itself has had limited
testing tonight, but first impressions are excellent. Thanks for this.

If you need further patches tested just drop me a line.

Regards
jonathan
--
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/