From owner-freebsd-ppc@FreeBSD.ORG Sat Sep 27 23:59:18 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 5D01E1065690; Sat, 27 Sep 2008 23:59:18 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id A75F78FC0A; Sat, 27 Sep 2008 23:59:17 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.3/8.14.3/ALCHEMY.FRANKEN.DE) with ESMTP id m8RNjnC0048851; Sun, 28 Sep 2008 01:45:49 +0200 (CEST) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.3/8.14.3/Submit) id m8RNjnui048838; Sun, 28 Sep 2008 01:45:49 +0200 (CEST) (envelope-from marius) Date: Sun, 28 Sep 2008 01:45:49 +0200 From: Marius Strobl To: Nathan Whitehorn Message-ID: <20080927234549.GA16124@alchemy.franken.de> References: <48D92D44.6080807@freebsd.org> <48DA4037.9000508@freebsd.org> <48DBD6C0.5070005@freebsd.org> <48DD2DF7.2020901@freebsd.org> <48DDAC14.9070604@freebsd.org> <48DE7C93.5050506@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48DE7C93.5050506@freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: grehan@freebsd.org, 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: Sat, 27 Sep 2008 23:59:18 -0000 On Sat, Sep 27, 2008 at 01:33:55PM -0500, Nathan Whitehorn wrote: > Peter Grehan wrote: > >Hi Nathan, > > > > > If I can get positive reports from a few more people who were > >>having trouble, I'll drop this in the tree. > > > > The imac's ata-4 is working solidly at UDMA-66. The difference in CPU > >usage and i/o with dd at 32k block size is stunning: 2MB/7% idle before, > >18MB/75% idle with your patch. > > I guess DMA is a useful technology :) > > Thanks for testing -- I've committed the patch. I'll revisit it when > Marcel tests it on Monday and it erases his hard drive... I see two issues with acd(4) on sparc64, which, given that I don't see them with either amd64 or i386 and that there are no such reports for these archs, I suspect are endian- bugs (which might be hidden with 32-bit machines though): a) read-only drives are falsely reported as having write capabilities in dmesg (this is a rather old bug but so far this seemed to be a cosmetic problem only) b) DMA is broken in that file content read is wrong except for "small" files; there's no data corruption when PIO mode is forced (this seem to be a recurring bug once again present in HEAD). Do you guys see these problems also with powerpc? Marius