On 08/19/2011 12:13 PM, Guenter Roeck wrote:
On Fri, 2011-08-19 at 14:44 -0400, David Daney wrote:
Current Octeon systems do in fact have holes in their memory zones.
We need to select HOLES_IN_ZONE. If we do not, some memory
configurations will result in crashes at boot time like this:
CPU 6 Unable to handle kernel paging request at virtual address
0000000000700000, epc == ffffffff8118fe00, ra == ffffffff8118fe9c
Reported-by: Jason Kwon<firstname.lastname@example.org>
Signed-off-by: David Daney<email@example.com>
Cc: Jason Kwon<firstname.lastname@example.org>
Jason, can you test this patch?
Ralf, if Jason reports that it fixes his problem, it probably is
needed for 3.0 and 3.1.
Your patch fixes the problem for the board with CN38xx and 2GB RAM that
Tested-by: Guenter Roeck<email@example.com>
Thanks a lot for looking into this.
I applied the patch to 3.0.3 and was able to boot the CN58XX system
without any memory restrictions. The same patched kernel booted on
CN38XX ran into a different problem, which I'm looking into.