Re: Current panic in pmap/VM

2003-08-21 Thread John Baldwin

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 [EMAIL PROTECTED]http://www.FreeBSD.org/~jhb/
Power Users Use the Power to Serve!  -  http://www.FreeBSD.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Current panic in pmap/VM

2003-08-20 Thread John Baldwin

On 20-Aug-2003 Mark Murray wrote:
 Hi all
 
 I'm getting a repeatable panic on i386/SMP CURRENT with a big C++
 compile (one of the KDE3 things). It is a page fault in kernel mode,
 and the hand-transcribed backtrace is
 
 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.

-- 

John Baldwin [EMAIL PROTECTED]http://www.FreeBSD.org/~jhb/
Power Users Use the Power to Serve!  -  http://www.FreeBSD.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Current panic in pmap/VM

2003-08-20 Thread Mark Murray
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).

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.

I'm suspecting that a lock is needed.

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_).

M
--
Mark Murray
iumop ap!sdn w,I idlaH
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]