Re: swsusp and available swap space

From: Pavel Machek
Date: Mon Dec 20 2004 - 10:53:20 EST


Hi!

> If say I have 980KB of memory used (of a total of 1GB

980MB?

> physical RAM), and rest currently in swap memory
> giving me 1GB total ram used, and a swap of 1GB, when
> suspending would this fail? Wouldn't the swapped
> partition memory have to be moved somewhere?

Try without highmem, and try suspending just after boot, when not that
much memory is in use. If too much memory is used after boot, boot
with init=/bin/bash, swapon and trigger swsusp.

> I can't be sure because I cant suspend to disk yet..
> it continues to abort and I wonder if its due to the
> swap size not being big enough for all ram + swapped
> memory to fit on the swap partition?

Messages from suspend would be helpfull.


--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-
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/