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

From: Rafael J. Wysocki
Date: Tue Nov 16 2010 - 17:29:29 EST


On Tuesday, November 16, 2010, Pavel Machek wrote:
> 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).

Yes, this needs to be updated.

Thanks,
Rafael
--
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/