Boot Error - Failed to load rtl_bt/rtl8821a_config.bin

Kernels & Hardware, configuring network, installing services

Boot Error - Failed to load rtl_bt/rtl8821a_config.bin

Postby viking54 » 2017-10-18 20:01

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?
viking54
 
Posts: 2
Joined: 2017-10-18 19:33

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

Postby stevepusser » 2017-10-18 23:11

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?
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Quod Libet 4.2.0, Pale Moon 28.2.0, wine-staging 3.20, GIMP 2.10.8, Liquorix kernel 4.18-22, Midori 6.0
User avatar
stevepusser
 
Posts: 10133
Joined: 2009-10-06 05:53

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

Postby viking54 » 2017-10-19 08:15

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.
viking54
 
Posts: 2
Joined: 2017-10-18 19:33

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

Postby Scorpion » 2018-11-02 09:58

Same problem here i can' t find the rtl8821a_config.bin anywhere and so the bluetooth isn' t working.
Scorpion
 
Posts: 5
Joined: 2018-10-17 11:38

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

Postby stevepusser » 2018-11-02 19:24

So...what's your answer to the questions asked earlier in the thread, such as
Code: Select all
apt policy firmware-realtek
:?:
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Quod Libet 4.2.0, Pale Moon 28.2.0, wine-staging 3.20, GIMP 2.10.8, Liquorix kernel 4.18-22, Midori 6.0
User avatar
stevepusser
 
Posts: 10133
Joined: 2009-10-06 05:53

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

Postby Scorpion » 2018-11-12 17:42

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. But now i have a serious problem with dpkg I can' t use setting (https://unix.stackexchange.com/question ... 852_481126)
Scorpion
 
Posts: 5
Joined: 2018-10-17 11:38

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

Postby stevepusser » 2018-11-13 00:46

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.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Quod Libet 4.2.0, Pale Moon 28.2.0, wine-staging 3.20, GIMP 2.10.8, Liquorix kernel 4.18-22, Midori 6.0
User avatar
stevepusser
 
Posts: 10133
Joined: 2009-10-06 05:53


Return to System configuration

Who is online

Users browsing this forum: No registered users and 14 guests

fashionable