From owner-freebsd-ppc@FreeBSD.ORG Sun Oct 26 15:30:15 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 99330106567E for ; Sun, 26 Oct 2008 15:30:15 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from adsum.doit.wisc.edu (adsum.doit.wisc.edu [144.92.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id 6D2308FC08 for ; Sun, 26 Oct 2008 15:30:15 +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.smtpauth1.wiscmail.wisc.edu by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) id <0K9C00602R2E1A00@smtpauth1.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Sun, 26 Oct 2008 10:30:14 -0500 (CDT) Received: from trantor.tachypleus.net (adsl-99-154-3-101.dsl.mdsnwi.sbcglobal.net [99.154.3.101]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPSA id <0K9C004S5R2C5U00@smtpauth1.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Sun, 26 Oct 2008 10:30:13 -0500 (CDT) Date: Sun, 26 Oct 2008 10:30:33 -0500 From: Nathan Whitehorn In-reply-to: To: Marco Trillo Message-id: <49048D19.7070309@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=99.154.3.101 X-Spam-PmxInfo: Server=avs-12, Version=5.4.1.325704, Antispam-Engine: 2.6.0.325393, Antispam-Data: 2008.10.26.151312, SenderIP=99.154.3.101 References: User-Agent: Thunderbird 2.0.0.17 (X11/20080928) Cc: FreeBSD PowerPC ML Subject: Re: ATA DMA problems with recent -current 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: Sun, 26 Oct 2008 15:30:15 -0000 Marco Trillo wrote: > Hi all, > > I just updated my -current kernel to today sources -- the previous > kernel was from Oct 11. With the new kernel I'm getting ad0 ATA DMA > timeouts, which get worse when I stress the drive. > The only thing that changed since 11 Oct was that I redid the PCI handling by importing sparc64's architecture. This *should* have changed nothing, since I just reshuffled some code, but apparently it didn't. One of the few actual changes was that ata_kauai now attaches only to the first IRQ (39) instead of both OF IRQs (39 and 1). However, it never used the second one, so it should have changed nothing. Things to try: - Make ata_kauai add IRQ 1 to its resource list again, just like it hardcodes 39. - IRQ 1 is shared with the i2s controller. Try disabling it? I'm pretty confused about how it is that things have broken, though. -Nathan