Re: kexec?

From: Vivek Goyal
Date: Fri May 20 2005 - 05:54:00 EST


On Wed, May 18, 2005 at 09:58:03AM +0200, Borislav Petkov wrote:
> On Tuesday 17 May 2005 12:02, Vivek Goyal wrote:
> > On Tue, May 17, 2005 at 12:11:43AM +0200, Borislav Petkov wrote:
> > Hi,
> >
> > > <snip>
> > >
> > > > It will be nice if you could try kdump also on the similar lines.
> > >
> > > HI,
> > >
> > > After patching kexec-tools with the kdump patch here's what I did
> > > according to the test plan:
> > >
> > > 0. load kernel with crashkernel=64M@16M
> > > 1. kexec -p vmlinux --args-linux --append="root=/dev/hda1 init 1" (loads
> > > fine) 2. sysrq+c
> > > the system issues here : SysRq: Trigger a crashdump and hangs so that
> > > even SysRq is dead.
> >
> > Thanks for testing this out. So kexec on panic seems to be hanging. Are you
> > booted in first kernel with commandline option nmi_watchdog? We have a
> > known issue with nmi_watchdog and just now I have posted a patch.
>
> No, my kernel commandline options are: root=/dev/hda1 vga=0
> crashkernel=64M@16M


Boris, I used your config files and it is working for me. I disabled kgdb
from your first config and enabled serial console output in second config.


>
> > Could you please try loading the new kernel with --console-vga or
> > --console-serial option (depending on what console you are on) and post
> > the output.
>
> Same thing happens - total lockup.

Second kernel did not have serial console output enabled in config file. Is
it possible to test it out once again with serial console enabled. May be
disable kgdb in first kernel.

With --console-serial option enabled while loading panic kernel (kexec -p) I
am expecting at least following message on serial console after Sysrq-c.

"I am in purgatory".

It gives me some indicator whether purgatory code started execution or not.

Thanks
Vivek
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/