Re: 2.6.28-rc9 panics with crashkernel=256M while booting

From: Chandru
Date: Mon Jan 19 2009 - 03:12:21 EST


On Friday 16 January 2009 23:22:57 Dave Hansen wrote:
> Just looking at it, that calculation is OK. But, there was one in your
> dmesg that looked a page too long, like page 0x1001 instead of 0x1000.
> I'd find out how that happened.

That is a result of PFN_UP() in reserve_bootmem_node() for which we hit the
BUG_ON() eventually. Prior to calling reserve_bootmem_node() we have...

node_ar.end_pfn = node->node_end_pfn = PFN_DOWN(physbase+reserve_size).

Hence a PFN_UP() will raise the value of 'end'. The kernel has
CONFIG_PPC_64K_PAGES enabled in the config.

Chandru
--
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/