Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Aug 2001 11:22:32 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        freebsd-alpha@FreeBSD.org, cvs-committers@FreeBSD.org, Peter Wemm <peter@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/alpha/alpha pmap.c
Message-ID:  <XFMail.010831112232.jhb@FreeBSD.org>
In-Reply-To: <20010831123412.A83980@grasshopper.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

On 31-Aug-01 Andrew Gallatin wrote:
> Peter Wemm [peter@FreeBSD.org] wrote:
>> peter       2001/08/30 23:19:08 PDT
>> 
>>   Modified files:
>>     sys/alpha/alpha      pmap.c 
>>   Log:
>>   Same treatment as i386/isa/pmap.c - clean up some style to sync towards
>>   KSE diff.
>>   
>>   Revision  Changes    Path
>>   1.64      +35 -40    src/sys/alpha/alpha/pmap.c
> 
> 
> Hi Peter,
> 
> I hate to be the bearer of bad news, but my UP1000 crashes about 10
> minutes into a buildworld with today's top of the tree kernel.  After
> backing out this pmap change, I'm able to make it further (its still
> building). 
> 
> The crash is:
> 
> fatal kernel trap:
> 
>     trap entry     = 0x2 (memory management fault)
>     faulting va    = 0xfffffffe00480ca0
>     type           = access violation
>     cause          = load instructon
>     pc             = 0xfffffc0000582da8
>     ra             = 0xfffffc0000582ee4

Can you do a 'l *0xfffffc0000582da8' in gdb to see what source line it died on?

>#13 0xfffffc0000582ee4 in pmap_remove_pages (pmap=0xfffffe00152eb4f0,sva=0, 
>     eva=4398046511104) at ../../../alpha/alpha/pmap.c:1649

Erm, line 1649 of pmap.c is this:

static PMAP_INLINE void
free_pv_entry(pv_entry_t pv)
{
        pv_entry_count--;
>>>     zfree(pvzone, pv);
}

Which isn't in pmap_remove_pages().

Ah, that address in the frame line is the ra though, the pc might be the zfree
call.

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




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