Hi,
Upcoming RHEL6 x86_64 kernel has CONFIG_NR_CPUS=4096. As the result,
analysing x86_64 live system is failing,
crash 4.0-8.7.2.fc11
Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Red Hat, Inc.
Copyright (C) 2004, 2005, 2006 IBM Corporation
Copyright (C) 1999-2006 Hewlett-Packard Co
Copyright (C) 2005, 2006 Fujitsu Limited
Copyright (C) 2006, 2007 VA Linux Systems Japan K.K.
Copyright (C) 2005 NEC Corporation
Copyright (C) 1999, 2002, 2007 Silicon Graphics, Inc.
Copyright (C) 1999, 2000, 2001, 2002 Mission Critical Linux, Inc.
This program is free software, covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it under
certain conditions. Enter "help copying" to see the conditions.
This program has absolutely no warranty. Enter "help warranty" for details.
NOTE: stdin: not a tty
GNU gdb 6.1
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu"...
WARNING: kernel-configured NR_CPUS (4096) greater than compiled-in NR_CPUS
(512)
crash: recompile crash with larger NR_CPUS
Signed-off-by: CAI Qian <caiqian(a)redhat.com>
--- defs.h.orig 2009-08-03 01:46:46.000000000 +0800
+++ defs.h 2009-08-03 01:47:02.000000000 +0800
@@ -64,7 +64,7 @@
#define NR_CPUS (256)
#endif
#ifdef X86_64
-#define NR_CPUS (512)
+#define NR_CPUS (4096)
#endif
#ifdef ALPHA
#define NR_CPUS (64)