[armel imx51] hibernate does not work

Bug #458537 reported by Paul Larson on 2009-10-22
42
This bug affects 6 people
Affects Status Importance Assigned to Milestone
devicekit-power (Ubuntu)
Undecided
Unassigned
Karmic
Undecided
Unassigned
Lucid
Undecided
Unassigned
linux-fsl-imx51 (Ubuntu)
High
Bryan Wu
Karmic
High
Bryan Wu
Lucid
High
Bryan Wu

Bug Description

Problem might not lie in the kernel, not sure yet. When I try to hibernate the system from gnome, I see the screen go blank but it never seems to power down. I can move my mouse or hit a key and end up right back at a prompt to unlock the desktop. I also tried using pm-hibernate too and it just returned 1 and exited immediately.

ProblemType: Bug
Architecture: armel
Date: Thu Oct 22 15:37:50 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release Candidate armel+imx51 (20091021.1)
Package: linux-image-2.6.31-105-imx51 2.6.31-105.14
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-105.14-imx51
SourcePackage: linux-fsl-imx51
Uname: Linux 2.6.31-105-imx51 armv7l
XsessionErrors:
 (gnome-settings-daemon:1391): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (gnome-settings-daemon:1391): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (polkit-gnome-authentication-agent-1:1461): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (nautilus:1446): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed

Paul Larson (pwlars) wrote :
Paul Larson (pwlars) wrote :

$ cat /sys/power/state
standby mem

Looks like hibernate is not supported, possibly a config problem?

Paul Larson (pwlars) on 2009-11-25
Changed in linux-fsl-imx51 (Ubuntu):
importance: Undecided → High
Paul Larson (pwlars) on 2009-12-04
Changed in linux-fsl-imx51 (Ubuntu):
assignee: nobody → Bryan Wu (cooloney)
status: New → Triaged
Changed in linux-fsl-imx51 (Ubuntu Karmic):
assignee: nobody → Bryan Wu (cooloney)
importance: Undecided → High
status: New → Triaged
milestone: none → karmic-updates
Changed in linux-fsl-imx51 (Ubuntu Lucid):
milestone: none → lucid-alpha-2
Paul Larson (pwlars) wrote :

After further discussion, it sounds as if disabling hibernate on armel may be intentional, since standby produces a low enough power state that hibernate is not necessary. However, it seems that the option to hibernate is still supported, even though hibernate is not. The UI should check to see if hibernate is supported before presenting an option to hibernate.

George Hein (gjhein) wrote :

To get hibernate to work on my Lenovo Ideapad Y530 I had to: "echo shutdown > /sys/power/disk" to avoid default "platform".

I added this to my /etc/init.d/local which also includes my iptables commands and which is executed via pointer (/etc/rcS.d/S99local).

description: updated
Chris Coulson (chrisccoulson) wrote :

The UI elements have nothing to do with gnome-power-manager, and g-p-m doesn't export any information which says if hibernate is available or not anyway. Such checking should go further down the stack (eg, in dk-power, which already exports such information for g-p-m, gnome-session and indicator-session etc to use already)

affects: gnome-power-manager (Ubuntu Karmic) → devicekit-power (Ubuntu Karmic)
Chris Coulson (chrisccoulson) wrote :

In fact, devicekit-power already checks /sys/power/state for the presence of "disk". The "can-hibernate" property on it's D-Bus interface should read False if /sys/power/state does not have disk. Could someone with this issue please post the output of "devkit-power --dump"?

Daan de Wit (d-dewit) wrote :

I have this problem on my desktop machine.
Output from "devkit-power --dump":
Device: /org/freedesktop/DeviceKit/Power/devices/mouse_2_2
  native-path: /sys/devices/pci0000:00/0000:00:02.0/usb2/2-2
  vendor: Logitech, Inc.
  model: Mouse Receiver
  power supply: no
  updated: Tue Jan 5 17:38:59 2010 (20 seconds ago)
  has history: yes
  has statistics: no
  mouse
    present: yes
    rechargeable: yes
    state: discharging
    percentage: 100%

