Bug 199239 - ACPI errors and wake up right after sleep - Dell XPS 9370
Summary: ACPI errors and wake up right after sleep - Dell XPS 9370
Status: CLOSED UNREPRODUCIBLE
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Sleep-Wake (show other bugs)
Hardware: Intel Linux
: P1 high
Assignee: Zhang Rui
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-29 08:18 UTC by Martin Jørgensen
Modified: 2018-05-30 05:33 UTC (History)
4 users (show)

See Also:
Kernel Version: 4.15.11
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg output (89.45 KB, text/plain)
2018-03-29 08:18 UTC, Martin Jørgensen
Details
lspci output (11.19 KB, text/plain)
2018-03-29 08:19 UTC, Martin Jørgensen
Details
dmidecode output (28.96 KB, text/plain)
2018-03-29 08:20 UTC, Martin Jørgensen
Details

Description Martin Jørgensen 2018-03-29 08:18:43 UTC
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?
Comment 1 Martin Jørgensen 2018-03-29 08:19:04 UTC
Created attachment 274991 [details]
lspci output
Comment 2 Martin Jørgensen 2018-03-29 08:20:03 UTC
Created attachment 274993 [details]
dmidecode output
Comment 3 Martin Jørgensen 2018-03-29 08:21:49 UTC
my kernel is:
Linux mkjlap 4.15.0-2-amd64 #1 SMP Debian 4.15.11-1 (2018-03-20) x86_64 GNU/Linux
Comment 4 Zhang Rui 2018-05-08 02:35:24 UTC
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.
Comment 5 Martin Jørgensen 2018-05-08 15:14:45 UTC
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
Comment 6 Zhang Rui 2018-05-15 07:10:07 UTC
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.
Comment 7 Mario Limonciello 2018-05-15 20:53:26 UTC
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
Comment 8 Zhang Rui 2018-05-30 05:33:32 UTC
as both the wakeup and the ACPI error issues are gone, bug closed.

Note You need to log in before you can comment on or make changes to this bug.