|
|
hibernate、pm-hibernate都试过。查看日志,都是休眠关机正常,开机后“照常”开机,一点resume的迹象都没有。
/var/log/hibernate.log- Starting suspend at Fri Dec 26 00:05:35 CST 2008
- hibernate: [01] Executing CheckLastResume ...
- hibernate: [01] Executing CheckRunlevel ...
- hibernate: [01] Executing LockFileGet ...
- hibernate: [01] Executing NewKernelFileCheck ...
- hibernate: [10] Executing EnsureSysfsPowerStateCapable ...
- hibernate: [11] Executing XHacksSuspendHook1 ...
- hibernate: [30] Executing ServicesStop ...
- * Stopping pdnsd-online... [ ok ]
- * Bringing down interface ppp0
- * Stopping pppd on ppp0
- [ ok ]
- * Stopping pdnsd... [ ok ]
- hibernate: [59] Executing RemountXFSBootRO ...
- hibernate: [89] Executing SaveKernelModprobe ...
- hibernate: [91] Executing ModulesUnloadBlacklist ...
- hibernate: [91] Executing ModulesUnloadBlacklist ...
- hibernate: [95] Executing XHacksSuspendHook2 ...
- hibernate: [98] Executing CheckRunlevel ...
- hibernate: [99] Executing DoSysfsPowerStateSuspend ...
- hibernate: Activating sysfs power state disk ...
复制代码
/var/log/pm-suspend.log- Initial commandline parameters:
- Blacklisting 01grub.
- Blacklisting 10NetworkManager.
- Blacklisting 90clock.
- Blacklisting 01grub.
- Blacklisting 10NetworkManager.
- Blacklisting 90clock.
- Thu Dec 25 23:48:04 CST 2008: Running hooks for hibernate.
- /usr/lib64/pm-utils/sleep.d/00auto-quirk hibernate hibernate: success.
- /usr/lib64/pm-utils/sleep.d/00logging hibernate hibernate: Linux cell1 2.6.28 #3 SMP Thu Dec 25 18:52:29 CST 2008 x86_64
- Module Size Used by
- xt_tcpudp 2304 3
- ipt_REJECT 2112 3
- nf_conntrack_ipv4 8920 2
- nf_defrag_ipv4 960 1 nf_conntrack_ipv4
- xt_state 1152 2
- nf_conntrack 42512 2 nf_conntrack_ipv4,xt_state
- iptable_filter 1344 1
- ip_tables 14096 1 iptable_filter
- x_tables 10760 4 xt_tcpudp,ipt_REJECT,xt_state,ip_tables
- total used free shared buffers cached
- Mem: 4033940 563108 3470832 0 168088 159888
- -/+ buffers/cache: 235132 3798808
- Swap: 4194296 0 4194296
- success.
- /usr/lib64/pm-utils/sleep.d/00powersave hibernate hibernate: success.
- /usr/lib64/pm-utils/sleep.d/01grub hibernate hibernate: disabled.
- /usr/lib64/pm-utils/sleep.d/49bluetooth hibernate hibernate: not applicable.
- /usr/lib64/pm-utils/sleep.d/55NetworkManager hibernate hibernate: success.
- /usr/lib64/pm-utils/sleep.d/75modules hibernate hibernate: success.
- /usr/lib64/pm-utils/sleep.d/90chvt hibernate hibernate: success.
- /usr/lib64/pm-utils/sleep.d/90clock hibernate hibernate: disabled.
- /usr/lib64/pm-utils/sleep.d/94cpufreq hibernate hibernate: success.
- /usr/lib64/pm-utils/sleep.d/95led hibernate hibernate: not applicable.
- /usr/lib64/pm-utils/sleep.d/98smart-kernel-video hibernate hibernate: not applicable.
- /usr/lib64/pm-utils/sleep.d/99video hibernate hibernate: success.
- Thu Dec 25 23:48:06 CST 2008: performing hibernate
复制代码
内核cmdline- dolvm quiet real_root=/dev/mapper/vg1-gentoo resume=/dev/mapper/vg1-swap root=/dev/ram0
复制代码
我的root和swap都在lvm上,内核和initrd是用“genkernel all --no-initrdmodules”生成的。到底是哪个环节出错了呢?
还有,/etc/init.d/hibernate-cleanup是否应该加入boot runlevel?我看它的介绍是把休眠信息都擦除掉,但是很多地方又都提到要把它加入。 |
|