X41 fails to hibernate in hardy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Stefan Bader | ||
Bug Description
Hardy fails to hibernate on my IBM X41 laptop. The hibernation looks OK until the computer should be shut off, at which point the computer just hangs in an infinite loop. A hard shutdown (holding the power button for 5 secs) is needed to turn it off.
When turned on again, Hardy loads the stored image correctly and resumes the desktop (albeit with a warning bubble that it failed to hibernate).
I scanned the LKML for this error and found the commit below. When applying this (actually an earlier test patch of it) to linux-source-
It would be quite nice if this patch could be included in Hardy!
commit 3a2d5b700132f35
Author: Rafael J. Wysocki <email address hidden>
Date: Sat Feb 23 19:13:25 2008 +0100
PM: Introduce PM_EVENT_HIBERNATE callback state
During the last step of hibernation in the "platform" mode (with the
help of ACPI) we use the suspend code, including the devices'
->suspend() methods, to prepare the system for entering the ACPI S4
system sleep state.
But at least for some devices the operations performed by the
->suspend() callback in that case must be different from its operations
during regular suspend.
For this reason, introduce the new PM event type PM_EVENT_HIBERNATE and
pass it to the device drivers' ->suspend() methods during the last phase
of hibernation, so that they can distinguish this case and handle it as
appropriate. Modify the drivers that handle PM_EVENT_SUSPEND in a
special way and need to handle PM_EVENT_HIBERNATE in the same way.
These changes are necessary to fix a hibernation regression related
to the i915 driver (ref. http://
Signed-off-by: Rafael J. Wysocki <email address hidden>
Acked-by: Pavel Machek <email address hidden>
Tested-by: Jeff Chua <email address hidden>
Signed-off-by: Linus Torvalds <email address hidden>
Changed in linux: | |
assignee: | ubuntu-kernel-team → stefan-bader-canonical |
status: | Triaged → In Progress |
Changed in linux: | |
status: | In Progress → Fix Committed |
Hi Simon,
Thanks for opening the new report :) I'm reassigning to the kernel team for their consideration. Thanks.