Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Boot Error - Failed to load rtl_bt/rtl8821a_config.bin

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
viking54
Posts: 7
Joined: 2017-10-18 19:33
Location: SH in Germany

Boot Error - Failed to load rtl_bt/rtl8821a_config.bin

#1 Post by viking54 »

Thanks for accepting me on the forum.
I just installed Debian 9.2 from scratch on my ASUS VivoPC. Just at the initial boot screen the following lines occur and can be reselected via dmesg:

Code: Select all

[    8.156548] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000a lmp_ver=06 lmp_subver=8821
[    8.156550] Bluetooth: hci0: rtl: loading rtl_bt/rtl8821a_config.bin
[    8.303754] bluetooth hci0: firmware: failed to load rtl_bt/rtl8821a_config.bin (-2)
[    8.303861] bluetooth hci0: Direct firmware load for rtl_bt/rtl8821a_config.bin failed with error -2
[    8.303867] Bluetooth: hci0: Failed to load rtl_bt/rtl8821a_config.bin
I don't know where the file rtl8821a_config.bin is called from. I installed the full Realtek driver package, but the file isn't included there. dmesg tells in the following:

Code: Select all

[    8.303943] Bluetooth: hci0: rtl: loading rtl_bt/rtl8821a_fw.bin
[    8.336653] bluetooth hci0: firmware: direct-loading firmware rtl_bt/rtl8821a_fw.bin
Bluetooth functions, but can't pair. Have no Blueman installed yet.

System:

Code: Select all

uname -a
Linux jb4 4.9.0-4-amd64 #1 SMP Debian 4.9.51-1 (2017-09-28) x86_64 GNU/Linux
Somebody ideas on how to get rid of the error?

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Boot Error - Failed to load rtl_bt/rtl8821a_config.bin

#2 Post by stevepusser »

Code: Select all

dpkg -S rtl8821a_fw.bin

Code: Select all

firmware-realtek: /lib/firmware/rtl_bt/rtl8821a_fw.bin
That file is provided by the firmware-realtek package. What do you get for

Code: Select all

apt policy firmware-realtek
and what is this "full Realtek driver package" that you speak of?
MX Linux packager and developer

viking54
Posts: 7
Joined: 2017-10-18 19:33
Location: SH in Germany

Re: Boot Error - Failed to load rtl_bt/rtl8821a_config.bin

#3 Post by viking54 »

Thank you for the quick answer.
The full Realtek driver package for Stretch is this one: https://packages.debian.org/de/stretch/firmware-realtek

The results for your analysis are:

Code: Select all

root@jb4:/home/jums# dpkg -S rtl8821a_fw.bin
firmware-realtek: /lib/firmware/rtl_bt/rtl8821a_fw.bin
root@jb4:/home/jums# apt policy firmware-realtek
firmware-realtek:
  Installiert:           20161130-3
  Installationskandidat: 20161130-3
  Versionstabelle:
 *** 20161130-3 500
        500 http://deb.debian.org/debian stable/non-free amd64 Packages
        100 /var/lib/dpkg/status
I did reecognize, the driver rtl8821a_fw.bin is included in the package and installed, but the file referenced at initial boot
rtl8821a_config.bin
isn't.

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Boot Error - Failed to load rtl_bt/rtl8821a_config.bin

#4 Post by Scorpion »

Same problem here i can' t find the rtl8821a_config.bin anywhere and so the bluetooth isn' t working.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Boot Error - Failed to load rtl_bt/rtl8821a_config.bin

#5 Post by stevepusser »

So...what's your answer to the questions asked earlier in the thread, such as

Code: Select all

apt policy firmware-realtek
:?:
MX Linux packager and developer

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Boot Error - Failed to load rtl_bt/rtl8821a_config.bin

#6 Post by Scorpion »

stevepusser wrote:So...what's your answer to the questions asked earlier in the thread, such as

Code: Select all

apt policy firmware-realtek
:?:
Are you asking me?

Code: Select all

apt policy firmware-realtek
firmware-realtek:
  Installed: 20161130-4
  Candidate: 20161130-4
  Version table:
 *** 20161130-4 500
        500 http://deb.debian.org/debian stretch/non-free amd64 Packages
        100 /var/lib/dpkg/status
My bluetooth isn' t working.
Last edited by Scorpion on 2022-10-18 11:35, edited 1 time in total.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Boot Error - Failed to load rtl_bt/rtl8821a_config.bin

#7 Post by stevepusser »

That firmware package is missing the file. A workaround from the bug report:
I'm running buster with 4.16 kernel and firmware-realtek is installed.
> It seems that this file should be in the package but it hasn't been
> included for some reason, even though it is available from https://github.com/lwfinger/rtl8723au_bt/.
>
> Installing the file on /lib/firmware/rtl_bt/ solves the issue.
MX Linux packager and developer

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Boot Error - Failed to load rtl_bt/rtl8821a_config.bin

#8 Post by Scorpion »

stevepusser wrote:That firmware package is missing the file. A workaround from the bug report:
I'm running buster with 4.16 kernel and firmware-realtek is installed.
> It seems that this file should be in the package but it hasn't been
> included for some reason, even though it is available from https://github.com/lwfinger/rtl8723au_bt/.
>
> Installing the file on /lib/firmware/rtl_bt/ solves the issue.
If I use that repo I will have the rtl8821a_config.bin? The tile is rtl8723au_bt.

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Boot Error - Failed to load rtl_bt/rtl8821a_config.bin

#9 Post by Scorpion »

Now I do not have that error anymore and I can use the bluetooth.

Post Reply