I might have made some progress on this. Reading this post:
http://ubuntuforums.org/showpost.php?p=5168992&postcount=5 gave me the
idea to check if my initramfs was incorrect. It turns out that my
initramfs is missing the file conf/conf.d/resume.

I presume that this is because when I installed I didn't use swap. I
have 3 GB of RAM, so the only use I have for swap is for hibernation--
but I didn't know that swap was necessary for hibernation when I
installed. I now have 3 GB of swap, but I haven't been able to find any
documentation on how to rebuild initrd.img-2.6.24-19-generic with the
proper resume information. I Googled this, but all I found was some
kernel documentation and a Gentoo wiki page. The kernel docs were above
my head (I know virtually nothing about the kernel), and the Gentoo page
appeared to use Gentoo-specific commands. Later note: I just found the
Debian kernel handbook page on initramfs, but if it answers my
questions, I'm too dense to find the answer. I don't think I'm trying to
generate a new initramfs using the method detailed there. I'm trying to
change my existing one (or replace it with one that I altered).

I think there are two issues here:

  1. There should be some documentation about avoiding this situation, along 
with how to fix it.
  2. Changes to swap configuration should be automatically detected, and 
initramfs should be updated automatically. I have no idea how difficult this 
would be. Perhaps it's infeasible at present. But it really should be automated.

While I realize that this isn't a support forum, I would appreciate
suggestions as to how to rectify this situation. You could consider it
part of the documentation. :)

-- 
ThinkPad R61i won't resume from hibernation
https://bugs.launchpad.net/bugs/240605
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to