Re: BUG: unable to handle kernel paging request at 000000effd870020
From: Robin Holt
Date: Wed Jan 02 2013 - 16:09:53 EST
On Wed, Jan 02, 2013 at 01:13:43PM -0600, Nathan Zimmer wrote:
> On 01/02/2013 12:04 PM, H. Peter Anvin wrote:
> >On 01/02/2013 09:21 AM, Nathan Zimmer wrote:
> >>I am getting an early boot problem. It only happens on the larger of the
> >>machines I haven't seen it crop up on machines with more then 512 GB of ram.
> >>It shows in the latest linus kernel too.
> >>I am (wildly) guessing that what is happening is that the new_memmap that is
> >>being passed to bios is somehow placed incorrectly.
> >>I have come up with a workaround. By placing it the DMA area the issue goes
> >>away but that doesn't seem like a real fix.
> >What does your memory map look like?
We reported this a few times (Russ Anderson and I both). The problem is
at the point in boot where the efi_enter_virtual_mode callback is, there
is no identity mapping for most of memory. If the allocation happens
to be above the 512GB (or maybe something lower than that) point, the
BIOS is not able to address this via the physical address passed to it.
Russ' solution was to not remap at all. The interim workaround I have
been using is adding a GFP_DMA flag to the kmalloc. An earlier post I
made to the list was to pass in the va to the new memmap table.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/