From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Gajamohan Mohanarajah <gajamohan.m@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] switchtest/xeon-test fails: Help needed (Ubuntu/Core i7)
Date: Fri, 24 Sep 2010 22:31:16 +0200 [thread overview]
Message-ID: <4C9D0A94.9030501@domain.hid> (raw)
In-Reply-To: <AANLkTimFXFr48DgXSj=53pNjAQB7w+mjOwwuEYQXc3KV@mail.gmail.com>
Gajamohan Mohanarajah wrote:
> Hi,
>
> I'm am new to Xenomai and would appreciate any help / hint on solving
> the following problems.
> 1. My switchtest fails with ioctl(RTTST_RTIOC_SWTEST_CREATE_KTASK):
> Cannot allocate memory.
> If increasing CONFIG_XENO_OPT_SYS_HEAPSZ is the solution what is the
> recommended value ? (1024k did not work)
> (FYI: Memory 8GB )
You probably need to increase XENO_OPT_SYS_STACKPOOLSZ. The size
required is proportional to the number of cpus, so with 8 cpus, you
probably need a lot of room.
> 2. xeno-test fails with [something died a XXXX or ...]
Forget about xeno-test, it is currently broken.
> 3. I am compiling the kernel using [fakeroot make-kpkg --initrd
> --append-to-version=-xenomaiflv kernel-image kernel-headers
> --overlay-dir=$HOME/kernel-package]. After changing just the
> CONFIG_XENO_OPT_SYS_HEAPSZ via [make menuconfig], when I issue the the
> above command, the kernel goes on to a full recompile which takes 2
> hours :(. Shouldn't it compile just the relevent parts ? (FYI i am not
> using [make-kpkg clean]). Please enlighten me on this.
That is because your distro uses rules which date back from 2.4, where
make clean was necessary to be sure that everything was taken into
account. Maybe there is some hidden flag to these tools in order to
avoid the "make clean"? Have you tried "man make-kpkg"?
You can also configure your kernel to only keep what is needed for your
real-time system. In any case, please make sure to take a look at:
http://www.xenomai.org/index.php/Configuring_x86_kernels
--
Gilles.
next prev parent reply other threads:[~2010-09-24 20:31 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-24 20:05 [Xenomai-help] switchtest/xeon-test fails: Help needed (Ubuntu/Core i7) Gajamohan Mohanarajah
2010-09-24 20:31 ` Gilles Chanteperdrix [this message]
2010-09-24 22:15 ` Gajamohan Mohanarajah
2010-09-25 8:32 ` Gilles Chanteperdrix
2010-09-25 21:20 ` Gajamohan Mohanarajah
2010-09-25 21:39 ` Gilles Chanteperdrix
2010-09-26 11:37 ` Gajamohan Mohanarajah
2010-09-26 11:41 ` Gilles Chanteperdrix
2010-09-26 12:38 ` Gajamohan Mohanarajah
2010-09-26 12:42 ` Gilles Chanteperdrix
2010-09-27 9:29 ` Gajamohan Mohanarajah
2010-09-27 14:11 ` Gilles Chanteperdrix
2010-09-27 17:06 ` Gajamohan Mohanarajah
2010-09-27 17:23 ` Gilles Chanteperdrix
2010-09-27 20:54 ` Gajamohan Mohanarajah
2010-09-27 21:00 ` Gilles Chanteperdrix
2010-09-28 10:39 ` Gajamohan Mohanarajah
2010-09-28 11:09 ` Gilles Chanteperdrix
2010-09-26 12:43 ` Gilles Chanteperdrix
2010-09-24 21:21 ` Stefan Kisdaroczi
2010-09-24 21:24 ` Gilles Chanteperdrix
2010-09-24 22:08 ` Stefan Kisdaroczi
2010-09-24 22:11 ` Gilles Chanteperdrix
2010-09-25 21:40 ` Gilles Chanteperdrix
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=4C9D0A94.9030501@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=gajamohan.m@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.