From owner-freebsd-current@FreeBSD.ORG Thu Jul 11 10:54:48 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CC3CFCEF; Thu, 11 Jul 2013 10:54:48 +0000 (UTC) (envelope-from ianf@clue.co.za) Received: from zcs03.jnb1.cloudseed.co.za (zcs03.jnb1.cloudseed.co.za [41.154.0.139]) by mx1.freebsd.org (Postfix) with ESMTP id 692481145; Thu, 11 Jul 2013 10:54:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zcs03.jnb1.cloudseed.co.za (Postfix) with ESMTP id 35A2E2B432B6; Thu, 11 Jul 2013 12:54:38 +0200 (SAST) X-Virus-Scanned: amavisd-new at zcs03.jnb1.cloudseed.co.za Received: from zcs03.jnb1.cloudseed.co.za ([127.0.0.1]) by localhost (zcs03.jnb1.cloudseed.co.za [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PHc9e1CXyTOt; Thu, 11 Jul 2013 12:54:37 +0200 (SAST) Received: from clue.co.za (41-135-71-48.dsl.mweb.co.za [41.135.71.48]) by zcs03.jnb1.cloudseed.co.za (Postfix) with ESMTPSA id 746642B43276; Thu, 11 Jul 2013 12:54:37 +0200 (SAST) Received: from localhost ([127.0.0.1] helo=zen) by clue.co.za with esmtp (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1UxEWB-0000il-21; Thu, 11 Jul 2013 12:54:35 +0200 To: John Baldwin From: Ian FREISLICH Subject: Re: Filesystem wedges caused by r251446 In-Reply-To: <201307091202.24493.jhb@freebsd.org> References: <201307091202.24493.jhb@freebsd.org> <20130704082113.GJ91021@kib.kiev.ua> X-Attribution: BOFH Date: Thu, 11 Jul 2013 12:54:35 +0200 Message-Id: Cc: Konstantin Belousov , freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Thu, 11 Jul 2013 10:54:48 -0000 John Baldwin wrote: > On Thursday, July 04, 2013 5:03:29 am Ian FREISLICH wrote: > > Konstantin Belousov wrote: > > > > > > Care to provide any useful information ? > > > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers- > handbook/kerneldebug-deadlocks.html > > > > Well, the system doesn't deadlock it's perfectly useable so long > > as you don't touch the file that's wedged. A lot of the time the > > userland process is unkillable, but often it is killable. How do > > I get from from the PID to where the FS is stuck in the kernel? > > Use kgdb. 'proc ', then 'bt'. So, I setup a remote kbgd session, but I still can't figure out how to get at the information we need. (kgdb) proc 5176 only supported for core file target In the mean time, I'll just force it to make a core dump from ddb. However, I can't reacreate the issue while the mirror (gmirror) is rebuilding, so we'll have to wait for that to finish. Ian -- Ian Freislich