lkml.org 
[lkml]   [2011]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: Crash during vmcore_init
    From
    On Tue, Nov 15, 2011 at 4:14 PM, Dave Young <dyoung@redhat.com> wrote:
    >> On Mon, 2011-11-14 at 13:39 +0000, WANG Cong wrote:
    >>> On Tue, 11 Oct 2011 16:39:05 -0700, Tim Hartrick wrote:
    >>>
    >>>> Kexec,
    >>>>
    >>>> I have been experiencing the crash below on Ubuntu 10.04 running
    >>>> 2.6.32-34-server and 2.6.38-8-server as the crashkernel on X86_64. The
    >>>> tools are:
    >>>>
    >>>> kexec-tools 1:2.0.2-1ubuntu3
    >>>> makedumpfile        1.3.7-2
    >>>> kdump-tools 1.3.7-2
    >>>>
    >>>> I would be interested to know if this is a known problem and if so
    >>>> whether or not there is a patch in the pipeline to correct the problem.
    >>>>
    >>>> I will be happy to provide any other details that are required including
    >>>> debug builds if necessary.
    >>> ....
    >>>>
    >>>> [    1.322100] ioremap: invalid physical address db74000000000000 [
    >
    >
    > Searching db74000000000000 got several similar cases of this, all are
    > about per cpu invalid crash_notes address, is this one more?
    >

    Why it is per cpu crash_note?

    I bet Tim is using i386 machine, and on i386 we have,

    kexec/arch/i386/crashdump-x86.c

    static int get_crash_notes(int cpu, uint64_t *addr, uint64_t *len)
    {
    char crash_notes[PATH_MAX];
    char line[MAX_LINE];
    FILE *fp;
    unsigned long vaddr;
    int count;

    sprintf(crash_notes, "/sys/kernel/crash_notes");
    fp = fopen(crash_notes, "r");
    if (fp) {
    <...>
    } else
    return get_crash_notes_per_cpu(cpu, addr, len);
    }

    As long as we have .notes section, /sys/kernel/crash_notes exists.
    So I see no reason that is per cpu notes stuff.
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2011-11-15 14:49    [W:0.032 / U:390.652 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site