Bug 28001

Summary: Ubuntu 10.04 does not successfully hibernate on Toshiba Satellite L305D-S5934
Product: pm-utils Reporter: rusivi <rusivi2>
Component: GeneralAssignee: Richard Hughes <richard>
Status: RESOLVED FIXED QA Contact:
Severity: trivial    
Priority: lowest    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
See Also: https://launchpad.net/bugs/588100
https://launchpad.net/bugs/576562
https://bugs.freedesktop.org/show_bug.cgi?id=28938
https://launchpad.net/bugs/602475
Whiteboard:
i915 platform: i915 features:
Attachments: kern.log of unsuccessful hibernate on May 7 01:08:09
post unsuccessful hibernate information
Camera shot of laptop screen going into hibernation: [ 87.624022] ata1: softreset failed (device not ready) [ 87.624042] ata3: softreset failed (device not ready)
Camera shot of laptop screen coming out of hibernation: [ 19.716283] shpchp 0400:00:01.1: Cannot reserve MMIO region

Description rusivi 2010-05-06 11:53:06 UTC
Binary package hint: pm-utils

1) lsb_release -rd
Description: Ubuntu 10.04 LTS
Release: 10.04

2) apt-cache policy pm-utils
pm-utils:
  Installed: 1.3.0-1ubuntu1
  Candidate: 1.3.0-1ubuntu1
  Version table:
 *** 1.3.0-1ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

apt-cache policy acpi-support
acpi-support:
  Installed: 0.136
  Candidate: 0.136
  Version table:
 *** 0.136 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

3) What I expected to happen on my Toshiba Satellite L305D-S5934 laptop, is after a fresh Ubuntu 10.04 install and updating, I could successfully hibernate, just as I could in Ubuntu 9.10

4) What happened instead is that when I choose hibernate, it seems to attempt to hibernate, then the computer shuts down. When I press the power button to come back from the hibernation, the login splash screen comes up instead of the anticipated "Locked splash screen". When I log in as the same user as I had when I hibernated, it's a fresh desktop. As well, I noticed that NetworkManager Applet GUI icon in the top left notes it is disabled and I did not disable this before I hibernated. May be related to the following bug?! -> https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/528971

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: pm-utils 1.3.0-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
NonfreeKernelModules: fglrx
Architecture: i386
Date: Thu May 6 14:22:31 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: pm-utils
Comment 1 rusivi 2010-05-06 22:18:23 UTC
Created attachment 35478 [details]
kern.log of unsuccessful hibernate on May  7 01:08:09
Comment 2 rusivi 2010-05-06 22:49:02 UTC
Created attachment 35479 [details]
post unsuccessful hibernate information

As per:

https://wiki.ubuntu.com/DebuggingKernelSuspendHibernateResume

Hibernate specific information:
   1. dmesg
   2. cat /proc/cmdline
   3. cat /etc/initramfs-tools/conf.d/resume
Comment 3 rusivi 2010-05-09 11:48:20 UTC
Updated to newest pm-utils, but hibernate still did not work.

apt-cache policy pm-utils
pm-utils:
  Installed: 1.3.0-1ubuntu2
  Candidate: 1.3.0-1ubuntu2
  Version table:
 *** 1.3.0-1ubuntu2 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
        100 /var/lib/dpkg/status
     1.3.0-1ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
Comment 4 rusivi 2010-05-09 12:02:23 UTC
Created attachment 35529 [details]
Camera shot of laptop screen going into hibernation:
[    87.624022] ata1: softreset failed (device not ready)
[    87.624042] ata3: softreset failed (device not ready)
Comment 5 rusivi 2010-05-09 12:02:51 UTC
Created attachment 35530 [details]
Camera shot of laptop screen coming out of hibernation:

[    19.716283] shpchp 0400:00:01.1: Cannot reserve MMIO region
Comment 6 rusivi 2010-05-18 22:13:39 UTC
Standby works flawlessly everytime.
Comment 7 rusivi 2010-05-26 22:07:13 UTC
"Downgraded" to Ubuntu 9.10 w/ ext4, suspend and hibernate works perfectly. Current solution to this bug is to use Ubuntu 9.10.
Comment 8 rusivi 2010-05-31 19:31:12 UTC
I successfully hibernated after following the nomodeset recommendation for GRUB2 found at:

