lkml.org 
[lkml]   [2011]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: 2.6.39.1 immediately reboots/resets on EFI system
    On 06/06/2011 06:41 PM, Matthew Garrett wrote:
    > On Mon, Jun 06, 2011 at 05:19:17PM -0700, Yinghai Lu wrote:
    >
    >> assume EFI in ram is not page-aligned?
    >
    > They'll be 4K aligned at least.
    >


    can you get boot log with "memblock=debug"?

    wonder if

    diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
    index 4be9b39..c6724e4 100644 (file)
    --- a/arch/x86/kernel/setup.c
    +++ b/arch/x86/kernel/setup.c
    @@ -912,6 +912,13 @@ void __init setup_arch(char **cmdline_p)
    memblock.current_limit = get_max_mapped();
    memblock_x86_fill();

    + /*
    + * The EFI specification says that boot service code won't be called
    + * after ExitBootServices(). This is, in fact, a lie.
    + */
    + if (efi_enabled)
    + efi_reserve_boot_services(

    wonder if double memblock ram array in memblock_x86_fill() that is overlapping with boot services.

    Thanks

    Yinghai

    \
     
     \ /
      Last update: 2011-06-07 04:07    [W:4.295 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site