morrownr / 88x2bu-20210702

Linux Driver for USB WiFi Adapters that are based on the RTL8812BU and RTL8822BU Chipsets - v5.13.1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does not compile on 6.6.6-2-MANJARO

JadenJSJ opened this issue · comments

Kernel module does not compile on 6.6.6-2-MANJARO

Running latest stable kernel in Manjaro stable branch
System is fully up to date.

Click on dropdown to expand

Install Output sudo ./install-driver.sh

~/github/88x2bu-20210702  sudo ./install-driver.sh
: ---------------------------
: install-driver.sh v20231115
: x86_64 (kernel architecture)
: x86_64 (architecture to send to gcc)
: 4/4 (in-use/total processing units)
: 7974672 (total system memory)
: 6.6.6-2-MANJARO (kernel version)
: gcc (version of gcc used to compile the kernel)
: gcc (GCC) 13.2.1 20230801
: dkms-3.0.11
: SecureBoot disabled
: ---------------------------

Checking for previously installed drivers...
Finished checking for and removing previously installed drivers.
: ---------------------------

Starting installation.
Installing 88x2bu.conf to /etc/modprobe.d
The dkms installation routines are in use.
Copying source files to /usr/src/rtl88x2bu-5.13.1
Creating symlink /var/lib/dkms/rtl88x2bu/5.13.1/source -> /usr/src/rtl88x2bu-5.13.1
The driver was added to dkms successfully.
: ---------------------------

Sign command: /usr/lib/modules/6.6.6-2-MANJARO/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
./dkms-make.sh...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.6.6-2-MANJARO (x86_64)
Consult /var/lib/dkms/rtl88x2bu/5.13.1/build/make.log for more information.
Command exited with non-zero status 10
Compile time: 1.29 seconds
An error occurred. dkms build error:  10
Please report this error.
Please copy all screen output and paste it into the problem report.
Run the following before reattempting installation.
$ sudo ./remove-driver.sh

Make Log located in /var/lib/dkms/rtl88x2bu/5.13.1/build/make.log

DKMS make.log for rtl88x2bu-5.13.1 for kernel 6.6.6-2-MANJARO (x86_64)
Wed Dec 13 08:41:56 PM WIB 2023
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.6.6-2-MANJARO/build M=/var/lib/dkms/rtl88x2bu/5.13.1/build  modules
make[1]: Entering directory '/usr/lib/modules/6.6.6-2-MANJARO/build'
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_cmd.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_security.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_debug.o
  CC [M]  /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_io.o
In file included from <command-line>:
././include/linux/kconfig.h:5:10: fatal error: generated/autoconf.h: No such file or directory
    5 | #include <generated/autoconf.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_cmd.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from <command-line>:
././include/linux/kconfig.h:5:10: fatal error: generated/autoconf.h: No such file or directory
    5 | #include <generated/autoconf.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_security.o] Error 1
In file included from <command-line>:
././include/linux/kconfig.h:5:10: fatal error: generated/autoconf.h: No such file or directory
    5 | #include <generated/autoconf.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_debug.o] Error 1
In file included from <command-line>:
././include/linux/kconfig.h:5:10: fatal error: generated/autoconf.h: No such file or directory
    5 | #include <generated/autoconf.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_io.o] Error 1
make[2]: *** [/usr/lib/modules/6.6.6-2-MANJARO/build/Makefile:1913: /var/lib/dkms/rtl88x2bu/5.13.1/build] Error 2
make[1]: *** [Makefile:234: __sub-make] Error 2
make[1]: Leaving directory '/usr/lib/modules/6.6.6-2-MANJARO/build'
make: *** [Makefile:2522: modules] Error 2

Running: sudo lsusb; rfkill list all; dkms status; iw dev; iw reg get

Note: some device information that is irrelevant to wireless stuff was removed

$ sudo lsusb; rfkill list all; dkms status; iw dev; iw reg get
[sudo] password for jadenjsj: 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 007: ID 2357:0115 TP-Link Archer T4U ver.3
Bus 001 Device 008: ID 0cf3:3004 Qualcomm Atheros Communications AR3012 Bluetooth 4.0
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
0: ideapad_wlan: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: ideapad_bluetooth: Bluetooth
        Soft blocked: no
        Hard blocked: no
2: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
3: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
acpi_call/1.2.2, 5.15.142-1-MANJARO, x86_64: installed
acpi_call/1.2.2, 5.19.17-2-MANJARO, x86_64: installed
acpi_call/1.2.2, 6.1.67-2-MANJARO, x86_64: installed
acpi_call/1.2.2, 6.6.6-2-MANJARO, x86_64: installed
digimend/10, 5.15.142-1-MANJARO, x86_64: installed (original_module exists)
digimend/10, 5.19.17-2-MANJARO, x86_64: installed (original_module exists)
digimend/10, 6.1.67-2-MANJARO, x86_64: installed (original_module exists)
digimend/9: added
rtl88x2bu/5.13.1: added
v4l2loopback/0.12.5: added
v4l2loopback/0.12.7, 5.15.142-1-MANJARO, x86_64: installed
v4l2loopback/0.12.7, 5.19.17-2-MANJARO, x86_64: installed
v4l2loopback/0.12.7, 6.1.67-2-MANJARO, x86_64: installed
phy#0
        Interface wlp3s0
                ifindex 3
                wdev 0x1
                addr d0:53:49:59:92:ed
                type managed
                channel 13 (2472 MHz), width: 40 MHz, center1: 2462 MHz
                txpower 16.00 dBm
                multicast TXQ:
                        qsz-byt qsz-pkt flows   drops   marks   overlmt hashcol tx-bytes        tx-packets
                        0       0       0       0       0       0       0       0               0
global
country ID: DFS-JP
        (2400 - 2483 @ 40), (N/A, 26), (N/A), NO-OUTDOOR
        (5150 - 5350 @ 80), (N/A, 23), (N/A), NO-OUTDOOR
        (5725 - 5825 @ 80), (N/A, 23), (N/A), NO-OUTDOOR

phy#0
country 99: DFS-UNSET
        (2402 - 2472 @ 40), (N/A, 20), (N/A)
        (2457 - 2482 @ 40), (N/A, 20), (N/A), PASSIVE-SCAN
        (5140 - 5360 @ 80), (N/A, 30), (N/A), PASSIVE-SCAN
        (5460 - 5860 @ 80), (N/A, 30), (N/A), PASSIVE-SCAN

Please don't hesitate to ask or request additional information, thanks for reading