Fwd: Hibernate works, but resume reboots midway
Helo,
This is something I had posted to the debian-users list but didn't get
much response to. Posting it coz I figure laptop users are more likely
to fiddle around with hibernation.
The gist of the problem is that I have a fresh installation of Squeeze
on my Lenovo S10-3 netbook. It hibernates fine (I can see that from the
logs) but upon resuming the system tries to do something and then just
reboots some 15-20 seconds into the process. However, of the dozen or so
times I've tried this so far, one one occasion it did successfully
resume.
If anyone experienced can even give me some pointers on what I could
look for to troubleshoot, that would be great.
Thanks,
Rakhesh
----- Original message -----
From: "Rakhesh Sasidharan" <debian@rakhesh.net>
To: "LISTS Debian User" <debian-user@lists.debian.org>
Date: Wed, 16 Feb 2011 18:00:49 +0400
Subject: Hibernate works, but resume reboots midway
Hi,
I am using Squeeze (Linux) on a netbook (an Ideapad S10). Pretty
standard install from the first CD, using GNOME, custom partitions -
with /boot an a primary partition and the rest of the space an encrypted
partition which has LVM on it.
I installed 'pm-utils' and I can get the laptop to hibernate, but when
resuming it asks me for the passphrase and stuff and starts trying to
resume (I can see hard disk activity) and the screen has a blinking
cursor on the top left corner, but about 30 seconds into the process the
laptop just shuts down and reboots.
I tried this a couple of time and always get the same results. But on
one occasion, when I ran 'pm-hibernate' as 'root', resume worked fine.
Subsequent attempts at reproducing this fail though.
I can confirm that the initramfs config files have the file with
'RESUME' set to my swap partition (/dev/mapper/xxx). And the swap
partition's set in '/etc/fstab' too and is active.
>From what I can understand from the 'pm-suspend.log' file (attached),
hibernate seems to be working, but it doesn't even reach the resuming
stage. There's only one instance when it tried to thaw, and that time it
succeeded.
Any ideas or suggestions on what I could do to investigate the further
or fix it?
Many thanks,
Rakhesh
Initial commandline parameters:
Wed Feb 16 01:57:18 GST 2011: Running hooks for hibernate.
/usr/lib/pm-utils/sleep.d/000kernel-change hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/00logging hibernate hibernate:Linux ariadne 2.6.32-5-686 #1 SMP Wed Jan 12 04:01:41 UTC 2011 i686 GNU/Linux
Module Size Used by
sco 5857 2
bridge 33019 0
stp 996 1 bridge
bnep 7444 2
l2cap 21705 3 bnep
bluetooth 36319 5 sco,bnep,l2cap
parport_pc 15799 0
ppdev 4058 0
lp 5570 0
parport 22554 3 parport_pc,ppdev,lp
ext3 94212 1
jbd 32169 1 ext3
loop 9765 0
snd_hda_codec_realtek 163294 1
arc4 974 2
ecb 1405 2
ath9k 238393 0
snd_hda_intel 16811 1
snd_hda_codec 46002 2 snd_hda_codec_realtek,snd_hda_intel
mac80211 123574 1 ath9k
joydev 6739 0
snd_hwdep 4054 1 snd_hda_codec
ath 6014 1 ath9k
i915 222254 2
snd_pcm 47226 2 snd_hda_intel,snd_hda_codec
uvcvideo 45514 0
snd_seq 35463 0
snd_timer 12258 2 snd_pcm,snd_seq
drm_kms_helper 18309 1 i915
snd_seq_device 3673 1 snd_seq
videodev 25545 1 uvcvideo
cfg80211 87661 3 ath9k,mac80211,ath
drm 112088 3 i915,drm_kms_helper
v4l1_compat 10250 2 uvcvideo,videodev
rfkill 10264 4 bluetooth,cfg80211
snd 34375 10 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device
i2c_algo_bit 3497 1 i915
soundcore 3450 1 snd
i2c_i801 6462 0
psmouse 44657 0
snd_page_alloc 5045 2 snd_hda_intel,snd_pcm
i2c_core 12696 6 i915,drm_kms_helper,videodev,drm,i2c_algo_bit,i2c_i801
wmi 3575 0
led_class 1757 1 ath9k
pcspkr 1207 0
video 14605 1 i915
battery 3782 0
ac 1640 0
serio_raw 2916 0
evdev 5609 12
output 1204 1 video
button 3598 1 i915
processor 26327 2
ext4 257803 1
mbcache 3762 2 ext3,ext4
jbd2 56155 1 ext4
crc16 1027 2 l2cap,ext4
sha256_generic 10748 2
aes_i586 6816 2
aes_generic 25738 1 aes_i586
cbc 2047 1
dm_crypt 9264 1
dm_mod 46082 9 dm_crypt
sd_mod 25977 3
crc_t10dif 1012 1 sd_mod
usb_storage 30585 0
ahci 27270 2
uhci_hcd 16057 0
r8169 25180 0
thermal 9206 0
libata 115753 1 ahci
scsi_mod 101429 3 sd_mod,usb_storage,libata
mii 2714 1 r8169
ehci_hcd 27851 0
thermal_sys 9378 3 video,processor,thermal
usbcore 98453 5 uvcvideo,usb_storage,uhci_hcd,ehci_hcd
nls_base 4541 1 usbcore
total used free shared buffers cached
Mem: 1024096 210780 813316 0 16232 113892
-/+ buffers/cache: 80656 943440
Swap: 1949688 0 1949688
success.
/usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/49bluetooth hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/55NetworkManager hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/70action_wpa hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/75modules hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/90clock hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/95anacron hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/95led hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/99video hibernate hibernate:success.
Wed Feb 16 01:57:18 GST 2011: performing hibernate
Initial commandline parameters:
Wed Feb 16 02:19:38 GST 2011: Running hooks for hibernate.
/usr/lib/pm-utils/sleep.d/000kernel-change hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/00logging hibernate hibernate:Linux ariadne 2.6.32-5-686 #1 SMP Wed Jan 12 04:01:41 UTC 2011 i686 GNU/Linux
Module Size Used by
sco 5857 2
bridge 33019 0
stp 996 1 bridge
bnep 7444 2
rfcomm 25171 0
l2cap 21705 4 bnep,rfcomm
bluetooth 36319 6 sco,bnep,rfcomm,l2cap
parport_pc 15799 0
ppdev 4058 0
lp 5570 0
parport 22554 3 parport_pc,ppdev,lp
ext3 94212 1
jbd 32169 1 ext3
loop 9765 0
snd_hda_codec_realtek 163294 1
arc4 974 2
ecb 1405 2
ath9k 238393 0
snd_hda_intel 16811 1
snd_hda_codec 46002 2 snd_hda_codec_realtek,snd_hda_intel
mac80211 123574 1 ath9k
i915 222254 2
ath 6014 1 ath9k
snd_hwdep 4054 1 snd_hda_codec
snd_pcm 47226 2 snd_hda_intel,snd_hda_codec
drm_kms_helper 18309 1 i915
drm 112088 3 i915,drm_kms_helper
snd_seq 35463 0
cfg80211 87661 3 ath9k,mac80211,ath
snd_timer 12258 2 snd_pcm,snd_seq
snd_seq_device 3673 1 snd_seq
rfkill 10264 4 bluetooth,cfg80211
uvcvideo 45514 0
i2c_i801 6462 0
i2c_algo_bit 3497 1 i915
videodev 25545 1 uvcvideo
joydev 6739 0
v4l1_compat 10250 2 uvcvideo,videodev
video 14605 1 i915
led_class 1757 1 ath9k
i2c_core 12696 6 i915,drm_kms_helper,drm,i2c_i801,i2c_algo_bit,videodev
snd 34375 10 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device
pcspkr 1207 0
output 1204 1 video
battery 3782 0
ac 1640 0
soundcore 3450 1 snd
psmouse 44657 0
evdev 5609 12
button 3598 1 i915
serio_raw 2916 0
snd_page_alloc 5045 2 snd_hda_intel,snd_pcm
wmi 3575 0
processor 26327 2
ext4 257803 1
mbcache 3762 2 ext3,ext4
jbd2 56155 1 ext4
crc16 1027 2 l2cap,ext4
sha256_generic 10748 2
aes_i586 6816 3
aes_generic 25738 1 aes_i586
cbc 2047 1
dm_crypt 9264 1
dm_mod 46082 9 dm_crypt
sd_mod 25977 3
crc_t10dif 1012 1 sd_mod
usb_storage 30585 0
ahci 27270 2
uhci_hcd 16057 0
libata 115753 1 ahci
thermal 9206 0
ehci_hcd 27851 0
r8169 25180 0
mii 2714 1 r8169
scsi_mod 101429 3 sd_mod,usb_storage,libata
thermal_sys 9378 3 video,processor,thermal
usbcore 98453 5 uvcvideo,usb_storage,uhci_hcd,ehci_hcd
nls_base 4541 1 usbcore
total used free shared buffers cached
Mem: 1024096 327588 696508 0 20884 155208
-/+ buffers/cache: 151496 872600
Swap: 1949688 0 1949688
success.
/usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/49bluetooth hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/55NetworkManager hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/70action_wpa hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/75modules hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/90clock hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/95anacron hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/95led hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/99video hibernate hibernate:success.
Wed Feb 16 02:19:39 GST 2011: performing hibernate
Wed Feb 16 02:21:06 GST 2011: Awake.
Wed Feb 16 02:21:06 GST 2011: Running hooks for thaw
/usr/lib/pm-utils/sleep.d/99video thaw hibernate:success.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler thaw hibernate:success.
/usr/lib/pm-utils/sleep.d/95led thaw hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/95anacron thaw hibernate:success.
/usr/lib/pm-utils/sleep.d/94cpufreq thaw hibernate:success.
/usr/lib/pm-utils/sleep.d/90clock thaw hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/75modules thaw hibernate:success.
/usr/lib/pm-utils/sleep.d/70action_wpa thaw hibernate:success.
/usr/lib/pm-utils/sleep.d/55NetworkManager thaw hibernate:success.
/usr/lib/pm-utils/sleep.d/49bluetooth thaw hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/00powersave thaw hibernate:success.
/usr/lib/pm-utils/sleep.d/00logging thaw hibernate:success.
/usr/lib/pm-utils/sleep.d/000kernel-change thaw hibernate:success.
Wed Feb 16 02:21:07 GST 2011: Finished.
Initial commandline parameters:
Wed Feb 16 02:22:29 GST 2011: Running hooks for hibernate.
/usr/lib/pm-utils/sleep.d/000kernel-change hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/00logging hibernate hibernate:Linux ariadne 2.6.32-5-686 #1 SMP Wed Jan 12 04:01:41 UTC 2011 i686 GNU/Linux
Module Size Used by
sco 5857 2
bridge 33019 0
stp 996 1 bridge
bnep 7444 2
rfcomm 25171 0
l2cap 21705 4 bnep,rfcomm
bluetooth 36319 6 sco,bnep,rfcomm,l2cap
parport_pc 15799 0
ppdev 4058 0
lp 5570 0
parport 22554 3 parport_pc,ppdev,lp
ext3 94212 1
jbd 32169 1 ext3
loop 9765 0
snd_hda_codec_realtek 163294 1
arc4 974 2
ecb 1405 2
ath9k 238393 0
snd_hda_intel 16811 1
snd_hda_codec 46002 2 snd_hda_codec_realtek,snd_hda_intel
mac80211 123574 1 ath9k
i915 222254 2
ath 6014 1 ath9k
snd_hwdep 4054 1 snd_hda_codec
snd_pcm 47226 2 snd_hda_intel,snd_hda_codec
drm_kms_helper 18309 1 i915
drm 112088 3 i915,drm_kms_helper
snd_seq 35463 0
cfg80211 87661 3 ath9k,mac80211,ath
snd_timer 12258 2 snd_pcm,snd_seq
snd_seq_device 3673 1 snd_seq
rfkill 10264 4 bluetooth,cfg80211
uvcvideo 45514 0
i2c_i801 6462 0
i2c_algo_bit 3497 1 i915
videodev 25545 1 uvcvideo
joydev 6739 0
v4l1_compat 10250 2 uvcvideo,videodev
video 14605 1 i915
led_class 1757 1 ath9k
i2c_core 12696 6 i915,drm_kms_helper,drm,i2c_i801,i2c_algo_bit,videodev
snd 34375 10 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device
pcspkr 1207 0
output 1204 1 video
battery 3782 0
ac 1640 0
soundcore 3450 1 snd
psmouse 44657 0
evdev 5609 12
button 3598 1 i915
serio_raw 2916 0
snd_page_alloc 5045 2 snd_hda_intel,snd_pcm
wmi 3575 0
processor 26327 2
ext4 257803 1
mbcache 3762 2 ext3,ext4
jbd2 56155 1 ext4
crc16 1027 2 l2cap,ext4
sha256_generic 10748 2
aes_i586 6816 2
aes_generic 25738 1 aes_i586
cbc 2047 1
dm_crypt 9264 1
dm_mod 46082 9 dm_crypt
sd_mod 25977 3
crc_t10dif 1012 1 sd_mod
usb_storage 30585 0
ahci 27270 2
uhci_hcd 16057 0
libata 115753 1 ahci
thermal 9206 0
ehci_hcd 27851 0
r8169 25180 0
mii 2714 1 r8169
scsi_mod 101429 3 sd_mod,usb_storage,libata
thermal_sys 9378 3 video,processor,thermal
usbcore 98453 5 uvcvideo,usb_storage,uhci_hcd,ehci_hcd
nls_base 4541 1 usbcore
total used free shared buffers cached
Mem: 1024096 329976 694120 0 21004 154944
-/+ buffers/cache: 154028 870068
Swap: 1949688 0 1949688
success.
/usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/49bluetooth hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/55NetworkManager hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/70action_wpa hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/75modules hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/90clock hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/95anacron hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/95led hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/99video hibernate hibernate:success.
Wed Feb 16 02:22:29 GST 2011: performing hibernate
Initial commandline parameters:
Wed Feb 16 02:41:07 GST 2011: Running hooks for hibernate.
/usr/lib/pm-utils/sleep.d/000kernel-change hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/00logging hibernate hibernate:Linux ariadne 2.6.32-5-686 #1 SMP Wed Jan 12 04:01:41 UTC 2011 i686 GNU/Linux
Module Size Used by
sco 5857 2
bridge 33019 0
stp 996 1 bridge
bnep 7444 2
rfcomm 25171 0
l2cap 21705 6 bnep,rfcomm
bluetooth 36319 6 sco,bnep,rfcomm,l2cap
parport_pc 15799 0
ppdev 4058 0
lp 5570 0
parport 22554 3 parport_pc,ppdev,lp
ext3 94212 1
jbd 32169 1 ext3
loop 9765 0
snd_hda_codec_realtek 163294 1
snd_hda_intel 16811 1
arc4 974 2
snd_hda_codec 46002 2 snd_hda_codec_realtek,snd_hda_intel
ecb 1405 2
snd_hwdep 4054 1 snd_hda_codec
ath9k 238393 0
snd_pcm 47226 2 snd_hda_intel,snd_hda_codec
joydev 6739 0
snd_seq 35463 0
mac80211 123574 1 ath9k
i915 222254 2
snd_timer 12258 2 snd_pcm,snd_seq
ath 6014 1 ath9k
drm_kms_helper 18309 1 i915
snd_seq_device 3673 1 snd_seq
uvcvideo 45514 0
videodev 25545 1 uvcvideo
drm 112088 3 i915,drm_kms_helper
v4l1_compat 10250 2 uvcvideo,videodev
snd 34375 10 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device
cfg80211 87661 3 ath9k,mac80211,ath
i2c_algo_bit 3497 1 i915
psmouse 44657 0
i2c_i801 6462 0
rfkill 10264 4 bluetooth,cfg80211
serio_raw 2916 0
pcspkr 1207 0
soundcore 3450 1 snd
i2c_core 12696 6 i915,drm_kms_helper,videodev,drm,i2c_algo_bit,i2c_i801
evdev 5609 18
ac 1640 0
video 14605 1 i915
battery 3782 0
processor 26327 2
button 3598 1 i915
snd_page_alloc 5045 2 snd_hda_intel,snd_pcm
led_class 1757 1 ath9k
wmi 3575 0
output 1204 1 video
ext4 257803 1
mbcache 3762 2 ext3,ext4
jbd2 56155 1 ext4
crc16 1027 2 l2cap,ext4
sha256_generic 10748 2
aes_i586 6816 3
aes_generic 25738 1 aes_i586
cbc 2047 1
dm_crypt 9264 1
dm_mod 46082 9 dm_crypt
sd_mod 25977 3
crc_t10dif 1012 1 sd_mod
usb_storage 30585 0
ahci 27270 2
libata 115753 1 ahci
thermal 9206 0
uhci_hcd 16057 0
r8169 25180 0
ehci_hcd 27851 0
scsi_mod 101429 3 sd_mod,usb_storage,libata
mii 2714 1 r8169
usbcore 98453 5 uvcvideo,usb_storage,uhci_hcd,ehci_hcd
nls_base 4541 1 usbcore
thermal_sys 9378 3 video,processor,thermal
total used free shared buffers cached
Mem: 1024096 425468 598628 0 28936 251472
-/+ buffers/cache: 145060 879036
Swap: 1949688 0 1949688
success.
/usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/49bluetooth hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/55NetworkManager hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/70action_wpa hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/75modules hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/90clock hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/95anacron hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/95led hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/99video hibernate hibernate:success.
Wed Feb 16 02:41:08 GST 2011: performing hibernate
Reply to: