Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Sep 2009 12:28:16 -0500
From:      Alan Cox <alc@cs.rice.edu>
To:        John Baldwin <jhb@freebsd.org>
Cc:        Attilio Rao <attilio@freebsd.org>, freebsd-stable@freebsd.org, alc@freebsd.org
Subject:   Re: 8.0-RC1 panic attaching ppc
Message-ID:  <4ABCFDB0.3010302@cs.rice.edu>
In-Reply-To: <200909250957.06252.jhb@freebsd.org>
References:  <200909232322.51060.doconnor@gsoft.com.au> <200909240920.05027.jhb@freebsd.org> <200909251650.16283.doconnor@gsoft.com.au> <200909250957.06252.jhb@freebsd.org>

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




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