[ltp] Re: [PATCH] 2.6.17: Unload disks heads before powering down

David Abrahams linux-thinkpad@linux-thinkpad.org
Sat, 23 Sep 2006 15:07:04 -0400


Henrique de Moraes Holschuh <hmh@hmh.eng.br> writes:

[reinserting context]
>>> BTW: I know 2.6.17+suspend2 did not do things right for S4.  But the normal
>>> S3 *does* things right, so chances are 2.6.18 will do things right on S4
>>> too, even with suspend2.  S5 (power off) is *not* doing things right in
>>> 2.6.18 and all previous kernels: I have tested it and I could hear the
>>> "CLICK!" of the emergency unload quite loud and clear.
>>
>> Is that true even for 2.6.17+SUSE patches?  I guess I hope so, because
>> I don't want any ambiguity about what kernel I should use ;-).
>
> I got the patches from SuSE 2.6.16, I think. I don't know if SuSE 2.6.17 has
> them, but you can just get the SuSE kernel source, and try to apply the
> 2.6.17 patches.  If patch complains that the patches are reversed, then that
> means SuSE already has those patches applied.

I appreciate the reply, really I do, but I don't see how it addresses
my question.  Let me try again:

   Is it also true on a kernel with the SUSE patches applied that "S5
   (power off) is *not* doing things right?"

>
> I have also tracked down the author of the patches:
> http://lkml.org/lkml/2006/2/22/296
>
> It is Mr. Dunlap, no less! That guy rocks!

Indeed!

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com