[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: linux-image-2.6.39-bpo.2-amd64: hibernate doesn't ever resume

This grub config change works for me.  Thank you.

What can be done to fix the bug of automatically enabled low-battery hibernations that don't resume properly (= loss of data/session)?

Why isn't this hack needed for the squeeze non-bpo kernels?

What adds those lines to grub on wheezy?  Can it be backported to squeeze (stable or bpo)?

On Sep 22, 2011 11:00 AM, "Cia Watson" <ciamarie@my180.net> wrote:
> On Wed, 21 Sep 2011 22:30:31 -0400
> Thomas Shanks <reportbug@tshanks.org> wrote:
>> On Mon, 19 Sep 2011 18:06:56 Cia Watson <ciamarie@my180.net> wrote:
>> > revised my file to remove the single quote so it shows something like:
>> > RESUME=UUID=some-number
>> This causes no change here. It still behaves as in the bug report.
> I just looked back at my notes, and found something else to check. Also, my
> message was more for the devs, since it appears that when the new kernel
> revised the resume file it added a quote that didn't belong there. But, check
> /etc/default/grub and you may want to revise it to look like:
> GRUB_CMDLINE_LINUX="resume=UUID=number of swap partition vga=792"
> The vga=792 probably isn't necessary, but it was in the example I found so I
> used it and it mostly worked, as I mentioned.
> After you're done with that, you also need to run this command, as root or
> sudo (I usually have a root terminal open):
> update-initramfs -u
> Lastly, another thing is to look at the output of ls -l /dev/sdaX (where X is
> the partition number of your swap partition).
> Mine shows:
> ls -l /dev/sda2
> brw-rw---- 1 root disk 8, 2 Sep 16 07:19 /dev/sda2
> The numbers 8,2 want to show up as follows:
> # cat /sys/power/resume
> 8:2
> If it doesn't show up like that after you've done the update-initramfs -u
> command, and you'll possibly need to reboot after that, you can update
> the /sys/power/resume yourself if needed (shouldn't need to), like the
> following, using the correct numbers found after the ls -l above:
> # echo 8:2 >/sys/power/resume
> Hope that helps!
> Cia W.

Reply to: