Bug 242333

Summary: Dell XPS M1210 fails to resume
Product: [Fedora] Fedora Reporter: Jonathan Underwood <jonathan.underwood>
Component: kvmAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED DUPLICATE QA Contact: Brian Brock <bbrock>
Severity: high Docs Contact:
Priority: high    
Version: 7   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-06-04 22:10:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jonathan Underwood 2007-06-03 12:51:18 UTC
Description of problem:
Suspend (to ram) on a Dell XPS M1210 stopped working with F7. It worked fine
with FC6 with all kernels. The machine suspends without hitch, but on trying to
resume it either completely hangs with no screens on and no activity, or reboots
instantly.

Let me know if there's anything else I can do to debug.

Version-Release number of selected component (if applicable):
2.6.21-1.3194.fc7

How reproducible:
Everytime

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Jonathan Underwood 2007-06-03 12:57:51 UTC
Have tried the following quirks to no avail:
--quirk-s3-bios
--quirk-s3-mode
--quirk-dpms-on

Comment 2 Jonathan Underwood 2007-06-03 13:08:44 UTC
I tried to follow the debugging instructions as described here:

http://www.mjmwired.net/kernel/Documentation/power/s2ram.txt

but, oddly, the file /sys/power/pm_trace does not exist:

# ls /sys/power/
disk  image_size  resume  state

What gives?

Comment 3 Jonathan Underwood 2007-06-03 13:13:10 UTC
Hm. This seems to be because CONFIG_PM_TRACE and CONFIG_PM_DEBUG are not set for
the current F7 kernel build. Wouldn't it be a grand idea to turn these back on
again so users can debug suspend/resume problems without having to rebuild kernel?

Comment 4 Jonathan Underwood 2007-06-04 21:51:47 UTC
Aha! Culprit found.

This is caused by the kvm and kvm_intel kernel modules.

Having the following in /etc/pm/config.d/unload_modules does the trick, allowing
the machine to resume:

SUSPEND_MODULES="iwl3945 mac80211 kvm_intel kvm"

removing kvm_intel and kvm from that list renders the system unable to resume.

Comment 5 Jonathan Underwood 2007-06-04 21:55:12 UTC
Damn bugzilla, can't reassign the bug to kvm, as it's officially in Extras.
Closing bug here and opening a new one.

Did I mention that I hate the Fedora/RH bugzilla?

Comment 6 Jonathan Underwood 2007-06-04 22:00:40 UTC
I wonder if the kvm patches mentioned here for the kernel are any help:

http://www.ussg.iu.edu/hypermail/linux/kernel/0706.0/0025.html

Comment 7 Jonathan Underwood 2007-06-04 22:08:25 UTC
Sorry, managed to make a mess of reassigning this bug.

Comment 8 Jonathan Underwood 2007-06-04 22:10:15 UTC

*** This bug has been marked as a duplicate of 240082 ***