You are not logged in.

#1 2008-10-15 23:26:09

Phrodo_00
Member
From: Seattle, WA
Registered: 2006-04-09
Posts: 342
Website

pm-utils wakes up right after getting ready to hibernate

I'm using the uswsusp module and my laptop does hibernate after doing s2disk, however, pm-utils cancels the suspend just before calling it, dunno for how long it's been happening.... here's the log, any ideas?

Initial commandline parameters: 
mié oct 15 20:21:15 CLST 2008: Running hooks for hibernate.
/usr/lib/pm-utils/sleep.d/00auto-quirk hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/00logging hibernate hibernate: Linux neuromancer 2.6.26-ARCH #1 SMP PREEMPT Tue Sep 9 10:15:21 UTC 2008 i686 Intel(R) Core(TM)2 Duo CPU T5450 @ 1.66GHz GenuineIntel GNU/Linux
Module                  Size  Used by
usbhid                 46016  0 
hid                    40960  1 usbhid
ff_memless              6664  1 usbhid
ipv6                  259812  12 
i915                   30976  2 
drm                    73896  3 i915
fuse                   51228  6 
ext3                  125704  1 
jbd                    45716  1 ext3
mbcache                 8708  1 ext3
usb_storage            90560  0 
joydev                 11584  0 
video                  18064  0 
output                  4608  1 video
sg                     28596  0 
psmouse                38288  0 
wmi                     7592  0 
serio_raw               7044  0 
intel_agp              26428  1 
agpgart                29652  3 drm,intel_agp
i2c_i801               10384  0 
i2c_core               21140  1 i2c_i801
ehci_hcd               35596  0 
uhci_hcd               23952  0 
thermal                16796  0 
fan                     6020  0 
evdev                  10880  13 
button                  7824  0 
battery                12036  0 
ac                      6020  0 
vboxdrv                66200  0 
uvcvideo               56456  0 
usbcore               132080  6 usbhid,usb_storage,ehci_hcd,uhci_hcd,uvcvideo
compat_ioctl32          3072  1 uvcvideo
videodev               31872  1 uvcvideo
v4l1_compat            16260  2 uvcvideo,videodev
cpufreq_powersave       3584  0 
cpufreq_ondemand        8716  1 
acpi_cpufreq            9228  1 
freq_table              5568  2 cpufreq_ondemand,acpi_cpufreq
processor              33836  4 thermal,acpi_cpufreq
loop                   16140  0 
snd_seq_oss            31872  0 
snd_seq_midi_event      8192  1 snd_seq_oss
snd_seq                49968  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          8332  2 snd_seq_oss,snd_seq
snd_hda_intel         357048  4 
snd_hwdep               8964  1 snd_hda_intel
snd_pcm_oss            40192  0 
snd_pcm                69636  3 snd_hda_intel,snd_pcm_oss
snd_timer              21384  3 snd_seq,snd_pcm
snd_page_alloc          9608  2 snd_hda_intel,snd_pcm
snd_mixer_oss          16512  1 snd_pcm_oss
snd                    50724  15 snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               8032  1 snd
arc4                    3712  2 
ecb                     4608  2 
iwl3945                89332  0 
firmware_class          9088  1 iwl3945
mac80211              165280  1 iwl3945
led_class               5508  1 iwl3945
cfg80211               25608  2 iwl3945,mac80211
8139too                24192  0 
8139cp                 20992  0 
mii                     6528  2 8139too,8139cp
rtc_cmos               11424  0 
rtc_core               17436  1 rtc_cmos
rtc_lib                 4480  1 rtc_core
reiserfs              230912  1 
sd_mod                 25240  6 
sr_mod                 16836  0 
cdrom                  36128  1 sr_mod
ahci                   27144  5 
ata_piix               17924  0 
libata                150048  2 ahci,ata_piix
scsi_mod               95692  5 usb_storage,sg,sd_mod,sr_mod,libata
dock                    9488  1 libata
             total       used       free     shared    buffers     cached
Mem:       2065916     641220    1424696          0      47452     158852
-/+ buffers/cache:     434916    1631000
Swap:      2000052      94688    1905364
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/40-release-usb 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/50ntpd hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/55NetworkManager hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/55battery hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/65alsa hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/75modules hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/90chvt hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/90clock hibernate hibernate: success.
/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/98smart-kernel-video hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/99video hibernate hibernate: success.
mié oct 15 20:21:17 CLST 2008: performing hibernate
mié oct 15 20:21:20 CLST 2008: Awake.
mié oct 15 20:21:20 CLST 2008: Running hooks for thaw
/usr/lib/pm-utils/sleep.d/99video thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/98smart-kernel-video thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/95led thaw hibernate: not applicable.
/usr/lib/pm-utils/sleep.d/94cpufreq thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/90clock thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/90chvt thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/75modules thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/65alsa thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/55battery thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/55NetworkManager thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/50ntpd thaw hibernate: success.
/etc/pm/sleep.d/50-hdparm_pm thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/49bluetooth thaw hibernate: not applicable.
/etc/pm/sleep.d/40-release-usb thaw hibernate: not executable.
/usr/lib/pm-utils/sleep.d/11netcfg thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/01grub 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/00auto-quirk thaw hibernate: success.
mié oct 15 20:21:21 CLST 2008: Finished.

Offline

#2 2008-10-16 02:13:05

pointone
Wiki Admin
From: Waterloo, ON
Registered: 2008-02-21
Posts: 379

Re: pm-utils wakes up right after getting ready to hibernate

I encountered a bug with /sys/power/image_size being set too large that caused the exact same problem. Needed to:

echo 0 > /sys/power/image_size

However, my problem was accompanied by a "failed to write" or some such error in my logs; not sure if your's is the same problem.

Regardless, try running that code. A value of zero will simply cause the system to try to minimize the image size as much as possible, which isn't a bad thing as far as I can tell. I simply run it in my rc.local on startup now.


M*cr*s*ft: Who needs quality when you have marketing?

Offline

Board footer

Powered by FluxBB