kexec and kdb

Vivek Goyal vgoyal at in.ibm.com
Fri May 11 00:23:00 EDT 2007


On Thu, May 10, 2007 at 03:10:16PM -0700, Preetesh Parekh wrote:
> Hi,
> 
> I have a question about kexec and kdb. Please advice or point me to the
> right mailing list that can answer this.
> 
> I have a linux 2.6.20 kernel (patched with kdb patches) on i686 system.
> I have setup a crash kernel using "kexec -p" command which is working
> very well. I tested this by triggering a crash by using "echo c >
> /proc/sysrq-trigger" command. 
> 
> The requirement is to allow kdb to invoke first after the kernel crash
> which is not happening now (The system directly gets booted with the
> dump kernel). 
> 

crash_kexec() is the entry point for dump capture start process. I think
before that you need to put the KDB entry point so that upon a crash
control first goes to kdb.

Thanks
Vivek



More information about the kexec mailing list