From owner-svn-doc-head@FreeBSD.ORG Thu Mar 12 01:25:04 2015 Return-Path: Delivered-To: svn-doc-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E4AE4699; Thu, 12 Mar 2015 01:25:03 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C586ECA2; Thu, 12 Mar 2015 01:25:03 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t2C1P32B055426; Thu, 12 Mar 2015 01:25:03 GMT (envelope-from gjb@FreeBSD.org) Received: (from gjb@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t2C1P3O4055425; Thu, 12 Mar 2015 01:25:03 GMT (envelope-from gjb@FreeBSD.org) Message-Id: <201503120125.t2C1P3O4055425@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: gjb set sender to gjb@FreeBSD.org using -f From: Glen Barber Date: Thu, 12 Mar 2015 01:25:03 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r46337 - head/en_US.ISO8859-1/books/developers-handbook/kerneldebug X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Mar 2015 01:25:04 -0000 Author: gjb Date: Thu Mar 12 01:25:02 2015 New Revision: 46337 URL: https://svnweb.freebsd.org/changeset/doc/46337 Log: Wrap lines, spacing nits, etc. following previous change. Translators please ignore. Sponsored by: The FreeBSD Foundation Modified: head/en_US.ISO8859-1/books/developers-handbook/kerneldebug/chapter.xml Modified: head/en_US.ISO8859-1/books/developers-handbook/kerneldebug/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/developers-handbook/kerneldebug/chapter.xml Thu Mar 12 01:23:06 2015 (r46336) +++ head/en_US.ISO8859-1/books/developers-handbook/kerneldebug/chapter.xml Thu Mar 12 01:25:02 2015 (r46337) @@ -745,17 +745,16 @@ Debugger (msg=0xf01b0383 "Boot flags req Debugging Deadlocks You may experience so called deadlocks, a situation where - a system stops doing useful work. To provide a helpful bug report - in this situation, use &man.ddb.4; as described in the previous - section. - Include the output of ps and - trace for suspected processes in the + a system stops doing useful work. To provide a helpful bug + report in this situation, use &man.ddb.4; as described in the + previous section. Include the output of ps + and trace for suspected processes in the report. - If possible, consider doing further investigation. The recipe - below is especially useful if you suspect that a deadlock occurs in the - VFS layer. Add these options to the kernel configuration - file. + If possible, consider doing further investigation. The + recipe below is especially useful if you suspect that a deadlock + occurs in the VFS layer. Add these options to the kernel + configuration file. makeoptions DEBUG=-g options INVARIANTS @@ -766,12 +765,12 @@ options DEBUG_LOCKS options DEBUG_VFS_LOCKS options DIAGNOSTIC - When a deadlock occurs, in addition to the - output of the ps command, provide information - from the show pcpu, show allpcpu, + When a deadlock occurs, in addition to the output of the + ps command, provide information from the + show pcpu, show allpcpu, show locks, show alllocks, - show lockedvnods and alltrace. - + show lockedvnods and + alltrace. To obtain meaningful backtraces for threaded processes, use thread thread-id to switch to the thread