From owner-freebsd-current@FreeBSD.ORG Thu Jul 11 13:23:18 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A67ED1F3 for ; Thu, 11 Jul 2013 13:23:18 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) by mx1.freebsd.org (Postfix) with ESMTP id 852041CCA for ; Thu, 11 Jul 2013 13:23:18 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id D07EBB983; Thu, 11 Jul 2013 09:23:17 -0400 (EDT) From: John Baldwin To: Ian FREISLICH Subject: Re: Filesystem wedges caused by r251446 Date: Thu, 11 Jul 2013 09:23:06 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p25; KDE/4.5.5; amd64; ; ) References: <201307091202.24493.jhb@freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201307110923.06548.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Thu, 11 Jul 2013 09:23:17 -0400 (EDT) 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 13:23:18 -0000 On Thursday, July 11, 2013 6:54:35 am Ian FREISLICH wrote: > 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. Sorrry, just run 'sudo kgdb' on the box itself. You can inspect the running kernel without having to stop it. -- John Baldwin