Hiberation doesn't work in Precise (worked in Oneiric) on Dell XPS 13

Bug #954668 reported by Jared Dominguez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pm-utils (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hiberation doesn't work in Precise (worked in Oneiric) on my Dell XPS 13. I can add the following to /etc/polkit-1/localauthority.conf.d/51-ubuntu-admin.conf to get back the hibernate option:
     [Configuration]
     AdminIdentities=unix-group:sudo;unix-group:admin

However, if I hibernate, starting the machine just does a normal boot and does not restore the previous state. The swap is large enough for hibernation:
        danjared@spyder:~$ cat /proc/swaps
        Filename Type Size Used Priority
        /dev/zram0 partition 1966796 0 100
        /dev/sda5 partition 4077564 0 -1
        danjared@spyder:~$ free
                     total used free shared buffers cached
        Mem: 3933596 1004176 2929420 0 44304 449540
        -/+ buffers/cache: 510332 3423264
        Swap: 6044360 0 6044360

I am happy to help with debugging or testing.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: pm-utils 1.4.1-9
ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9
Uname: Linux 3.2.0-18-generic x86_64
ApportVersion: 1.94.1-0ubuntu2
Architecture: amd64
Date: Tue Mar 13 21:15:06 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120301)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: pm-utils
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jared Dominguez (jared-dominguez) wrote :
Revision history for this message
Ben Prescott (ben.prescott) wrote :

I'm investigating this on my HP Mini netbook.
The fix in /etc/polkit is already present on my precise build, still no hibernate option.

One apparent gap in the build is a kernel command line argument to indicate where to find the hibernate image.

I've got this now; the 'resume' argument, but I can't initiate hibernate (via the GUI) so can't test it -

$ cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.2.0-20-generic-pae root=/dev/mapper/valiantvg-lv00sys00 ro resume=/dev/sda2 quiet splash vt.handoff=7

based on docs here, this is required

https://wiki.archlinux.org/index.php/Pm-utils#Hibernation_.28suspend2disk.29

added it by amending

/etc/default/grub as follows ..

GRUB_CMDLINE_LINUX_DEFAULT="resume=/dev/sda2 quiet splash"

and then running sudo update-grub

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pm-utils (Ubuntu):
status: New → Confirmed
Revision history for this message
Ben Prescott (ben.prescott) wrote :

Suspect we're both suffering from Bug #812394

Revision history for this message
Jared Dominguez (jared-dominguez) wrote :

It turns out that the answer was right in front of me (well, after some research). Something had added a zram swap device. Because of there being two swap devices, the kernel wasn't properly able to hibernate. I removed the zram swap device, and now I am able to hibernate properly.

Revision history for this message
Jared Dominguez (jared-dominguez) wrote :

I should add that perhaps there should be a check for this sort of situation to notify the user.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.