Subject: Re: kern/32287: Processes hang in "mclpl"
To: None <yamt@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Christian Biere <christianbiere@gmx.de>
List: netbsd-bugs
Date: 12/13/2005 00:45:02
The following reply was made to PR kern/32287; it has been noted by GNATS.

From: Christian Biere <christianbiere@gmx.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/32287: Processes hang in "mclpl"
Date: Tue, 13 Dec 2005 01:42:28 +0100

 YAMAMOTO Takashi wrote:
 >  can you dump mb_map to see if it's run out?  ie. "p *mb_map"
 
 Sure, here it is:
 
 (gdb) p *mb_map
 $1 = {pmap = 0xc03949a0, lock = {lk_interlock = {lock_data = 0, 
       lock_file = 0xc034dbe0 "/s/NetBSD/src/sys/uvm/uvm_map.h", 
       unlock_file = 0xc034e5a0 "/s/NetBSD/src/sys/uvm/uvm_map.c", 
       lock_line = 423, unlock_line = 895, list = {tqe_next = 0x0, 
         tqe_prev = 0x0}, lock_holder = 4294967295}, lk_flags = 0, 
     lk_sharecount = 0, lk_exclusivecount = 0, lk_recurselevel = 0, 
     lk_waitcount = 0, lk_wmesg = 0xc032e01d "vmmaplk", lk_un = {lk_un_sleep = {
         lk_sleep_lockholder = -1, lk_sleep_locklwp = 0, lk_sleep_prio = 4, 
         lk_sleep_timo = 0, lk_newlock = 0x0}, lk_un_spin = {
         lk_spin_cpu = 4294967295, lk_spin_list = {tqe_next = 0x0, 
           tqe_prev = 0x4}}}, lk_lock_file = 0x0, lk_unlock_file = 0x0, 
     lk_lock_line = 0, lk_unlock_line = 0}, rbhead = {rbh_root = 0xca042014}, 
   header = {rb_entry = {rbe_left = 0xdeadbeef, rbe_right = 0xdeadbeef, 
       rbe_parent = 0xdeadbeef, rbe_color = -559038737}, ownspace = 3735928559, 
     space = 3735928559, prev = 0xca156dd4, next = 0xc9f8a014, 
     start = 3390611456, end = 3388514304, object = {uvm_obj = 0xdeadbeef, 
       sub_map = 0xdeadbeef}, offset = -2401053088876216593, 
     etype = -559038737, protection = -559038737, max_protection = -559038737, 
     inheritance = -559038737, wired_count = -559038737, aref = {
       ar_pageoff = -559038737, ar_amap = 0xdeadbeef}, advice = -559038737, 
     flags = 239 'ï'}, nentries = 24, size = 2097152, ref_count = 2, 
   ref_lock = {lock_data = 0, 
     lock_file = 0xc034e540 "/s/NetBSD/src/sys/uvm/uvm_map_i.h", 
     unlock_file = 0xc034e540 "/s/NetBSD/src/sys/uvm/uvm_map_i.h", 
     lock_line = 173, unlock_line = 175, list = {tqe_next = 0x0, 
       tqe_prev = 0x0}, lock_holder = 4294967295}, hint = 0xca156dd4, 
   hint_lock = {lock_data = 0, 
     lock_file = 0xc034e5a0 "/s/NetBSD/src/sys/uvm/uvm_map.c", 
     unlock_file = 0xc034e5a0 "/s/NetBSD/src/sys/uvm/uvm_map.c", 
     lock_line = 1791, unlock_line = 1791, list = {tqe_next = 0x0, 
       tqe_prev = 0x0}, lock_holder = 4294967295}, first_free = 0xca156c74, 
   flags = 2, flags_lock = {lock_data = 0, 
     lock_file = 0xc034e5a0 "/s/NetBSD/src/sys/uvm/uvm_map.c", 
     unlock_file = 0xc034e5a0 "/s/NetBSD/src/sys/uvm/uvm_map.c", 
     lock_line = 2030, unlock_line = 2035, list = {tqe_next = 0x0, 
       tqe_prev = 0x0}, lock_holder = 4294967295}, timestamp = 7669}
 (gdb) quit
 
 -- 
 Christian