From owner-freebsd-stable@FreeBSD.ORG Fri Sep 25 17:56:07 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C55710656A6; Fri, 25 Sep 2009 17:56:07 +0000 (UTC) (envelope-from alc@cs.rice.edu) Received: from mail.cs.rice.edu (mail.cs.rice.edu [128.42.1.31]) by mx1.freebsd.org (Postfix) with ESMTP id F3E208FC26; Fri, 25 Sep 2009 17:56:06 +0000 (UTC) Received: from mail.cs.rice.edu (localhost.localdomain [127.0.0.1]) by mail.cs.rice.edu (Postfix) with ESMTP id 4583F2C2D0C; Fri, 25 Sep 2009 12:28:27 -0500 (CDT) X-Virus-Scanned: by amavis-2.4.0 at mail.cs.rice.edu Received: from mail.cs.rice.edu ([127.0.0.1]) by mail.cs.rice.edu (mail.cs.rice.edu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id sHvbEJlvhtYE; Fri, 25 Sep 2009 12:28:19 -0500 (CDT) Received: from adsl-216-63-78-18.dsl.hstntx.swbell.net (adsl-216-63-78-18.dsl.hstntx.swbell.net [216.63.78.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.rice.edu (Postfix) with ESMTP id 2FDE62C2D6F; Fri, 25 Sep 2009 12:28:17 -0500 (CDT) Message-ID: <4ABCFDB0.3010302@cs.rice.edu> Date: Fri, 25 Sep 2009 12:28:16 -0500 From: Alan Cox User-Agent: Thunderbird 2.0.0.23 (X11/20090822) MIME-Version: 1.0 To: John Baldwin References: <200909232322.51060.doconnor@gsoft.com.au> <200909240920.05027.jhb@freebsd.org> <200909251650.16283.doconnor@gsoft.com.au> <200909250957.06252.jhb@freebsd.org> In-Reply-To: <200909250957.06252.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Attilio Rao , freebsd-stable@freebsd.org, alc@freebsd.org Subject: Re: 8.0-RC1 panic attaching ppc X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Sep 2009 17:56:07 -0000 John Baldwin wrote: > On Friday 25 September 2009 3:20:05 am Daniel O'Connor wrote: > >> On Thu, 24 Sep 2009, John Baldwin wrote: >> >>> Can you try this patch perhaps: >>> >>> Index: sys/amd64/isa/isa_dma.c >>> =================================================================== >>> --- isa_dma.c (revision 197430) >>> +++ isa_dma.c (working copy) >>> >> This patch fixes the panic for me. >> >> I haven't tried printing (don't have any device handy here). >> > > I wonder if pmap_extract(kernel_pmap) doesn't work with direct map addresses > for some reason? I kind of find that hard to believe actually. Alan, the > original panic was in pmap_extract(kernel_pmap, ...) calls in the isa_dma > code. My patch that "fixes" the panic just changes them to pmap_kextract(). > > In principle, pmap_extract(kernel_pmap, ...) should work just fine. Alan