From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 16 23:54:21 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE658106564A; Tue, 16 Nov 2010 23:54:21 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id 1FC008FC15; Tue, 16 Nov 2010 23:54:20 +0000 (UTC) Received: by wwb28 with SMTP id 28so239008wwb.1 for ; Tue, 16 Nov 2010 15:54:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=CAsh87QnSh0xlN9xH1lYvZk8LW196wdT3vkMkiB2w/s=; b=a5WdI9zxK66bAw4lVt1pZeVwIUZdvYXH6ib4SSOR4htTdGN7y+1ToWL8ACNnoxBSAz XvLK/F9vyRtAKNQgk9Dv7cwgMIk5hVcE4vWhOv1gTOqD8j7u4PjmVm0tbBRAzSzbTo3M Urgkb/YQWF8o++laweWQALdHlHNJrepDvp4MM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=uZjHHcGYRsFzSwHgYSOIiMvC0ILdfJ72TxNXaDAzV3M26anKj/awEKpNYpTXxnMSVn uNKVG8Qau9gRxOoVfgJ/JX+Niq+5Igy0ucUqBtGNYWAGAcW8w9gwOKUECmswjnkXjTQT Eac5PKnV2+1NgO47JJsUCV62Kz5A/uNNoJB7k= MIME-Version: 1.0 Received: by 10.216.35.139 with SMTP id u11mr1114440wea.15.1289951659768; Tue, 16 Nov 2010 15:54:19 -0800 (PST) Sender: yanegomi@gmail.com Received: by 10.216.198.27 with HTTP; Tue, 16 Nov 2010 15:54:19 -0800 (PST) In-Reply-To: <20101116235051.GA62744@freebsd.org> References: <201009161742.24228.tijl@coosemans.org> <201009161619.o8GGJAmv035378@lurza.secnetix.de> <20101018155944.GA12425@freebsd.org> <868w1r92rf.fsf@ds4.des.no> <20101021122110.GA65490@freebsd.org> <4CC156F5.1050109@FreeBSD.org> <20101022100309.GA16446@freebsd.org> <20101116204000.00005aea@unknown> <20101116221725.GA49789@freebsd.org> <4CE3125E.1000307@FreeBSD.org> <20101116235051.GA62744@freebsd.org> Date: Tue, 16 Nov 2010 15:54:19 -0800 X-Google-Sender-Auth: P1PYF8XhcejpE7OyYN1EBj5O1ps Message-ID: From: Garrett Cooper To: Alexander Best Content-Type: text/plain; charset=ISO-8859-1 Cc: Bruce Cran , Tijl Coosemans , Oliver Fromme , freebsd-hackers@freebsd.org, Alexander Motin , =?ISO-8859-1?Q?Dag=2DErling_Sm=F8rgrav?= Subject: Re: Summary: Re: Spin down HDD after disk sync or before power off X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Nov 2010 23:54:22 -0000 On Tue, Nov 16, 2010 at 3:50 PM, 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 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 debug.acpi.suspend_bounce: 0