Bug 199239
Summary: | ACPI errors and wake up right after sleep - Dell XPS 9370 | ||
---|---|---|---|
Product: | ACPI | Reporter: | Martin Jørgensen (mkj) |
Component: | Power-Sleep-Wake | Assignee: | Zhang Rui (rui.zhang) |
Status: | CLOSED UNREPRODUCIBLE | ||
Severity: | high | CC: | lenb, pmenzel+bugzilla.kernel.org, rui.zhang, superm1 |
Priority: | P1 | ||
Hardware: | Intel | ||
OS: | Linux | ||
Kernel Version: | 4.15.11 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
dmesg output
lspci output dmidecode output |
Created attachment 274991 [details]
lspci output
Created attachment 274993 [details]
dmidecode output
my kernel is: Linux mkjlap 4.15.0-2-amd64 #1 SMP Debian 4.15.11-1 (2018-03-20) x86_64 GNU/Linux so there are two problems here 1. suspend failures 2. ACPI errors. Then first please confirm if there is any change in the latest upstream kernel, because we've made some enhancements for both of the two issues. If the suspend problem still exists, please boot with kernel parameter "initcall_debug" and attach the full dmesg output after the failed suspend. i'm currently running latest upstream kernel which is: Linux mkjlap 4.16.0-1-amd64 #1 SMP Debian 4.16.5-1 (2018-04-29) x86_64 GNU/Linux so far no wake-up issues... i'll keep you posted no, when saying latest upstream kernel, I actually refer to 4.17-rcX e.g. you can download 4.17-rc5 kernel source from https://www.kernel.org/ and build your own kernel and see if the problem still exists. ACPI failures (problem 2. mentioned in comment #4) have been confirmed fixed in 4.17-rc5 on bug https://bugzilla.kernel.org/show_bug.cgi?id=199295 as both the wakeup and the ACPI error issues are gone, bug closed. |
Created attachment 274989 [details] dmesg output my recently bought dell XPS 9370, running uptodate Debian Buster/Sid, sometimes wakeup by itself a short moment (like a second) after i've asked it to sleep, by pushing the power button for instance. looking through the kernel log i found these lines which made be suspicious of ACPI errors or devices refusing to sleep: [ 5210.962412] PM: suspend entry (s2idle) [ 5210.962413] PM: Syncing filesystems ... done. [ 5210.972184] (NULL device *): firmware: direct-loading firmware i915/kbl_dmc_ver1_01.bin [ 5210.972215] Freezing user space processes ... (elapsed 0.001 seconds) done. [ 5210.973732] OOM killer disabled. [ 5210.973733] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done. [ 5210.974868] Suspending console(s) (use no_console_suspend to debug) [ 5211.189064] wlp2s0: deauthenticating from e8:94:f6:27:48:97 by local choice (Reason: 3=DEAUTH_LEAVING) [ 5211.392597] psmouse serio1: Failed to disable mouse on isa0060/serio1 [ 5214.252338] ath10k_pci 0000:02:00.0: failed to install key for vdev 0 peer e8:94:f6:27:48:97: -110 [ 5214.252344] wlp2s0: failed to remove key (0, e8:94:f6:27:48:97) from hardware (-110) [ 5214.341964] PM: Some devices failed to suspend, or early wake event detected [ 5215.071432] ath10k_pci 0000:02:00.0: Unknown eventid: 3 [ 5215.086529] ath10k_pci 0000:02:00.0: Unknown eventid: 118809 [ 5215.089532] ath10k_pci 0000:02:00.0: Unknown eventid: 90118 [ 5215.174994] OOM killer enabled. [ 5215.174995] Restarting tasks ... done. [ 5215.405822] PM: suspend exit during boot, i get these kernel errors: [ 0.044664] ACPI Error: [_SB_.PCI0.RP05.PXSX] Namespace lookup failure, AE_NOT_FOUND (20170831/dswload2-191) [ 0.044667] ACPI Exception: AE_NOT_FOUND, During name lookup/catalog (20170831/psobject-252) [ 0.044668] ACPI Error: Method parse/execution failed \_SB.PCI0.RP04.PXSX, AE_NOT_FOUND (20170831/psparse-550) [ 0.044896] ACPI Error: [_SB_.PCI0.RP09.PXSX] Namespace lookup failure, AE_NOT_FOUND (20170831/dswload2-191) [ 0.044897] ACPI Exception: AE_NOT_FOUND, During name lookup/catalog (20170831/psobject-252) [ 0.044899] ACPI Error: Method parse/execution failed \_SB.PCI0.RP08.PXSX, AE_NOT_FOUND (20170831/psparse-550) ... ... [ 0.236114] ACPI Error: [^^PCI0.RP05.PXSX.WIST] Namespace lookup failure, AE_NOT_FOUND (20170831/psargs-364) [ 0.236119] ACPI Error: Method parse/execution failed \_SB.PEPD._DSM, AE_NOT_FOUND (20170831/psparse-550) is this a bios/device bug or a kernel issue?