1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>Run time parameter: kgdbreboot</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Using kgdb, kdb and the kernel debugger internals"><link rel="up" href="kgdbKernelArgs.html" title="Chapter 3. Kernel Debugger Boot Arguments"><link rel="prev" href="kgdbcon.html" title="Kernel parameter: kgdbcon"><link rel="next" href="usingKDB.html" title="Chapter 4. Using kdb"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Run time parameter: kgdbreboot</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="kgdbcon.html">Prev</a> </td><th width="60%" align="center">Chapter 3. Kernel Debugger Boot Arguments</th><td width="20%" align="right"> <a accesskey="n" href="usingKDB.html">Next</a></td></tr></table><hr></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="kgdbreboot"></a>Run time parameter: kgdbreboot</h2></div></div></div><p> The kgdbreboot feature allows you to change how the debugger 2 deals with the reboot notification. You have 3 choices for the 3 behavior. The default behavior is always set to 0.</p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>echo -1 > /sys/module/debug_core/parameters/kgdbreboot</p><p>Ignore the reboot notification entirely.</p></li><li class="listitem"><p>echo 0 > /sys/module/debug_core/parameters/kgdbreboot</p><p>Send the detach message to any attached debugger client.</p></li><li class="listitem"><p>echo 1 > /sys/module/debug_core/parameters/kgdbreboot</p><p>Enter the debugger on reboot notify.</p></li></ol></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="kgdbcon.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="kgdbKernelArgs.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="usingKDB.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Kernel parameter: kgdbcon </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 4. Using kdb</td></tr></table></div></body></html> 4