2010-06-18

Slitaz -- hibernate

Env:
slitaz-3.0.iso in HD
pm-utils

五 6月 18 19:06:43 CST 2010: performing hibernate
六 6月 19 09:42:24 CST 2010: Awake.
六 6月 19 09:42:24 CST 2010: Running hooks for thaw

root@slitaz:~# tazpkg info pm-utils

Tazpkg information
================================================================================
Package : pm-utils
Version : 1.2.5
Category : system-tools
Short desc : scripts that handle suspend and resume on behalf of HAL.
Maintainer : domcox@users.sourceforge.net
Depends : hal-info
Web site : http://pm-utils.freedesktop.org/
================================================================================

root@slitaz:~# cat /proc/cmdline
root=/dev/sda7 acpi=off resume=/dev/sda6
root@slitaz:~# grep sda6 /proc/partitions
8 6 10450251 sda6
root@slitaz:~# ls -l /sys/power
-rw-r--r-- 1 root root 4096 Jun 18 08:26 disk
-rw-r--r-- 1 root root 4096 Jun 18 08:27 image_size
-rw-r--r-- 1 root root 4096 Jun 18 08:27 resume
-rw-r--r-- 1 root root 4096 Jun 18 19:06 state
root@slitaz:~# cat /sys/power/*
test testproc [shutdown] reboot
524288000
8:6
disk
root@slitaz:~#

root@slitaz:~# cat /var/log/pm-suspend.log
Initial commandline parameters:
五 6月 18 19:06:43 CST 2010: Running hooks for hibernate.
/usr/lib/pm-utils/sleep.d/00auto-quirk hibernate hibernate: Adding quirks from HAL: --quirk-dpms-on --quirk-dpms-suspend --quirk-vbe-post --quirk-vbemode-restore --quirk-vbestate-restore --quirk-vga-mode-3
success.
/usr/lib/pm-utils/sleep.d/00logging hibernate hibernate: Linux slitaz 2.6.30.6-slitaz #1 SMP Sun Mar 28 16:39:51 CEST 2010 i686 unknown

Module Size Used by Not tainted
rtc 9136 0
vboxnetadp 6444 0
vboxnetflt 14688 0
vboxdrv 156152 2 vboxnetadp,vboxnetflt
tg3 93600 0
libphy 16236 1 tg3
snd_hda_codec_realtek 179412 1
snd_hda_intel 22020 1
snd_hda_codec 49928 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 5988 1 snd_hda_codec
snd_pcm 51780 2 snd_hda_intel,snd_hda_codec
snd_timer 16344 1 snd_pcm
snd 43584 8 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore 5180 1 snd
snd_page_alloc 7256 2 snd_hda_intel,snd_pcm
total used free shared buffers
Mem: 2039472 584508 1454964 0 109332
Swap: 10450240 0 10450240
Total: 12489712 584508 11905204
success.
/usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate: not executable.
/usr/lib/pm-utils/sleep.d/01grub hibernate hibernate: not executable.
/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/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/95led hibernate hibernate: not applicable.
/usr/lib/pm-utils/sleep.d/98smart-kernel-video hibernate hibernate: not applicable.
/usr/lib/pm-utils/sleep.d/99video hibernate hibernate: /usr/lib/pm-utils/sleep.d/99video: line 219: fgconsole: not found
success.
五 6月 18 19:06:43 CST 2010: performing hibernate
六 6月 19 09:42:24 CST 2010: Awake.
六 6月 19 09:42:24 CST 2010: Running hooks for thaw
/usr/lib/pm-utils/sleep.d/99video thaw hibernate: BusyBox v1.12.0 (2010-03-12 18:25:03 CET) multi-call binary

Usage: chvt N

Change the foreground virtual terminal to /dev/ttyN

deallocvt: VT_DISALLOCATE: Device or resource busy
Returned exit code 1.
/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: not applicable.
/usr/lib/pm-utils/sleep.d/75modules 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/01grub thaw hibernate: not executable.
/usr/lib/pm-utils/sleep.d/00powersave thaw hibernate: not executable.
/usr/lib/pm-utils/sleep.d/00logging thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/00auto-quirk thaw hibernate: success.
root@slitaz:~#