[Crash-utility] [PATCH] Fix kernel-configured NR_CPUS (4096) greater than compiled-in NR_CPUS (512)

Dave Anderson anderson at redhat.com
Mon Aug 3 18:20:59 UTC 2009


----- "CAI Qian" <caiqian at redhat.com> wrote:

> Hi,
> 
> Upcoming RHEL6 x86_64 kernel has CONFIG_NR_CPUS=4096. As the result,
> analysing x86_64 live system is failing,
> 
...
> 
> WARNING: kernel-configured NR_CPUS (4096) greater than compiled-in NR_CPUS (512)
> 
> crash: recompile crash with larger NR_CPUS

Queued for the next release.

Thanks,
  Dave


> Signed-off-by: CAI Qian <caiqian at 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)
> 




More information about the Crash-utility mailing list