From owner-freebsd-current@FreeBSD.ORG Wed Aug 11 14:05:09 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 92DA616A4CE for ; Wed, 11 Aug 2004 14:05:09 +0000 (GMT) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06A6643D5D for ; Wed, 11 Aug 2004 14:05:09 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 4327C1FF92F for ; Wed, 11 Aug 2004 16:05:07 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id 61D301FF91D; Wed, 11 Aug 2004 16:05:05 +0200 (CEST) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id 875E815384; Wed, 11 Aug 2004 14:03:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id 7CB8715329 for ; Wed, 11 Aug 2004 14:03:45 +0000 (UTC) Date: Wed, 11 Aug 2004 14:03:45 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: FreeBSD current mailing list In-Reply-To: <200408111527566.SM01804@manrikigusari> Message-ID: References: <200408111527566.SM01804@manrikigusari> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de Subject: RE: Lock order reversal in 5.2-CURRENT 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: Wed, 11 Aug 2004 14:05:09 -0000 On Wed, 11 Aug 2004, Terrence Koeman wrote: > lock order reversal > 1st 0xc0645aa0 sched lock (sched lock) @ > /usr/src/sys/kern/subr_sleepqueue.c:623 > 2nd 0xc06486ec sleepq chain (sleepq chain) @ > /usr/src/sys/kern/subr_sleepqueue.c:223 > KDB: stack backtrace: > kdb_backtrace(c05fe96f,c06486ec,c05fdc8a,c05fdc8a,c05fdc97) at > kdb_backtrace+0x2e > witness_checkorder(c06486ec,9,c05fdc97,df,67e) at witness_checkorder+0x6a6 > _mtx_lock_spin_flags(c06486ec,0,c05fdc97,df,0) at _mtx_lock_spin_flags+0x8d > sleepq_lookup(c0641d80,c05fe5e3,687,c0645aa0,d3bbc9ec) at sleepq_lookup+0x57 > sleepq_broadcast(c0641d80,0,ffffffff,d3bbca14,c04b4152) at > sleepq_broadcast+0x31 > wakeup(c0641d80,1,c05fbc09,179,c1a632c0) at wakeup+0x21 for the archives: looks quite similar to http://sources.zabbadoz.net/freebsd/lor.html#004 so I added it there. It got patched in the other place. -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT