linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thorsten Leemhuis <linux@leemhuis.info>
To: Chris Murphy <lists@colorremedies.com>,
	Bluetooth <linux-bluetooth@vger.kernel.org>
Subject: Re: bug kernel 5.17, qualcom and intel adapters, unable to reliably connect to bluetooth devices
Date: Thu, 24 Feb 2022 11:26:17 +0100	[thread overview]
Message-ID: <0ab4466e-1fa8-1904-3f71-770fbd28c83a@leemhuis.info> (raw)
In-Reply-To: <CAJCQCtSeUtHCgsHXLGrSTWKmyjaQDbDNpP4rb0i+RE+L2FTXSA@mail.gmail.com>

[TLDR: I'm adding the regression report below to regzbot, the Linux
kernel regression tracking bot; all text you find below is compiled from
a few templates paragraphs you might have encountered already already
from similar mails.]

Hi, this is your Linux kernel regression tracker speaking.

Thanks for the report and CCing the regression list in a downstream reply.

To be sure this issue doesn't fall through the cracks unnoticed, I'm
adding it to regzbot, my Linux kernel regression tracking bot:

#regzbot ^introduced v5.16..
#regzbot title net: bluetooth: qualcom and intel adapters, unable to
reliably connect to bluetooth devices
#regzbot ignore-activity

Reminder for developers: when fixing the issue, please add a 'Link:'
tags pointing to the report (the mail quoted above) using
lore.kernel.org/r/, as explained in
'Documentation/process/submitting-patches.rst' and
'Documentation/process/5.Posting.rst'. This allows the bot to connect
the report with any patches posted or committed to fix the issue; this
again allows the bot to show the current status of regressions and
automatically resolve the issue when the fix hits the right tree.

I'm sending this to everyone that got the initial report, to make them
aware of the tracking. I also hope that messages like this motivate
people to directly get at least the regression mailing list and ideally
even regzbot involved when dealing with regressions, as messages like
this wouldn't be needed then.

Don't worry, I'll send further messages wrt to this regression just to
the lists (with a tag in the subject so people can filter them away), if
they are relevant just for regzbot. With a bit of luck no such messages
will be needed anyway.

Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat)

P.S.: As the Linux kernel's regression tracker I'm getting a lot of
reports on my table. I can only look briefly into most of them and lack
knowledge about most of the areas they concern. I thus unfortunately
will sometimes get things wrong or miss something important. I hope
that's not the case here; if you think it is, don't hesitate to tell me
in a public reply, it's in everyone's interest to set the public record
straight.





On 11.02.22 02:44, Chris Murphy wrote:
> Since kernel 5.17, some users are seeing problems connecting to
> bluetooth devices, the problem doesn't happen with 5.16 series
> kernels.
> 
> So far two different devices are affected, although it's possible it's
> not even device related, but could be the interface between kernel and
> user space.
> 
> Case 1:
> 
> Bus 001 Device 003: ID 0cf3:e301 Qualcomm Atheros Communications
> 
> Not seeing anything that stands out in dmesg, bluetoothd -d shows
> various curious messages like
> 
> bluetoothd[5889]: src/service.c:change_state() 0x7f33becdebc0: device
> 94:65:2D:DC:F4:A7 profile avrcp-controller state changed: disconnected
> -> unavailable (0)
> and
> bluetoothd[5889]: src/service.c:change_state() 0x7f33becd91e0: device
> 94:65:2D:DC:F4:A7 profile Hands-Free Voice gateway state changed:
> unavailable -> disconnected (0)
> 
> 
> Case 2:
> 
> Bus 001 Device 005: ID 8087:0aaa Intel Corp. Bluetooth 9460/9560
> Jefferson Peak (JfP)
> [    5.923865] kernel: Bluetooth: hci0: Found device firmware:
> intel/ibt-17-16-1.sfi
> [    5.930536] kernel: Bluetooth: hci0: Boot Address: 0x40800
> [    5.930539] kernel: Bluetooth: hci0: Firmware Version: 60-44.21
> ...
> [16102.640651] Bluetooth: hci0: unexpected event 0xff length: 5 > 0
> [16102.640802] Bluetooth: hci0: Waiting for device to boot
> [16102.654712] Bluetooth: hci0: Device booted in 13698 usecs
> [16102.654753] Bluetooth: hci0: unexpected event 0xff length: 7 > 0
> [16102.655907] Bluetooth: hci0: Found Intel DDC parameters:
> intel/ibt-17-16-1.ddc
> [16102.657821] Bluetooth: hci0: Applying Intel DDC parameters completed
> [16102.658829] Bluetooth: hci0: Firmware revision 0.1 build 60 week 44 2021
> [17422.210558] Bluetooth: hci0: command 0x0c03 tx timeout
> [17430.338412] Bluetooth: hci0: HCI reset during shutdown failed
> 
> [15975.194153] bluetoothd[42895]:
> src/adapter.c:device_found_callback() hci0 addr 75:0B:19:0C:47:F6,
> rssi -82 flags 0x0000 eir_len 17
> [15975.194412] bluetoothd[42895]:
> src/adv_monitor.c:btd_adv_monitor_offload_supported() Manager is NULL,
> get offload support failed
> [15975.194510] bluetoothd[42895]: src/device.c:device_set_legacy() legacy 0
> [15975.194599] bluetoothd[42895]:
> src/device.c:device_set_rssi_with_delta() rssi -82 delta 1
> [15975.194661] bluetoothd[42895]: src/device.c:device_set_flags() flags 26
> 
> There are many many of the "Manager is NULL, get offload support
> failed" messages in this case. I'm not entirely sure the root causes
> are the same for the two cases.
> 
> Downstream bug has attachments (dmesg, btmon, lsbsb, journalctl
> snippet with bluetoothd in debug, for both)
> https://bugzilla.redhat.com/show_bug.cgi?id=2053283
> 
> Thanks,
> 

