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

Pavel Machek
2010-11-16T05:33:05Z

On Tue 2010-11-16 06:26:34, Pavel Machek wrote:
> 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
> >
> > Well, the swap is rather in short supply. Below the 50% of RAM recommendation.
>
> Well, but the biggest image we can write is not 50% of RAM, but 50% of
> lowmem... and swap is nearly as big as lowmem in this case -- so this
> machine is not misconfigured.

BTW swsusp.txt may need updating, it says:

echo N > /sys/power/image_size

before suspend (it is limited to 500 MB by default).

...