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 09:06:15 +0200 [thread overview]
Message-ID: <20150923070615.GI13976@hermes.click-hack.org> (raw)
In-Reply-To: <20150923053843.GD13976@hermes.click-hack.org>
On Wed, Sep 23, 2015 at 07:38:43AM +0200, Gilles Chanteperdrix 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
>
> >
> > root@arm:/usr/xenomai# echo $PATH
> > /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/xenomai/bin:/usr/xenomai/lib:/usr/xenomai/include
> >
> >
> > >
> > > > > dmesg | grep -i ipipe
> > > > [ 0.000000] Linux version 3.18.20-ipipe (qws@qws-MacBookPro) (gcc
> > > > version 4.9.2 (Ubuntu/Linaro 4.9.2-10ubuntu10) ) #1 SMP Tue Sep 22
> > > 21:04:49
> > > > NZST 2015
> > > > [ 0.623763] 3.18.20-ipipe #1 Not tainted
> > > > [ 0.623994] [<c00d3094>] __ipipe_do_sync_stage+0x288/0x2d0
> > > > [ 0.624011] [<c0008634>] __ipipe_grab_irq+0x5c/0x70
> > > > [ 0.624321] CPU: 1 PID: 22 Comm: kblockd Not tainted 3.18.20-ipipe #1
> > > > [ 0.624479] [<c00843b4>] (trace_hardirqs_on_caller) from [<c05da7f4>]
> > > > (__ipipe_fast_svc_irq_exit+0x4/0x18)
> > > > [ 0.624504] [<c05da7f4>] (__ipipe_fast_svc_irq_exit) from [<c001aacc>]
> > > > (ipip_test_and_stall_root+0x2c/0x3c)
> > > > [ 0.624524] [<c001aacc>] (ipipe_test_and_stall_root) from [<c0086e58>]
> > > > (lock_acquire+0x44/0x108)
> > > > [ 0.728394] Switched to clocksource ipipe_tsc
> > > > [ 2.464800] usb usb1: Manufacturer: Linux 3.18.20-ipipe ehci_hcd
> > > > [ 6.364516] usb usb2: Manufacturer: Linux 3.18.20-ipipe musb-hcd
> > >
> > > Please post the full kernel logs. You likely enabled a kernel
> > > configuration option which has an issue with CONFIG_IPIPE
> > >
> > Please find it in attachment. Many thanks (very grateful indeed)
>
> 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?
The problematic option is CONFIG_TRACE_IRQFLAGS, not
CONFIG_CONTEXT_TRACKING, and you have it enabled, since without it,
you would not be able to enable CONFIG_LOCKDEP. Please disable
CONFIG_TRACE_IRQFLAGS. You will need to disable all the options
depending on that option, such as CONFIG_LOCKDEP.
--
Gilles.
https://click-hack.org
next prev parent reply other threads:[~2015-09-23 7:06 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
2015-09-23 12:52 ` vibnwis
2015-09-23 18:25 ` Gilles Chanteperdrix
2015-09-23 7:06 ` Gilles Chanteperdrix [this message]
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=20150923070615.GI13976@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.