lkml.org 
[lkml]   [2008]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: x86: kdump failure

    * Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> 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


    \
     
     \ /
      Last update: 2008-01-18 10:05    [W:6.625 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site