Suspend2 升级和问题

以前用的 [Suspend2] 2.2.7 似乎有些问题,其他还好说,一个问题比较大,就是有时候恢复,读完了数据,然后就死在了那里,没有任何反应,硬盘等也不闪了,没有办法,之后重启。所以打算升级,顺便也把内核升级到 2.6.18。

下载了新的 2.2.9,仍然还是使用了 initrd 文件系统,用的是 initramfs-tools,但看到说 [Yaird] 以后要全面在 Debian 中使用。整个过程中碰到了两个问题(都是 Debian 自带的 Hibernate 和 suspend2-userui):

  • suspend2-userui 的新版本把原来位于 /usr/sbin/suspend2ui_* 这些程序换到了 /usr/lib/suspend2-userui/suspend2ui_[/code/],所以在相应的 [code]/etc/hibernate/suspend2.conf 中要改。
  • Hibernate 的脚本也有问题,原来的 suspend2 创建的文件系统是在 /proc/suspend2,现在是在 /sys/power/suspend2,而最新的 Hibernate 脚本用的是前一个,所以会出错。
  • 在上面这个问题的基础上,filewriter/swapwriter 的具体名字也有所改变,原来是叫 filewriter/swapwriter,现在是叫 file/swap,所以这些也得要改动。

然后就是 Suspend2 成功以后还有些不太爽:

  • 一旦使用 suspend2 休眠之后,FrameBuffer 就会花掉,分辩率似乎成了原来标准的 80x25,大部分是黑的,其他地方显示出一些色块和字母,但 X 没问题,也能正常使用。
  • 再多用用,看看那个死掉的问题还在不在。如果还在的话,可就郁闷了。

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote>
  • You can use BBCode tags in the text.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. The supported tag styles are: <foo>, [foo].
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
"sidowur kuyu xiqes jose jiv ihapaba focof bozu"