Skip to contentSkip to conversation

hang on early boot, numa init code stack overflow?

DISCUSSION Dave Jones 2 participants 2 messages Jan 22, 2014

lore
Share & tools
lore

Dave Jones

author
#0 lore raw

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

Dave

#1 lore raw
Quoted 17 lines · Dave Jones

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

Quoted 4 lines

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.

Quoted 4 lines

Dave