I'm seeing similar issues:  can't resume from hiberation after an update in 
late September, 2013.

dpkg-query -s uswsusp 
Package: uswsusp
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 575
Maintainer: Rodolfo García Peñas (kix) <k...@debian.org>
Architecture: amd64
Version: 1.0+20120915-4


I note that changes to /etc/initramfs/... don't appear to do anything.  The 
files in /usr/share/initramfs *do* appear to change things.  E.g., setting 
RESUME in /etc branch doesn't do anything, based on echo from the /usr/share 
entry:


$ cat /etc/initramfs-tools/conf.d/resume 
RESUME=/dev/blackbox/swap_1
$ sudo update-initramfs -u  
update-initramfs: Generating /boot/initrd.img-3.9-1-amd64
[...]

DESTDIR: /var/tmp/mkinitramfs_6GLQDU
RESUME: /dev/dm-1

Not sure if it's just using what's in /etc/uswsusp or not; looks like it:


$ cat /etc/uswsusp.conf 
# /etc/uswsusp.conf(5) -- Configuration file for s2disk/s2both 
resume device = /dev/dm-1
compress = y
early writeout = y
image size = 1791197429
RSA key file = /etc/uswsusp.key
shutdown method = platform


what's printed during boot is /dev/dm-1, no matter what's in 
/etc/initramfs-tools...  It hangs for about 5-10 minutes, then finally gives me 
an option to boot.  However, no matter what I enter, it doesn't boot.  That's 
at least consistent with the idea that LVM hasn't initialized properly yet, so 
no device can be found.  However, / (root) is also in LVM, so..?

$ mount | grep root
/dev/mapper/blackbox-root on / type ext3 
(rw,relatime,errors=remount-ro,barrier=1,data=ordered)
$ cat /proc/swaps 
Filename                Type        Size    Used    Priority
/dev/dm-1                               partition    11149308    0    -1


i.e.,
$ ls -ltr /dev/blackbox/root 
lrwxrwxrwx 1 root root 7 Oct 23 18:42 /dev/blackbox/root -> ../dm-0
$ ls -ltr /dev/blackbox/swap_1 
lrwxrwxrwx 1 root root 7 Oct 23 18:49 /dev/blackbox/swap_1 -> ../dm-1

$ sudo lvscan 
  ACTIVE            '/dev/blackbox/swap_1' [10.63 GiB] inherit
  ACTIVE            '/dev/blackbox/boot' [100.00 MiB] inherit
  ACTIVE            '/dev/blackbox/root' [1.86 GiB] inherit

I'll try the "trick" of removing uswsusp and see if that .. changes things.

Anything else I can provide to help?

Reply via email to