From owner-freebsd-current Tue May 7 18:12:32 2002 Delivered-To: freebsd-current@freebsd.org Received: from white.imgsrc.co.jp (ns.imgsrc.co.jp [210.226.20.2]) by hub.freebsd.org (Postfix) with ESMTP id A3EB937B405 for ; Tue, 7 May 2002 18:12:22 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by white.imgsrc.co.jp (Postfix) with ESMTP id B4FBB24D06 for ; Wed, 8 May 2002 10:12:21 +0900 (JST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [2001:218:422:2::130]) by white.imgsrc.co.jp (Postfix) with ESMTP id 6300D24D02 for ; Wed, 8 May 2002 10:12:18 +0900 (JST) Received: from waterblue.imgsrc.co.jp (waterblue.imgsrc.co.jp [2001:218:422:2::160]) by black.imgsrc.co.jp (Postfix) with ESMTP id 40B2A1E46EE for ; Wed, 8 May 2002 10:12:17 +0900 (JST) Date: Wed, 08 May 2002 10:12:17 +0900 Message-ID: <7mn0vb8mtq.wl@waterblue.imgsrc.co.jp> From: Jun Kuriyama To: Current Subject: Panic at witness_lock User-Agent: Wanderlust/2.9.7 (Unchained Melody) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.2 (i386--freebsd) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS on ns.imgsrc.co.jp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Here is a panic caused by yesterday's kernel. IdlePTD at phsyical address 0x0048e000 initial pcb at physical address 0x0036c680 panicstr: from debugger panic messages: --- panic: recurse cpuid = 0; lapic.id = 00000000 panic: from debugger cpuid = 0; lapic.id = 00000000 boot() called on cpu#0 Uptime: 15h59m45s Dumping 2047 MB ata0: resetting devices .. done #10 0xc01afbd0 in panic (fmt=0xc02d5ae8 "recurse") at ../../../kern/kern_shutdown.c:477 #11 0xc01c7704 in witness_lock (lock=0xc082a3e4, flags=8, file=0xc02e9b11 "../../../vm/uma_core.c", line=1467) at ../../../kern/subr_witness.c:536 #12 0xc01a81c0 in _mtx_lock_flags (m=0xc082a3e4, opts=0, file=0xc02e9b11 "../../../vm/uma_core.c", line=1467) at ../../../kern/kern_mutex.c:314 #13 0xc0270fb8 in uma_zalloc_internal (zone=0xc082a3c0, udata=0x0, flags=1, bucket=0x0) at ../../../vm/uma_core.c:1467 #14 0xc027142f in uma_zfree_arg (zone=0xc082ad20, item=0xc35d2ec4, udata=0x0) at ../../../vm/uma_core.c:1717 #15 0xc02a4171 in pmap_remove_all (m=0xc0d926dc) at ../../../vm/uma.h:250 #16 0xc02a5355 in pmap_page_protect (m=0xc0d926dc, prot=0) at ../../../i386/i386/pmap.c:3156 #17 0xc026b7a8 in vm_page_protect (mem=0xc0d926dc, prot=0) at ../../../vm/vm_page.c:437 #18 0xc026ad79 in vm_object_page_remove (object=0xc0396460, start=183610, end=183611, clean_only=0) at ../../../vm/vm_object.c:1682 #19 0xc0267076 in vm_map_delete (map=0xc0822000, start=3972239360, end=3972243456) at ../../../vm/vm_map.c:2078 #20 0xc0267173 in vm_map_remove (map=0xc0822000, start=3972239360, end=3972243456) at ../../../vm/vm_map.c:2127 #21 0xc0264bdf in kmem_free (map=0xc0822000, addr=3972239360, size=4096) at ../../../vm/vm_kern.c:237 #22 0xc027054c in page_free (mem=0xecc39000, size=4096, flags=4) at ../../../vm/uma_core.c:864 #23 0xc0270179 in zone_drain (zone=0xc082a3c0) at ../../../vm/uma_core.c:638 #24 0xc0270a3f in zone_foreach (zfunc=0xc026ff38 ) at ../../../vm/uma_core.c:1148 #25 0xc027194a in uma_reclaim () at ../../../vm/uma_core.c:1938 #26 0xc026dd14 in vm_pageout_scan (pass=0) at ../../../vm/vm_pageout.c:651 #27 0xc026e961 in vm_pageout () at ../../../vm/vm_pageout.c:1418 #28 0xc01a0b6c in fork_exit (callout=0xc026e730 , arg=0x0, frame=0xe328fd48) at ../../../kern/kern_fork.c:829 (kgdb) up 11 #11 0xc01c7704 in witness_lock (lock=0xc082a3e4, flags=8, file=0xc02e9b11 "../../../vm/uma_core.c", line=1467) at ../../../kern/subr_witness.c:536 (kgdb) list 531 printf( 532 "recursed on non-recursive lock (%s) %s @ %s:%d\n", 533 class->lc_name, lock->lo_name, file, line); 534 printf("first acquired @ %s:%d\n", lock1->li_file, 535 lock1->li_line); 536 panic("recurse"); 537 } 538 CTR4(KTR_WITNESS, "%s: pid %d recursed on %s r=%d", __func__, 539 td->td_proc->p_pid, lock->lo_name, 540 lock1->li_flags & LI_RECURSEMASK); -- Jun Kuriyama // IMG SRC, Inc. // FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message