Re: TuxOnIce-devel Digest, Vol 101, Issue 2

Thomas Orgis <[email protected]> Mon, 30 Sep 2013 15:07:45 +0200
Newsgroups gmane.linux.swsusp.devel
Message-ID <[email protected]>
Am Mon, 30 Sep 2013 08:20:03 -0400
schrieb Woody Suwalski <[email protected]>: 

> >>> Swap available for image: 0 pages.
> 
> Somehow the way you activate swap is not working correctly.
> Check 'cat /proc/swaps' to verify...

Oh, of course that debug output was fetched after my suspend script failed, the script does

swapon /dev/...
echo disk > /sys/power/state
swapoff /dev/...

Activating swap manually and keeping it gives this:

[ 4666.551667] Adding 8388604k swap on /dev/mapper/[...]  Priority:-1 extents:1 across:8388604k 
[ 4701.369877] TuxOnIce: No matching enabled allocator found. Resuming disabled.

sh$ cat /sys/power/tuxonice/debug_info
TuxOnIce debugging info:
- TuxOnIce core  : 3.3
- Kernel Version : 3.10.13-toi
- Compiler vers. : 4.6
- Attempt number : 0
- Parameters     : 0 667648 0 1 -2 0
- Overall expected compression percentage: 0.
- Checksum method is 'md4'.
  0 pages resaved in atomic copy.
- Compressor is 'lzo'.
- Block I/O inactive.
- Swap Allocator enabled.
  Swap available for image: 2097151 pages.
- No I/O speed stats available.
- Extra pages    : 0 used/2000.
- Result         : No hibernation attempts so far.


Alrighty then,

Thomas

_______________________________________________
TuxOnIce-devel mailing list
[email protected]
http://lists.tuxonice.net/listinfo/tuxonice-devel
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)

iEYEARECAAYFAlJJd6EACgkQm0xSvNRG1SSWjgCfb1XJlg06b0Fkc6/aO9aDFJYK
9QsAoISGTnnvOS/iCkKqvYKr9zSihy6t
=nbSF
-----END PGP SIGNATURE-----