From owner-freebsd-ppc@FreeBSD.ORG Wed Sep 24 13:32:06 2008 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 10C2D106568A for ; Wed, 24 Sep 2008 13:32:06 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: from mail-gx0-f17.google.com (mail-gx0-f17.google.com [209.85.217.17]) by mx1.freebsd.org (Postfix) with ESMTP id A5AD18FC25 for ; Wed, 24 Sep 2008 13:32:05 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: by gxk10 with SMTP id 10so5510849gxk.19 for ; Wed, 24 Sep 2008 06:32:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=8URftAb2BA9+ugjBQx+IYmljV0SwH8hpYwk1eQucMwQ=; b=pos0VYRWJmfcT/CH5W1aUtOpfkw06ziGpBfnUnsunqw4yb/FyvFVKDe6ChDyQTg5Kk nJPmu8aSjYtV0bWfoZFOJe4i/UsjVlwIZclruka65VDbW2dtLm1OazdT/EFzITm/erNC 4ftaZY/ViHEbflmsprDq3pxk6tHqhFBlGBQ0A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=keN2CsALn5RFY+5aG+uPBTjlPnBGRnj0qxm6vblhb4bs0lsy4C9n1DelYIziBqTlpl TTmaHAvfCqIxQ8X4GnGLvEGtHIOqSlkt0qtlVrrXII7d805Uh1bOY/DMPDS/lsLyLBWO xf5nTedpKipsfNhCpOWOYn3J6uVyka4JY7HwE= Received: by 10.143.161.11 with SMTP id n11mr2528406wfo.333.1222263124366; Wed, 24 Sep 2008 06:32:04 -0700 (PDT) Received: by 10.142.101.13 with HTTP; Wed, 24 Sep 2008 06:32:04 -0700 (PDT) Message-ID: Date: Wed, 24 Sep 2008 15:32:04 +0200 From: "Marco Trillo" To: "Nathan Whitehorn" In-Reply-To: <48DA4037.9000508@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48D389EE.9000207@FreeBSD.org> <48D3AD50.8070505@freebsd.org> <48D69679.1080701@freebsd.org> <48D7F437.1040603@FreeBSD.org> <645CD2B8-11A0-42E8-B5F9-C04DCF21F763@mac.com> <48D84C12.7070207@freebsd.org> <0DD89065-9CF3-45E4-89A0-70D6BBB9621D@mac.com> <48D92D44.6080807@freebsd.org> <48DA4037.9000508@freebsd.org> Cc: freebsd-ppc@freebsd.org Subject: Re: Call for testers: Apple ATA DMA 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: Wed, 24 Sep 2008 13:32:06 -0000 Hi, On Wed, Sep 24, 2008 at 3:27 PM, Nathan Whitehorn wrote: > > Ugh. I really don't know, and am flying blind without hardware. If you > disable ATAPI DMA or the macio controller, does ad0 at least work? > -Nathan > I reverted the ata_macio.c patch and now Kauai uses DMA just fine! ad0 now works in UDMA100 mode without any errors :-) ata0 mem 0x20000-0x20fff,0x8800-0x88ff irq 24,12 on macio0 ata0: [ITHREAD] ata1: mem 0xf5004000-0xf5007fff irq 39,1 at device 13.0 on pci2 ata1: [ITHREAD] acd0: DVDR at ata0-master BIOSPIO ad0: 38166MB at ata1-master UDMA100 And indeed the ad0 disk performance is much better. Thank you! So it looks like an ata_macio specific problem. Regards, Marco.