public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Regression: Inoperative bluetooth, Intel chipset, mainline kernel 6.6.2+
       [not found] <ee109942-ef8e-45b9-8cb9-a98a787fe094@moonlit-rail.com>
@ 2023-12-01  6:27 ` Bagas Sanjaya
  2023-12-01  8:19   ` Kris Karas (Bug Reporting)
  0 siblings, 1 reply; 5+ messages in thread
From: Bagas Sanjaya @ 2023-12-01  6:27 UTC (permalink / raw)
  To: Kris Karas (Bug Reporting), Linux Bluetooth, Linux Regressions,
	Linux Kernel Mailing List
  Cc: Marcel Holtmann, Johan Hedberg, Luiz Augusto von Dentz, Zach

[-- Attachment #1: Type: text/plain, Size: 2499 bytes --]

[also Cc: original Bugzilla reporter]

On Thu, Nov 30, 2023 at 08:54:09PM -0500, Kris Karas (Bug Reporting) wrote:
> Greetings -
> 
> With mainline kernel 6.6.2+ (and 6.1.63, etc), bluetooth is inoperative
> (reports "opcode 0x0c03 failed") on my motherboard's bluetooth adapter
> (Intel chipset).  Details below.
> 
> I reported this in a comment tacked onto bugzilla #218142, but got no
> response, so posting here as a possibly new issue.
> 
> Details, original email:
> ----------------------------------------------------------------------
> I have a regression going from mainline kernel 6.1.62 to 6.1.63, and also
> from kernel 6.6.1 to 6.6.2; I can bisect if patch authors can't locate the
> relevant commit.  In the most recent kernels mentioned, bluetooth won't
> function.

Then please do bisection; without it, nobody will look into this properly.

> 
> Hardware: ASRock "X470 Taichi" motherboard - on board chipset.
> lsusb: ID 8087:0aa7 Intel Corp. Wireless-AC 3168 Bluetooth.
> dmesg: Bluetooth: hci0: Legacy ROM 2.x revision 5.0 build 25 week 20 2015
>        Bluetooth: hci0: Intel Bluetooth firmware file:
>          intel/ibt-hw-37.8.10-fw-22.50.19.14.f.bseq
>        Bluetooth: hci0: Intel BT fw patch 0x43 completed & activated
> bluez: Version 5.70, bluez firmware version 1.2
> Linux kernel firmware: 20231117_7124ce3
> 
> On a working kernel (such as 6.6.1), in addition to the dmesg output above,
> we have this:
> dmesg: Bluetooth: MGMT ver 1.22
>        Bluetooth: hci0: Bad flag given (0x1) vs supported (0x0)
> 
> On a failed kernel (such as 6.6.2), instead of the good output above, we
> have:
> dmesg: Bluetooth: hci0: Opcode 0x0c03 failed: -110
>        Bluetooth: hci0: Opcode 0x0c03 failed: -110
>        ...
> repeats several times as bluez attempts to communicate with hci0.
> ----------------------------------------------------------------------
> 
> Since that email was sent, kernel firmware has been updated to
> 20231128_aae6052, and kernels 6.1.64 and 6.6.3 have been tried with no
> change observed.
> 

You may also want to check current mainline (v6.7-rc3) to see if this
regression have already been fixed.

Anyway, thanks for the regression report. I'm adding it to regzbot
for tracking (as stable-specific regression for now):

#regzbot ^introduced: v6.6.1..v6.6.2
#regzbot link: https://bugzilla.kernel.org/show_bug.cgi?id=218142

-- 
An old man doll... just what I always wanted! - Clara

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Regression: Inoperative bluetooth, Intel chipset, mainline kernel 6.6.2+
  2023-12-01  6:27 ` Regression: Inoperative bluetooth, Intel chipset, mainline kernel 6.6.2+ Bagas Sanjaya
@ 2023-12-01  8:19   ` Kris Karas (Bug Reporting)
  2023-12-01  8:27     ` Paul Menzel
  2023-12-03 12:17     ` Oleksandr Natalenko
  0 siblings, 2 replies; 5+ messages in thread
From: Kris Karas (Bug Reporting) @ 2023-12-01  8:19 UTC (permalink / raw)
  To: Bagas Sanjaya, Linux Bluetooth, Linux Regressions,
	Linux Kernel Mailing List
  Cc: Marcel Holtmann, Johan Hedberg, Luiz Augusto von Dentz, Zach

Bagas Sanjaya wrote:
> Kris Karas (Bug Reporting) wrote:
>> I have a regression going from mainline kernel 6.1.62 to 6.1.63, and also
>> from kernel 6.6.1 to 6.6.2; I can bisect if patch authors can't locate the
>> relevant commit.  In the most recent kernels mentioned, bluetooth won't
>> function.
> 
> Then please do bisection; without it, nobody will look into this properly.

As only a few people are reporting this, it must be pretty 
hardware-specific (or perhaps Kconfig/firmware specific).  I'll do a 
bisect.  A bit too late here in Boston (03:00), and kiddo's birthday 
"later today", so will probably get to this on the weekend.

> You may also want to check current mainline (v6.7-rc3) to see if this
> regression have already been fixed.

Just tried 6.7.0-rc3, and it is also affected.

I hadn't git-pulled my linux-stable since May, so that gave me a good 
chance to test the very latest.  :-)  And conveniently I'm now set for 
the bisect.

