From owner-freebsd-stable@FreeBSD.ORG Sun Jan 11 17:16:10 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC3E2106566B for ; Sun, 11 Jan 2009 17:16:10 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from constantine.ticketswitch.com (constantine.ticketswitch.com [IPv6:2002:57e0:1d4e:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id AFDE28FC23 for ; Sun, 11 Jan 2009 17:16:10 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from dilbert.rattatosk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ticketswitch.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LM3uv-0001xx-8c for freebsd-stable@freebsd.org; Sun, 11 Jan 2009 17:16:05 +0000 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LM3uv-0001CD-7X for freebsd-stable@freebsd.org; Sun, 11 Jan 2009 17:16:05 +0000 To: freebsd-stable@freebsd.org In-Reply-To: Message-Id: From: Pete French Date: Sun, 11 Jan 2009 17:16:05 +0000 Subject: Lock order reversals using bce in 7.1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jan 2009 17:16:11 -0000 Here is a better set of images. This machine was compiled with the following config file: include GENERIC ident DEBUG options KDB options DDB options SW_WATCHDOG options DEBUG_VFS_LOCKS options MUTEX_DEBUG options WITNESS options WITNESS_KDB options LOCK_PROFILING options INVARIANTS options INVARIANT_SUPPORT options DIAGNOSTIC On booting it almost immediately does this: http://www.twisted.org.uk/~pete/71_lor.png The output of trace, show pcpu, show locks, show allpcpu and show alllocks are shown in the following images: http://www.twisted.org.uk/~pete/71_locks_trace.png http://www.twisted.org.uk/~pete/71_pcpu_alllocks.png http://www.twisted.org.uk/~pete/71_allpcpu1.png http://www.twisted.org.uk/~pete/71_allpcpu2.png I am going to revent the machine back to a normal kernel now - is there anything I might be able to do to stop this, or do I need to roll everything back to 7.0 ? cheers, -pete.