* [Xenomai-help] CONFIG_NR_CPUS is too large, please lower it.
@ 2010-02-11 8:09 Kim Chuan Lim
2010-02-11 8:12 ` Gilles Chanteperdrix
0 siblings, 1 reply; 3+ messages in thread
From: Kim Chuan Lim @ 2010-02-11 8:09 UTC (permalink / raw)
To: xenomai
May i know how to solve the following problem?
In file included from include/linux/sched.h:64,
from arch/x86/kernel/asm-offsets_32.c:8,
from arch/x86/kernel/asm-offsets.c:2:
include/linux/ipipe.h:76:2: error: #error "CONFIG_NR_CPUS is too
large, please lower it."
make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
the current CONFIG_NR_CPUS is set to 2 in .config file.
The following is my proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Pentium(R) 4 CPU 3.00GHz
stepping : 10
cpu MHz : 2400.000
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat
pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm
constant_tsc pebs bts pni dtes64 monitor ds_cpl est cid cx16 xtpr
lahf_lm
bogomips : 6000.64
clflush size : 64
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Pentium(R) 4 CPU 3.00GHz
stepping : 10
cpu MHz : 2400.000
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
apicid : 1
initial apicid : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat
pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm
constant_tsc pebs bts pni dtes64 monitor ds_cpl est cid cx16 xtpr
lahf_lm
bogomips : 6000.57
clflush size : 64
power management:
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-help] CONFIG_NR_CPUS is too large, please lower it.
2010-02-11 8:09 [Xenomai-help] CONFIG_NR_CPUS is too large, please lower it Kim Chuan Lim
@ 2010-02-11 8:12 ` Gilles Chanteperdrix
2010-02-11 8:31 ` Kim Chuan Lim
0 siblings, 1 reply; 3+ messages in thread
From: Gilles Chanteperdrix @ 2010-02-11 8:12 UTC (permalink / raw)
To: Kim Chuan Lim; +Cc: xenomai
Kim Chuan Lim wrote:
> May i know how to solve the following problem?
Browse the mailing list archives.
--
Gilles.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-help] CONFIG_NR_CPUS is too large, please lower it.
2010-02-11 8:12 ` Gilles Chanteperdrix
@ 2010-02-11 8:31 ` Kim Chuan Lim
0 siblings, 0 replies; 3+ messages in thread
From: Kim Chuan Lim @ 2010-02-11 8:31 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: xenomai
google site:https://mail.gna.org/public/xenomai-help CONFIG_NR_CPUS
from the first result
https://mail.gna.org/public/xenomai-help/2009-09/msg00098.html
"Hello,
I finally had the time to investigate more and traced back the error
to a variable related to the number of IRQs on the system. I should
have previously mentioned that this is a 64-bit system by the way, so
I found several related #ifdefs in irq_vector.h and apicnum.h.
Anyways, I got the kernel to compile properly after disabling the flag
CONFIG_SPARSE_IRQ. This made the CONFIG_NR_CPUS error go away, even
after setting it back to 64. Also, it booted successfully, so I am on
to the next stage of my project.
Although, admittedly I have no idea what the potential consequences of
turning off CONFIG_SPARSE_IRQ could be.
thanks,
Steve"
On Thu, Feb 11, 2010 at 4:12 PM, Gilles Chanteperdrix
<gilles.chanteperdrix@xenomai.org> wrote:
>
> Kim Chuan Lim wrote:
> > May i know how to solve the following problem?
>
> Browse the mailing list archives.
>
> --
> Gilles.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-02-11 8:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-11 8:09 [Xenomai-help] CONFIG_NR_CPUS is too large, please lower it Kim Chuan Lim
2010-02-11 8:12 ` Gilles Chanteperdrix
2010-02-11 8:31 ` Kim Chuan Lim
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.