Current panic in pmap/VM
John Baldwin
jhb at FreeBSD.org
Thu Aug 21 07:40:20 PDT 2003
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/
More information about the freebsd-current
mailing list