Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Sep 2009 09:57:05 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        "Daniel O'Connor" <doconnor@gsoft.com.au>
Cc:        Attilio Rao <attilio@freebsd.org>, alc@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: 8.0-RC1 panic attaching ppc
Message-ID:  <200909250957.06252.jhb@freebsd.org>
In-Reply-To: <200909251650.16283.doconnor@gsoft.com.au>
References:  <200909232322.51060.doconnor@gsoft.com.au> <200909240920.05027.jhb@freebsd.org> <200909251650.16283.doconnor@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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(). 

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909250957.06252.jhb>