Re: [REGRESSION] hci0 hci_power_on [bluetooth] blocks for more than 2 min preventing suspend and shutdown

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Paul,

On Mon, Jul 11, 2022 at 12:14 PM Paul Menzel <pmenzel@xxxxxxxxxxxxx> wrote:
>
> Dear Linux folks,
>
>
> On a Dell Latitude E7250 with
>
>       Bus 001 Device 003: ID 8087:0a2a Intel Corp. Bluetooth wireless
> interface
>
> with Debian sid/unstable upgrading from Linux 5.18.5 to 5.19-rc4 results
> in a regression, where the system does not suspend or does not power
> off. Linux logs earlier:
>
> ```
> [  242.677813] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
> disables this message.
> [  242.677818] task:kworker/u9:1    state:D stack:    0 pid:  379 ppid:
>     2 flags:0x00004000
> [  242.677831] Workqueue: hci0 hci_power_on [bluetooth]
> [  242.677934] Call Trace:
> [  242.677938]  <TASK>
> [  242.677946]  __schedule+0x30b/0x9f0
> [  242.677961]  ? enqueue_entity+0x1a1/0x520
> [  242.677973]  schedule+0x4e/0xb0
> [  242.677981]  schedule_timeout+0x115/0x150
> [  242.677993]  ? resched_curr+0x20/0xb0
> [  242.678004]  ? preempt_count_add+0x68/0xa0
> [  242.678013]  __wait_for_common+0x93/0x1d0
> [  242.678022]  ? usleep_range_state+0x90/0x90
> [  242.678034]  __flush_work.isra.0+0x160/0x220
> [  242.678044]  ? flush_workqueue_prep_pwqs+0x110/0x110
> [  242.678052]  __cancel_work_timer+0x104/0x190
> [  242.678060]  ? led_trigger_event+0x1d/0x60
> [  242.678067]  ? led_trigger_event+0x1d/0x60
> [  242.678073]  hci_dev_close_sync+0x27/0x540 [bluetooth]
> [  242.678183]  hci_dev_do_close+0x26/0x60 [bluetooth]
> [  242.678253]  hci_power_on+0x8c/0x260 [bluetooth]
> [  242.678337]  ? __schedule+0x313/0x9f0
> [  242.678347]  process_one_work+0x1e5/0x3b0
> [  242.678357]  ? rescuer_thread+0x390/0x390
> [  242.678364]  worker_thread+0x50/0x3a0
> [  242.678373]  ? rescuer_thread+0x390/0x390
> [  242.678380]  kthread+0xe8/0x110
> [  242.678387]  ? kthread_complete_and_exit+0x20/0x20
> [  242.678394]  ret_from_fork+0x22/0x30
> [  242.678409]  </TASK>
> ```
>
> `sudo modprobe -r btusb` also hangs:
>
>       [ 4115.987537] usbcore: deregistering interface driver btusb
>       [ 4116.128277] Bluetooth: hci0: urb 00000000434e95f7 failed to
> resubmit (2)
>
> Please find the output of `dmesg` attached.

https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git/commit/?id=e36bea6e78ab2b6c9c7396972fee231eae551cfc


-- 
Luiz Augusto von Dentz



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux