[Fwd: [PATCH] PPC64: large INITRD causes kernel not to boot]

Mark Bellon mbellon at mvista.com
Tue Aug 9 04:33:17 EST 2005


> Please send patches like these to linuxppc64-dev at ozlabs.org, which is
> the architecture list for ppc64. You might want to coordinate your work
> with some of the other people working on initrd/yaboot updates at the
> moment, Olaf Hering and others.

In PPC64 there are number of problems in arch/ppc64/boot/main.c that 
prevent a kernel from making use of a large (greater than ~16MB) INITRD. 
This is 64 bit architecture and really large INITRD images should be 
possible.

Simply put the existing code has a fixed reservation (claim) address and 
once the kernel plus initrd image are large enough to pass this address 
all sorts of bad things occur. The fix is the dynamically establish the 
first claim address above the loaded kernel plus initrd (plus some 
"padding" and rounding)

mark



Signed-off-by: Mark Bellon <mbellon at mvista.com>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: common_initrd.patch
Type: text/x-patch
Size: 2451 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc64-dev/attachments/20050808/6f9796ed/attachment.bin 


More information about the Linuxppc64-dev mailing list