Bug 2271784

Summary: Bluetooth: hci0: command tx timeout
Product: [Fedora] Fedora Reporter: Gurenko Alex <agurenko>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 40CC: acaringi, adscvr, airlied, alciregi, awilliam, bskeggs, hdegoede, hpa, jarod, josef, kernel-maint, laszlo.david, linville, masami256, mchehab, ptalbert, steved
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: AcceptedFreezeException
Fixed In Version: kernel-6.8.4-300.fc40 kernel-6.8.4-200.fc39 kernel-6.8.4-100.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-04-05 23:10:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2187795    
Attachments:
Description Flags
kernel log from several boots with new kernel none

Description Gurenko Alex 2024-03-27 10:46:44 UTC
1. Please describe the problem:

After upgrading the kernel, bluetooth is not present in the system. Several commands timeout during the boot process:

kernel: Bluetooth: hci0: command 0xfc01 tx timeout
or
kernel: Bluetooth: hci0: command 0xfc05 tx timeout

across several boots, only those two were present in the log.

2. What is the Version-Release number of the kernel:

kernel-6.8.2-300.fc40, same on kernel-6.9.0-0.rc1.17.fc41

3. Did it work previously in Fedora? If so, what kernel version did the issue
   *first* appear?  Old kernels are available for download at
   https://koji.fedoraproject.org/koji/packageinfo?packageID=8 :

Works fine on kernel-6.8.1-300.fc40

4. Can you reproduce this issue? If so, please provide the steps to reproduce
   the issue below:

Just boot the system, check kernel log

5. Does this problem occur with the latest Rawhide kernel? To install the
   Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by
   ``sudo dnf update --enablerepo=rawhide kernel``:

Not rawhide, but kernel-6.9.0-0.rc1.17.fc41

6. Are you running any modules that not shipped with directly Fedora's kernel?:

No

7. Please attach the kernel logs. You can get the complete kernel log
   for a boot with ``journalctl --no-hostname -k > dmesg.txt``. If the
   issue occurred on a previous boot, use the journalctl ``-b`` flag.

Log attached

Reproducible: Always

Comment 1 Gurenko Alex 2024-03-27 10:47:45 UTC
Created attachment 2023816 [details]
kernel log from several boots with new kernel

Forgot to add, that's Intel AX200 card on MSI Tomahawk X570 WiFi motherboard

Comment 2 Gurenko Alex 2024-03-28 11:04:11 UTC
Upstream kernel BZ: https://bugzilla.kernel.org/show_bug.cgi?id=218651

Comment 3 Gurenko Alex 2024-03-28 11:31:31 UTC
Looks like it can be fixed by a revert: https://lore.kernel.org/all/20240314084412.1127-1-johan%2Blinaro@kernel.org/ is it possible to get a -301 kernel with this revert?

Comment 4 Fedora Update System 2024-04-04 02:13:11 UTC
FEDORA-2024-7dd4b3b9a4 (kernel-6.8.3-200.fc39 and kernel-headers-6.8.3-200.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-7dd4b3b9a4

Comment 5 Adam Williamson 2024-04-04 06:41:00 UTC
Proposing as an FE for Final, this looks fairly bad and a reasonable reason to get 6.8.3 in Final.

Comment 6 Gurenko Alex 2024-04-04 09:00:36 UTC
I can confirm that it's fixed in 6.8.3-300 kernel for F40

Comment 7 David Laszlo 2024-04-04 22:25:57 UTC
I have similar problems with 6.7.11-200.fc39.x86_64 on Fedora 39, bluetooth is not working:

dmesg:
[  615.677809] Bluetooth: hci0: Reading Intel version command failed (-110)
[  615.677831] Bluetooth: hci0: command 0xfc05 tx timeout
[  626.301962] Bluetooth: hci0: Reading Intel version command failed (-110)

lspci:
08:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)

Everything works fine with the previous kernel version: 6.7.10-200.fc39.x86_64

Thank you.

Comment 8 Adam Williamson 2024-04-04 23:03:39 UTC
David: https://bodhi.fedoraproject.org/updates/FEDORA-2024-7dd4b3b9a4 should fix it on F39 (F39 is being bumped to 6.8.x with this update). There was a 6.7.12-200.fc39 built but I think it won't be shipped.

Comment 9 Fedora Update System 2024-04-05 01:37:56 UTC
FEDORA-2024-41295cb23c has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-41295cb23c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-41295cb23c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2024-04-05 01:40:07 UTC
FEDORA-2024-6b7d840efe has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-6b7d840efe`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-6b7d840efe

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2024-04-05 02:03:07 UTC
FEDORA-2024-7dd4b3b9a4 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-7dd4b3b9a4`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-7dd4b3b9a4

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 David Laszlo 2024-04-05 06:43:32 UTC
(In reply to Adam Williamson from comment #8)
> David: https://bodhi.fedoraproject.org/updates/FEDORA-2024-7dd4b3b9a4 should
> fix it on F39 (F39 is being bumped to 6.8.x with this update). There was a
> 6.7.12-200.fc39 built but I think it won't be shipped.

Hi, I have installed the update https://bodhi.fedoraproject.org/updates/FEDORA-2024-7dd4b3b9a4 but unfortunately, I'm still experiencing the same issue. 
I have added my comment to the thread.

Thank you.

Comment 13 David Laszlo 2024-04-05 07:00:47 UTC
(In reply to David Laszlo from comment #12)
> (In reply to Adam Williamson from comment #8)
> > David: https://bodhi.fedoraproject.org/updates/FEDORA-2024-7dd4b3b9a4 should
> > fix it on F39 (F39 is being bumped to 6.8.x with this update). There was a
> > 6.7.12-200.fc39 built but I think it won't be shipped.
> 
> Hi, I have installed the update
> https://bodhi.fedoraproject.org/updates/FEDORA-2024-7dd4b3b9a4 but
> unfortunately, I'm still experiencing the same issue. 
> I have added my comment to the thread.
> 
> Thank you.

After reporting my previous issue with the new kernel (which happened after the first reboot after the update), it seems that the problem resolved itself after power off-and power on my computer. Apologies for any confusion caused. Thank you, this update works for me.

Comment 14 Adam Williamson 2024-04-05 15:13:10 UTC
ah, yeah, things like bluetooth can sometimes preserve broken state across a reboot. let us know if it comes back, though!

Comment 15 Adam Williamson 2024-04-05 19:17:15 UTC
+3 FE in https://pagure.io/fedora-qa/blocker-review/issue/1558 , marking accepted.

Comment 16 Fedora Update System 2024-04-05 23:10:43 UTC
FEDORA-2024-6b7d840efe (kernel-6.8.4-300.fc40 and kernel-headers-6.8.3-300.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 17 Fedora Update System 2024-04-06 01:41:41 UTC
FEDORA-2024-7dd4b3b9a4 (kernel-6.8.4-200.fc39 and kernel-headers-6.8.3-200.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 18 Fedora Update System 2024-04-06 03:13:49 UTC
FEDORA-2024-41295cb23c (kernel-6.8.4-100.fc38 and kernel-headers-6.8.3-100.fc38) has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.