From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: vibnwis <vibnwis@gmail.com>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Xenomai tests
Date: Wed, 23 Sep 2015 08:55:14 +0200 [thread overview]
Message-ID: <20150923065514.GG13976@hermes.click-hack.org> (raw)
In-Reply-To: <CAFkYNwYq2EnufFGzpXz5Pszzb_F284eP34PbJMcZV74S51_OAw@mail.gmail.com>
On Wed, Sep 23, 2015 at 06:29:25PM +1200, vibnwis wrote:
> On 23 September 2015 at 17:38, Gilles Chanteperdrix <
> gilles.chanteperdrix@xenomai.org> wrote:
>
> > On Wed, Sep 23, 2015 at 12:41:38PM +1200, vibnwis wrote:
> > > On 23 September 2015 at 05:44, Gilles Chanteperdrix <
> > > gilles.chanteperdrix@xenomai.org> wrote:
> > >
> > > > On Wed, Sep 23, 2015 at 12:32:11AM +1200, vibnwis wrote:
> > > > > By regenerating ./configure using autoreconf -fi, I managed to
> > compile
> > > > > xenomai-3-3.0-rc7 natively on PandaBoard. All things are put in
> > their own
> > > > > place by make install. However, when running latency, it produces
> > > > >
> > > > > > latency
> > > > > 0"000.000| BUG in low_init(): [main] mlockall: Cannot allocate memory
> > > >
> > > > You should either run the latency test as root, or have a look at
> > > > this page:
> > > >
> > http://xenomai.org/2014/06/running-a-xenomai-application-as-a-regular-user/
> > > >
> > > > By root I get this.
> > > root@arm:/usr/xenomai# latency
> > > 0"000.000| BUG in low_init(): [main] binding failed: Function not
> > > implemented
> > >
> > > However, the PATH has set the Lib
> >
> > Running as root was necessary to avoid the mlockall issue. The issue
> > you have now is different: the logs you sent show that the last
> > kernel you booted is not patched with Xenomai. The kernel is patched
> > with the I-pipe patch, but this is not sufficient, it is not
> > prepared with prepare-kernel.sh
> >
>
> I had thought of that too. However, the patch namely
> ipipe-core-3.18.20-arm-5.patch I used is meant for kernel 3.18.20. And
> there is no such patch available in the latest xenomai-3-3.0-rc7. ie under
> the kernel/Cobalt/arch/arm/patches/, there is such patch available for
> 3.18.20. With the observation, I concluded that
> ipipe-core-3.18.20-arm-5.patch would patch all is needed for xenomai to
> work. In addition, I checked in its make menuconfig, I did not see Cobalt
> feature, but I did see ipipe was integrated. Obviously now I know it was
> wrong. However, I still yet found a xenomai which has patches for 3.18.20
> kernel. Any comments?
You can use Xenomai 3.0-rc7 with the I-pipe patch for 3.18.20.
Simply pass the path to the patch to the prepare-kernel.sh --adeos
option.
> > Ok, when I say "please post the full kernel logs", I mean only the
> > logs of the kernel currently running, not the logs of previous
> > kernel runs, these are irrelevant. Anyway, I think you have
> > CONFG_CONTEX_TRACKING enabled, which does not work with
> > CONFIG_IPIPE, at least on ARM. Could you post you kernel
> > configuration to be sure?
> >
>
> My apologies, there were two kern.log and kern.log.1. I had taken the wrong
> perhaps. To make sure I got it right, I deleted it and reboot the system.
> Attached is the newly created kern.log
It is simpler to send the output of the "dmesg" command. Anyway, now
that we know what the problem is, you do not need to send the logs
again.
--
Gilles.
https://click-hack.org
next prev parent reply other threads:[~2015-09-23 6:55 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-21 12:15 [Xenomai] Xenomai tests vibnwis
2015-09-21 18:54 ` Lennart Sorensen
2015-09-21 19:41 ` Gilles Chanteperdrix
2015-09-21 22:00 ` Lennart Sorensen
2015-09-21 22:17 ` Gilles Chanteperdrix
2015-09-22 6:44 ` Philippe Gerum
2015-09-22 12:32 ` vibnwis
2015-09-22 17:44 ` Gilles Chanteperdrix
2015-09-23 0:41 ` vibnwis
2015-09-23 1:21 ` vibnwis
2015-09-23 5:43 ` Gilles Chanteperdrix
2015-09-23 5:54 ` Gilles Chanteperdrix
2015-09-23 6:33 ` vibnwis
2015-09-23 6:56 ` Gilles Chanteperdrix
2015-09-23 10:38 ` vibnwis
2015-09-23 11:58 ` Gilles Chanteperdrix
2015-09-23 15:36 ` vibnwis
2015-09-23 5:38 ` Gilles Chanteperdrix
2015-09-23 6:29 ` vibnwis
2015-09-23 6:55 ` Gilles Chanteperdrix [this message]
2015-09-23 12:52 ` vibnwis
2015-09-23 18:25 ` Gilles Chanteperdrix
2015-09-23 7:06 ` Gilles Chanteperdrix
2015-09-23 11:29 ` vibnwis
2015-09-23 11:59 ` Gilles Chanteperdrix
2015-09-23 12:42 ` vibnwis
2015-09-23 13:26 ` vibnwis
2015-09-23 15:34 ` Lennart Sorensen
2015-09-23 16:11 ` vibnwis
2015-09-23 16:12 ` Lennart Sorensen
2015-09-24 23:55 ` vibnwis
2015-09-25 14:09 ` Lennart Sorensen
2015-09-27 12:19 ` vibnwis
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=20150923065514.GG13976@hermes.click-hack.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=vibnwis@gmail.com \
--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.