Re: [PATCH Bug fix] acpi, movablemem_map: node0 should always beunhotpluggable when using SRAT.

From: David Rientjes
Date: Wed Jan 30 2013 - 17:48:20 EST


On Wed, 30 Jan 2013, Tang Chen wrote:

> > Exactly, there is a node 0 but it includes no online memory (and that
> > should be the case as if it was solely hotpluggable memory) at the time of
> > boot. The sysfs interfaces only get added if the memory is onlined later.
>
> OK, you mean you have only node1 at first and no node0 interface, right?
> If so, then this patch is wrong. :)
>

Not usually unless I modify my SRAT or I start pulling DIMMs, but yes,
I've booted the kernel many times in the past with no node 0 online. As
far as I know, there's no special casing that is needed for node 0 to
assume it's online and I've tried to fix up places where that assumption
has been made. I'm sure that node_online_map must include at least one
online node, obviously, but there should be no requirement that it be node
0.

> But you mean physical address 0x0 is on your node1, right? Otherwise, how
> could
> the kernel be loaded ?
>

Yes, the online pxms all point to nodes that do not have the node id of 0.

Is it possible to try earlyprintk and get a serial console connected or
reproduce it locally to find out where the problem is?
--
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/