Package Details: r8168-dkms 8.048.02-4

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/simonbcn/r8168-dkms
Keywords: dkms ethernet network realtek
Licenses: GPL
Conflicts: r8168-dkms
Submitter: angelsl
Maintainer: j1simon
Last Packager: j1simon
Votes: 13
Popularity: 0.52
First Submitted: 2015-10-26 16:00
Last Updated: 2020-05-08 08:34

Dependencies (3)

Required by (0)

Sources (2)

Latest Comments

1 2 3 4 Next › Last »

euzao commented on 2020-05-02 05:04

Well done. Used it to work around an already reported bug ( https://bugs.archlinux.org/task/66505?string=r8168&project=5&search_name=&type%5B0%5D=&sev%5B0%5D=&pri%5B0%5D=&due%5B0%5D=&reported%5B0%5D=&cat%5B0%5D=&status%5B0%5D=open&percent%5B0%5D=&opened=&dev=&closed=&duedatefrom=&duedateto=&changedfrom=&changedto=&openedfrom=&openedto=&closedfrom=&closedto= ).

j1simon commented on 2020-04-07 11:56

updated. Thanks @wast3

bezirg commented on 2020-04-06 19:24

Thanks for the patch @wast3. It is needed for linux>=5.6

wast3 commented on 2020-03-16 12:45

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

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