Re: x86: kdump failure

From: Ingo Molnar
Date: Fri Jan 18 2008 - 04:02:41 EST



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