lkml.org 
[lkml]   [2014]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [BUG] can't boot up: unable to handle kernel paging request at ffffffffff340003
Date

matt@console-pimps.org writes:

> On Wed, 12 Feb, at 09:15:03AM, Toshi Kani wrote:
>>
>> Hi Matt,
>>
>> Yes, I agree that the table size should be 0x38. However, ACPI spec
>> states that bit0 of status indicates if the boot image graphic is valid.
>> This bit is set to 0 (invalid) on the system. Can you check this bit
>> and return when invalid?
>
> Madper, could you try out this patch?
>
Thanks Matt. This patch fix the panic. And ioremap warning disappeared
after apply your patch.
> ---
>
> diff --git a/arch/x86/platform/efi/efi-bgrt.c b/arch/x86/platform/efi/efi-bgrt.c
> index 4df9591eadad..f15103dff4b4 100644
> --- a/arch/x86/platform/efi/efi-bgrt.c
> +++ b/arch/x86/platform/efi/efi-bgrt.c
> @@ -42,7 +42,7 @@ void __init efi_bgrt_init(void)
>
> if (bgrt_tab->header.length < sizeof(*bgrt_tab))
> return;
> - if (bgrt_tab->version != 1)
> + if (bgrt_tab->version != 1 || bgrt_tab->status != 1)
> return;
> if (bgrt_tab->image_type != 0 || !bgrt_tab->image_address)
> return;

--
Madper


\
 
 \ /
  Last update: 2014-02-13 15:21    [W:0.096 / U:0.556 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site