Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error loading on Debian #238

Open
gerroon opened this issue Dec 13, 2024 · 6 comments
Open

Error loading on Debian #238

gerroon opened this issue Dec 13, 2024 · 6 comments

Comments

@gerroon
Copy link

gerroon commented Dec 13, 2024

Hi

I am trying to install this driver on a remote machine. It seems like the driver isn't loaded after the installation/reboot using the install script so I try manual loading.

modprobe 88x2bu
modprobe: ERROR: could not insert '88x2bu': Key was rejected by service
cat /etc/debian_version
12.8

uname -ra
Linux debian 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux

lsusb
Bus 003 Device 003: ID 0bda:b812 Realtek Semiconductor Corp. RTL88x2bu [AC1200 Techkey]

gcc --version
gcc (Debian 12.2.0-14) 12.2.0

ls  /etc/modprobe.d/
88x2bu.conf  dkms.conf  intel-microcode-blacklist.conf

grep -ir blacklist  /etc/modprobe.d/
/etc/modprobe.d/88x2bu.conf:# The following line blacklists (deactivates) the above in-kernel driver.
/etc/modprobe.d/88x2bu.conf:blacklist rtw88_8822bu
/etc/modprobe.d/intel-microcode-blacklist.conf:blacklist microcode


I didn't get any errors during the installation.

@gerroon gerroon changed the title Error loadijng on Debian Error loading on Debian Dec 13, 2024
@morrownr
Copy link
Owner

Hi @gerroon

I didn't get any errors during the installation.

There probably were not any errors.

modprobe: ERROR: could not insert '88x2bu': Key was rejected by service

So the system is running secure boot. There is not as much standardization among Linux distros as far as secure boot is concerned. At least not yet. This drivers installation as it currently is will handle secure boot on Ubuntu and the derivatives very well but beyond that it may take an investigation.

If you can look around the Debian web site for information about secure boot and how to do it, and send it to me, I'll see what we can do.

@gerroon
Copy link
Author

gerroon commented Dec 13, 2024

Thanks for the reply. I just checked dmesg and I see. It is a remote PC so not sure how much I can deal with the secure boot thing, but thanks for the info.

[Cum Ara 13 21:50:07 2024] brcmsmac bcma0:1: wl0: brcms_c_d11hdrs_mac80211:  txop exceeded phylen 159/256 dur 1778/1504
[Cum Ara 13 21:50:07 2024] brcmsmac bcma0:1: wl0: brcms_c_d11hdrs_mac80211:  txop exceeded phylen 137/256 dur 1602/1504
[Cum Ara 13 21:50:07 2024] brcmsmac bcma0:1: wl0: brcms_c_d11hdrs_mac80211:  txop exceeded phylen 372/256 dur 4110/1504
[Cum Ara 13 21:54:45 2024] usb 3-2: USB disconnect, device number 3
[Cum Ara 13 21:54:51 2024] usb 3-2: new high-speed USB device number 4 using xhci_hcd
[Cum Ara 13 21:54:51 2024] usb 3-2: New USB device found, idVendor=0bda, idProduct=b812, bcdDevice= 2.10
[Cum Ara 13 21:54:51 2024] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Cum Ara 13 21:54:51 2024] usb 3-2: Product: USB3.0 802.11ac 1200M Adapter
[Cum Ara 13 21:54:51 2024] usb 3-2: Manufacturer: Realtek
[Cum Ara 13 21:54:51 2024] usb 3-2: SerialNumber: 123456
[Cum Ara 13 21:54:51 2024] Loading of module with unavailable key is rejected

@morrownr
Copy link
Owner

It is a remote PC so not sure how much I can deal with the secure boot thing, but thanks for the info.

It is possible to key the driver so that it works. It just depends on the distro that is being used. FYI: By the time Debian 13 comes out, this won't be an issue as the adapter will be plug and play.

@morrownr
Copy link
Owner

Another thought: Here is the Main Menu for this site:

https://github.com/morrownr/USB-WiFi

If you read menu items 1 and 2, you will see that there are many plug and play adapters available for Linux. You can go as high as WiFi 6e adapter with the kernel and Debian 12 that you are using. No more hunting for and compiling drivers.

@gerroon
Copy link
Author

gerroon commented Dec 13, 2024

Thanks for the useful information. Most of these cards aren't available in the host country's Amazon stores. I will keep looking at them, to see if I can find the same chipsets in other brands. I am guessing the chipset is what matters.

Do you think that upgrading to "testing" would resolve the issue for me? If not I am guessing that I can't make a signed compiled driver myself.

@morrownr
Copy link
Owner

morrownr commented Dec 14, 2024

@gerroon

It is. for the most part, the chipset that matters. You can see the Plug and Play List and there is Chipset menu item on the Main Menu as well.

Here is message showing another adapter that I am considering adding to the Plug and Play List. Maybe it is available to you. Be careful about model numbers as TP-Link has many model numbers that are nearly the same.

morrownr/USB-WiFi#534

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants