You are not logged in.

#1 2010-05-07 06:58:55

allbluedream
Member
Registered: 2008-04-06
Posts: 155

Hibernate fails intermittently with 2.6.33

I use pm-utils for sleeping and hibernating. Sleeping still works fine, but after upgrading to 2.6.33, on some occasions (usually with large ram usage, but I'm not sure), after pressing the hibernate button in a gnome session, the screen would turn blank with a blinking cursor and there are no more disk activities. The pm-suspend.log still shows that the hibernation is complete, but it seems that nothing ever gets written into my swap partition, which is about twice as large as my 1G ram (I know I was being too cautious...) On booting the system detects no resume image.

/var/log/pm-suspend.log

Initial commandline parameters: 
Thu May  6 21:09:35 CST 2010: Running hooks for hibernate.
/usr/lib/pm-utils/sleep.d/00logging hibernate hibernate:Linux arch 2.6.33-ARCH #1 SMP PREEMPT Mon Apr 26 20:00:20 CEST 2010 i686 Intel(R) Core(TM)2 Duo CPU T5470 @ 1.60GHz GenuineIntel GNU/Linux
Module                  Size  Used by
nls_cp437               4513  0 
vfat                    8210  0 
fat                    42177  1 vfat
aes_i586                6880  1 
aes_generic            25834  1 aes_i586
xts                     1901  0 
gf128mul                6242  1 xts
dm_crypt               10548  0 
dm_mod                 54936  1 dm_crypt
usb_storage            33940  0 
usbhid                 32582  0 
hid                    59859  1 usbhid
sdhci_pci               5466  0 
sdhci                  13959  1 sdhci_pci
mmc_core               45599  1 sdhci
firewire_ohci          20072  0 
dell_wmi                2503  0 
uhci_hcd               19244  0 
snd_seq_dummy           1067  0 
led_class               1997  1 sdhci
firewire_core          38297  1 firewire_ohci
crc_itu_t               1041  1 firewire_core
intel_agp              22681  0 
nvidia               9832137  32 
ehci_hcd               31167  0 
wmi                     5033  1 dell_wmi
ricoh_mmc               2693  0 
snd_seq_oss            24984  0 
snd_seq_midi_event      4484  1 snd_seq_oss
i2c_i801                7058  0 
usbcore               119636  5 usb_storage,usbhid,uhci_hcd,ehci_hcd
agpgart                23119  2 intel_agp,nvidia
iTCO_wdt                8537  0 
iTCO_vendor_support     1453  1 iTCO_wdt
snd_seq                41656  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          4349  3 snd_seq_dummy,snd_seq_oss,snd_seq
i2c_core               14791  2 nvidia,i2c_i801
sr_mod                 13097  0 
cdrom                  31305  1 sr_mod
dell_laptop             1737  0 
sg                     20820  0 
joydev                  7378  0 
dcdbas                  4376  1 dell_laptop
thermal                 9614  0 
fan                     2566  0 
button                  3702  0 
battery                 7451  0 
ac                      2317  0 
psmouse                50729  0 
evdev                   6716  20 
fuse                   51814  6 
video                  15449  0 
output                  1436  1 video
cpufreq_powersave        646  0 
cpufreq_ondemand        6542  0 
acpi_cpufreq            5639  1 
freq_table              1987  2 cpufreq_ondemand,acpi_cpufreq
processor              25806  3 acpi_cpufreq
snd_hda_codec_idt      45003  1 
snd_hda_intel          19249  2 
snd_hda_codec          59723  2 snd_hda_codec_idt,snd_hda_intel
snd_hwdep               4752  1 snd_hda_codec
snd_pcm_oss            33442  0 
snd_pcm                57767  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer              15629  2 snd_seq,snd_pcm
snd_page_alloc          5873  2 snd_hda_intel,snd_pcm
snd_mixer_oss          14356  1 snd_pcm_oss
snd                    42562  15 snd_seq_oss,snd_seq,snd_seq_device,snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               5017  1 snd
arc4                    1058  2 
ecb                     1545  2 
iwl3945               126951  0 
iwlcore               130544  1 iwl3945
mac80211              151419  2 iwl3945,iwlcore
cfg80211              108137  3 iwl3945,iwlcore,mac80211
rfkill                 12198  2 dell_laptop,cfg80211
tg3                   110710  0 
libphy                 13884  1 tg3
rtc_cmos                7546  0 
rtc_core               11851  1 rtc_cmos
rtc_lib                 1482  1 rtc_core
ext3                  110754  2 
jbd                    38933  1 ext3
mbcache                 4278  1 ext3
sd_mod                 25183  6 
ata_piix               17884  5 
libata                138071  1 ata_piix
scsi_mod               79404  5 usb_storage,sr_mod,sg,sd_mod,libata
             total       used       free     shared    buffers     cached
Mem:       1027184    1004084      23100          0      87556     384556
-/+ buffers/cache:     531972     495212
Swap:      2000052     206652    1793400
success.
/usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/01grub hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/11netcfg hibernate hibernate:success.
/etc/pm/sleep.d/11suspend hibernate hibernate:not executable.
/usr/lib/pm-utils/sleep.d/49bluetooth hibernate hibernate:not applicable.
/etc/pm/sleep.d/50-hdparm_pm hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/55NetworkManager 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/91wicd hibernate hibernate:Unable to connect to wicd daemon - is it running?
disabled.
/usr/lib/pm-utils/sleep.d/94cpufreq 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/99laptop-mode hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/99video hibernate hibernate:success.
Thu May  6 21:09:40 CST 2010: performing hibernate

I tried uswsusp, and the system would hang at 'taking system snapshot'. I tried kernel26-bfs and kernel26-ck as well, no difference. But things do go back to normal if I downgrade to 2.6.32, so I am suspecting a kernel problem. Any tips?

Offline

#2 2010-05-07 07:34:13

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: Hibernate fails intermittently with 2.6.33

Do you have a "resume" hook before "filesystems" in "HOOKS" section of an /etc/mkinitcpio.conf file?
If not, add it, and rebuild the kernel with "mkinitcpio -p kernel26" (as sudo), or with whatever preset you use. smile

Offline

#3 2010-05-07 07:43:58

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,393

Re: Hibernate fails intermittently with 2.6.33

It seems it can't even power off the machine, the problem comes 'before' resume hook.
Why i've not a clue about your issue, i use tuxonice which solved all my hibernation problems.
kernel26-ice, in aur.

Last edited by kokoko3k (2010-05-07 07:44:19)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#4 2010-05-09 23:42:17

allbluedream
Member
Registered: 2008-04-06
Posts: 155

Re: Hibernate fails intermittently with 2.6.33

I do have a resume hook, or uresume for uswsusp, when the machine hibernates successfully the wake up is absolutely normal. The only problem is when it refuses to hibernate in the first place.

Offline

#5 2010-05-09 23:52:49

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: Hibernate fails intermittently with 2.6.33

Have you directly used s2disk from uswsusp?
With the nvidia driver the normal kernel suspend didn´t work for me neither.
I also don´t use pm-utils with external modules. The simple "s2disk" and "s2ram" commands are sufficient.
Most of the pm-util hacks are for the normal kernel suspend. For a not tainted kernel pm-utils works fine though.

Offline

#6 2010-05-17 12:29:31

allbluedream
Member
Registered: 2008-04-06
Posts: 155

Re: Hibernate fails intermittently with 2.6.33

Seems to have been fixed with the recent kernel update 2.6.33-4, but I need to test it a bit more.

Offline

Board footer

Powered by FluxBB