<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://elinux.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://elinux.org/index.php?title=Crash_Diagnostics&amp;feed=atom&amp;action=history</id>
		<title>Crash Diagnostics - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://elinux.org/index.php?title=Crash_Diagnostics&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Crash_Diagnostics&amp;action=history"/>
		<updated>2013-05-21T06:04:50Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.21alpha</generator>

	<entry>
		<id>http://elinux.org/index.php?title=Crash_Diagnostics&amp;diff=46603&amp;oldid=prev</id>
		<title>Jsujjava: Add Category Development Tools</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Crash_Diagnostics&amp;diff=46603&amp;oldid=prev"/>
				<updated>2011-05-09T14:29:23Z</updated>
		
		<summary type="html">&lt;p&gt;Add Category Development Tools&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 14:29, 9 May 2011&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 41:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 41:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;http://www.redhatmagazine.com/2007/08/15/a-quick-overview-of-linux-kernel-crash-dump-analysis/&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;http://www.redhatmagazine.com/2007/08/15/a-quick-overview-of-linux-kernel-crash-dump-analysis/&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;http://people.redhat.com/anderson/crash_whitepaper/&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;http://people.redhat.com/anderson/crash_whitepaper/&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Development Tools]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key elinux:diff:version:1.11a:oldid:10975:newid:46603 --&gt;
&lt;/table&gt;</summary>
		<author><name>Jsujjava</name></author>	</entry>

	<entry>
		<id>http://elinux.org/index.php?title=Crash_Diagnostics&amp;diff=10975&amp;oldid=prev</id>
		<title>Viralmehta at 09:55, 17 April 2009</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Crash_Diagnostics&amp;diff=10975&amp;oldid=prev"/>
				<updated>2009-04-17T09:55:50Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;kernel crash debugging technique using &amp;quot;crash&amp;quot; utility.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Most frequent issue in debugging kernel programs is lack of information; lack of information in terms of stack trace, kernel logs and crash screen-shots.&lt;br /&gt;
Crash utility provides solution for this. It provides gdb like interface for debugging.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
    vmlinux object file. &lt;br /&gt;
This is kernel image with debugging information. By default, we get compressed kernel image with no debug information.&lt;br /&gt;
For getting, vmlinux object file, you need to install &amp;quot;kernel-debuginfo&amp;quot; rpm.&lt;br /&gt;
If you want to debug any module, make sure it is compiled with gcc flag '-g'.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
We receive crash utility as rpm. &lt;br /&gt;
    rpm name is of format: crash-$version.$arch.rpm&lt;br /&gt;
Here, $version shows version number and $arch shows system architecture.&lt;br /&gt;
&lt;br /&gt;
For getting crash dump:&lt;br /&gt;
For getting crash dump, we need to add &amp;quot;crashkernel&amp;quot; option to grub command line.&lt;br /&gt;
i.e. we can have:&lt;br /&gt;
    ro root=LABEL=/1 rhgb quiet crashkernel=128M@16M&lt;br /&gt;
instead of,&lt;br /&gt;
    ro root=LABEL=/1 rhgb quiet&lt;br /&gt;
&lt;br /&gt;
Here, parameter &amp;quot;crashkernel=128M@16M&amp;quot; reserves 128MB of physical memory starting at 16MB. This reserved memory is used to preload and run the capture kernel (i.e. to capture crash dump).&lt;br /&gt;
This command line option ensures that, whenever crash occurs, it stores crash dump at &amp;quot;/var/crash&amp;quot; and they are stored according to date and time.&lt;br /&gt;
&lt;br /&gt;
There are other options to get crash dump like diskdump, netdump, etc.&lt;br /&gt;
&lt;br /&gt;
Running crash Utility:&lt;br /&gt;
1. Debugging last kernel panic:&lt;br /&gt;
   #crash &amp;lt;patht to vmlinux&amp;gt; /var/crash/crash_dump_name&lt;br /&gt;
2. Watching current running kernel:&lt;br /&gt;
    #crash&lt;br /&gt;
This will prompt to crash shell. Just as example, following are commands:&lt;br /&gt;
    crash&amp;gt; help&lt;br /&gt;
    crash&amp;gt; bt                    ---&amp;gt; for backtrace&lt;br /&gt;
    crash&amp;gt; log                  ---&amp;gt; for dumping current system buffer&lt;br /&gt;
&lt;br /&gt;
For more information on this, you can visit at:&lt;br /&gt;
http://www.redhatmagazine.com/2007/08/15/a-quick-overview-of-linux-kernel-crash-dump-analysis/&lt;br /&gt;
http://people.redhat.com/anderson/crash_whitepaper/&lt;/div&gt;</summary>
		<author><name>Viralmehta</name></author>	</entry>

	</feed>