linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6.0-test8] Difference between Software Suspend and Suspend-to-disk?
@ 2003-10-21 11:15 Jan De Luyck
  2003-10-21 11:34 ` Tomas Szepe
  0 siblings, 1 reply; 8+ messages in thread
From: Jan De Luyck @ 2003-10-21 11:15 UTC (permalink / raw)
  To: linux-kernel

-----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-----


^ permalink raw reply	[flat|nested] 8+ messages in thread
* [2.6.0-test8] Difference between Software Suspend and Suspend-to-disk?
@ 2003-10-21 21:15 John Mock
  0 siblings, 0 replies; 8+ messages in thread
From: John Mock @ 2003-10-21 21:15 UTC (permalink / raw)
  To: Linux Kernel list

    > > 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.

    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'...

What happens if you turn off X and/or run X in some kind of framebuffer
mode (probably VESA mode)?  That's the only way it will work for me.

The native mode X drivers like to hack the hardware (look at all the PCI
analysis in XFree86.0.log if you want to see what i'm talking about).
If X sets up the hardware in a special way, then if LINUX gets suspend
and resumed (re-booted, from the standpoint of the display hardware),
then any state that X set up for itself will be hopelessly lost.

So i'm not sure X in DRI mode can work at all, at least, not the version
that i'm running (4.2.1-11).
				  -- JM

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-10-21 21:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-21 11:15 [2.6.0-test8] Difference between Software Suspend and Suspend-to-disk? Jan De Luyck
2003-10-21 11:34 ` Tomas Szepe
2003-10-21 11:40   ` Måns Rullgård
2003-10-21 12:16     ` Jan De Luyck
2003-10-21 13:05     ` Felipe Alfaro Solana
2003-10-21 13:24       ` Måns Rullgård
2003-10-21 14:41     ` Stefan Smietanowski
  -- strict thread matches above, loose matches on Subject: below --
2003-10-21 21:15 John Mock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).