latest rawhide kernel 2.6.9-1.640 and suspend to disk

Dave Jones davej at redhat.com
Tue Oct 26 18:10:22 UTC 2004


On Tue, Oct 26, 2004 at 01:48:59AM -1000, Warren Togami wrote:

 > >I just upgraded to latest rawhide kernel (the one which should be in FC3)
 > >and I noticed that suspend to disk is not compiled in (an echo 4 >
 > >/proc/acpi/sleep does nothing).
 > >Will we have suspend to disk compiled in the final FC3 kernel ?
 > 
 > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=104767
 > No.  It is too risky for now.  Maybe we can take more risks for FC4.  I 
 > hope we do.

My comments on swsusp are largely unprintable, but in short, this
kind of risk (where end-users can lose data) isn't justifiable.
Upstream, swsusp is still very much in flux, with a large out-of-tree
patchset to 'improve' upon it.

I'm not optimistic we'll see this working reliably any time soon.
Read some of the comments from the upstream maintainer on linux-kernel.
There are numerous cases of swsusp failing where the end-user has
been given the brush-off "oh well, your hardware is crap".

Comments about swsusp code quality aside, there also exists a larger
problem -- lots of devices still don't handle wakeup from deepsleep state.
The code just isn't written, and a lot of maintainers of various device
drivers don't particularly care enough about suspend to make it work.
Unless someone who does care submits patches, those drivers remain
in the state they're in today.

Still think this is something worth taking a risk for ?

		Dave




More information about the fedora-devel-list mailing list