Public bug reported:
When system has been paired with BLE devices, bluetooth firmware may
fail to suspend, or even hangs the whole system that it can only be
rebooted with SysRq keys.
[Reproduce steps]:
1. pair with BLE devices. They doesn't have to stay connected/powered on
during the test.
2. make sure Bluetooth is now receiving LE ADV broadcats, which should
leave messages in dmesg like:
Bluetooth: hci0: advertising data len corrected
3. suspend the system a few times. With 5.0.0-1025-oem-osp1 kernel,
symptoms would usually appear in <= 5 times.
[Results]
1. one may observed following errors in between the suspend messages:
PM: pci_pm_suspend(): hcd_pci_suspend+0x0/0x30 returns -16
PM: dpm_run_callback(): pci_pm_suspend+0x0/0x150 returns -16
PM: Device 0000:00:14.0 failed to suspend async: error -16
PM: Some devices failed to suspend, or early wake event detected
where 0000:00:14.0 is the xHCI Usb hub.
2. with or without above error messages appear first, system may hang
and leave only "PM: suspend entry (deep)" in the syslog.
[Notes]
* kernels newer than v5.2.1, inclusive of latest v5.4-rc5, still have
those PM suspend errors, but they doesn't seem to cause system block.
Instead, they may resume immediately.
* this was found on one platform with Intel Dual Band Wireless AC 9462
[8086:02f0] subsystem id [8086:42a4], linux-firmware 1.173.11 with
intel/ibt-19-0-0.sfi REL0282. However, it's not reproducible on another
platform with same hw/fw/kernel configuration.
kernel: [ 78.136285] PM: suspend entry (deep)
kernel: [ 78.139836] Filesystems sync: 0.003 seconds
kernel: [ 78.140461] Freezing user space processes ... (elapsed 0.002
seconds) done.
kernel: [ 78.142669] OOM killer disabled.
kernel: [ 78.142669] Freezing remaining freezable tasks ... (elapsed 0.001
seconds) done.
kernel: [ 78.143875] printk: Suspending console(s) (use no_console_suspend to
debug)
kernel: [ 78.335256] sof-audio-pci 0000:00:1f.3: error: no reply expected,
received 0x0
kernel: [ 78.457675] sof-audio-pci 0000:00:1f.3: firmware boot complete
kernel: [ 78.460486] PM: pci_pm_suspend(): hcd_pci_suspend+0x0/0x30 returns
-16
kernel: [ 78.460494] PM: dpm_run_callback(): pci_pm_suspend+0x0/0x150 returns
-16
kernel: [ 78.460497] PM: Device 0000:00:14.0 failed to suspend async: error
-16
kernel: [ 78.567263] PM: Some devices failed to suspend, or early wake event
detected
kernel: [ 78.580871] sof-audio-pci 0000:00:1f.3: error: no reply expected,
received 0x0
kernel: [ 78.713018] sof-audio-pci 0000:00:1f.3: firmware boot complete
kernel: [ 78.733982] Bluetooth: hci0: advertising data len corrected
kernel: [ 78.792707] nvme nvme0: Shutdown timeout set to 8 seconds
kernel: [ 78.841602] nvme nvme0: 8/0/0 default/read/poll queues
kernel: [ 78.859328] usb 1-4: reset high-speed USB device number 12 using
xhci_hcd
kernel: [ 79.113113] Bluetooth: hci0: advertising data len corrected
kernel: [ 79.331948] usb 1-4.4: reset high-speed USB device number 14 using
xhci_hcd
kernel: [ 79.432122] Bluetooth: hci0: advertising data len corrected
kernel: [ 79.559747] usb 1-4.1: reset full-speed USB device number 13 using
xhci_hcd
kernel: [ 79.887006] acpi LNXPOWER:05: Turning OFF
kernel: [ 79.887265] OOM killer enabled.
kernel: [ 79.887266] Restarting tasks ... done.
kernel: [ 79.926848] PM: suspend exit
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-firmware 1.173.11 [modified: lib/firmware/intel/ibt-19-0-0.sfi
lib/firmware/intel/sof/sof-cnl.ri]
ProcVersionSignature: Ubuntu 5.0.0-1025.28-oem-osp1 5.0.21
Uname: Linux 5.0.0-1025-oem-osp1 x86_64
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: u 2037 F.... pulseaudio
CurrentDesktop: ubuntu:GNOME
Date: Wed Oct 30 22:11:48 2019
Dependencies:
DistributionChannelDescriptor:
# This is the distribution channel descriptor for the OEM CDs
# For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
canonical-oem-somerville-bionic-amd64-20190418-59+beaver-osp1-tywin+X17
InstallationDate: Installed on 2019-10-29 (1 days ago)
InstallationMedia: Ubuntu 18.04 "Bionic" - Build amd64 LIVE Binary
20190418-12:10
MachineType: Dell Inc. Latitude 3311
PackageArchitecture: all
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.0.0-1025-oem-osp1.efi.signed
root=UUID=57287512-19f5-4aea-9704-f47ca532c877 ro mem_sleep_default=deep quiet
splash vt.handoff=1
RelatedPackageVersions:
linux-restricted-modules-5.0.0-1025-oem-osp1 N/A
linux-backports-modules-5.0.0-1025-oem-osp1 N/A
linux-firmware 1.173.11
SourcePackage: linux-firmware
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/28/2019
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.0.1
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias:
dmi:bvnDellInc.:bvr1.0.1:bd06/28/2019:svnDellInc.:pnLatitude3311:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct10:cvr:
dmi.product.family: Latitude
dmi.product.name: Latitude 3311
dmi.product.sku: 0971
dmi.sys.vendor: Dell Inc.
** Affects: linux-firmware (Ubuntu)
Importance: Undecided
Assignee: You-Sheng Yang (vicamo)
Status: New
** Tags: amd64 apport-bug bionic package-from-proposed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1850738
Title:
Intel Bluetooth AX201 HarrisonPeak (HrP) firmware causes system hang
in deep suspend
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1850738/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs