From owner-freebsd-i386@FreeBSD.ORG Fri Aug 26 04:50:15 2005 Return-Path: X-Original-To: freebsd-i386@hub.freebsd.org Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7705316A41F for ; Fri, 26 Aug 2005 04:50:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 356B943D46 for ; Fri, 26 Aug 2005 04:50:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j7Q4oEsR020332 for ; Fri, 26 Aug 2005 04:50:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j7Q4oEsk020331; Fri, 26 Aug 2005 04:50:14 GMT (envelope-from gnats) Resent-Date: Fri, 26 Aug 2005 04:50:14 GMT Resent-Message-Id: <200508260450.j7Q4oEsk020331@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kyle Brooks Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB9BB16A41F for ; Fri, 26 Aug 2005 04:41:28 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 945EE43D6E for ; Fri, 26 Aug 2005 04:41:25 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j7Q4fP0C045844 for ; Fri, 26 Aug 2005 04:41:25 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j7Q4fPJv045843; Fri, 26 Aug 2005 04:41:25 GMT (envelope-from nobody) Message-Id: <200508260441.j7Q4fPJv045843@www.freebsd.org> Date: Fri, 26 Aug 2005 04:41:25 GMT From: Kyle Brooks To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: i386/85302: witness lock detects lock order reversal X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Aug 2005 04:50:15 -0000 >Number: 85302 >Category: i386 >Synopsis: witness lock detects lock order reversal >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Aug 26 04:50:13 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Kyle Brooks >Release: -current Fri Aug 26 01:03:23 UTC 2005 >Organization: Student >Environment: FreeBSD arbitor.homelinux.com 6.0-BETA3 FreeBSD 6.0-BETA3 #1: Fri Aug 26 01:03:23 UTC 2005 kyle@arbitor.homelinux.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: lock order reversal 1st 0xc0a167c0 UMA lock (UMA lock) @ /usr/src/sys/vm/uma_core.c:1494 2nd 0xc1060144 system map (system map) @ /usr/src/sys/vm/vm_kern.c:295 KDB: stack backtrace: witness_checkorder(c1060144,9,c090bad8,127,e6a39acc) at witness_checkorder+0x3af _mtx_lock_flags(c1060144,0,c090bad8,127,c106cc80) at _mtx_lock_flags+0x54 _vm_map_lock(c10600c0,c090bad8,127,0,c106b000) at _vm_map_lock+0x37 kmem_malloc(c10600c0,1000,1,1,c090ad91) at kmem_malloc+0x3a slab_zalloc(c3f1de00,e6a39b90,c08099fb,c104a5a0,c3d0bac0) at slab_zalloc+0x7d uma_zone_slab(c106cc88,8,c090ad91,76a,10) at uma_zone_slab+0xac uma_zalloc_arg(c104a5a0,0,1,c106cc80,e6a39c38) at uma_zalloc_arg+0x39f malloc(200,c0990700,1,40,c1044b40) at malloc+0x87 hash_alloc(c1044b48,0,c090ad91,1ab,c0a083d0) at hash_alloc+0x39 zone_timeout(c38533c0,8,c090ad91,5d6,16) at zone_timeout+0xc9 zone_foreach(c3552c00,e6a39c90,80246,16,e6a39cd0) at zone_foreach+0x43 uma_timeout(0,0,c08f1e81,105,c0809405) at uma_timeout+0x15 softclock(0,0,c08ee70e,251,2) at softclock+0x25d ithread_loop(c3535580,e6a39d38,c08ee4e3,30d,c3535580) at ithread_loop+0x1e9 fork_exit(c066ea7d,c3535580,e6a39d38) at fork_exit+0xa1 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xe6a39d6c, ebp = 0 --- >How-To-Repeat: Not sure, possible kldload already existing wi driver >Fix: >Release-Note: >Audit-Trail: >Unformatted: