Re: x86: kdump failure

From: Subrata Modak
Date: Fri Jan 18 2008 - 04:29:43 EST


On Fri, 2008-01-18 at 10:02 +0100, Ingo Molnar wrote:
> * Hiroshi Shimamoto <h-shimamoto@xxxxxxxxxxxxx> wrote:
>
> > kdump needs ELF_CORE_COPY_REGS in crash_save_cpu(). This lack of the
> > macro causes the following BUG.
> >
> > SysRq : Trigger a crashdump
> > ------------[ cut here ]------------
> > kernel BUG at include/linux/elfcore.h:105!
> > invalid opcode: 0000 [1] PREEMPT SMP
>
> thanks, applied.
>
> > +/*
> > + * regs is struct pt_regs, pr_reg is elf_gregset_t (which is
> > + * now struct_user_regs, they are different)
> > + */
> > +
> > +#define ELF_CORE_COPY_REGS(pr_reg, regs) do { \
>
> this macro got removed by the regset patches. Roland, any ideas?
>
> Ingo
Hi Ingo/Hiroshi Shimamoto,

There also has been a huge update on ltp-kdump test suite. You can find
the same @ http://ltp.cvs.sourceforge.net/ltp/ltp/testcases/kdump/,

--Subrata
> --
> 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/

--
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/