<div dir="ltr">Hi Saket,<div><br></div><div>You may configure kdump and use crash utility for debugging offline.</div><div><br></div><div>Here are some useful links.</div><div><a href="https://sites.google.com/site/syscookbook/rhel/rhel-kdump-rhel6">https://sites.google.com/site/syscookbook/rhel/rhel-kdump-rhel6</a></div>
<div><a href="http://www.novell.com/support/kb/doc.php?id=3374462">http://www.novell.com/support/kb/doc.php?id=3374462</a></div><div><br></div><div>Otherwise systemtap is good option too.</div><div><a href="http://www.linuxforu.com/2010/09/systemtap-tutorial-part-1/">http://www.linuxforu.com/2010/09/systemtap-tutorial-part-1/</a><br>
</div><div><br></div><div>Thanks,</div><div>Chaitanya</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 6, 2013 at 3:55 PM, Saket Sinha <span dir="ltr"><<a href="mailto:saket.sinha89@gmail.com" target="_blank">saket.sinha89@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px"><div><br></div><div><br></div><div> I am facing an issue where I have been developing a filesystem driver(over x86) which has become "unstable" by which I mean , at compile time it is building but during runtime it fails when I call the corresponding APIs from the user-space.</div>
<div><br></div><div>In order to find out exactly where it is failing, I need to debug the driver.</div></div><div style="font-family:arial,sans-serif;font-size:13px">I am very new to kernel development. I have heard about KGDB and KDB but it takes quite a lot to get them working so waht are the other tools available?</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Regards,</div><div style="font-family:arial,sans-serif;font-size:13px">Saket Sinha</div><div><br>
</div></div>
<br>_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
<br></blockquote></div><br></div>