Realtek r8111/8168

mcdowellster

Well-Known Member
Jun 13, 2018
31
4
48
39
Hello Everyone,

I had this NIC working in the past. Was working fine until I upgraded to 5.2 from 5.1. After the kernel updated to 4.15.17-2-pve my system failed to boot. I had to comment out the r8168 module in order to get the system boot outside of emergency mode. I'd like this card functional again, even tried the official RT drivers but i'm unable to use the autorun.sh script, loads of errors with make.

Any input or advise?
Yes I've removed the old module, uninstalled the old dkms installation as well.

Thanks,
Dan


04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 07)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 07)
 
Here is the log from the installation attempt:

Wed Jun 13 11:30:18 EDT 2018
make -C src/ clean
make[1]: Entering directory '/tmp/r8168-8.045.08/src'
make -C /lib/modules/4.15.17-2-pve/build SUBDIRS=/tmp/r8168-8.045.08/src clean
make[2]: Entering directory '/usr/src/linux-headers-4.15.17-2-pve'
make[2]: Leaving directory '/usr/src/linux-headers-4.15.17-2-pve'
make[1]: Leaving directory '/tmp/r8168-8.045.08/src'
make -C src/ modules
make[1]: Entering directory '/tmp/r8168-8.045.08/src'
make -C /lib/modules/4.15.17-2-pve/build SUBDIRS=/tmp/r8168-8.045.08/src modules
make[2]: Entering directory '/usr/src/linux-headers-4.15.17-2-pve'
CC [M] /tmp/r8168-8.045.08/src/r8168_n.o
scripts/Makefile.build:324: recipe for target '/tmp/r8168-8.045.08/src/r8168_n.o' failed
Makefile:1552: recipe for target '_module_/tmp/r8168-8.045.08/src' failed
make[2]: Leaving directory '/usr/src/linux-headers-4.15.17-2-pve'
Makefile:104: recipe for target 'modules' failed
make[1]: Leaving directory '/tmp/r8168-8.045.08/src'
Makefile:40: recipe for target 'modules' failed
 
did you try using the intree r8169 driver? (AFAIK should work with the same NICs, but it used to have some bugs in earlier versions).
 
Well that was quick. Loaded the module and it seems to have worked instantly. I hope its not too buggy.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!