From owner-freebsd-stable@FreeBSD.ORG Thu Jan 14 13:11:45 2010 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 F17AB1065672; Thu, 14 Jan 2010 13:11:45 +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 B7E4C8FC1D; Thu, 14 Jan 2010 13:11:45 +0000 (UTC) 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 1NVPU7-000C1e-00; Thu, 14 Jan 2010 13:11:35 +0000 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.71 (FreeBSD)) (envelope-from ) id 1NVPU6-000Bi4-VH; Thu, 14 Jan 2010 13:11:34 +0000 Date: Thu, 14 Jan 2010 13:11:34 +0000 Message-Id: To: attilio@freebsd.org In-Reply-To: <3bbf2fe11001140444o1201f155m564465609436a561@mail.gmail.com> From: Pete French Cc: freebsd-stable@freebsd.org Subject: Re: [PATCH] Lockmgr deadlock on STABLE_8 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: Thu, 14 Jan 2010 13:11:46 -0000 > Also enable INVARIANTS. Including INVARIANTS stops my kernel from building. It has been this way since 8.0 (this is why I only had WITNESS compiled in). It fails with many many errors like this: /usr/src/sys/vm/vm_map.c:575: undefined reference to `_mtx_assert' My kernel config file looks like this: include GENERIC ident WITNESS options KDB options DDB options WITNESS options INVARIANTS > While there (with my patch applied) please setup textdump in order to > report the following DDB commands (and once it deadlocks break in > DDB): > bt, show allpcpu, ps, alltrace, show alllocks Having read the manual page for textdump, I am not sure I will be able to get a dump out of this machine, as it has no swap configured (and no spare partition that I can allocate for such a thing). I have tried using dumpon to dump to a ZVOL, but it gives me an error saying that it is not supported. Is there anything I can do to remedy this ? > Try also to get a coredump (and if you can't report immediately to us > and try to not turn off the machine in order to apply following > instructions). That's fine - this machine is more or less dedicated as a test ,machine for 8.0 right now. I can possibly dive you console access to it fi required in fact, as I did this for Robert once to sort out a problem with 7.0 I'll try running with the current KDB and DDB kernel until I can figure out how to get a WITNESS/INVARIANTS one built, and will let you know when that deadlocks. cheers, -pete.