[PATCH] kexec-tools: powerpc: dt_reserve doesn't allocate enough memory for large properties

Simon Horman horms at verge.net.au
Mon Jul 25 07:45:21 EDT 2011


On Mon, Jul 25, 2011 at 05:35:42PM +1000, Anton Blanchard wrote:
> 
> On a large ppc64 box I got the following error from kexec -l: 
> 
> unrecoverable error: could not read "/proc/device-tree/ibm,dynamic-reconfiguration-memory/ibm,dynamic-memory": Bad address
> 
> dt_reserve was assuming a property was never larger than
> INIT_TREE_WORDS (65536), but on this box ibm,dynamic-memory is
> 119995 words.
> 
> Allocate INIT_TREE_WORDS or the number of words requested, whatever

Thanks, applied.



More information about the kexec mailing list