On upgrade to Maverick, hibernate and suspend do nothing

Bug #672324 reported by Charles Curley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pm-utils (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

On upgrade to Maverick, hibernate and suspend both run, emit some messages to the console, then give the login screen. At no time is the machine shut down.

This is a regression for suspend, which operated last night.

This is also a regression for hibernate. It has worked in the past, but I have not had access to it since upgrading to Lucid. See Bug #597938 for details.

These two lines from /var/log/syslog may be relevant:

Nov 7 14:50:16 dragon kernel: [ 8814.954082] PM: Cannot find swap device, try swapon -a.
Nov 7 14:50:16 dragon kernel: [ 8814.954135] PM: Cannot get swap writer

However, something is finding swap space:

root@dragon:~# free
             total used free shared buffers cached
Mem: 1253 714 539 0 41 245
-/+ buffers/cache: 426 826
Swap: 3671 107 3563
Total: 4924 822 4102
root@dragon:~#

Swap is encrypted and the kernel finds it at boot:

Nov 7 09:24:19 dragon kernel: [ 28.090385] Adding 3759172k swap on /dev/mapper/cryptswap1. Priority:-1 extents:1 across:3759172k

Is it possible that suspend and hibernate do not operate with encrypted swap?

Checking the release notes, I see nothing that suggests any problem. This machine (http://www.charlescurley.com/Lenovo.R51.html) has no USB 3.0 hardware.

root@dragon:~# lsb_release -a
LSB Version: core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:core-4.0-ia32:core-4.0-noarch:cxx-3.0-ia32:cxx-3.0-noarch:cxx-3.1-ia32:cxx-3.1-noarch:cxx-3.2-ia32:cxx-3.2-noarch:cxx-4.0-ia32:cxx-4.0-noarch:desktop-3.1-ia32:desktop-3.1-noarch:desktop-3.2-ia32:desktop-3.2-noarch:desktop-4.0-ia32:desktop-4.0-noarch:graphics-2.0-ia32:graphics-2.0-noarch:graphics-3.0-ia32:graphics-3.0-noarch:graphics-3.1-ia32:graphics-3.1-noarch:graphics-3.2-ia32:graphics-3.2-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-3.2-ia32:printing-3.2-noarch:printing-4.0-ia32:printing-4.0-noarch:qt4-3.1-ia32:qt4-3.1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 10.10
Release: 10.10
Codename: maverick
root@dragon:~# uname -a
Linux dragon 2.6.35-22-generic #35-Ubuntu SMP Sat Oct 16 20:36:48 UTC 2010 i686 GNU/Linux
root@dragon:~# lsmod
Module Size Used by
nls_iso8859_1 3261 0
nls_cp437 4931 0
btrfs 489451 0
zlib_deflate 19266 1 btrfs
crc32c 2531 1
libcrc32c 887 1 btrfs
ufs 73069 0
qnx4 6877 0
hfsplus 71344 0
hfs 41250 0
minix 25303 0
ntfs 95015 0
vfat 9201 0
msdos 6436 0
fat 48240 2 vfat,msdos
jfs 171034 0
xfs 693150 0
exportfs 3449 1 xfs
reiserfs 225942 0
xt_limit 1394 8
xt_DSCP 1657 0
nf_conntrack_irc 3348 0
michael_mic 1744 12
arc4 1165 6
lib80211_crypt_tkip 7736 3
ipt_LOG 4490 8
nf_conntrack_ftp 5361 0
ts_kmp 1577 5
nf_conntrack_amanda 2261 0
binfmt_misc 6599 1
ip6table_filter 1275 0
ip6_tables 11764 1 ip6table_filter
ipt_MASQUERADE 1419 0
xt_state 1014 6
ipt_REJECT 2004 1
xt_tcpudp 1927 34
bridge 68008 0
stp 1667 1 bridge
iptable_nat 3752 0
nf_nat 16289 2 ipt_MASQUERADE,iptable_nat
nf_conntrack_ipv4 10783 9 iptable_nat,nf_nat
sha256_generic 11267 2
nf_conntrack 63258 8 nf_conntrack_irc,nf_conntrack_ftp,nf_conntrack_amanda,ipt_MASQUERADE,xt_state,iptable_nat,nf_nat,nf_conntrack_ipv4
nf_defrag_ipv4 1117 1 nf_conntrack_ipv4
iptable_mangle 1371 0
iptable_filter 1302 1
aes_i586 7280 294
aes_generic 26875 1 aes_i586
ip_tables 10460 3 iptable_nat,iptable_mangle,iptable_filter
x_tables 15921 13 xt_limit,xt_DSCP,ipt_LOG,ip6table_filter,ip6_tables,ipt_MASQUERADE,xt_state,ipt_REJECT,xt_tcpudp,iptable_nat,iptable_mangle,iptable_filter,ip_tables
dm_crypt 11385 1
snd_intel8x0 25632 3
snd_ac97_codec 99227 1 snd_intel8x0
pcmcia 35973 0
ac97_bus 1014 1 snd_ac97_codec
thinkpad_acpi 67659 0
snd_pcm 71475 3 snd_intel8x0,snd_ac97_codec
joydev 8735 0
snd_seq_midi 4588 0
snd_rawmidi 17783 1 snd_seq_midi
ipw2200 136715 0
snd_seq_midi_event 6047 1 snd_seq_midi
ppdev 5556 0
snd_seq 47174 2 snd_seq_midi,snd_seq_midi_event
libipw 39808 1 ipw2200
yenta_socket 21518 0
pcmcia_rsrc 10566 1 yenta_socket
cfg80211 144470 2 ipw2200,libipw
snd_timer 19067 2 snd_pcm,snd_seq
snd_seq_device 5744 3 snd_seq_midi,snd_rawmidi,snd_seq
lib80211 5058 3 lib80211_crypt_tkip,ipw2200,libipw
pcmcia_core 14657 3 pcmcia,yenta_socket,pcmcia_rsrc
nsc_ircc 18252 0
psmouse 59033 0
parport_pc 26058 1
snd 49006 13 snd_intel8x0,snd_ac97_codec,thinkpad_acpi,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
lp 7342 0
irda 178906 1 nsc_ircc
led_class 2633 1 thinkpad_acpi
shpchp 29886 0
nvram 6342 1 thinkpad_acpi
soundcore 880 1 snd
parport 31492 3 ppdev,parport_pc,lp
serio_raw 4022 0
crc_ccitt 1351 1 irda
snd_page_alloc 7120 2 snd_intel8x0,snd_pcm
radeon 825934 2
ttm 56633 1 radeon
drm_kms_helper 30200 1 radeon
drm 168054 4 radeon,ttm,drm_kms_helper
intel_agp 26360 1
e100 30356 0
video 18712 0
mii 4425 1 e100
i2c_algo_bit 5168 1 radeon
output 1883 1 video
agpgart 32011 3 ttm,intel_agp,drm
root@dragon:~#

Revision history for this message
Charles Curley (charlescurley) wrote :

Addendum.

pm-suspend and the "suspend" function key both work.

pm-hibernate and the "hibernate" function key fail.

Calling "suspend" and "hibernate" from the "log out" "suspend", etc. menu on the right of the upper Gnome panel fail.

Revision history for this message
Charles Curley (charlescurley) wrote :

This may bear some relation to the hibernate failure. From running "apt-get update" this morning:

Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.35-22-generic
cryptsetup: WARNING: found more than one resume device candidate:
                     /dev/mapper/cryptswap1
                     /dev/sda6
                     UUID=20dc692f-2a20-4799-83ec-e0fb6ac69d71
cryptsetup: WARNING: target cryptswap1 has a random key, skipped

The two are actually the same physical device.

Ted Gould (ted)
affects: indicator-session → null
Curtis Hovey (sinzui)
no longer affects: null
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Please reply if this is still an issue on a supported release.

Changed in pm-utils (Ubuntu):
status: New → Invalid
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.