From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 7 02:00:04 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 D87E8106569A; Tue, 7 Oct 2008 02:00:04 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout018.mac.com (asmtpout018.mac.com [17.148.16.93]) by mx1.freebsd.org (Postfix) with ESMTP id B33328FC0A; Tue, 7 Oct 2008 02:00:04 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed Received: from nhanigal-lt.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp018.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0K8C000LBIV2YH90@asmtp018.mac.com>; Mon, 06 Oct 2008 18:59:41 -0700 (PDT) Message-id: <87398D41-9E76-4694-969C-43D7006DC73D@mac.com> From: Marcel Moolenaar To: Nathan Whitehorn In-reply-to: <48D92D44.6080807@freebsd.org> Date: Mon, 06 Oct 2008 18:59:04 -0700 References: "b9c23c9f0809100322n1659cb36oa05acf2f13f3c7e1@mail.gmail.com" <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> X-Mailer: Apple Mail (2.929.2) 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: Tue, 07 Oct 2008 02:00:05 -0000 On Sep 23, 2008, at 10:54 AM, Nathan Whitehorn wrote: > Marcel Moolenaar wrote: *snip* >>>> Interesting. My G4 Mac Mini 1.5Ghz is hanging hard: >>>> : >>>> ad0: 76319MB at ata1-master UDMA100 >>>> acd0: DVDR at ata1-slave UDMA33 >>>> *hang* >>>> Could be related... *snip* > Ways to check if this is the problem: > 1) Limit devices to UDMA33. > 2) Disable DMA on acd0. I finally got some time to play around with it: o When I set hw.ata.ata_dma=0 & hw.ata.atapi_dma=0 at the loader prompt and boot, everything is fine and working in PIO4. o I can use atacontrol and change the mode of ad0 to udma4/udma66. o I can use atacontrol and change the mode of acd0 to udma2/udma33. o I can then change the mode of ad0 to udma5/udma100. Apparently udma100+udma33 can work, just not when it's configured automatically or directly... Could it make a difference if we first configure pio4 before we switch to udma? -- Marcel Moolenaar xcllnt@mac.com