Bug 641789

Summary: Kernel on F14 needs acpi_sleep=nonvs to resume from suspend correctly
Product: [Fedora] Fedora Reporter: Maxim Burgerhout <maxim>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: gansalmon, itamar, jonathan, jones, kernel-maint, madhu.chinakonda, spacewar
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel-2.6.35.14-106.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-29 20:30:53 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Attachments:
Description Flags
lspci output
none
/var/log/messages at suspend; show cold boot directly after
none
Output of dmidecode
none
dmidecode from Sony VPCEB17FX none

Description Maxim Burgerhout 2010-10-11 01:58:59 EDT
Created attachment 452643 [details]
lspci output

Description of problem:
After closing the lid of my laptop, suspend seems to work fine. System powers down, orange 'suspended' LED light is on.

When pressing the power button to resume the laptop, the system does not resume, but does a cold boots.

I hope it is correct to file this bug against the kernel.

Version-Release number of selected component (if applicable):
kernel-2.6.35.6-39.fc14.x86_64

How reproducible:
Happens always.

Steps to Reproduce:
1. shut lid to suspend
2. press 'power' to resume
  
Actual results:
cold boot

Expected results:
resume previous state
Comment 1 Maxim Burgerhout 2010-10-11 02:05:05 EDT
Created attachment 452647 [details]
/var/log/messages at suspend; show cold boot directly after
Comment 2 Maxim Burgerhout 2010-10-18 05:25:29 EDT
After a little poking around, it turns out that this is a generic bug in 2.6.35 as it is also discussed on (at least) the Ubuntu[1] and Arch Linux [2] forums as well.

The original upstream bugzilla entry for it is here [3]. Comments #82 through #84 on that bugreport mention a patch for 2.6.36 to blacklist systems that need acpi_sleep=nonvs in acpisleep_dmi_table[].

As I am not a kernel developer, I have no idea whatsoever what the amount of work to do this would be but: would it be possible to incorporate this patch into 2.6.35 for F14? Not having a working suspend option kinda sucks...

[1] http://ubuntuforums.org/showpost.php?p=9934814&postcount=42
[2] https://bbs.archlinux.org/viewtopic.php?id=80702
[3] https://bugzilla.kernel.org/show_bug.cgi?id=16396
Comment 3 Dave Jones 2011-10-11 11:25:20 EDT
what laptop is this ? Can you attach the output of dmidecode please ?
Comment 4 Maxim Burgerhout 2011-10-17 14:05:05 EDT
Created attachment 528615 [details]
Output of dmidecode

dmidecode output attached
Comment 5 Dave Jones 2011-10-19 13:16:46 EDT
thanks. I just added a patch for the next build.
I've also posted it upstream, so it should get into future releases.
Comment 6 Maxim Burgerhout 2011-10-21 05:30:44 EDT
Thanks! What Fedora release did you patch for? I am still having this problem in the F16 betas, so I'd love to see the patch in there, too.
Comment 7 Dave Jones 2011-10-21 12:27:32 EDT
I added the patch to all branches. Should start showing up everywhere soon.
Comment 8 Fedora Update System 2011-10-21 16:46:15 EDT
kernel-2.6.35.14-100.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/kernel-2.6.35.14-100.fc14
Comment 9 Fedora Update System 2011-10-22 04:26:30 EDT
Package kernel-2.6.35.14-100.fc14:
* should fix your issue,
* was pushed to the Fedora 14 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing kernel-2.6.35.14-100.fc14'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-14747
then log in and leave karma (feedback).
Comment 10 Fedora Update System 2011-10-24 11:12:47 EDT
kernel-2.6.40.7-3.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/kernel-2.6.40.7-3.fc15
Comment 11 Fedora Update System 2011-10-27 10:12:59 EDT
kernel-2.6.40.8-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/kernel-2.6.40.8-2.fc15
Comment 12 Eric Smith 2011-10-27 17:53:24 EDT
Created attachment 530575 [details]
dmidecode from Sony VPCEB17FX

Same problem occurs with Sony VPCEB17FX.
Comment 13 Fedora Update System 2011-10-29 20:30:53 EDT
kernel-2.6.35.14-100.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 14 Eric Smith 2011-10-29 23:13:22 EDT
So since this still happens with the Sony VPCEB17FX, should I reopen this bug, or start a new one?
Comment 15 Dave Jones 2011-11-01 12:51:21 EDT
just sent a patch to fix that one upstream. I'll add it to all the fedora trees too. Don't worry about opening another bug. thanks for the debug info.
Comment 16 Fedora Update System 2011-11-01 15:58:17 EDT
kernel-2.6.40.8-4.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/kernel-2.6.40.8-4.fc15
Comment 17 Fedora Update System 2011-11-11 19:07:14 EST
kernel-2.6.41.1-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/kernel-2.6.41.1-1.fc15
Comment 18 Fedora Update System 2011-11-17 18:27:58 EST
kernel-2.6.41.1-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 19 Fedora Update System 2011-11-22 08:48:31 EST
kernel-2.6.35.14-105.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/kernel-2.6.35.14-105.fc14
Comment 20 Fedora Update System 2011-11-23 10:38:20 EST
kernel-2.6.35.14-106.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/kernel-2.6.35.14-106.fc14
Comment 21 Fedora Update System 2011-11-28 19:21:43 EST
kernel-2.6.35.14-106.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.