Re: Loading initrd above 4G causes freeze on boot
From: Mantas MikulÄnas
Date: Wed Aug 20 2014 - 15:05:27 EST
On Wed, Aug 20, 2014 at 8:05 PM, Matt Fleming <matt@xxxxxxxxxxxxxxxxx> wrote:
> On Wed, 13 Aug, at 07:44:49PM, Matt Fleming wrote:
>>
>> At this point, I think modifying the max address is the best way to
>> debug this further, and figure out what address causes the hang.
>
> Mantas, did you manage to get to the bottom of this issue?
I experimented with some things (like setting chunk size to a few kB
to see if it hangs earlier or only at the very end; etc.), and finally
found out that it stops freezing if I pad the initrd file to a
multiple of 512 bytes :/ That is, 5684268 bytes will freeze, 5684736
bytes will not.
...In other words, seems like it cannot read chunks that aren't
multiples of 512 into a location above 4 GB. Or something like that...
--
Mantas MikulÄnas <grawity@xxxxxxxxx>
--
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/