From owner-freebsd-ppc@FreeBSD.ORG Wed Mar 4 03:04:26 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 464341065680 for ; Wed, 4 Mar 2009 03:04:26 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from agogare.doit.wisc.edu (agogare.doit.wisc.edu [144.92.197.211]) by mx1.freebsd.org (Postfix) with ESMTP id 120E58FC0A for ; Wed, 4 Mar 2009 03:04:25 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from avs-daemon.smtpauth2.wiscmail.wisc.edu by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) id <0KFY00F0QOJDLP00@smtpauth2.wiscmail.wisc.edu>; Tue, 03 Mar 2009 21:04:25 -0600 (CST) Received: from trantor.tachypleus.net (adsl-99-154-1-172.dsl.mdsnwi.sbcglobal.net [99.154.1.172]) by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPSA id <0KFY00649OJ9EB40@smtpauth2.wiscmail.wisc.edu>; Tue, 03 Mar 2009 21:04:22 -0600 (CST) Date: Tue, 03 Mar 2009 21:05:29 -0600 From: Nathan Whitehorn In-reply-to: <20090303053952.GC94580@weongyo.cdnetworks.kr> To: Weongyo Jeong , FreeBSD PowerPC ML Message-id: <49ADEFF9.3010605@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=99.154.1.172 X-Spam-PmxInfo: Server=avs-11, Version=5.5.1.360522, Antispam-Engine: 2.6.1.350677, Antispam-Data: 2009.3.4.25511, SenderIP=99.154.1.172 References: <20090228165533.GA1166@narn.knownspace> <20090301142432.GC1166@narn.knownspace> <1235993578.13513.0.camel@horst-tla> <49ABFAC6.1000000@freebsd.org> <20090303000024.GA82725@michelle.cdnetworks.co.kr> <49AC9C72.3030307@freebsd.org> <20090303053952.GC94580@weongyo.cdnetworks.kr> User-Agent: Thunderbird 2.0.0.19 (X11/20090126) Cc: Subject: Re: No mixer with Snapper 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, 04 Mar 2009 03:04:27 -0000 Weongyo Jeong wrote: > On Mon, Mar 02, 2009 at 08:56:50PM -0600, Nathan Whitehorn wrote: >> Pyun YongHyeon wrote: >>> On Mon, Mar 02, 2009 at 09:27:02AM -0600, Nathan Whitehorn wrote: >>>> Horst G?nther Burkhardt III wrote: >>>>> On Sun, 2009-03-01 at 17:13 +0100, Marco Trillo wrote: >>>>>> Hi, >>>>>> >>>>>> Thanks! The problem is that an property is used, while >>>>>> the OFW-I2C code only looks for . >>>>>> >>>>>> The attached patch -- to apply in /usr/src/sys -- makes the OFW-I2C >>>>>> code also look for the property. With the patch, the >>>>>> mixer should attach and work fine. >>>>>> >>>>>> Regards >>>>>> Marco >>>>> Awesome, so when will we see this in -CURRENT or better yet -STABLE? ;) >>>>> >>>>> -- Horst. >>>> SVN revision 189280. MFC schedule of interesting features in -CURRENT >>>> that I had something to do with: >>>> >>>> - ATA DMA: unless I receive any bug reports, some time in the middle of >>>> this week >>> Hmm, I think there was a couple of issues of ATA DMA on iBook G4. >>> marcel@ and weongyo@ also reported instability of ATA DMA, was that >>> fixed? AFAIK weongyo@ couldn't even boot kernel. >>> See >>> http://lists.freebsd.org/pipermail/freebsd-ppc/2008-November/003372.html >>> for entire thread. >> I think it was fixed. The G4 iBook that I've acquired since those >> reports works flawlessly, and I haven't received any other reports, >> positive or negative, since my earlier attempts at fixing those bugs. If >> anyone whose machine didn't work before now does, or is still broken, or >> even if your machine has always worked fine with the DMA support, I >> would very much appreciate an email. > > Now I've updated kernel and the symptom is same with the previous that > without set hw.ata.atapi_dma=0 I couldn't boot with the following > message (written by hand): > > acd0: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout > acd0: TIMEOUT - READ_BIG retrying (0 retries left) > > The above msg looks a kind of loop and I'll try to do disk stresstest > for reproducing hangs I encountered. Drat. That means the mode is set up wrong. I went through the Apple sources, and produced a patch that slavishly follows the exact details of the way Apple initializes the controller. It can be found here: http://people.freebsd.org/~nwhitehorn/atamodesetup.diff Could you give that a shot? Thanks, Nathan