File: [local] / www / ddb.html (download) (as text)
Revision 1.12, Mon Aug 8 00:40:58 2016 UTC (7 years, 9 months ago) by tb
Branch: MAIN
Changes since 1.11: +5 -5 lines
zap stray '>' and shorten some links.
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>OpenBSD: Crash Reports</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="description" content="How to report an OpenBSD kernel crash">
<meta name="copyright" content="This document copyright 1998-2016 by OpenBSD.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="openbsd.css">
<link rel="canonical" href="http://www.openbsd.org/report.html">
</head>
<body bgcolor="#ffffff" text="#000000" link="#23238e">
<h2>
<a href="index.html">
<font color="#0000ff"><i>Open</i></font><font color="#000084">BSD</font></a>
<font color="#e00000">Crash Reports</font>
</h2>
<hr>
<p>
<h3><font color="#0000e0">Minimum information for kernel problems</font></h3>
Familiarize yourself with
<a href="report.html">the general bug reporting procedures</a>
first.
All of that will apply.
When reporting a kernel panic or crash, please remember:
<ul>
<li><em>We need the console output on the screen</em>.
Capture it and save it.
Serial consoles are best, but if you are on a VGA console you can
<a HREF="faq/faq7.html">scroll the console back</a>
and take readable pictures with a phone or camera.<BR>
<li><em>If the kernel panicked we need the traceback.</em>
It may be displayed on the screen.
If you are at a
<tt><a href="http://man.openbsd.org/ddb.4">ddb</a>></tt>
prompt, type <tt>trace</tt>.
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>
command for each processor.<BR>
<li><em>We need the process list.</em>
Use the command <tt>ps</tt> to get us that.
</ul>
<em>
Reports without the above information are useless.
This is the minimum we need to be able to track down the issue.
</em>
<h3><font color="#0000e0">Additional information you can send</font></h3>
<P>
In some situations more information is desirable.
Below are outlined some additional steps you can take in certain situations:
<ul>
<li> ... XXX boot crash? XXX
<li> ... XXX show regs? XXX
<li> <em>If your crash appears to involve filesystems.</em>
The following additional things would be helpful
<ul>
<li> The output of the
<tt><a href="http://man.openbsd.org/ddb.4">ddb</a>></tt>
command <tt>show uvm</tt>
<li> The output of the
<tt><a href="http://man.openbsd.org/ddb.4">ddb</a>></tt>
command <tt>show bcstats</tt>
<li> The output of the <tt>mount</tt> command from your running machine,
so we know what filesystems are mounted and how.
</ul>
</ul>
<p>
</body>
</html>