Date: Wed, 08 May 2002 10:12:17 +0900 From: Jun Kuriyama <kuriyama@imgsrc.co.jp> To: Current <FreeBSD-current@FreeBSD.org> Subject: Panic at witness_lock Message-ID: <7mn0vb8mtq.wl@waterblue.imgsrc.co.jp>
next in thread | raw e-mail | index | archive | help
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 <zone_drain>)
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 <vm_pageout>, 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 <kuriyama@imgsrc.co.jp> // IMG SRC, Inc.
<kuriyama@FreeBSD.org> // FreeBSD Project
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7mn0vb8mtq.wl>
