Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bluetooth driver error on boot after upgrade to bookworm

166 views
Skip to first unread message

Unni

unread,
Jun 16, 2023, 11:10:07 AM6/16/23
to
Hello,

I am getting Bluetooth firmware error after upgrade. I've tried
reinstalling firmware-iwlwifi. But no luck. I've added non-free-firmware
in apt source, so thats not the issue. Help me to fix the error on booth.


~# dmesg | egrep -i 'bluetooth'
[    6.051557] Bluetooth: Core ver 2.22
[    6.051579] NET: Registered PF_BLUETOOTH protocol family
[    6.051580] Bluetooth: HCI device and connection manager initialized
[    6.051587] Bluetooth: HCI socket layer initialized
[    6.051589] Bluetooth: L2CAP socket layer initialized
[    6.051593] Bluetooth: SCO socket layer initialized
[    6.093212] bluetooth hci0: firmware: failed to load
intel/ibt-20-0-0.sfi (-2)
[    6.093358] bluetooth hci0: firmware: failed to load
intel/ibt-20-0-0.sfi (-2)
[    7.622442] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    7.622446] Bluetooth: BNEP filters: protocol multicast
[    7.622450] Bluetooth: BNEP socket layer initialized
[    7.623488] Bluetooth: MGMT ver 1.22
[    9.011767] Bluetooth: RFCOMM TTY layer initialized
[    9.011779] Bluetooth: RFCOMM socket layer initialized
[    9.011784] Bluetooth: RFCOMM ver 1.11
[   32.748460] Bluetooth: hci0: Opcode 0x 401 failed: -16

~# hciconfig -a hci0
hci0:    Type: Primary  Bus: USB
    BD Address: 14:F6:D8:D7:FD:C9  ACL MTU: 1021:4  SCO MTU: 96:6
    UP RUNNING PSCAN ISCAN
    RX bytes:1324 acl:0 sco:0 events:122 errors:0
    TX bytes:7670 acl:0 sco:0 commands:116 errors:0
    Features: 0xbf 0xfe 0x0f 0xfe 0xdb 0xff 0x7b 0x87
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
    Link policy: RSWITCH SNIFF
    Link mode: PERIPHERAL ACCEPT
    Name: 'unni-debian'
    Class: 0x7c0104
    Service Classes: Rendering, Capturing, Object Transfer, Audio,
Telephony
    Device Class: Computer, Desktop workstation
    HCI Version: 5.2 (0xb)  Revision: 0x2279
    LMP Version: 5.2 (0xb)  Subversion: 0x2279
    Manufacturer: Intel Corp. (2)

~# lsb_release -a
No LSB modules are available.
Distributor ID:    Debian
Description:    Debian GNU/Linux 12 (bookworm)
Release:    12
Codename:    bookworm

~# cat /etc/apt/sources.list
# See https://wiki.debian.org/SourcesList for more information.
deb http://deb.debian.org/debian bookworm main contrib non-free
non-free-firmware
deb-src http://deb.debian.org/debian bookworm main contrib non-free
non-free-firmware

deb http://deb.debian.org/debian bookworm-updates main contrib non-free
non-free-firmware
deb-src http://deb.debian.org/debian bookworm-updates main contrib
non-free non-free-firmware

deb http://security.debian.org/debian-security/ bookworm-security main
contrib non-free non-free-firmware
deb-src http://security.debian.org/debian-security/ bookworm-security
main contrib non-free non-free-firmware
#Testing repo
# deb http://deb.debian.org/debian testing non-free non-free-firmware
contrib main

~# dpkg-query -W | grep -E '(linux-image|firmware-iwlwifi)'
firmware-iwlwifi    20230210-5
linux-image-5.10.0-10-amd64    5.10.84-1
linux-image-5.10.0-11-amd64    5.10.92-2
linux-image-5.10.0-13-amd64    5.10.106-1
linux-image-5.10.0-14-amd64    5.10.113-1
linux-image-5.10.0-15-amd64    5.10.120-1
linux-image-5.10.0-16-amd64    5.10.127-2
linux-image-5.10.0-17-amd64    5.10.136-1
linux-image-5.10.0-19-amd64    5.10.149-2
linux-image-5.10.0-20-amd64    5.10.158-2
linux-image-5.10.0-21-amd64    5.10.162-1
linux-image-5.10.0-23-amd64    5.10.179-1
linux-image-5.10.0-9-amd64    5.10.70-1
linux-image-6.1.0-9-amd64    6.1.27-1
linux-image-amd64    6.1.27-1

