Re: 2.6.39.1 immediately reboots/resets on EFI system

From: Jim Bos
Date: Sun Jun 05 2011 - 06:54:52 EST


On 06/03/2011 04:46 PM, Matthew Garrett wrote:
> On Fri, Jun 03, 2011 at 04:26:27PM +0200, Jim Bos wrote:
>> On 06/03/2011 03:33 PM, Matthew Garrett wrote:
>>> ? You've got 143 boot services/code regions, which is more than I'd
>>> tested against, so I'm unsure whether we're overflowing something here.
>>>
>>
>> That's seems to be the only EFI patch in 2.6.39.1 and I effectively
>> removed by =not= applying (skipping) the parts of the 2.6.39.1 patch to
>> above 3 files.
>> So yes removing "x86, efi: Retain boot service code until after
>> switching to virtual mode" indeed fixes the problem for me.
>
> Ok, thanks. I'll look into that. Might be best to drop it from stable
> for the moment until I've made sure it works on machines with excessive
> maps.
>

Matthew,

Another datapoint, just tried a 3.0.0-rc1 kernel, good news is that it
boots. Maybe the "x86, efi: Merge contiguous memory regions of the same
type" helps with these large number of maps?

However, there seems to be something else wrong as I get several "BUG:
Bad page state in process swapper pfn:00000" which have efi functions
on the stack, see dmesg output.

Jim

Attachment: dmesg-3.0.0-rc1-EFI-bad_pages.gz
Description: application/gzip