Zero size /proc/vmcore on ia64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Horms wrote:
> On Tue, Feb 13, 2007 at 09:08:06AM +0800, Zou, Nanhai wrote:
>>> -----Original Message-----
>>> From: linux-ia64-owner at
>>> [mailto:linux-ia64-owner at] On Behalf Of Bernhard Walle
>>> Sent: 2007?2?13? 5:50
>>> To: fastboot at; Linux-IA64
>>> Subject: Re: Zero size /proc/vmcore on ia64
>>> * Bernhard Walle <bwalle at> [2007-02-12 19:57]:
>>>> * Zou, Nanhai <nanhai.zou at> [2007-02-09 00:45]:
>>>>>  I have not implement serial print in purgatory code yet, see
>>>>>  comments in purgatory/arch/ia64/console-ia64.c However from your
>>>>>  print, I can see last 2 entries of efi mem map are corrupt.
>>>> I have the same problem (corrupted memory map entries), and the cause
>>>> was in kexec-tools, patch below. I'm not sure if the fix is right, at
>>>> least the problem is the uninitialised value of size. :)
>>> But that patch doesn't fix the zero-size problem, it just fixes the
>>> invalid EFI map problem. That patch (against kexec-tools, not against
>>> the kernel) fixes both.
>>> The problem is simply that the space for the core header doesn't
>>> occupy a EFI page.
> Thanks a lot for working that out. It does indeed seem to solve the
> problem, though I wonder adding an alignment parameter to
> crash_create_XXX_headers(), as per the patch below, is a better
> way to achive this.
> [snip]
>>   The kexec-tools version seems to be different.
> I believe that Bernhard is using the kexec-tools-testing tree.
> It would be totally awsome if you could check that code
> out some time and see if it works for you.

The kexec-tools-testing-20061214 does not work for SN platform.
I just pull down your git tree. Yeah, at least the
load_crashdump_segments() routine does not have the patch
Nan-hai posted last year to make kexec-tools working in SN.

I remembered there were at least three patches needed for SN.
I will compare those patches against your git tree and see
if those were the only things we need.

 - jay


[Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Linux Media]     [Linux Resources]

Powered by Linux