Package Details: r8168-8136 8.053.00-1

Git Clone URL: https://aur.archlinux.org/r8168-8136.git (read-only, click to copy)
Package Base: r8168-8136
Description: A kernel module for Realtek 8168 network cards (DKMS version) for Device ID 0x8136.
Upstream URL: https://github.com/mtorromeo/r8168
Licenses: GPL
Conflicts: r8168
Provides: r8168
Submitter: M4rQu1Nh0S
Maintainer: jonpas
Last Packager: jonpas
Votes: 0
Popularity: 0.000000
First Submitted: 2022-09-27 20:46 (UTC)
Last Updated: 2024-05-20 12:52 (UTC)

Latest Comments

jonpas commented on 2024-03-26 14:37 (UTC) (edited on 2024-03-26 14:37 (UTC) by jonpas)

I have decided to take over as maintainer of this package. Thanks to M4rQu1Nh0S for creating the patch and maintaining it so far.

Package has been updated to latest 8.052.01 with the 8136 device patch as well as kernel 6.8 patch. Patches for kernels 6.1 and 6.4 are no longer necessary as 8.052.01 has support included.

jonpas commented on 2023-08-15 16:52 (UTC)

Following patch is required for kernel 6.4.10+:

--- a/src/r8168_n.c     2023-08-13 03:33:06.977422132 +0400
+++ b/src/r8168_n.c     2023-08-13 03:38:39.767005101 +0400
@@ -81,6 +81,10 @@
 #include <linux/mdio.h>
 #endif

+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,4,0)
+#include <net/gso.h>
+#endif
+
 #include <asm/io.h>
 #include <asm/irq.h>

Source: https://github.com/mtorromeo/r8168/issues/54

M4rQu1Nh0S commented on 2022-12-01 05:15 (UTC)

Package updated, thanks for the advice! I'll look for any problems with the compatibility in older kernel versions.

jonpas commented on 2022-12-01 04:10 (UTC)

Kernel patches are no longer necessary as the changes have been merged upstream and that breaks installation of this package as the patches cannot be applied.

Here is a patch (left out removal of linux-5.1x.patch files):

diff --git a/PKGBUILD b/PKGBUILD
index 3a56566..7de779e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@

 _pkgbase=r8168
 pkgname=${_pkgbase}-8136
-pkgver=8.050.03
+pkgver=8.051.02
 pkgrel=1
 pkgdesc="A kernel module for Realtek 8168 network cards (DKMS version) for Device ID 0x8136."
 url="https://github.com/mtorromeo/r8168"
@@ -14,20 +14,14 @@ conflicts=("${_pkgbase}")
 provides=("${_pkgbase}")
 source=("r8168-8136::git+https://github.com/mtorromeo/r8168.git"
         "dkms.conf"
-        "linux-5.18.patch"
-        'linux-5.19.patch'
         "8136.patch")
 sha256sums=('SKIP'
             'd37b8acbd4fe06f81538581712a04751a96fc37bad3a4bd3ae8329f8744c49b3'
-            'd8d542770e504775600f686d03412a37cc32489872be7aeb388b5b08d9806096'
-            'f5e08919764bc56d4f11b23fcb7cece663cae3f591992a0ca2be760e6890a9f8'
             'f203ed455d17f03c964b8bb91d9d7da6c33d8494c0b47ecf3096bde16e95b310')
 install=r8168-dkms.install

 prepare() {
    cd "$pkgname"
-   patch -Np1 -i '../linux-5.18.patch'
-   patch -Np1 -i '../linux-5.19.patch'
    patch -Np1 -i '../8136.patch'
 }

I do not believe upstream changes are backwards-compatible for older kernels however.