Re: hang on early boot, numa init code stack overflow?

From: Tang Chen
Date: Wed Jan 22 2014 - 18:36:54 EST


On 01/23/2014 12:32 AM, Dave Jones wrote:
I'm seeing a hang during boot on my test box running the current tree,
It doesn't always happen, perhaps one in five boots.
I managed to get a partial trace after booting with earlyprintk=vga

dump_stack
panic
? numa_clear_kernel_node_hotplug
__stack_chk_fail
numa_clear_kernel_node_hotplug
? memblock_search_pfn_nid
? __early_pfn_to_nid
numa_init
x86_numa_init
initmem_init
setup_arch
start_kernel

Looks like something overflowed the stack.
This is just a quad-core i5, nothing fancy numa-wise.

This code was added in a0acda917284183f9b71e2d08b0aa0aea722b321

Will send a patch to fix it today.

Thanks.


Dave


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