Re: [PATCH net 1/2] r8152: fix the sw rx checksum is unavailable
From: Mark Lord
Date: Fri Dec 09 2016 - 08:05:48 EST
On 16-12-08 10:23 PM, Hayes Wang wrote:
> Mark Lord <mlord@xxxxxxxxx>
> I find an issue about autosuspend, and it may result in the same
> problem with you. I don't sure if this is helpful to you, because
> it only occurs when enabling the autosuspend.
Thanks. I am using ASIX adapters now.
I did try the latest 4.9-rc8, and 4.8.12 kernels with the r8152 dongle yesterday,
in hope that perhaps the many EHCI fixes from those kernels might help out.
The dongle was unusable with those newer kernels.
Most of the time it failed with "Get ether addr fail\n" at startup.
On the occasions where it got past that point, it often failed
the DHCP negotiation, but this looks more like a bug elsewhere in
the kernel, possibly racing against initialization of the random
number generators. Adding a 2-second sleep the the r8151 probe
function made this error mostly go away.