2.6.37-rc1+: hibernate regression, claims not enough swap space

From: Pavel Machek
Date: Sun Nov 14 2010 - 00:22:06 EST


Hi!

...but there's enough -- or at least it was enough to fit previous
versions. 32-bit machine, so it has highmem.

System is in console mode, very lightly loaded.

Mem: 2054716k total, 736548k used, 1318168k free, 15368k buffers
Swap: 779148k total, 2360k used, 776788k free, 546388k cached

thinkpad_acpi: ACPI backlight control delay disabled
PM: thaw of devices complete after 539.577 msecs
PM: writing image.
PM: Free swap pages: 194166
PM: Not enough free swap
Restarting tasks ...

Aha, and it is the new default /sys/power/image_size .. setting it to
0 lets machine hibernate. I guess the new default is very wrong for
highmem machine...

Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/