Re: swsusp / suspend2 reliability

Jan Rychter
2006-07-06T19:20:09Z

>>>>> "Pavel" == Pavel Machek <pavel@suse.cz> writes:
Pavel> Hi!
>> > uswsusp is a great idea, really.. I love it.. but suspend2 is
>> > here, it works, it's stable and it's now. Why continue to deprive
>> > the mainstream of these features because "uswsusp should".. as yet
>> > it doesn't.. and when it does then we can phase out the currently
>> > stable, working alternative that has all these features that
>> > uswsusp _will_ have, after it's had them for a year or so and its
>> > been proven stable. Not only that, I'll be happy to migrate over
>> > to it. Until then however, you can pry suspend2.. cold,
>> > dead.. blah blah..
>>
>> Given the above explanation, it's obvious that I'm an outside
>> watcher now, but if swsusp2 success rate is clearly higher than the
>> standard version, then I'd also strongly advocate this direction
>> since, quite frankly,

Pavel> I do not think suspend2 works on more machines than in-kernel
Pavel> swsusp. Problems are in drivers, and drivers are shared.

Pavel> That means that if you have machine where suspend2 works and
Pavel> swsusp does not, please tell me. I do not think there are many
Pavel> of them.

Accept the facts -- for some reason, there is a fairly large user base
that goes to all the bother of using suspend2, which requires
downloading, patching and all the extra work. People do it, in spite of
the wonderful swsusp being in the kernel and all the other extra cool
stuff being worked on.

That is a fact, and all the hand waving won't change it.

I'm tired of this. It's taking years for Linux to get reasonably working
suspend facilities, which is a shame. In my opinion a large part of the
problem is you opposing Nigel's patches. Problem is, for many people
Nigel's code works while yours does not.

One thing to note here: "works" means "suspends and resumes every
time". It doesn't mean "doesn't suspend when blah blah" or "suspends
unless driver X does Y, then it panics" or "suspends most of the time,
except when it says BUG() because that's clearly the right thing to
do". Try using a Mac to see how suspend should work.

I strongly believe suspend2 should be included in the mainstream
kernels, at least to give people the choice and get it on equal footing
with the other implementations.

--J.