Re: Linux 3.9-rc1

From: Yinghai Lu
Date: Wed Mar 06 2013 - 15:00:31 EST


On Wed, Mar 6, 2013 at 11:54 AM, Henrik Rydberg <rydberg@xxxxxxxxxxx> wrote:
>> >> Can you check bootloader like grub.efi ?
>> >
>> > I checked, same story. I tried without EFI_STUB, no joy. I ran with
>> > and without nouveau, just in case. Without the patch, everything
>> > works. With the patch, nothing works, and no output at all.
>> >
>> > With a bit of luck, I could maybe get the first lines of output using
>> > grub.efi, but frankly I cannot remember if that ever worked on this
>> > machine.

Found one bug about real_end calculating, it should be PMD_SIZE align.
Otherwise in extreme case we could have less then 2M for the first step.
In your case is about only (1M - 32k) for first step.

Please try attached patch.

Thanks

Yinghai

Attachment: fix_real_end.patch
Description: Binary data