https://wiki.ubuntu.com/LucidLynx/ReleaseNotes

It mentions changing a line from /etc/default/grub to:

GRUB_CMDLINE_LINUX="nomodeset"

I saved the file, ran sudo update-grub, then I was able to hibernate successfully.
Comment 9 rusivi 2010-06-01 22:50:19 UTC
I got a little over-zealous on placing this in a resolved status and marking myself assigned to make the fix. The only thing I have been able to do is successfully hack/work around the issue.

In addition, GNOME-applets upstream believes the hack/work around manifested the following GNOME-applets Trash Icon visual glitch bug:

https://bugs.launchpad.net/gnome-applets/+bug/588100
Comment 10 rusivi 2010-07-05 14:03:44 UTC

Freshly installed Lucid, fully updated, (ex. updating to the newest versions of pm-utils and gnome-panel) and made an fsarchived backup of the install. Then, performed 4/4 successful hibernations consecutively with different apps open. However, after restarting a few times the trash bin became glitched just like in the screen shot. I restored the fsarchive, and restarted a few times but the glitch did not happen. At this point this bug is considered tentatively closed but will re-bug if it happens again.

apt-cache policy pm-utils
pm-utils:
  Installed: 1.3.0-1ubuntu2
  Candidate: 1.3.0-1ubuntu2
  Version table:
 *** 1.3.0-1ubuntu2 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
        100 /var/lib/dpkg/status
     1.3.0-1ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages

apt-cache policy gnome-panel
gnome-panel:
  Installed: 1:2.30.2-0ubuntu0.1
  Candidate: 1:2.30.2-0ubuntu0.1
  Version table:
 *** 1:2.30.2-0ubuntu0.1 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
        100 /var/lib/dpkg/status
     1:2.30.0-0ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
Comment 11 rusivi 2010-07-06 18:57:30 UTC
The same glitch occurred while powering up from a clean shutdown in fresh Ubuntu 10.04 install, fully updated.
Comment 12 rusivi 2010-09-13 19:46:38 UTC

Upgraded to Maverick, restarted and trash bin had became visually glitched.

lsb_release -rd
Description: Ubuntu maverick (development branch)
Release: 10.10

apt-cache policy gnome-applets
gnome-applets:
  Installed: 2.30.0-3ubuntu2
  Candidate: 2.30.0-3ubuntu2
  Version table:
 *** 2.30.0-3ubuntu2 0
        500 http://us.archive.ubuntu.com/ubuntu/ maverick/main i386 Packages
        100 /var/lib/dpkg/status

apt-cache policy gnome-panel
gnome-panel:
  Installed: 1:2.30.2-1ubuntu3
  Candidate: 1:2.30.2-1ubuntu3
  Version table:
 *** 1:2.30.2-1ubuntu3 0
        500 http://us.archive.ubuntu.com/ubuntu/ maverick/main i386 Packages
        100 /var/lib/dpkg/status

apt-cache policy xserver-xorg-video-radeon
xserver-xorg-video-radeon:
  Installed: 1:6.13.1-1ubuntu4
  Candidate: 1:6.13.1-1ubuntu4
  Version table:
 *** 1:6.13.1-1ubuntu4 0
        500 http://us.archive.ubuntu.com/ubuntu/ maverick/main i386 Packages
        100 /var/lib/dpkg/status

apt-cache policy libdrm-radeon1
libdrm-radeon1:
  Installed: 2.4.21-1ubuntu2
  Candidate: 2.4.21-1ubuntu2
  Version table:
 *** 2.4.21-1ubuntu2 0
        500 http://us.archive.ubuntu.com/ubuntu/ maverick/main i386 Packages
        100 /var/lib/dpkg/status

apt-cache policy radeontool
radeontool:
  Installed: 1.6.1-1
  Candidate: 1.6.1-1
  Version table:
 *** 1.6.1-1 0
        500 http://us.archive.ubuntu.com/ubuntu/ maverick/main i386 Packages
        100 /var/lib/dpkg/status
Comment 13 rusivi 2010-09-13 20:09:58 UTC
Please disregard prior post. Should have posted to freedesktop.org bug 28938. This bug is about ability to hibernate, not repercussions of doing so successfully.  This bug is considered closed.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.