Realtek RTL8111/8168/8411 PCI Express Gigabit doesn't work with latest Linux kernels

Questions about cabled networking
Forum rules
Before you post please read how to get help
Post Reply
User avatar
mhenriday
Level 4
Level 4
Posts: 211
Joined: Sun Jan 15, 2012 3:56 pm
Location: Stockholm

Realtek RTL8111/8168/8411 PCI Express Gigabit doesn't work with latest Linux kernels

Post by mhenriday » Thu May 30, 2019 11:08 am

The driver installed on my 64-bit Mint 19.1 machine is r8168 v: 8.046.00-NAPI. Works fine with kernels up to 5.0.12, but I get no connexion to the internet with later kernels - 5.0.13 -19, 5.1.1-5 - clicking, for example, Network settings or Network connexions, displays only «Network Proxy» (which I don't employ), but «Ethernet« is not displayed. From what I am given to understand a later version of the r8168 driver, 8.0.47 is available ; would upgrading be likely to help ? If so, I'd be most grateful for detailed installation instructions as top hos this can be done....

Henri

PS : No need to dissuade me from running these later kernels ; I'm just trying to understand why they don't work with this set up.... :)

User avatar
thx-1138
Level 7
Level 7
Posts: 1839
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Realtek RTL8111/8168/8411 PCI Express Gigabit doesn't work with latest Linux kernels

Post by thx-1138 » Thu May 30, 2019 12:16 pm

...there exists a dkms package for 8.0.47 in Ubuntu 19.10.
http://mirrors.edge.kernel.org/ubuntu/p ... e/r/r8168/

...Will all hell break loose if you manually install such? No, not really...
apt purge r8168-dkms should theoritically restore things to what they were before.
Will things possibly become quite a bit more complicated if something goes wrong along the way? Maybe.

I'd think it's probably safer to further post lspci -nnk | grep -iA2 Eth && lsmod | grep r8,
& wait for people like JeremyB to comment upon what would be the best solution
(prefer this or that kernel revision, use r8169 instead etc).

User avatar
mhenriday
Level 4
Level 4
Posts: 211
Joined: Sun Jan 15, 2012 3:56 pm
Location: Stockholm

Re: Realtek RTL8111/8168/8411 PCI Express Gigabit doesn't work with latest Linux kernels

Post by mhenriday » Thu May 30, 2019 1:37 pm

thx-1138 wrote:
Thu May 30, 2019 12:16 pm
...there exists a dkms package for 8.0.47 in Ubuntu 19.10.
http://mirrors.edge.kernel.org/ubuntu/p ... e/r/r8168/

...Will all hell break loose if you manually install such? No, not really...
apt purge r8168-dkms should theoritically restore things to what they were before.
Will things possibly become quite a bit more complicated if something goes wrong along the way? Maybe.

I'd think it's probably safer to further post lspci -nnk | grep -iA2 Eth && lsmod | grep r8,
& wait for people like JeremyB to comment upon what would be the best solution
(prefer this or that kernel revision, use r8169 instead etc).
Thanks for your speedy response, thx-1138 ! With regard to the r8169 driver, my understanding has been that it previously caused many problems for users of the RTL8111/8168/8411 card and had to be blacklisted ; it would be interesting to hear if anything has changed in this respect....

I provided what I thought to be the relevant information information in my initial post above, but for the sake of completeness, here's the result of the search you suggested :
~$ lspci -nnk | grep -iA2 Eth && lsmod | grep r8
05:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)
Subsystem: Gigabyte Technology Co., Ltd Onboard Ethernet [1458:e000]
Kernel driver in use: r8168
Kernel modules: r8168
r8168 528384 0
I very much hope that JeremyB, whose posts I've noted on similar threads, will take an interest in this matter....

Henri

User avatar
mhenriday
Level 4
Level 4
Posts: 211
Joined: Sun Jan 15, 2012 3:56 pm
Location: Stockholm

Re: Realtek RTL8111/8168/8411 PCI Express Gigabit doesn't work with latest Linux kernels

Post by mhenriday » Mon Jun 03, 2019 7:46 am

It appears that no commentator here is enchanted by the prospect of having another go with the Realtek RTL8111/8168/8411 PCI Express Gigabit card, which I fully understand. I hope that the impending upgrade to Mint 19.2 will resolve the problem.... :wink:

Henri

JeremyB
Level 20
Level 20
Posts: 10857
Joined: Fri Feb 21, 2014 8:17 am

Re: Realtek RTL8111/8168/8411 PCI Express Gigabit doesn't work with latest Linux kernels

Post by JeremyB » Mon Jun 03, 2019 5:00 pm

If you need dkms packages from the repos, it is wise to stick with a kernel series it works with. Most of the dkms packages for Mint 19 from Ubuntu bionic repos are likely only patched to support the 4.18 kernel and lower at this time

User avatar
mhenriday
Level 4
Level 4
Posts: 211
Joined: Sun Jan 15, 2012 3:56 pm
Location: Stockholm

Re: Realtek RTL8111/8168/8411 PCI Express Gigabit doesn't work with latest Linux kernels

Post by mhenriday » Tue Jun 04, 2019 2:33 am

JeremyB wrote:
Mon Jun 03, 2019 5:00 pm
If you need dkms packages from the repos, it is wise to stick with a kernel series it works with. Most of the dkms packages for Mint 19 from Ubuntu bionic repos are likely only patched to support the 4.18 kernel and lower at this time
Thanks for your response, JeremyB In my initial post, I noted the following :
PS : No need to dissuade me from running these later kernels ; I'm just trying to understand why they don't work with this set up.... :)
Why do kernels up to and including 5.0.12 (nota bene, later kernels than 4.18) work on this set up (I have ancient laptops which can take 5.1.x kernels), while later kernels in the 5.0 series and all kernels in the 5.1 series do not ?...

Henri

Matthew_Wai
Level 4
Level 4
Posts: 423
Joined: Sun Jun 07, 2015 10:42 am
Location: China

Re: Realtek RTL8111/8168/8411 PCI Express Gigabit doesn't work with latest Linux kernels

Post by Matthew_Wai » Sun Jun 16, 2019 10:02 pm

I replaced Windows 10 with Mint on January 1, 2019. I am now using Mint 19 Cinnamon (64-bit).

Matthew_Wai
Level 4
Level 4
Posts: 423
Joined: Sun Jun 07, 2015 10:42 am
Location: China

Re: Realtek RTL8111/8168/8411 PCI Express Gigabit doesn't work with latest Linux kernels

Post by Matthew_Wai » Sun Jun 23, 2019 3:10 am

mhenriday wrote:
Thu May 30, 2019 1:37 pm
With regard to the r8169 driver, my understanding has been that it previously caused many problems for users of the RTL8111/8168/8411 card and had to be blacklisted
Fortunately, r8169 has always been working perfectly with my RTL8111/8168/8411.

Code: Select all

Network:   Card: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: e000 bus-ID: 02:00.0

Code: Select all

Linux version 4.15.0-20-generic (buildd@lgw01-amd64-039) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018
I replaced Windows 10 with Mint on January 1, 2019. I am now using Mint 19 Cinnamon (64-bit).

Post Reply

Return to “Ethernet”