[BACK]Return to ddb.html CVS log [TXT][DIR] Up to [local] / www

Diff for /www/ddb.html between version 1.18 and 1.19

version 1.18, 2017/02/06 18:55:43 version 1.19, 2017/06/26 17:18:57
Line 41 
Line 41 
   <li><i>If the kernel panicked we need the traceback.</i>    <li><i>If the kernel panicked we need the traceback.</i>
     It may be displayed on the screen.      It may be displayed on the screen.
     If you are at a      If you are at a
     <tt><a href="http://man.openbsd.org/ddb.4">ddb</a>&gt;</tt>      <tt><a href="https://man.openbsd.org/ddb.4">ddb</a>&gt;</tt>
     prompt, type <tt>trace</tt>.      prompt, type <tt>trace</tt>.
     If you are running SMP, use the <tt>mach ddbcpu N</tt> command for each      If you are running SMP, use the <tt>mach ddbcpu N</tt> command for each
     of the <tt>N</tt> processors you have and repeat the <tt>trace</tt>      of the <tt>N</tt> processors you have and repeat the <tt>trace</tt>
Line 66 
Line 66 
     The following additional things would be helpful      The following additional things would be helpful
     <ul>      <ul>
       <li>The output of the        <li>The output of the
         <tt><a href="http://man.openbsd.org/ddb.4">ddb</a>&gt;</tt> command          <tt><a href="https://man.openbsd.org/ddb.4">ddb</a>&gt;</tt> command
         <tt>show uvm</tt>          <tt>show uvm</tt>
       <li>The output of the        <li>The output of the
         <tt><a href="http://man.openbsd.org/ddb.4">ddb</a>&gt;</tt>          <tt><a href="https://man.openbsd.org/ddb.4">ddb</a>&gt;</tt>
         command <tt>show bcstats</tt>          command <tt>show bcstats</tt>
       <li>The output of the <tt>mount</tt> command from your running machine, so        <li>The output of the <tt>mount</tt> command from your running machine, so
         we know what filesystems are mounted and how.          we know what filesystems are mounted and how.
Line 134 
Line 134 
   
 <p>  <p>
 The first command to run from the  The first command to run from the
 <a href="http://man.openbsd.org/ddb">ddb(4)</a> prompt is <tt>trace</tt>:  <a href="https://man.openbsd.org/ddb">ddb(4)</a> prompt is <tt>trace</tt>:
   
 <blockquote><pre>  <blockquote><pre>
 ddb> <b>trace</b>  ddb> <b>trace</b>
Line 161 
Line 161 
 <p>  <p>
 Find the source file where the crashing function is defined.  Find the source file where the crashing function is defined.
 In this example, that would be <tt>pf_route()</tt> in <tt>/sys/net/pf.c</tt>.  In this example, that would be <tt>pf_route()</tt> in <tt>/sys/net/pf.c</tt>.
 Use <a href="http://man.openbsd.org/objdump">objdump(1)</a> to get the  Use <a href="https://man.openbsd.org/objdump">objdump(1)</a> to get the
 disassembly:  disassembly:
   
 <blockquote><pre>  <blockquote><pre>

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19