Summary: Re: Spin down HDD after disk sync or before power off

Alexander Motin mav at FreeBSD.org
Tue Nov 16 23:55:58 UTC 2010


Alexander Best wrote:
> On Wed Nov 17 10, Alexander Motin wrote:
>> Alexander Best wrote:
>>> On Tue Nov 16 10, Bruce Cran wrote:
>>>> On Fri, 22 Oct 2010 10:03:09 +0000
>>>> Alexander Best <arundel at freebsd.org> wrote:
>>>>
>>>>> so how about olivers patch? it will only apply to ata devices so it's
>>>>> garanteed not to break any other CAM devices (i'm thinking about the
>>>>> aac controller issue). you could revert your previous shutdown work
>>>>> and plug olivers patch into CAM. you might want to replace the
>>>>> combination of flush/standby immediate with sleep.
>>>> One problem with the code that's been committed is that the shutdown
>>>> event handler doesn't get run during a suspend operation so an
>>>> emergency unload still gets done when running "acpiconf -s3".
>>> unfortunately i don't think a can help you on that one. acpi never worked for
>>> me! even 'acpiconf -s1' will hopelessly crash my system. :(
>> It is not necessary to have fully working suspend to work on this.
>> Bounce mode should be enough. If bounce is also not working for you - it
>> definitely should be the first thing to fix.
> 
> bounce mode? sorry i'm lost.

sysctl debug.acpi.suspend_bounce=1

It will make system to wake up back immediately after suspending all
devices, instead of transition to requested S-state.

-- 
Alexander Motin


More information about the freebsd-hackers mailing list