-- 
Additional information about regzbot:

If you want to know more about regzbot, check out its web-interface, the
getting start guide, and the references documentation:

https://linux-regtracking.leemhuis.info/regzbot/
https://gitlab.com/knurd42/regzbot/-/blob/main/docs/getting_started.md
https://gitlab.com/knurd42/regzbot/-/blob/main/docs/reference.md

The last two documents will explain how you can interact with regzbot
yourself if your want to.

Hint for reporters: when reporting a regression it's in your interest to
CC the regression list and tell regzbot about the issue, as that ensures
the regression makes it onto the radar of the Linux kernel's regression
tracker -- that's in your interest, as it ensures your report won't fall
through the cracks unnoticed.

Hint for developers: you normally don't need to care about regzbot once
it's involved. Fix the issue as you normally would, just remember to
include 'Link:' tag in the patch descriptions pointing to all reports
about the issue. This has been expected from developers even before
regzbot showed up for reasons explained in
'Documentation/process/submitting-patches.rst' and
'Documentation/process/5.Posting.rst'.

      parent reply	other threads:[~2022-02-24 10:26 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-11  1:44 bug kernel 5.17, qualcom and intel adapters, unable to reliably connect to bluetooth devices Chris Murphy
2022-02-15 15:29 ` Chris Murphy
2022-02-15 15:38   ` Chris Murphy
2022-02-16  3:47     ` Chris Murphy
2022-02-16 23:49       ` Luiz Augusto von Dentz
2022-02-17  1:35         ` Chris Murphy
2022-02-17 23:36           ` Chris Murphy
2022-02-18  0:15             ` Luiz Augusto von Dentz
2022-02-18  3:49               ` Chris Murphy
2022-02-21 11:39                 ` Chris Clayton
2022-02-21 13:22                 ` Chris Clayton
2022-02-21 17:11                   ` Luiz Augusto von Dentz
2022-02-21 20:23                     ` Chris Clayton
2022-02-21 21:27                       ` Luiz Augusto von Dentz
2022-02-21 22:33                         ` Chris Clayton
2022-02-22 20:03                           ` Chris Clayton
2022-02-23 17:51                             ` Luiz Augusto von Dentz
2022-02-23 22:42                               ` Chris Clayton
2022-02-24  5:59                                 ` Chris Clayton
2022-02-24  8:16                                   ` Luiz Augusto von Dentz
2022-02-24 10:08                                     ` Chris Clayton
2022-02-24 15:16                                       ` Luiz Augusto von Dentz
2022-02-24 16:18                                         ` Thorsten Leemhuis
2022-02-26  8:04                                         ` Chris Clayton
2022-02-28 19:34                                           ` Luiz Augusto von Dentz
2022-02-28 21:02                                             ` Chris Clayton
2022-02-28 21:20                                               ` Luiz Augusto von Dentz
2022-03-01  9:26                                                 ` Chris Clayton
2022-03-01 18:34                                                   ` Luiz Augusto von Dentz
2022-03-01 18:56                                                     ` Chris Clayton
2022-03-01 18:57                                                     ` Luiz Augusto von Dentz
2022-03-01 19:40                                                       ` Chris Clayton
2022-03-01 22:40                                                         ` Luiz Augusto von Dentz
2022-03-01 22:47                                                           ` Luiz Augusto von Dentz
2022-03-02  2:31                                                             ` Luiz Augusto von Dentz
2022-03-02  6:55                                                               ` Luiz Augusto von Dentz
2022-03-02  9:59                                                                 ` Chris Clayton
2022-03-02  8:54                                                             ` Chris Clayton
2022-02-24  8:24                                   ` Chris Clayton
2022-02-21 17:12                 ` Luiz Augusto von Dentz
2022-02-21 17:18                   ` Luiz Augusto von Dentz
2022-02-24 10:26 ` Thorsten Leemhuis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0ab4466e-1fa8-1904-3f71-770fbd28c83a@leemhuis.info \
    --to=linux@leemhuis.info \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=lists@colorremedies.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).