Re: Current panic in pmap/VM

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Thu, 21 Aug 2003 10:40:40 -0400 (EDT)
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_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/
Received on Thu Aug 21 2003 - 05:40:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:19 UTC