Improve wording and grammar.

Reviewed by:	brd
This commit is contained in:
Joel Dahl 2006-06-16 20:47:14 +00:00
parent f79d8355d2
commit d5140b068d
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=28105

View file

@ -823,18 +823,18 @@ Reading symbols from /sys/modules/linux/linux.ko...done.
</sect1> </sect1>
<sect1 id="kerneldebug-deadlocks"> <sect1 id="kerneldebug-deadlocks">
<title>Debugging the Deadlocks</title> <title>Debugging Deadlocks</title>
<para>You may experience so called deadlocks, the situation where <para>You may experience so called deadlocks, the situation where
system stops doing useful work. To provide the helpful bug report a system stops doing useful work. To provide a helpful bug report
in this situation, you shall use ddb as described above. Please, in this situation, use &man.ddb.4; as described above.
include the output of <command>ps</command> and Include the output of <command>ps</command> 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. Receipt <para>If possible, consider doing further investigation. The receipt
below is especially useful if you suspect deadlock occurs in the below is especially useful if you suspect that a deadlock occurs in the
VFS layer. Add the options VFS layer. Add the following options
<programlisting>makeoptions DEBUG=-g <programlisting>makeoptions DEBUG=-g
options INVARIANTS options INVARIANTS
options INVARIANT_SUPPORT options INVARIANT_SUPPORT
@ -843,15 +843,15 @@ Reading symbols from /sys/modules/linux/linux.ko...done.
options DEBUG_VFS_LOCKS options DEBUG_VFS_LOCKS
options DIAGNOSTIC</programlisting> options DIAGNOSTIC</programlisting>
to the kernel config. When deadlock occurs, in addition to the to the kernel configuration file. When a deadlock occurs, in addition to the
output of the <command>ps</command> command, provide information output of the <command>ps</command> command, provide information
from the <command>show allpcpu</command>, <command>show from the <command>show allpcpu</command>, <command>show
alllocks</command>, <command>show lockedvnods</command> and alllocks</command>, <command>show lockedvnods</command> and
<command>show alltrace</command>.</para> <command>show alltrace</command>.</para>
<para>For threaded processes, to obtain meaningful backtraces, 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
stack, and do backtrace with <command>where</command>.</para> stack, and do a backtrace with <command>where</command>.</para>
</sect1> </sect1>
</chapter> </chapter>