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

Bug#589558: Miscalculation of used/available pages on kernel suspend to disk (not suspending)



tags 589558 + moreinfo
quit

Hi Javier,

Javier Vasquez wrote:

> MemTotal:         514432 kB
> SwapTotal:       2096408 kB
[...]
> [   92.795783] PM: Creating hibernation image:
> [   92.796017] PM: Need to copy 66237 pages
> [   92.796017] PM: Normal pages needed: 66237 + 1024, available pages: 64647
> [   92.796017] PM: Not enough free memory
> [   92.796017] PM: Error -12 creating hibernation image
> [   92.796716] ACPI: Waking up from system sleep state S4
>
> The important part of the dmesg section above is:
>
> [   92.796017] PM: Need to copy 66237 pages
> [   92.796017] PM: Normal pages needed: 66237 + 1024, available pages: 64647
> [   92.796017] PM: Not enough free memory
> [   92.796017] PM: Error -12 creating hibernation image

Yeah, that looks broken.

Does this still happen with current squeeze kernels?  If so, please
try a 3.x.y kernel from unstable; the only packages from outside
squeeze that should be needed in order to do so aside from the kernel
image itself are initramfs-tools and linux-base.  If it fails, we can
get help from upstream, and if it succeeds, we can try some kernels
halfway between from http://snapshot.debian.org/ to find the fix and
try applying the same patch to squeeze.

Thanks for writing, and sorry for the slow response.

Sincerely,
Jonathan



Reply to: