Difference between Software Suspend and Suspend-to-disk?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello all,
I'm puzzled by two options in the menuconfig which seem to do the same thing:
Software Suspend (EXPERIMENTAL)
Suspend-to-Disk Support
Do i need to have the second to actually suspend? Or does the first one by itself do everything I need to suspend?
Thanks.
Jan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/lRVsUQQOfidJUwQRArkdAJ4/XEyzNle9XxPy1wkDAtTp9Hf0aQCeMOBL qkvnb8YPymSID7AKaYtJ3Ss=
=/Nbf
-----END PGP SIGNATURE-----
Quoted 2 lines · On Oct-21 2003, Tue, 13:15 +0200 Jan De Luyck <[email protected]> wrote:
Software Suspend (EXPERIMENTAL)
Suspend-to-Disk Support
They're competing implementations of the same mechanism.
Signature · 1 line
Tomas Szepe <[email protected]>
Quoted 4 lines · Tomas Szepe
Quoted 2 lines
Software Suspend (EXPERIMENTAL)
Suspend-to-Disk SupportThey're competing implementations of the same mechanism.
And neither one works reliably, I might add. They both appear to save the current state to disk, but no matter what I try, I can't make it resume properly.
Signature · 2 lines
Måns Rullgård [email protected]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 9 lines · Måns Rullgård
Quoted 4 lines · Tomas Szepe
Quoted 2 lines
Software Suspend (EXPERIMENTAL)
Suspend-to-Disk SupportThey're competing implementations of the same mechanism.
And neither one works reliably, I might add. They both appear to save the current state to disk, but no matter what I try, I can't make it resume properly.
Well, I could suspend/resume correctly first time I tried (runlevel 2 and disabling nearly everything to minimize loss of data on crash).
The second test in X resulted in a 'double fault'...
Jan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/lSOrUQQOfidJUwQRAsV8AJ0WGVwtPCvoRU+nYzp+1rEPGjHrDwCffiZz wEG77k6o4VjLOb3dMvyLopg=
=uta/
-----END PGP SIGNATURE-----
Quoted 10 lines · Måns Rullgård
Quoted 4 lines · Tomas Szepe
Quoted 2 lines
Software Suspend (EXPERIMENTAL)
Suspend-to-Disk SupportThey're competing implementations of the same mechanism.
And neither one works reliably, I might add. They both appear to save the current state to disk, but no matter what I try, I can't make it resume properly.
Yep! I must say I cannot resume my system from disk. The kernel always complains about failing when trying to resume from disk. Also, after suspending to disk, the swap partition is completely valid, and I don't need to "mkswap" it. On previous releases of the kernel, when STD worked, trying to skip resume from disk left the swap partition unusable (as expected after dumping memory to the swap file).
Quoted 9 lines · Felipe Alfaro Solana
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
Software Suspend (EXPERIMENTAL)
Suspend-to-Disk SupportThey're competing implementations of the same mechanism.
And neither one works reliably, I might add. They both appear to save the current state to disk, but no matter what I try, I can't make it resume properly.
Quoted 6 lines
Yep! I must say I cannot resume my system from disk. The kernel always complains about failing when trying to resume from disk. Also, after suspending to disk, the swap partition is completely valid, and I don't need to "mkswap" it. On previous releases of the kernel, when STD worked, trying to skip resume from disk left the swap partition unusable (as expected after dumping memory to the swap file).
Same here. I recall seeing a patch that did something to sync the disks before powering off. Maybe it's related. I'll dig out the patch and see what it's all about.
Signature · 2 lines
Måns Rullgård [email protected]
Quoted 6 lines · Måns Rullgård
Quoted 3 lines · Tomas Szepe
Quoted 2 lines
Software Suspend (EXPERIMENTAL)
Suspend-to-Disk Support
Quoted 7 lines
Quoted 1 line
They're competing implementations of the same mechanism.
And neither one works reliably, I might add. They both appear to save the current state to disk, but no matter what I try, I can't make it resume properly.
That's why it's called Software Suspend and Suspend-to-Disk. The matching components Software Resume and Resume-from-Disk don't work yet :)
// Stefan