[GH-ISSUE #67] [Bug]: ERROR ON KERNEL 7.x #57

Open
opened 2026-10-13 19:33:41 +00:00 by bsakaguchi · 3 comments
Owner

Originally created by @LucasOliveira256 on GitHub (Jun 12, 2026).
Original GitHub issue: https://github.com/morrownr/8812au-20210820/issues/67

Checklist

  • I am not using this driver from inside a Virtual Machine.
  • I performed all of the installation steps as written.
  • I have read the FAQ and my question is not answered there.

Is Secure Boot enabled?

No

uname

inux DEEJAY-R15 7.0.11-pikaos #101pika1 SMP PREEMPT_DYNAMIC Wed Jun 3 09:44:11 EDT 2026 x86_64 GNU/Linux

lsusb

❯ sudo lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 1662:b101 Generic OYV1RDFF7_LED Bus 001 Device 003: ID 2357:0122 TP-Link 802.11n NIC Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 002: ID 30fa:1040 INSTANT USB GAMING MOUSE Bus 003 Device 003: ID 8087:0029 Intel Corp. AX200 Bluetooth Bus 003 Device 004: ID 05e3:0608 Genesys Logic, Inc. Hub Bus 003 Device 005: ID 05e3:0610 Genesys Logic, Inc. Hub Bus 003 Device 006: ID 046d:c534 Logitech, Inc. Nano Receiver Bus 003 Device 007: ID 0324:0324 OCZ Technology Inc sxw-admin_CDC_DEMO Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub ~/rtl8812AU_8821AU_linux/rtl8812au-5.9.3.2/8812au-20210820 │ main ▓▒

rfkill

❯ sudo rfkill list all 0: hci0: Bluetooth Soft blocked: no Hard blocked: no 1: phy0: Wireless LAN Soft blocked: no Hard blocked: no

dkms

❯ sudo /usr/sbin/dkms status                               
rtl8812au/5.13.6-23: added

iw

❯ iw dev
phy#0
        Unnamed/non-netdev interface
                wdev 0x2
                addr 08:5b:d6:ce:88:a3
                type P2P-device
        Interface wlan0
                ifindex 2
                wdev 0x1
                addr 08:5b:d6:ce:88:a3
                ssid TESTE_5G
                type managed
                channel 100 (5500 MHz), width: 80 MHz, center1: 5530 MHz
                txpower 20.00 dBm
                multicast TXQ:
                        qsz-byt qsz-pkt flows   drops   marks   overlmt hashcol tx-bytes        tx-packets
                        0       0       0       0       0       0       0       



The card was not listed because i've removed the default drivers

git status

n branch main
Your branch is up to date with 'origin/main'.

nothing to commit, working tree clean

install-driver.sh

❯ sudo ./install-driver.sh
[sudo: authenticate] Password: 
: ---------------------------
: install-driver.sh v20241003
: x86_64 (kernel architecture)
: x86_64 (architecture to send to gcc)
: 16/16 (in-use/total processing units)
: 30683460 (total system memory)
: 7.0.11-pikaos (kernel version)
: Linux (version of gcc used to compile the kernel)
: gcc (Debian 15.2.0-12) 15.2.0
: dkms-3.4.1
: SecureBoot disabled
: ---------------------------

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

Starting installation.
Copying 8812au.conf to /etc/modprobe.d
The dkms installation routines are in use.
Copying source files to /usr/src/rtl8812au-5.13.6-23
Deprecated feature: CLEAN (/usr/src/rtl8812au-5.13.6-23/dkms.conf)
Creating symlink /var/lib/dkms/rtl8812au/5.13.6-23/source -> /usr/src/rtl8812au-5.13.6-23
The driver was added to dkms successfully.
: ---------------------------

Deprecated feature: CLEAN (/usr/src/rtl8812au-5.13.6-23/dkms.conf)
Sign command: /lib/modules/7.0.11-pikaos/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module(s)....(bad exit status: 2)
Failed command:
kernelver=7.0.11-pikaos ./dkms-make.sh LLVM=1

Error! Bad return status for module build on kernel: 7.0.11-pikaos (x86_64)
Consult /var/lib/dkms/rtl8812au/5.13.6-23/build/make.log for more information.
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
 ~/rtl8812AU_8821AU_linux/rtl8812au-5.9.3.2/8812au-20210820 │ main ▓▒░                                                                                                                    ░▒▓ 7s 
❯

What happened?

I hope that work, good job maitaing this!

Originally created by @LucasOliveira256 on GitHub (Jun 12, 2026). Original GitHub issue: https://github.com/morrownr/8812au-20210820/issues/67 ### Checklist - [x] I am not using this driver from inside a Virtual Machine. - [x] I performed all of the [installation steps](/README.md#installation-steps) as written. - [x] I have read the [FAQ](/FAQ.md) and my question is not answered there. ### Is Secure Boot enabled? No ### uname inux DEEJAY-R15 7.0.11-pikaos #101pika1 SMP PREEMPT_DYNAMIC Wed Jun 3 09:44:11 EDT 2026 x86_64 GNU/Linux ### lsusb ❯ sudo lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 1662:b101 Generic OYV1RDFF7_LED Bus 001 Device 003: ID 2357:0122 TP-Link 802.11n NIC Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 002: ID 30fa:1040 INSTANT USB GAMING MOUSE Bus 003 Device 003: ID 8087:0029 Intel Corp. AX200 Bluetooth Bus 003 Device 004: ID 05e3:0608 Genesys Logic, Inc. Hub Bus 003 Device 005: ID 05e3:0610 Genesys Logic, Inc. Hub Bus 003 Device 006: ID 046d:c534 Logitech, Inc. Nano Receiver Bus 003 Device 007: ID 0324:0324 OCZ Technology Inc sxw-admin_CDC_DEMO Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub ~/rtl8812AU_8821AU_linux/rtl8812au-5.9.3.2/8812au-20210820 │ main ▓▒ ### rfkill ❯ sudo rfkill list all 0: hci0: Bluetooth Soft blocked: no Hard blocked: no 1: phy0: Wireless LAN Soft blocked: no Hard blocked: no ### dkms ```text ❯ sudo /usr/sbin/dkms status rtl8812au/5.13.6-23: added ``` ### iw ```text ❯ iw dev phy#0 Unnamed/non-netdev interface wdev 0x2 addr 08:5b:d6:ce:88:a3 type P2P-device Interface wlan0 ifindex 2 wdev 0x1 addr 08:5b:d6:ce:88:a3 ssid TESTE_5G type managed channel 100 (5500 MHz), width: 80 MHz, center1: 5530 MHz txpower 20.00 dBm multicast TXQ: qsz-byt qsz-pkt flows drops marks overlmt hashcol tx-bytes tx-packets 0 0 0 0 0 0 0 The card was not listed because i've removed the default drivers ``` ### git status ```text n branch main Your branch is up to date with 'origin/main'. nothing to commit, working tree clean ``` ### install-driver.sh ```text ❯ sudo ./install-driver.sh [sudo: authenticate] Password: : --------------------------- : install-driver.sh v20241003 : x86_64 (kernel architecture) : x86_64 (architecture to send to gcc) : 16/16 (in-use/total processing units) : 30683460 (total system memory) : 7.0.11-pikaos (kernel version) : Linux (version of gcc used to compile the kernel) : gcc (Debian 15.2.0-12) 15.2.0 : dkms-3.4.1 : SecureBoot disabled : --------------------------- Checking for previously installed drivers... Finished checking for and uninstalling previously installed drivers. : --------------------------- Starting installation. Copying 8812au.conf to /etc/modprobe.d The dkms installation routines are in use. Copying source files to /usr/src/rtl8812au-5.13.6-23 Deprecated feature: CLEAN (/usr/src/rtl8812au-5.13.6-23/dkms.conf) Creating symlink /var/lib/dkms/rtl8812au/5.13.6-23/source -> /usr/src/rtl8812au-5.13.6-23 The driver was added to dkms successfully. : --------------------------- Deprecated feature: CLEAN (/usr/src/rtl8812au-5.13.6-23/dkms.conf) Sign command: /lib/modules/7.0.11-pikaos/build/scripts/sign-file Signing key: /var/lib/dkms/mok.key Public certificate (MOK): /var/lib/dkms/mok.pub Building module(s)....(bad exit status: 2) Failed command: kernelver=7.0.11-pikaos ./dkms-make.sh LLVM=1 Error! Bad return status for module build on kernel: 7.0.11-pikaos (x86_64) Consult /var/lib/dkms/rtl8812au/5.13.6-23/build/make.log for more information. 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 ~/rtl8812AU_8821AU_linux/rtl8812au-5.9.3.2/8812au-20210820 │ main ▓▒░ ░▒▓ 7s ❯ ``` ### What happened? I hope that work, good job maitaing this!
Author
Owner

@morrownr commented on GitHub (Jun 12, 2026):

Hi @LucasOliveira256

I have a notice at the top of the README. There are better drivers available.

The card was not listed because i've removed the default drivers

I'm curious as to why you did this?

<!-- gh-comment-id:4687003874 --> @morrownr commented on GitHub (Jun 12, 2026): Hi @LucasOliveira256 I have a notice at the top of the README. There are better drivers available. > The card was not listed because i've removed the default drivers I'm curious as to why you did this?
Author
Owner

@LucasOliveira256 commented on GitHub (Jun 16, 2026):

I'am was lazy and follow GPT before crashing all the thing. So after that i've used cloud to help me, and we get a sucess result, now the card had ben working correctly man. Tks for the Driver

<!-- gh-comment-id:4713838574 --> @LucasOliveira256 commented on GitHub (Jun 16, 2026): I'am was lazy and follow GPT before crashing all the thing. So after that i've used cloud to help me, and we get a sucess result, now the card had ben working correctly man. Tks for the Driver
Author
Owner

@morrownr commented on GitHub (Jun 16, 2026):

You would probably better off in the long term moving to the modern mac80211 driver. We delevelop it here:

https://github.com/lwfinger/rtw88

That is the home of Realtek usb WiFi 5 dev for the kernel. rtw88 has a future.

<!-- gh-comment-id:4713906602 --> @morrownr commented on GitHub (Jun 16, 2026): You would probably better off in the long term moving to the modern mac80211 driver. We delevelop it here: https://github.com/lwfinger/rtw88 That is the home of Realtek usb WiFi 5 dev for the kernel. rtw88 has a future.
Sign in to join this conversation.
No labels
bug
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
morrownr/8812au-20210820#57
No description provided.