Package Details: r8125-dkms 9.003.05-1

Git Clone URL: https://aur.archlinux.org/r8125.git (read-only, click to copy)
Package Base: r8125
Description: r8125 kernel driver sources for linux
Upstream URL: https://www.realtek.com/
Licenses: GPL2
Conflicts: r8125
Provides: 8125=9.003.05
Submitter: BestSteve
Maintainer: BestSteve
Last Packager: BestSteve
Votes: 4
Popularity: 1.06
First Submitted: 2019-07-10 15:23
Last Updated: 2020-07-26 04:31

Dependencies (4)

Required by (0)

Sources (2)

Latest Comments

1 2 Next › Last »

Smoerrebroed commented on 2020-08-25 08:21

Normally doing

dkms build -m r8125 -v 9.003.05 -k 5.8.3-arch1-1 (or whatever your kernel is)

and

dkms install -m r8125 -v 9.003.05 -k 5.8.3-arch1-1

should be good enough.

STEELBAS commented on 2020-08-24 18:02

You said it. I'm trying to get this to work again after an update. No luck yet, though I got it working before.

Smoerrebroed commented on 2020-08-24 11:16

Yep, there are definitely some bugs in the dkms.conf, but it seems the creator of this package is no longer maintaining it. The good news is that kernel 5.9 will natively support the r8125 chip in different variants out of the box, so hopefully that'll be out soon and I can get rid of this workaround package.

Superfox commented on 2020-08-24 10:18

the dkms variant did not properly rebuild the driver upon an update of the kernel:

(2/2) Remove DKMS modules
==> dkms remove --no-depmod -m r8125 -v 9.003.05 -k 5.8.1-arch1-1
==> depmod 5.8.1-arch1-1
...
 (11/15) Install DKMS modules
==> dkms install --no-depmod -m r8125 -v 9.003.05 -k 5.8.3-arch1-1
Error!  Build of r8125.ko failed for: 5.8.3-arch1-1 (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/r8125/9.003.05/build/ for more information.
==> Warning, `dkms install --no-depmod -m r8125 -v 9.003.05 -k 5.8.3-arch1-1' returned 7
==> depmod 5.8.3-arch1-1

make.log:

DKMS make.log for r8125-9.003.05 for kernel 5.8.3-arch1-1 (x86_64)
Sun 23 Aug 18:55:57 CEST 2020
make: Entering directory '/usr/lib/modules/5.8.3-arch1-1/build'
  CC [M]  /usr/src/r8125-9.003.05/src/r8125_n.o
  CC [M]  /usr/src/r8125-9.003.05/src/rtl_eeprom.o
  CC [M]  /usr/src/r8125-9.003.05/src/rtltool.o
  LD [M]  /usr/src/r8125-9.003.05/src/r8125.o
  MODPOST /usr/src/r8125-9.003.05/src/Module.symvers
  CC [M]  /usr/src/r8125-9.003.05/src/r8125.mod.o
  LD [M]  /usr/src/r8125-9.003.05/src/r8125.ko
make: Leaving directory '/usr/lib/modules/5.8.3-arch1-1/build'

dkms status:

# dkms status
r8125, 9.003.05: added

but then when issuing dkms remove:

# dkms remove -m r8125 -v 9.003.05
Error! There is no instance of r8125 9.003.05
for kernel 5.8.3-arch1-1 (x86_64) located in the DKMS tree.

emmettwu commented on 2020-08-22 02:45

change /usr/src/linux/version to uname -r,

build package works. but commit package with conflicts

Error: Failed to commit transaction:
conflicting files:
- r8125: /usr/lib/modules/5.7.14-1-MANJARO/extramodules already exists in filesystem (owned by linux57)

how to fix this conflict?

Democrab commented on 2020-08-01 13:19

It also needs pkgbuild edits to build on custom kernels. (It hard-codes "/usr/src/linux/version" which isn't applicable on custom kernels, "uname -r" works however.)

Smoerrebroed commented on 2020-07-27 12:56

It kinda works for me ... except for the autoinstall after a kernel upgrade which doesn't. Oh, and it doesn't automatically build the module for all available kernels, just the one that's currently running.

BestSteve commented on 2020-07-26 04:31

Done.

Ender commented on 2020-07-25 11:23

Hi.

Please change line 27 of your PKGBUILD with this:

install -Dt "${pkgdir}/usr/lib/modules/${_kernver}/extramodules" -m644 "${_pkgbase}-${pkgver}/src/r8125.ko"

in order to get rid of the old EXTRAMODULES-arch directory.

Thanks.

Smoerrebroed commented on 2020-07-18 06:35

It's pretty simple: You can install EITHER r8125 OR r8125-dkms. As per the PKGBUILD, they correctly conflict with each other, so just install the one you like (with or without DKMS).