From: Jan Kiszka <jan.kiszka@domain.hid>
To: Stephen Sinclair <radarsat1@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] CONFIG_NR_CPUS is too large
Date: Fri, 11 Sep 2009 22:03:52 +0200 [thread overview]
Message-ID: <4AAAAD28.8060107@domain.hid> (raw)
In-Reply-To: <9b3e2dc20909111201m1b553420k5436a2da179e3279@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 1461 bytes --]
Stephen Sinclair wrote:
> Hello,
>
> I am trying to install Xenomai. After patching the kernel (I have
> tried with 2.6.29.5 and 2.6.30.5), I get the following error message:
>
>
> $ make
> scripts/kconfig/conf -s arch/x86/Kconfig
> CHK include/linux/version.h
> CHK include/linux/utsrelease.h
> SYMLINK include/asm -> include/asm-x86
> CC arch/x86/kernel/asm-offsets.s
> In file included from include/linux/sched.h:62,
> from arch/x86/kernel/asm-offsets_64.c:8,
> from arch/x86/kernel/asm-offsets.c:4:
> 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 CONFIG_NR_CPUS config variable is set to the default 64, but I
> still get this error if I lower it to 4 or 2. (This is a dual-core
> machine, AMD X2.)
>
> I tried commenting-out this error, just to see what would happen, but
> I get an oops on boot. Setting the boot flag earlyprintk=vga shows a
> backtrace, and the crash happens immediately after
> __ipipe_enable_irqdesc, which is in ipipe_virtualize_irq.
>
> I don't know how to proceed from here, does anyone know why
> CONFIG_NR_CPUS is triggering this error?
Could you post the .config that fails to build?
Yeah, there is a limitation, normally 96 (IIRC). 2 or 4 CPUs is
definitely far below it.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]
next prev parent reply other threads:[~2009-09-11 20:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-11 19:01 [Xenomai-help] CONFIG_NR_CPUS is too large Stephen Sinclair
2009-09-11 20:03 ` Jan Kiszka [this message]
2009-09-17 17:41 ` Stephen Sinclair
2010-01-28 16:20 ` Brian Zenowich
2010-01-29 20:47 ` Philippe Gerum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AAAAD28.8060107@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=radarsat1@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.