From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: GP Orcullo <kinsamanka@gmail.com>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] ODROID-U3 porting problems
Date: Thu, 28 Aug 2014 20:34:49 +0200 [thread overview]
Message-ID: <53FF7649.30907@xenomai.org> (raw)
In-Reply-To: <CACreCVJ+2nEakHkkZgL=c+u7rW8S2tY-3qTWyw=AtkCH39n=rw@mail.gmail.com>
On 08/28/2014 07:05 PM, GP Orcullo wrote:
> On Fri, Aug 29, 2014 at 12:40 AM, Gilles Chanteperdrix
> <gilles.chanteperdrix@xenomai.org> wrote:
>> On 08/28/2014 06:34 PM, GP Orcullo wrote:
>>> So far it passes all the regression tests except for the switchtest.
>>
>> What error do you get with switchtest ? If pthread_create fails with
>> resource unavailable error, see:
>>
>> http://xenomai.org/troubleshooting-a-dual-kernel-configuration/#pthread_create_Resource_temporarily_unavailable
>>
>> If this is another error, please post the error message and kernel log here.
>>
>> --
>> Gilles.
>
> Running "switchtest rtk0" fails with "Xenomai: suspending kernel
> thread f00bb710 ('rtk1/0') at 0xc0020c8c after exception #0x0"
>
> The address is traced to the I-pipe timer interrupt call-back. I think
> I maybe missing some spinlocks somewhere.
If you are using per-cpu hardware timers, no spinlock is needed, since
each cpu accesses its own timer. If you are using the same (hardware)
timer on several cpus, then it is not going to work anyway, Xenomai
wants one hardware timer per cpu.
--
Gilles.
next prev parent reply other threads:[~2014-08-28 18:34 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-27 13:49 [Xenomai] ODROID-U3 porting problems GP Orcullo
2014-08-27 15:45 ` Gilles Chanteperdrix
2014-08-27 17:14 ` Gilles Chanteperdrix
2014-08-28 13:45 ` GP Orcullo
2014-08-28 13:51 ` Gilles Chanteperdrix
2014-08-28 15:12 ` Poole Jr, Donald R.
2014-08-28 16:34 ` GP Orcullo
2014-08-28 16:40 ` Gilles Chanteperdrix
2014-08-28 17:05 ` GP Orcullo
2014-08-28 18:34 ` Gilles Chanteperdrix [this message]
2014-08-30 0:17 ` GP Orcullo
2014-08-30 1:11 ` Gilles Chanteperdrix
2014-08-30 2:22 ` Gilles Chanteperdrix
2014-08-30 2:40 ` GP Orcullo
2014-08-29 23:13 ` Alexandre Donisete Bensi
2014-08-30 0:50 ` GP Orcullo
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=53FF7649.30907@xenomai.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=kinsamanka@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.