From owner-freebsd-current@FreeBSD.ORG Sat Jul 3 07:04:54 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE91816A4CE for ; Sat, 3 Jul 2004 07:04:54 +0000 (GMT) Received: from root.org (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 8B60C43D45 for ; Sat, 3 Jul 2004 07:04:54 +0000 (GMT) (envelope-from nate@root.org) Received: (qmail 58879 invoked by uid 1000); 3 Jul 2004 07:04:56 -0000 Date: Sat, 3 Jul 2004 00:04:56 -0700 (PDT) From: Nate Lawson To: current@freebsd.org Message-ID: <20040703000302.T58868@root.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: LoR in slab allocator and swapper X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jul 2004 07:04:54 -0000 Just in case no one has reported this one: FreeBSD 5.2-CURRENT-20040614-JPSNAP #0: Mon Jun 14 01:59:05 GMT 2004 root@ushi.jp.freebsd.org:/usr/obj/usr/src/sys/GENERIC WARNING: WITNESS option enabled, expect reduced performance. Preloaded elf kernel "/boot/kernel/kernel" at 0xc09f7000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc09f7244. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) III Mobile CPU 1000MHz (999.15-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6b1 Stepping = 1 Features=0x383f9ff real memory = 402063360 (383 MB) avail memory = 383733760 (365 MB) [...] ad0: 19077MB [41344/15/63] at ata0-master UDMA100 Mounting root from ufs:/dev/ad0s2a lock order reversal 1st 0xc1a31108 vm object (vm object) @ /usr/src/sys/vm/swap_pager.c:1313 2nd 0xc08c6300 swap_pager swhash (swap_pager swhash) @ /usr/src/sys/vm/swap_pager.c:1799 3rd 0xc103fce4 vm object (vm object) @ /usr/src/sys/vm/uma_core.c:923 Stack backtrace: backtrace(0,1,c0894778,c08959e8,c0824a1c) at backtrace+0x12 witness_checkorder(c103fce4,9,c07e2957,39b) at witness_checkorder+0x53b _mtx_lock_flags(c103fce4,0,c07e2957,39b,c1982328) at _mtx_lock_flags+0x57 obj_alloc(c19aa000,1000,cffeca2f,101,cffeca3c) at obj_alloc+0x31 slab_zalloc(c19aa000,1,c19aa000,c19aa000,c1982320) at slab_zalloc+0x87 uma_zone_slab(c19aa000,1,c1982328,0,c07e2957,78e) at uma_zone_slab+0xb0 uma_zalloc_internal(c19aa000,0,1,c1982328,0) at uma_zalloc_internal+0x29 uma_zalloc_arg(c19aa000,0,1) at uma_zalloc_arg+0x2a2 swp_pager_meta_build(c1a31108,5,0,2,0) at swp_pager_meta_build+0x108 swap_pager_putpages(c1a31108,cffecc00,4,0,cffecb70) at swap_pager_putpages+0x2a8 default_pager_putpages(c1a31108,cffecc00,4,0,cffecb70) at default_pager_putpages+0x18 vm_pageout_flush(cffecc00,4,0,0,cffecbdc) at vm_pageout_flush+0x112 vm_pageout_clean(c151ffb0) at vm_pageout_clean+0x2a5 vm_pageout_scan(0) at vm_pageout_scan+0x543 vm_pageout(0,cffecd48,0,c072a8f0,0) at vm_pageout+0x2d2 fork_exit(c072a8f0,0,cffecd48) at fork_exit+0x98 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xcffecd7c, ebp = 0 --- -Nate