Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Aug 2003 10:40:40 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Mark Murray <mark@grondar.org>
Cc:        current@FreeBSD.org
Subject:   Re: Current panic in pmap/VM
Message-ID:  <XFMail.20030821104040.jhb@FreeBSD.org>
In-Reply-To: <200308202301.h7KN1WOI068795@grimreaper.grondar.org>

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

On 20-Aug-2003 Mark Murray wrote:
> John Baldwin writes:
>> > pmap_ts_referenced()
>> > vm_pageout_scan()
>> > vm_pageout()
>> > fork_exit()
>> > fork_trampoline()
>> > 
>> > I'm happy to try patches if anyone has ideas.
>> 
>> Having the fault address as well as the source file/line of
>> where the fault occurs could be helpful.
> 
> From 2 panics, I have 2 addresses - 0xc02cbbab and 0xc02cfb9b (Custom
> kernels, so I doubt those will help).

Those are code addresses, not the faulting virtual addresses.

> The source file is src/sys/i386/i386/pmap.c, and it is in the
> pmap_ts_referenced() function (a short function) at about line 2895.

Line 2895 in my pmap.c is:

int
pmap_ts_referenced(vm_page_t m)
{
        register pv_entry_t pv, pvf, pvn;
        pt_entry_t *pte;                    <<<< here

That's not code. :)  Pop up gdb -k on your kernel.debug and do
'l *0xc02cbbab' and 'l *0xc02cfb9b' to get the exact line it
faulted at.

> I'll need to put a serial debugger on to go any further. Does this
> work, or will I be wasting effort? (Getting that cable in is going
> to be a _pain_).

I don't think you need serial ddb yet.
s
-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/



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