From: Horms <horms@verge.net.au>
To: linux-ia64@vger.kernel.org
Subject: Re: 05e0caad3b7bd0d0fbeff980bca22f186241a501 breaks ia64 kdump
Date: Tue, 31 Oct 2006 03:29:17 +0000 [thread overview]
Message-ID: <20061031032917.GA15310@verge.net.au> (raw)
In-Reply-To: <20061026075951.GA30910@verge.net.au>
On Mon, Oct 30, 2006 at 11:49:00AM +0000, Mel Gorman wrote:
> On Mon, 30 Oct 2006, Horms wrote:
>
> >On Mon, Oct 30, 2006 at 06:11:26PM +0900, Horms wrote:
> >>On Fri, Oct 27, 2006 at 10:15:16AM +0100, Andy Whitcroft wrote:
> >>
> >>>A logical next step might be to bodge things such that we offer up the
> >>>kernel image as an active range and see if that sorts out the alignment
> >>>issue we are seeing, this will allow us to be certain it is the kernel
> >>>image in this area. Something like the following inserted into
> >>>register_memory() might work:
> >>>
> >>> add_active_range(0, code_resource.start >> PAGE_SHIFT,
> >>> data_resource.end >> PAGE_SHIFT);
> >>>
> >>>Not sure this is the right thing as a fix, but would help confirm the
> >>>theory.
> >>
> >>I will poke around with that. Though it will probably be tomorrow.
> >
> >Hi,
> >
> >I did try adding that line to the end of register_memory(),
> >however it didn't seem to alter the behaviour that I am seeing.
> >The log is below, including the EFI map, in case it is useful.
> >
>
> Judging from the output of early_node_map[], the range of memory the kdump
> kernel is in is still not being registered so the memmap is not initialised. In
> the EFI output, we see
>
> mem12: type=2, attr=0xb, range=[0x0000000010000000-0x00000000104b0000) (4MB)
> mem13: type=2, attr=0xb, range=[0x00000000104b0000-0x00000000104c0000) (0MB)
> mem14: type=2, attr=0xb, range=[0x00000000104c0000-0x0000000010760000) (2MB)
> mem15: type=7, attr=0xb, range=[0x0000000010760000-0x000000001ffe4000) (248MB)
>
> The first three ranges is where I suspect the kernel is and with "type=2",
> add_active_range() is not being called when walking the EFI map.
I will try and verify this for you.
> If this memory
> is marked correctly, it will get registered correctly.
>
> Try calling add_active_range(0, 16384, 16855) manually after the call to
> efi_memmap_walk(register_active_ranges, &nid) and see does the kernel boot.
I'll try that and get back to you.
--
Horms
H: http://www.vergenet.net/~horms/
W: http://www.valinux.co.jp/en/
next prev parent reply other threads:[~2006-10-31 3:29 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-26 7:59 05e0caad3b7bd0d0fbeff980bca22f186241a501 breaks ia64 kdump Horms
2006-10-26 13:27 ` Mel Gorman
2006-10-27 1:40 ` Zou, Nanhai
2006-10-27 2:30 ` Zou, Nanhai
2006-10-27 9:15 ` Andy Whitcroft
2006-10-30 0:55 ` Horms
2006-10-30 8:37 ` Horms
2006-10-30 9:11 ` Horms
2006-10-30 9:15 ` Horms
2006-10-30 9:25 ` Horms
2006-10-30 11:49 ` Mel Gorman
2006-10-31 3:29 ` Horms [this message]
2006-10-31 9:42 ` Mel Gorman
2006-11-02 8:24 ` Horms
2006-11-02 8:29 ` Horms
2006-11-02 9:32 ` Horms
2006-11-02 10:38 ` Zou, Nanhai
2006-11-02 16:26 ` Mel Gorman
2006-11-03 0:28 ` Zou, Nanhai
2006-11-03 1:19 ` Zou, Nanhai
2006-11-03 9:27 ` Mel Gorman
2006-11-03 10:06 ` Zou Nan hai
2006-11-03 10:23 ` Andy Whitcroft
2006-11-06 3:18 ` Horms
2006-11-06 3:26 ` Horms
2006-11-10 8:16 ` Zou, Nanhai
2006-11-10 11:47 ` Mel Gorman
2006-11-14 1:38 ` Zou, Nanhai
2006-11-14 23:42 ` Mel Gorman
2006-11-15 16:26 ` Mel Gorman
2006-11-16 6:26 ` Horms
2006-11-16 16:05 ` Mel Gorman
2006-11-20 1:40 ` Zou, Nanhai
2006-12-05 9:58 ` Christian Cotte-Barrot
2006-12-18 14:52 ` Mel Gorman
2006-12-19 0:28 ` Horms
2006-12-19 3:35 ` Horms
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061031032917.GA15310@verge.net.au \
--to=horms@verge.net.au \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox