From owner-freebsd-ppc@FreeBSD.ORG Mon Sep 22 22:49:40 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 D05AD1065689 for ; Mon, 22 Sep 2008 22:49:40 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.174]) by mx1.freebsd.org (Postfix) with ESMTP id 4CEA78FC21 for ; Mon, 22 Sep 2008 22:49:40 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so1852689wfg.7 for ; Mon, 22 Sep 2008 15:49:39 -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=ls3sIkToDTpxPeAiFSxvUuh7Hw+srLSbfPlva9uihGU=; b=j7+BfKAPnF54UqlgbIvRgtlzFi7yNdZXN7ir5R6r3yp8a7NU3QvSjHBX41nsdWw33Q aXTwYphoEdMp7va1hKtvAMA2Ex3Hlj2KgCY7dvQo4NKdPeTooaD+yjnMDrrQaPmHcoYC aYw9XfaeE7WcEIr4P+qnC6TrftjYqhegw3olE= 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=cPeRZMtlDRaZbsIMiVp49UM11UG1Gfz4Lxh2TRtdBJMQJpA1SsjBR+3j9EohNV48cY XFBlcOXTalN2AQfrkY9ZAa0ymDxwX4imx4bslXKqxUh4ps990RIajmUPVTQ1xtVRpoaS IJr0CGQhNnIgL0BzGmg7+CUKbCEiGSEIEKzNc= Received: by 10.142.223.20 with SMTP id v20mr1670717wfg.152.1222121901074; Mon, 22 Sep 2008 15:18:21 -0700 (PDT) Received: by 10.142.101.13 with HTTP; Mon, 22 Sep 2008 15:18:20 -0700 (PDT) Message-ID: Date: Tue, 23 Sep 2008 00:18:20 +0200 From: "Marco Trillo" To: "Maxim Sobolev" In-Reply-To: <48D8186F.4020308@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> <48D80DDD.2080309@freebsd.org> <48D8186F.4020308@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: Mon, 22 Sep 2008 22:49:40 -0000 Hi, On Tue, Sep 23, 2008 at 12:13 AM, Maxim Sobolev wrote: >>> I was able to "fix" the problem by making ata_macio probe function >>> returning ENXIO always. My guess is that ATA chipset on this machine is >>> somehow accessible through two different buses (macio and pci), which >>> creates some weird conflicts, but I might be wrong. Hopefully you will have >>> better idea, I can provide any assistance needed to fix the issue properly. >>> See 342.png screenshot. Dmesg with hacked ata_macio is as follows: >> >> Interesting -- it looks like all the interrupts are arriving on the second >> (DBDMA) IRQ. Could you try setting USE_DBDMA_IRQ to 0 in ata_macio.c and >> re-enabling ata_macio? There is something funny with how these interrupts >> are triggered currently and they can set off interrupt storms like this. > > I've done that, but it has not changed anything. I still see interrupt storm > on irq 12. Try deleting the USE_DBDMA_IRQ definition line from ata_macio.c instead of just defining it to 0, so the "ifdef USE_DBDMA_IRQ" stuff is not compiled. Hope that helps, Marco.