LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 914|回复: 2

hibernate的确很爽,但hibernate-ram不能用 [已解决]

[复制链接]
发表于 2006-12-4 22:18:11 | 显示全部楼层 |阅读模式
今天安装了suspend2-sources,编译了内核,哈哈,加入了 lzf 的 hibernate 速度比 windows还快 。但美中不足的是不能suspend to ram ,hibernate-ram 在屏幕闪了下后就报错:

  1. ***** ~# hibernate-ram
  2. /bin/echo: 写入错误: 不允许的操作
复制代码

看了下hibernate-ram脚本,基本上用到echo都是 echo > /dev/null 。不知道为什么会失败。
麻烦大家帮忙看下。
大家有hibernate-ram不成功么?
 楼主| 发表于 2006-12-4 22:29:24 | 显示全部楼层
下面是详细的错误
  1. hibernate-ram: Using implicit configuration file /etc/hibernate/ram.conf
  2. hibernate-ram: Including configuration from common.conf
  3. hibernate-ram: [01] Executing CheckLastResume ...
  4. hibernate-ram: [01] Executing CheckRunlevel ...
  5. hibernate-ram: [01] Executing LockFileGet ...
  6. hibernate-ram: [01] Executing NewKernelFileCheck ...
  7. hibernate-ram: [10] Executing EnsureSysfsPowerStateCapable ...
  8. hibernate-ram: [11] Executing XHacksSuspendHook1 ...
  9. hibernate-ram: [89] Executing SaveKernelModprobe ...
  10. Saved /proc/sys/kernel/modprobe is /sbin/modprobe
  11. hibernate-ram: [91] Executing ModulesUnloadBlacklist ...
  12. Unloading blacklisted modules listed /etc/hibernate/blacklisted-modules
  13. Module version for ipw2100 is
  14. Module version for ipw2200 is
  15. Module version for ndiswrapper is
  16. hibernate-ram: [95] Executing XHacksSuspendHook2 ...
  17. xhacks: changing console from 7 to 15
  18. /bin/echo: 写入错误: 不允许的操作
  19. hibernate-ram: [97] Executing VbetoolSaveState ...
  20. 'vbetool' utility not found. Vbetool disabled.
  21. hibernate-ram: [98] Executing CheckRunlevel ...
  22. hibernate-ram: [99] Executing DoSysfsPowerStateSuspend ...
  23. hibernate-ram: Activating sysfs power state mem ...
  24. hibernate-ram: [97] Executing VbetoolRestoreState ...
  25. hibernate-ram: [90] Executing ModulesLoad ...
  26. hibernate-ram: [89] Executing RestoreKernelModprobe ...
  27. hibernate-ram: [85] Executing XHacksResumeHook2 ...
  28. xhacks: changing console back to 7
  29. hibernate-ram: [70] Executing ClockRestore ...
  30. hibernate-ram: [11] Executing XHacksResumeHook1 ...
  31. hibernate-ram: [01] Executing NoteLastResume ...
  32. hibernate-ram: [01] Executing LockFilePut ...
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-6 00:00:30 | 显示全部楼层
原来是编译内核时要将 acpi --> sleep state 编译进去。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表