Kris

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Regression: Inoperative bluetooth, Intel chipset, mainline kernel 6.6.2+
  2023-12-01  8:19   ` Kris Karas (Bug Reporting)
@ 2023-12-01  8:27     ` Paul Menzel
  2023-12-03 12:17     ` Oleksandr Natalenko
  1 sibling, 0 replies; 5+ messages in thread
From: Paul Menzel @ 2023-12-01  8:27 UTC (permalink / raw)
  To: Kris Karas (Bug Reporting)
  Cc: Bagas Sanjaya, linux-bluetooth, regressions, linux-kernel,
	Marcel Holtmann, Johan Hedberg, Luiz Augusto von Dentz, Zach

Dear Kris,


Am 01.12.23 um 09:19 schrieb Kris Karas (Bug Reporting):
> Bagas Sanjaya wrote:
>> Kris Karas (Bug Reporting) wrote:
>>> I have a regression going from mainline kernel 6.1.62 to 6.1.63, and 
>>> also
>>> from kernel 6.6.1 to 6.6.2; I can bisect if patch authors can't 
>>> locate the
>>> relevant commit.  In the most recent kernels mentioned, bluetooth won't
>>> function.
>>
>> Then please do bisection; without it, nobody will look into this 
>> properly.
> 
> As only a few people are reporting this, it must be pretty 
> hardware-specific (or perhaps Kconfig/firmware specific).  I'll do a 
> bisect.  A bit too late here in Boston (03:00), and kiddo's birthday 
> "later today", so will probably get to this on the weekend.
> 
>> You may also want to check current mainline (v6.7-rc3) to see if this
>> regression have already been fixed.
> 
> Just tried 6.7.0-rc3, and it is also affected.
> 
> I hadn't git-pulled my linux-stable since May, so that gave me a good 
> chance to test the very latest.  :-)  And conveniently I'm now set for 
> the bisect.

Nice, that is often the fastest way to fix something.

To avoid the time rebooting the system, you could try to expose the 
drive to a virtual machine [1].


Kind regards,

Paul


[1]: 
https://lore.kernel.org/all/331ae35c-7d48-46fc-c4ae-1e60cb0f3378@molgen.mpg.de/
      (The failure in the VM was due to another regression in the Linux 
kernel, so the how-to actually worked for me.)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Regression: Inoperative bluetooth, Intel chipset, mainline kernel 6.6.2+
  2023-12-01  8:19   ` Kris Karas (Bug Reporting)
  2023-12-01  8:27     ` Paul Menzel
@ 2023-12-03 12:17     ` Oleksandr Natalenko
  2023-12-03 18:46       ` Kris Karas (Bug Reporting)
  1 sibling, 1 reply; 5+ messages in thread
From: Oleksandr Natalenko @ 2023-12-03 12:17 UTC (permalink / raw)
  To: Bagas Sanjaya, Linux Bluetooth, Linux Regressions,
	Linux Kernel Mailing List, Kris Karas (Bug Reporting)
  Cc: Marcel Holtmann, Johan Hedberg, Luiz Augusto von Dentz, Zach,
	Paul Menzel

[-- Attachment #1: Type: text/plain, Size: 1312 bytes --]

Hello.

On pátek 1. prosince 2023 9:19:04 CET Kris Karas (Bug Reporting) wrote:
> Bagas Sanjaya wrote:
> > Kris Karas (Bug Reporting) wrote:
> >> I have a regression going from mainline kernel 6.1.62 to 6.1.63, and also
> >> from kernel 6.6.1 to 6.6.2; I can bisect if patch authors can't locate the
> >> relevant commit.  In the most recent kernels mentioned, bluetooth won't
> >> function.
> > 
> > Then please do bisection; without it, nobody will look into this properly.
> 
> As only a few people are reporting this, it must be pretty 
> hardware-specific (or perhaps Kconfig/firmware specific).  I'll do a 
> bisect.  A bit too late here in Boston (03:00), and kiddo's birthday 
> "later today", so will probably get to this on the weekend.
> 
> > You may also want to check current mainline (v6.7-rc3) to see if this
> > regression have already been fixed.
> 
> Just tried 6.7.0-rc3, and it is also affected.

Does passing `btusb.enable_autosuspend=N` via a kernel cmdline help? [1]

[1] https://lore.kernel.org/lkml/5993222.lOV4Wx5bFT@natalenko.name/

> I hadn't git-pulled my linux-stable since May, so that gave me a good 
> chance to test the very latest.  :-)  And conveniently I'm now set for 
> the bisect.
> 
> Kris
> 
> 


-- 
Oleksandr Natalenko (post-factum)

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Regression: Inoperative bluetooth, Intel chipset, mainline kernel 6.6.2+
  2023-12-03 12:17     ` Oleksandr Natalenko
