From owner-freebsd-stable@FreeBSD.ORG Mon Jun 23 12:09:28 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC58437B401 for ; Mon, 23 Jun 2003 12:09:28 -0700 (PDT) Received: from HAL9000.homeunix.com (ip114.bella-vista.sfo.interquest.net [66.199.86.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4213443FF9 for ; Mon, 23 Jun 2003 12:09:28 -0700 (PDT) (envelope-from das@freebsd.org) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.9/8.12.9) with ESMTP id h5NJ9RiP001136; Mon, 23 Jun 2003 12:09:27 -0700 (PDT) (envelope-from das@freebsd.org) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.9/8.12.9/Submit) id h5NJ9QPr001135; Mon, 23 Jun 2003 12:09:26 -0700 (PDT) (envelope-from das@freebsd.org) Date: Mon, 23 Jun 2003 12:09:26 -0700 From: David Schultz To: "Marc G. Fournier" Message-ID: <20030623190926.GA1049@HAL9000.homeunix.com> Mail-Followup-To: "Marc G. Fournier" , Ted Mittelstaedt , freebsd-stable@freebsd.org References: <20030623122939.N10424@hub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030623122939.N10424@hub.org> cc: freebsd-stable@freebsd.org cc: Ted Mittelstaedt Subject: Re: Processes hung in 'inode' state ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2003 19:09:29 -0000 On Mon, Jun 23, 2003, Marc G. Fournier wrote: > > Not sure what all to do, but doing a 'gdb -k kernel.debug /dev/mem', a > backtrack on one of the processes shows ... server has been up 12 days > now, and running a June 8th kernel ... > > #0 0x20f4f0 in ?? () > (kgdb) proc 67258 > (kgdb) bt > #0 mi_switch () at machine/globals.h:119 > #1 0x8014a1f9 in tsleep (ident=0x8a3d2200, priority=8, wmesg=0x80263d4a "inode", timo=0) at /usr/src/sys/kern/kern_synch.c:479 > #2 0x80141507 in acquire (lkp=0x8a3d2200, extflags=16777280, wanted=1536) at /usr/src/sys/kern/kern_lock.c:147 > #3 0x8014179c in lockmgr (lkp=0x8a3d2200, flags=16973826, interlkp=0xbdc27b6c, p=0xc26fa9c0) at /usr/src/sys/kern/kern_lock.c:355 Ooh, a deadlock. I'm guessing unionfs is responsible again. ;-) Can you type in the following? print *(struct lock *)0x8a3d2200 Then get a backtrace of the process with pid equal to lk_lockholder.