~# uname -mrs
Linux 6.1.0-9-amd64 x86_64

The Wanderer

unread,
Jun 16, 2023, 11:41:41 AM6/16/23
to
On 2023-06-16 at 11:00, Unni wrote:

> Hello,
>
> I am getting Bluetooth firmware error after upgrade. I've tried
> reinstalling firmware-iwlwifi. But no luck. I've added non-free-firmware
> in apt source, so thats not the issue. Help me to fix the error on booth.

From that last, I'm presuming that you've rebooted since the upgrade,
and that it's at boot time that the error appears.

> ~# dmesg | egrep -i 'bluetooth'
> [ 6.051557] Bluetooth: Core ver 2.22
> [ 6.051579] NET: Registered PF_BLUETOOTH protocol family
> [ 6.051580] Bluetooth: HCI device and connection manager initialized
> [ 6.051587] Bluetooth: HCI socket layer initialized
> [ 6.051589] Bluetooth: L2CAP socket layer initialized
> [ 6.051593] Bluetooth: SCO socket layer initialized
> [ 6.093212] bluetooth hci0: firmware: failed to load
> intel/ibt-20-0-0.sfi (-2)
> [ 6.093358] bluetooth hci0: firmware: failed to load
> intel/ibt-20-0-0.sfi (-2)

I see some things online that seem to suggest that this may be a
misleading message, and that the stack may already be using the
available firmware, but is also attempting to load this lower version
and is reporting that that attempt failed. However, those mentions are
somewhat older (2021-ish?), and the messages aren't quite the same, and
it looks like they should have been fixed by now, so I'm not assuming
that they're talking about this same thing.

Can you confirm whether you're seeing any actual functionality issues
along with this change, or whether it's just the fact that the message
is appearing that has you concerned?

FWIW, I get all of the above messages except the two about firmware (I
get two about a command timeout and a "Reading Intel version command
failed" instead)...

> [ 7.622442] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
> [ 7.622446] Bluetooth: BNEP filters: protocol multicast
> [ 7.622450] Bluetooth: BNEP socket layer initialized

...and also get these three...

> [ 7.623488] Bluetooth: MGMT ver 1.22
> [ 9.011767] Bluetooth: RFCOMM TTY layer initialized
> [ 9.011779] Bluetooth: RFCOMM socket layer initialized
> [ 9.011784] Bluetooth: RFCOMM ver 1.11
> [ 32.748460] Bluetooth: hci0: Opcode 0x 401 failed: -16

...but not these. I don't actually know whether Bluetooth functionality
is available on my system, because I don't think I have any hardware
suitable to pair to it. Presumably, however, the lines we have in common
should not be relevant to what you're seeing.


$ apt-file search ibt-20-0-
firmware-iwlwifi: /lib/firmware/intel/ibt-20-0-3.ddc
firmware-iwlwifi: /lib/firmware/intel/ibt-20-0-3.sfi

(This is with the same package version you referenced; it's in both
stable and testing, at the moment.)

So ibt-20-0-3.sfi exists, but not the 20-0-0 version. The question would
then seem to be why the Bluetooth stack is attempting to load that
lower-numbered version.

Given that we're talking about firmware, it may be necessary to
reinitialize the relevant modules (et possibly cetera) after the
upgrade; that can almost certainly be done by rebooting, but should also
be possible to do manually in many cases by removing and reinserting
modules. If (as suggested above) you've rebooted, then presumably this
approach has already been tried.

(In my case, I'm fairly sure I haven't rebooted since the release, but I
was also tracking testing right up to the release so I'm already running
the same kernel etc. that you mentioned.)

--
The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw

signature.asc
0 new messages