@ 2023-12-03 18:46       ` Kris Karas (Bug Reporting)
  0 siblings, 0 replies; 5+ messages in thread
From: Kris Karas (Bug Reporting) @ 2023-12-03 18:46 UTC (permalink / raw)
  To: Oleksandr Natalenko, Linux Bluetooth, Linux Regressions,
	Linux Kernel Mailing List, Basavaraj Natikar
  Cc: Marcel Holtmann, Johan Hedberg, Luiz Augusto von Dentz, Zach,
	Paul Menzel, Bagas Sanjaya, Greg KH

[ Replying to both Oleksandr and Basavaraj ]

Oleksandr Natalenko wrote:
> Does passing `btusb.enable_autosuspend=N` via a kernel cmdline help? [1]

Yes, this works around the problem.  Should be a good short-term 
solution for those folks who need to wait for distro kernels to catch 
up.  Thanks.

Basavaraj Natikar wrote:
>> Can we enable RPM on specific controllers for AMD xHC 1.1
>> instead to cover all AMD xHC 1.1? 
>>
>> Please find below the proposed changes and let me know if it is OK?
> 
> sorry its 
> pdev->device == 0x43f7

Thanks, Basavaraj!  Yes, this fixes the problem on my hardware (by 
making application of PM more selective).  Running successfully at the 
moment using your (pdev->device amended) patch.

Kris

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-12-03 18:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <ee109942-ef8e-45b9-8cb9-a98a787fe094@moonlit-rail.com>
2023-12-01  6:27 ` Regression: Inoperative bluetooth, Intel chipset, mainline kernel 6.6.2+ Bagas Sanjaya
2023-12-01  8:19   ` Kris Karas (Bug Reporting)
2023-12-01  8:27     ` Paul Menzel
2023-12-03 12:17     ` Oleksandr Natalenko
2023-12-03 18:46       ` Kris Karas (Bug Reporting)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox