Subject: kern/14783: pagedaemon: deadlock detected!
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dmcmahill@netbsd.org>
List: netbsd-bugs
Date: 11/29/2001 22:27:27
>Number:         14783
>Category:       kern
>Synopsis:       pagedaemon: deadlock detected!
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 29 19:28:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Dan McMahill
>Release:        1.5.2<NetBSD-current source date>
>Organization:
NetBSD
>Environment:
	
shark, 1.5.2, SHARK kernel (using 1.5.2 SHARK config)

>Description:

while building pkgsrc/emulators/stella, I suddenly ended up with the console spewing:
pagedaemon: deadlock detected!
pagedaemon: deadlock detected!
pagedaemon: deadlock detected!
pagedaemon: deadlock detected!
pagedaemon: deadlock detected!
pagedaemon: deadlock detected!
and the machine is otherwise frozen.

so then I sent a break over the serial console and:

~Stopped at      _cpu_Debugger+0x10:     ldmdb   r11, {r11, r13, r15}
db> bt
No such command
db> t
_cpu_Debugger(_cpu_Debugger+0x10)
_comintr(_comintr+0x10)
_mi_switch(_mi_switch+0x10)
_ltsleep(_ltsleep+0x10)
_uvm_wait(_uvm_wait+0x10)
_uvm_km_kmemalloc(_uvm_km_kmemalloc+0x10)
_uvm_km_alloc_poolpage1(_uvm_km_alloc_poolpage1+0x10)
_pool_page_alloc_nointr(_pool_page_alloc_nointr+0x10)
__pool_get(__pool_get+0x10)
_uvm_map(_uvm_map+0x10)
_uvm_pagermapin(_uvm_pagermapin+0x10)
_uvm_swap_get(_uvm_swap_get+0xa4)
_uvm_swap_put(_uvm_swap_put+0x10)
_uvm_pager_put(_uvm_pager_put+0x10)
_uvm_pageout(_uvm_pageout+0x304)
_uvm_pageout(_uvm_pageout+0xa74)
_uvm_pageout(_uvm_pageout+0x10)
_main(_main+0xb74)
Bad frame pointer: 0xf03d9b3c


	
>How-To-Repeat:
not sure.  maybe start big builds and wait?  This happened a few days into a bulk pkgsrc build.


>Fix:
unknown
	
>Release-Note:
>Audit-Trail:
>Unformatted: