Bug 1382540

Summary: closing laptop lid results in sleep wake repetition until battery critical then shutdown
Product: [Fedora] Fedora Reporter: Chris Murphy <bugzilla>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: bugzilla, gansalmon, ichavero, itamar, jonathan, kambiz, kernel-maint, madhu.chinakonda, mchehab, thomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-02-11 20:52:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
journalctl -b-1 -o short-monotonic
none
journalctl -b-1 -o short-monotonic -k
none
/proc/cpuinfo
none
lspci
none
dmidecode none

Description Chris Murphy 2016-10-07 02:13:23 UTC
Description of problem:

Close lid of laptop and walk away. Come back hours later and it won't wake up. Logs reveal while lid was closed it wakes up, sleeps, wakes up, sleeps, multiple times per minute, for hours, until battery goes critical then systemd does a shutdown.


Version-Release number of selected component (if applicable):
4.8.0-0.rc8.git0.1.fc25.x86_64

How reproducible:
2 for 2

Steps to Reproduce:
1. Close laptop lid
2. Hours go by
3. Open lid...nothing. Space bar...nothing. Power button...nothing. Battery dead needs to be charged.

Actual results:

Logs show constant cycling of suspend then wake.

Expected results:

Suspend and stay suspended.


Additional info:

System Information
	Manufacturer: HP
	Product Name: HP Spectre Notebook
	Wake-up Type: Power Switch
	SKU Number: W2K28UA#ABA
	Family: 103C_5335KV G=N L=CON B=HP S=SPT  

processor	: 3
vendor_id	: GenuineIntel
cpu family	: 6
model		: 78
model name	: Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz
stepping	: 3
microcode	: 0x9e

[    0.000000] microcode: microcode updated early to revision 0x9e, date = 2016-06-22
[    0.878873] microcode: sig=0x406e3, pf=0x80, revision=0x9e

Comment 1 Chris Murphy 2016-10-07 02:16:26 UTC
Created attachment 1208063 [details]
journalctl -b-1 -o short-monotonic

Comment 2 Chris Murphy 2016-10-07 02:16:36 UTC
Created attachment 1208064 [details]
journalctl -b-1 -o short-monotonic -k

Comment 3 Chris Murphy 2016-10-07 02:16:47 UTC
Created attachment 1208065 [details]
/proc/cpuinfo

Comment 4 Chris Murphy 2016-10-07 02:17:03 UTC
Created attachment 1208066 [details]
lspci

Comment 5 Chris Murphy 2016-10-07 02:17:18 UTC
Created attachment 1208067 [details]
dmidecode

Comment 6 Chris Murphy 2016-10-19 02:04:03 UTC
This is still a problem with 4.8.2-300.fc25.x86_64, I've reproduced it 8 out of 8 times, so it appears to be completely consistent.

Conversely, it never happens with 4.7.8-200.fc24.x86_64 (or 4.7.6 or 4.7.7 kernels). So it appears to be a regression.

Comment 7 Chris Murphy 2016-10-26 05:10:09 UTC
Clean install Fedora-Workstation-Live-x86_64-24-1.2.iso, then updated, including kernel-4.7.9-200.fc24, and installed kernel-4.8.4-200.fc24. The problem does not happen with 4.7.9, does happen with 4.8.4. (The problem happens whether power is connected, or not; with power it's presumably cycling indefinitely.)

Problem first appears in kernel-4.8.0-0.rc0.git3.1.fc25, does not appear in
kernel-4.8.0-0.rc0.git2.1.fc25.

kernel-4.8.0-0.rc0.git3.1.fc25 Linux v4.7-6438-gc624c86.

Comment 8 Kambiz Aghaiepour 2016-11-04 11:44:35 UTC
I'm using F24 on a Lenovo T460p and the latest 4.8.4-200 doesn't even sleep/hibernate.  4.7.9-200 works fine.  For the time being I've excluded kernel in /etc/dnf/dnf.conf and removed 4.8.4-200.

4.7.9-200 works fine.

Comment 9 Laura Abbott 2017-01-17 01:11:29 UTC
*********** MASS BUG UPDATE **************
We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 25 kernel bugs.
 
Fedora 25 has now been rebased to 4.9.3-200.fc25.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.
 
If you have moved on to Fedora 26, and are still experiencing this issue, please change the version to Fedora 26.
 
If you experience different issues, please open a new bug report for those.

Comment 10 Chris Murphy 2017-01-17 03:39:19 UTC
It's still a bug/regression including 4.9.x and 4.10-rc3.

Comment 11 Chris Murphy 2022-02-11 20:52:03 UTC
A long time ago upstream said it's a BIOS bug.