From owner-freebsd-ppc@FreeBSD.ORG Sun Mar 22 21:53:28 2009 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 945AF1065672 for ; Sun, 22 Mar 2009 21:53:28 +0000 (UTC) (envelope-from jrh29@alumni.cwru.edu) Received: from beta.eecs.cwru.edu (beta.eecs.cwru.edu [129.22.150.110]) by mx1.freebsd.org (Postfix) with ESMTP id 3FD5C8FC1A for ; Sun, 22 Mar 2009 21:53:28 +0000 (UTC) (envelope-from jrh29@alumni.cwru.edu) Received: from narn.knownspace ([::ffff:69.250.50.210]) (AUTH: PLAIN jrh29, TLS: TLSv1/SSLv3,168bits,DES-CBC3-SHA) by beta.eecs.cwru.edu with esmtp; Sun, 22 Mar 2009 17:53:27 -0400 id 000092F7.49C6B357.00000706 Date: Sun, 22 Mar 2009 17:54:06 -0400 From: Justin Hibbits To: Marcel Moolenaar Message-ID: <20090322215406.GA1257@narn.knownspace> References: <20090322180638.GA3708@narn.knownspace> <8B9483E9-D6D4-441E-9202-31FA34F5DA98@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <8B9483E9-D6D4-441E-9202-31FA34F5DA98@mac.com> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: freebsd-ppc@freebsd.org Subject: Re: Apple ATA DMA problems with ATAPI X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Mar 2009 21:53:29 -0000 On Sun, Mar 22, 2009 at 01:41:18PM -0700, Marcel Moolenaar wrote: > > On Mar 22, 2009, at 11:06 AM, Justin Hibbits wrote: > > > Well, it seems I was bitten by the ATA DMA problems from a few > > months back. > > Try disabling DMA for atapi in /boot/loader.conf and enable > it in /etc/sysctl.conf. For some reason, on my Mac Mini at > least, it helps to first program PIO and then program *DMA. > > YMMV, > > -- > Marcel Moolenaar > xcllnt@mac.com > > > It appears hw.ata.atapi_dma is a read-only tunable, so /etc/sysctl.conf has no effect on it, and only throws a warning about being unable to change it. It's working sufficiently as PIO, though. - Justin