Failing to build dkms rtl88x2bu on kernel 6.1

Whenever I tired to install headers this error shows.

Error! Bad return status for module build on kernel: 6.1.53-1-MANJARO (x86_64)
Consult /var/lib/dkms/rtl8822bu/20180723/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtl8822bu/20180723 -k 6.1.53-1-MANJARO' exited 10
==> dkms install --no-depmod rtl88x2bu/5.13.1.r189.12cfcd8 -k 6.1.53-1-MANJARO
==> dkms install --no-depmod rtl8821CU/5.4.1 -k 6.1.53-1-MANJARO
Error! Bad return status for module build on kernel: 6.1.53-1-MANJARO (x86_64)
Consult /var/lib/dkms/rtl8821CU/5.4.1/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtl8821CU/5.4.1 -k 6.1.53-1-MANJARO' exited 10
==> dkms install --no-depmod rtl8821au/5.12.5.2 -k 6.1.53-1-MANJARO
==> dkms install --no-depmod rtl8822bu/5.8.7.4 -k 6.1.53-1-MANJARO
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/rtl8822bu/5.8.7.4/source/dkms.conf)
Error! Bad return status for module build on kernel: 6.1.53-1-MANJARO (x86_64)
Consult /var/lib/dkms/rtl8822bu/5.8.7.4/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtl8822bu/5.8.7.4 -k 6.1.53-1-MANJARO' exited 10
==> depmod 6.1.53-1-MANJARO
(4/4) Refreshing PackageKit..

Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

The problem isn’t installing the headers, its that both the rtl88x2bu & rtl8821CU modules are failing to build for 6.1. Are you sure you need those drivers?

There are a lot of topics on the forum about one of those drivers. How about you try a newer kernel (6.5)? There is a great chance it is supported.

P.s.i will correct the title

no I want only rtl8821cu

You marked something as a solution which does not explain what the solution is, so i suppose the solution was trying a kernel higher than 6.2 and will mark this as the solution.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.