Comment 9 for bug 1779817

Revision history for this message
craig p hicks (craigphicks) wrote : Re: no internet after suspending

search for "r8168 for 4.15 kernel" and you will see problem from across many linux distributions.

I am trying to follow

https://www.unixblogger.com/2016/08/11/how-to-get-your-realtek-rtl8111rtl8168-working-updated-guide/

and change the "more stable" r8168. Neither the Ubuntu repo of r8168 nor the realtek download of r8168 are compiling cleanly however. Seems like kernel 4.15 included changes to an interface

previously "setup_timer" is now "timer_setup"

but it might not be as simple as a name change. I'm looking at this patch for a different project (not r8168) : http://patchwork.dpdk.org/patch/31739/ . You will see more logic there than a simple name change. (It could be an unrelated change, I can't tell.)

So maybe the 4.15 update for the r8169 driver didn't get the necessary logic changes and that is why there is a bug (?)

I'm trying to compile the Realtek r8168 version now, just using pointer casts to get it to compile.

Does @kaihengfeng have information about changes to r8169? Ubuntu has a repo r8168-dkms but (in my setup) it has many more compile errors than realtek's r8168 :(