On Tue, Feb 13, 2007 at 11:48:36AM -0800, Jay Lan wrote: > Horms wrote: > > On Tue, Feb 13, 2007 at 09:08:06AM +0800, Zou, Nanhai wrote: > >>> -----Original Message----- > >>> From: [EMAIL PROTECTED] > >>> [mailto:[EMAIL PROTECTED] On Behalf Of Bernhard Walle > >>> Sent: 2007年2月13日 5:50 > >>> To: [email protected]; Linux-IA64 > >>> Subject: Re: [Fastboot] Zero size /proc/vmcore on ia64 > >>> > >>> * Bernhard Walle <[EMAIL PROTECTED]> [2007-02-12 19:57]: > >>>> * Zou, Nanhai <[EMAIL PROTECTED]> [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.
I'm really sorry if there are patches missing, I have tried pretty hard to find all the ones floating around on the list, but I guess that I missed some. If you could send any missing patches to me I'm happy to put them in the tree (assuming they are sensible :) -- Horms H: http://www.vergenet.net/~horms/ W: http://www.valinux.co.jp/en/ _______________________________________________ fastboot mailing list [email protected] https://lists.osdl.org/mailman/listinfo/fastboot
