Re: WARNING: at arch/x86/kernel/smpboot.c:324 topology_sane()

From: Tang Chen
Date: Thu Feb 06 2014 - 05:03:20 EST


On 02/06/2014 05:44 PM, Fengguang Wu wrote:
Hi Tang,

We noticed the below warning and the first bad commit is

commit e8d1955258091e4c92d5a975ebd7fd8a98f5d30f
Author: Tang Chen<tangchen@xxxxxxxxxxxxxx>
AuthorDate: Fri Feb 22 16:33:44 2013 -0800
Commit: Linus Torvalds<torvalds@xxxxxxxxxxxxxxxxxxxx>
CommitDate: Sat Feb 23 17:50:14 2013 -0800

acpi, memory-hotplug: parse SRAT before memblock is ready

Hi Wu,

This patch has been droped a long time ago. It is not in the latest kernel.

Now the memory hotplug implementation is done in a different way.

Thanks.



arch/x86/kernel/setup.c | 13 +++++++++----
arch/x86/mm/numa.c | 6 ++++--
drivers/acpi/numa.c | 23 +++++++++++++----------
include/linux/acpi.h | 8 ++++++++
4 files changed, 34 insertions(+), 16 deletions(-)

[ 0.845092] smpboot: Booting Node 1, Processors #1
[ 0.864812] masked ExtINT on CPU#1
[ 0.868706] CPU1: Thermal LVT vector (0xfa) already installed
[ 0.875158] ------------[ cut here ]------------
[ 0.880330] WARNING: at arch/x86/kernel/smpboot.c:324 topology_sane.isra.2+0x6b/0x7c()
[ 0.891505] Hardware name: S2600CP
[ 0.895314] sched: CPU #1's llc-sibling CPU #0 is not on the same node! [node: 1 != 0]. Ignoring dependency.

[ 0.906295] Modules linked in:
[ 0.909927] Pid: 0, comm: swapper/1 Not tainted 3.8.0-06530-ge8d1955 #1
[ 0.917314] Call Trace:
[ 0.920055] [<ffffffff81970409>] ? topology_sane.isra.2+0x6b/0x7c
[ 0.926963] [<ffffffff810bcd5d>] warn_slowpath_common+0x81/0x99
[ 0.933667] [<ffffffff810bcdc1>] warn_slowpath_fmt+0x4c/0x4e
[ 0.940092] [<ffffffff8196b565>] ? calibrate_delay+0xae/0x4ba
[ 0.946612] [<ffffffff810508ea>] ? __mcheck_cpu_init_timer+0x4a/0x4f
[ 0.953799] [<ffffffff81970409>] topology_sane.isra.2+0x6b/0x7c
[ 0.960509] [<ffffffff819706e0>] set_cpu_sibling_map+0x28c/0x43a
[ 0.967308] [<ffffffff81970a3c>] start_secondary+0x1ae/0x276
[ 0.973742] ---[ end trace db722b2086ba6d20 ]---
[ 0.999234] OK
[ 1.001655] smpboot: Booting Node 0, Processors #2

Full dmesg and kconfig are attached.

Thanks,
Fengguang
--
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/