Wrap lines, spacing nits, etc. following previous change.

Translators please ignore.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2015-03-12 01:25:02 +00:00
parent 03c9037828
commit fcb1ca095f
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=46337

View file

@ -745,17 +745,16 @@ Debugger (msg=0xf01b0383 "Boot flags requested debugger")
<title>Debugging Deadlocks</title> <title>Debugging Deadlocks</title>
<para>You may experience so called deadlocks, a situation where <para>You may experience so called deadlocks, a situation where
a system stops doing useful work. To provide a helpful bug report a system stops doing useful work. To provide a helpful bug
in this situation, use &man.ddb.4; as described in the previous report in this situation, use &man.ddb.4; as described in the
section. previous section. Include the output of <command>ps</command>
Include the output of <command>ps</command> and and <command>trace</command> for suspected processes in the
<command>trace</command> for suspected processes in the
report.</para> report.</para>
<para>If possible, consider doing further investigation. The recipe <para>If possible, consider doing further investigation. The
below is especially useful if you suspect that a deadlock occurs in the recipe below is especially useful if you suspect that a deadlock
VFS layer. Add these options to the kernel configuration occurs in the VFS layer. Add these options to the kernel
file.</para> configuration file.</para>
<programlisting>makeoptions DEBUG=-g <programlisting>makeoptions DEBUG=-g
options INVARIANTS options INVARIANTS
@ -766,12 +765,12 @@ options DEBUG_LOCKS
options DEBUG_VFS_LOCKS options DEBUG_VFS_LOCKS
options DIAGNOSTIC</programlisting> options DIAGNOSTIC</programlisting>
<para>When a deadlock occurs, in addition to the <para>When a deadlock occurs, in addition to the output of the
output of the <command>ps</command> command, provide information <command>ps</command> command, provide information from the
from the <command>show pcpu</command>, <command>show allpcpu</command>, <command>show pcpu</command>, <command>show allpcpu</command>,
<command>show locks</command>, <command>show alllocks</command>, <command>show locks</command>, <command>show alllocks</command>,
<command>show lockedvnods</command> and <command>alltrace</command>. <command>show lockedvnods</command> and
</para> <command>alltrace</command>.</para>
<para>To obtain meaningful backtraces for threaded processes, use <para>To obtain meaningful backtraces for threaded processes, use
<command>thread thread-id</command> to switch to the thread <command>thread thread-id</command> to switch to the thread