Package Details: r8168-dkms 8.055.00-3

Git Clone URL: https://aur.archlinux.org/r8168-dkms.git (read-only, click to copy)
Package Base: r8168-dkms
Description: A kernel module for Realtek 8168 network cards (DKMS version)
Upstream URL: https://github.com/mtorromeo/r8168
Keywords: dkms ethernet network realtek
Licenses: GPL-2.0-or-later
Conflicts: r8168
Provides: r8168
Submitter: angelsl
Maintainer: patlefort
Last Packager: patlefort
Votes: 29
Popularity: 1.35
First Submitted: 2015-10-26 16:00 (UTC)
Last Updated: 2025-03-09 01:17 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

wast3 commented on 2020-03-16 12:45 (UTC)

Here's a patch to support 5.6.0-rc kernels https://gist.github.com/harrykipper/e5a9c8db1550bf9acd63dd2c54b79685

cl0ne commented on 2019-12-08 11:36 (UTC)

@j1simon good job, thanks.

digitalone commented on 2019-12-08 08:00 (UTC)

It's working now, thanks.

j1simon commented on 2019-12-07 16:51 (UTC)

@cl0ne, thank you too much. As I noticed that the package is abandoned, I adopted it and I will upload your modifications after testing it.

cl0ne commented on 2019-12-06 22:13 (UTC)

linux-5.4 patch from r8168 + replace SUBDIRS with M in dkms.conf allows to build module with DKMS.

Updated PKGBUILD (with all accompanying files) can be found here: https://gist.github.com/cl0ne/9a3f2b5a4208df3b2e96ed4e9b879292

bezirg commented on 2019-12-03 11:42 (UTC) (edited on 2019-12-03 11:42 (UTC) by bezirg)

I can confirm that manually building and loading the package with the linux-5.4 patch works, but applying the patch to the r8168-dkms makes DKMS fail when generating r8168 drivers for any 5.4 kernels.

j1simon commented on 2019-12-03 09:19 (UTC) (edited on 2019-12-03 10:19 (UTC) by j1simon)

../src/r8168_n.c:60:10: fatal error: linux/pcieaspm.h: No such file or directory
   60 | #include <linux/pcieaspm.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.build:265: /home/juan/fuentes/r8168/src/r8168_n.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:1652: /home/juan/fuentes/r8168/src] Error 2
make: *** [Makefile:140: modules] Error 2

The problem is that the latest releases of the Linux kernel remove that file from the tree: https://github.com/mtorromeo/r8168/issues/19

There is a patch: https://github.com/rockyprabowo/r8168/pull/1/commits/e4aded6235052a61283b79a18ff7d8ef6b654858


With that patch I can compile, install and use the module directly (without DKMS). But with DKMS, it fails.

jghodd commented on 2019-12-03 03:36 (UTC)

Broken again with linux 5.4.1:

DKMS make.log for r8168-8.047.05 for kernel 5.4.1-arch1-1 (x86_64) Mon 02 Dec 2019 10:34:15 PM EST make: Entering directory '/usr/lib/modules/5.4.1-arch1-1/build' scripts/Makefile.build:42: arch/x86/entry/syscalls/Makefile: No such file or directory make[1]: No rule to make target 'arch/x86/entry/syscalls/Makefile'. Stop. make: [arch/x86/Makefile:238: archheaders] Error 2 make: *** Waiting for unfinished jobs.... make: Leaving directory '/usr/lib/modules/5.4.1-arch1-1/build'

alium commented on 2018-10-02 15:03 (UTC)

@wget: thanks for report, fixed!

wget commented on 2018-10-02 14:45 (UTC)

The sources are broken.