Package Details: r8168-dkms 8.047.05-2

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
Upstream URL: https://github.com/mtorromeo/r8168
Licenses: GPL
Conflicts: r8168
Submitter: angelsl
Maintainer: j1simon
Last Packager: j1simon
Votes: 12
Popularity: 0.31
First Submitted: 2015-10-26 16:00
Last Updated: 2019-12-07 17:16

Latest Comments

1 2 3 Next › Last »

cl0ne commented on 2019-12-08 11:36

@j1simon good job, thanks.

digitalone commented on 2019-12-08 08:00

It's working now, thanks.

j1simon commented on 2019-12-07 16:51

@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

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

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

../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

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

@wget: thanks for report, fixed!

wget commented on 2018-10-02 14:45

The sources are broken.

alium commented on 2018-08-18 17:10

@toxygen: thanks for report, file was changed. Source updated