From owner-freebsd-current@FreeBSD.ORG Wed Sep 7 15:13:13 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 E3BB016A41F for ; Wed, 7 Sep 2005 15:13:13 +0000 (GMT) (envelope-from kintarowins@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3859F43D46 for ; Wed, 7 Sep 2005 15:13:11 +0000 (GMT) (envelope-from kintarowins@gmail.com) Received: by wproxy.gmail.com with SMTP id i4so1298322wra for ; Wed, 07 Sep 2005 08:13:10 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=B7Tv3C+4sk3V+fVaSjN+kfBv97bOuC1qLCWwAetbg6BvuOngCwU0cx9zIpKbmgnY/xGBmPQU84iIuHiZB2RHdDib+JfVDnPFHvejwD+kGdolYZbze5ssadTspkUx1VBMUkv2JWbx1rgveurZZHxpUunWtFXgLstHR6oxURMNe/s= Received: by 10.54.137.20 with SMTP id k20mr5694584wrd; Wed, 07 Sep 2005 08:13:10 -0700 (PDT) Received: by 10.54.2.44 with HTTP; Wed, 7 Sep 2005 08:13:10 -0700 (PDT) Message-ID: <6c336c020509070813449ff093@mail.gmail.com> Date: Thu, 8 Sep 2005 01:13:10 +1000 From: John Kintaro Tate To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Lock Order Reversal with UMA_CORE and VM_MAP X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 07 Sep 2005 15:13:14 -0000 I was doing a cvsup and I came across this error. This is running 7.0-CURRENT, last updated on Tuesday morning (Australia/Melbourne time). exeleven# uname -a FreeBSD exeleven.home 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Tue Sep 6 11:30:56 EST 2005 root@exeleven.home:/usr/obj/usr/src/sys/GENERIC=20 i386 Here is the related output from dmesg: lock order reversal 1st 0xc0983ae0 UMA lock (UMA lock) @ /usr/src/sys/vm/uma_core.c:1494 2nd 0xc1060144 system map (system map) @ /usr/src/sys/vm/vm_map.c:2317 KDB: stack backtrace: kdb_backtrace(0,ffffffff,c0938a40,c0938b80,c08c2c84) at kdb_backtrace+0x29 witness_checkorder(c1060144,9,c0878c36,90d) at witness_checkorder+0x52c _mtx_lock_flags(c1060144,0,c0878c36,90d) at _mtx_lock_flags+0x5b _vm_map_lock(c10600c0,c0878c36,90d) at _vm_map_lock+0x26 vm_map_remove(c10600c0,c31aa000,c31ab000,d0ff4c0c,c07854d5) at vm_map_remove+0x1f kmem_free(c10600c0,c31aa000,1000,d0ff4c3c,c0784e82) at kmem_free+0x25 page_free(c31aa000,1000,2) at page_free+0x29 zone_drain(c1983000) at zone_drain+0x26a zone_foreach(c0784c18,d0ff4cec,c0796e17,d0ff4c74,246) at zone_foreach+0x37 uma_reclaim(d0ff4c74,246,0,d0ff4c80,c062c889) at uma_reclaim+0x12 vm_pageout_scan(0,c0983f40,0,c087a16b,604) at vm_pageout_scan+0x103 vm_pageout(0,d0ff4d38,0,c0797c6c,0) at vm_pageout+0x2c3 fork_exit(c0797c6c,0,d0ff4d38) at fork_exit+0xa0 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip =3D 0, esp =3D 0xd0ff4d6c, ebp =3D 0 --- Yours, John Tate --=20 John Kintaro Tate Mobile: 0413 348 815 (Yep, old number, but I have a new phone) Free OpenBSD shell accounts for all with no gimmicks. Just send your desired username and password to me, and I will create it. Personal Website: http://kintaro.noobify.com