linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* hang on early boot, numa init code stack overflow?
@ 2014-01-22 16:32 Dave Jones
  2014-01-22 23:39 ` Tang Chen
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Jones @ 2014-01-22 16:32 UTC (permalink / raw)
  To: Linux Kernel; +Cc: Linus Torvalds, tangchen

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: hang on early boot, numa init code stack overflow?
  2014-01-22 16:32 hang on early boot, numa init code stack overflow? Dave Jones
@ 2014-01-22 23:39 ` Tang Chen
  0 siblings, 0 replies; 2+ messages in thread
From: Tang Chen @ 2014-01-22 23:39 UTC (permalink / raw)
  To: Dave Jones, Linux Kernel, Linus Torvalds

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-22 23:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-22 16:32 hang on early boot, numa init code stack overflow? Dave Jones
2014-01-22 23:39 ` Tang Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).