Re: Resume from swsusp stopped working with 2.6.14 and 2.6.15-rc1

Pavel Machek
2005-11-22T17:46:52Z

Hi!

[Please Cc me if you want fast reply.]

> > Swsusp: do not time-out when stopping tasks while resuming
> >
> > When stopping tasks during esume process there is no point of
> > eastablishing a timeout because teh process is past the point
> > of no return; there is no possible recovery from failure. If
> > stopping tasks fails resume is aborted and user is forced to
> > do fsck anyway.
>
> If a clueless users voice counts for anything: I couldn't agree more.
>
> A failed resume is a near catastrophy if you use and trust swsusp. And
> how could it ever be useful if you don't?

Failed resume is only as bad as powerfail.

> Maybe that even would give me a chance to fix some hardware problem
> causing the timeout, and then retry the resume.

..while doing resume few times, trying to change hw config to make it
resume is _way_ more dangerous.
Pavel
--
Thanks, Sharp!