Daemon:
  daemon-version: 011
  can-suspend: yes
  can-hibernate yes
  on-battery: no
  on-low-battery: no
  lid-is-closed: no
  lid-is-present: no

Steve Langasek (vorlon) on 2010-01-13
Changed in linux-fsl-imx51 (Ubuntu Lucid):
milestone: lucid-alpha-2 → lucid-alpha-3
Bryan Wu (cooloney) wrote :

Paul,

Could you please grab my testing kernel to do the quick hibernate testing?
http://people.canonical.com/~roc/kernel/lucid_fsl-bsp-2010-01-07/

And my kernel tree is URL:
http://kernel.ubuntu.com/git?p=roc/ubuntu-lucid.git;a=shortlog;h=refs/heads/fsl-imx51

Thanks,
-Bryan

Paul Larson (pwlars) wrote :

Hibernate still appears to not be supported in this kernel.

Bryan Wu (cooloney) wrote :

Freescale said hibernate is not available on fsl-imx51, so we might need to remove this bug.

Martin Pitt (pitti) wrote :

Wrt. devicekit-power, it says "can-hibernate yes". Can you please confirm that "cat /sys/power/state" includes "disk"? If so, it's a kernel problem. If not, then dk-power lies and we need to fix it there.

summary: - hibernate does not work
+ [armel imx51] hibernate does not work
Changed in devicekit-power (Ubuntu Lucid):
status: New → Incomplete
Oliver Grawert (ogra) wrote :

ogra@babbage2:~$ cat /sys/power/state
standby mem

as bryan stated above, its apparently not supposed to work according to upstream.

i'd like to keep the bug to monitor the issue over possible future releases, but it can be unmilestoned and i dont think the devicekit taks is needed anymore.

Changed in devicekit-power (Ubuntu Karmic):
status: New → Won't Fix
Changed in devicekit-power (Ubuntu Lucid):
status: Incomplete → Won't Fix
Changed in linux-fsl-imx51 (Ubuntu Karmic):
milestone: karmic-updates → none
Changed in linux-fsl-imx51 (Ubuntu Lucid):
milestone: lucid-alpha-3 → none
Changed in devicekit-power (Ubuntu):
status: Incomplete → Invalid
Andy Whitcroft (apw) on 2010-01-25
Changed in linux-fsl-imx51 (Ubuntu Karmic):
status: Triaged → Won't Fix
Changed in linux-fsl-imx51 (Ubuntu Lucid):
status: Triaged → Won't Fix
Andy Whitcroft (apw) on 2010-01-25
Changed in linux-fsl-imx51 (Ubuntu):
status: Triaged → Won't Fix
Daniel (kimpire) wrote :

I'm a complete newbie to ubuntu, having only received the computer with it two weeks ago, but I'm experiencing the same problem in 9.10. On advice from a more expert user with whom I have since unfortunately lost contact so he can't help me, I looked at the output of the terminal command "tail -50 /var/log/pm-suspend.log" (which I assume means print the last fifty lines of that file). It seems to verify that the computer activates hibernate and deactivates it again immediately.

Unfortunately, since I'm so new to ubuntu, I can't even tell if the previous messages in this bug thread have solved the problem or not. If so, can somebody walk me through the changes I need to make and how to make them? If not, well, I hope somebody finds a solution soon (and that perhaps my post here helps).

John Nogatch (jnogatch) wrote :

I see same symptom on Dell C400 laptop running Lucid 10.04, i.e. attempt to hibernate yields blank screen & press any key shows "unlock screen" dialog. Hibernate was working correctly on Karmic 9.04 & 9.10

John Nogatch (jnogatch) wrote :

After installing updates today, hibernate is now working again on Dell C400, i.e. the laptop does eventually power off.

When reawakened from hibernate, there were some error messages visible through flashing bars, but eventually the working session was restored correctly.

John Nogatch (jnogatch) wrote :

Correction: hibernate shut down laptop correctly one time, but now it has reverted to previous behavior, i.e. does not power off and remains in "unlock screen" dialog. (Dell C400 running Lucid)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers