From owner-freebsd-hackers@FreeBSD.ORG Fri Nov 19 11:15:56 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 C4BB2106566B; Fri, 19 Nov 2010 11:15:56 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 829F18FC0C; Fri, 19 Nov 2010 11:15:56 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id D6FADE60BE; Fri, 19 Nov 2010 11:15:55 +0000 (GMT) Received: from unknown (client-86-27-40-229.glfd.adsl.virginmedia.com [86.27.40.229]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Fri, 19 Nov 2010 11:15:54 +0000 (GMT) Date: Fri, 19 Nov 2010 11:15:57 +0000 From: Bruce Cran Message-ID: <20101119111557.00000a3a@unknown> In-Reply-To: <20101116204000.00005aea@unknown> 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> X-Mailer: Claws Mail 3.7.4cvs1 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Coosemans , Oliver Fromme , Dag-Erling@FreeBSD.ORG, freebsd-hackers@freebsd.org, Alexander Motin , Tijl, Alexander Best 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: Fri, 19 Nov 2010 11:15:56 -0000 On Tue, 16 Nov 2010 20:40:00 +0000 Bruce Cran wrote: > 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". Something else I noticed today: I've just got a new disk that supports NCQ and found the kern.cam.ada.ada_send_ordered sysctl that appears to enable/disable its use (?). But the shutdown handler that spins the disk down only gets initialized if ada_send_ordered is enabled. I was wondering what the reason for this is? -- Bruce Cran