All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Arnaud Degroote <arnaud.degroote@isae.fr>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Support of Beagleboard xm rev C on 3.14-ipipe
Date: Mon, 30 Jun 2014 14:07:59 +0200	[thread overview]
Message-ID: <53B1531F.4040504@xenomai.org> (raw)
In-Reply-To: <20140630120135.GA4552@dmia-degroote.isae.fr>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/30/2014 02:01 PM, Arnaud Degroote wrote:
> On 30/Jun - 12:16, Gilles Chanteperdrix wrote:
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>> 
>> On 06/30/2014 11:13 AM, Arnaud Degroote wrote:
>>> On 30/Jun - 10:59, Gilles Chanteperdrix wrote:
>>>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>>>> 
>>>> On 06/30/2014 10:26 AM, Arnaud Degroote wrote:
>>>>> On 27/Jun - 18:27, Gilles Chanteperdrix wrote:
>>>>>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>>>>>> 
>>>>>> On 06/27/2014 09:22 AM, Arnaud Degroote wrote:
>>>>>>> On 26/Jun - 19:27, Gilles Chanteperdrix wrote:
>>>>>>>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>>>>>>>> 
>>>>>>>> On 06/26/2014 01:19 PM, Arnaud Degroote wrote:
>>>>>>>>> On 26/Jun - 13:08, Gilles Chanteperdrix wrote:
>>>>>>>>>> switchtest is another story. Does switchtest
>>>>>>>>>> hang, or does the system completely freeze?
>>>>>>>>> 
>>>>>>>>> switchtest hangs, but the system is still
>>>>>>>>> responsive. I can ctrl-c it and restart it. On C-c,
>>>>>>>>> it prints "properly" a number of ctx switches done
>>>>>>>>> (which is far from other "normal" values).
>>>>>>>>> 
>>>>>>>> You mean it is as if switchtest had continued
>>>>>>>> switching contexts but had not printed anything? Do
>>>>>>>> you see counters incrementing in /proc/xenomai/stat
>>>>>>>> ?
>>>>>>> 
>>>>>>> I just meant that switchtest seems to respond properly
>>>>>>> to C-c, even if it does not progress. But counters from
>>>>>>>  /proc/xenomai/stat stops incrementing at some point.
>>>>>>> 
>>>>> 
>>>>> Related to my previous mail, I'm able to reduce threadspec
>>>>> to
>>>>> 
>>>>> rtk0 rtk0  rtup0
>>>>> 
>>>>> or
>>>>> 
>>>>> rtk0  rtup0 rtup0
>>>>> 
>>>>> Both demonstrates some quick hang. Other pattern may block
>>>>> too, I don't try the full combinatorial.
>>>>> 
>>>> Could you test rtk0 alone?
>>>> 
>>>> It would mean there is an issue with the context switch. Are
>>>> you running with the xenomai git?
>>> 
>>> It fails with 'rtk0 rtk0 rtk0' (really quickly). With 'rtk0
>>> rtk0' it seems to work.
>>> 
>>> I'm using xenomai-2.6 git 
>>> (4eb593df1eb89a47f1bc3423cea44c345d22ee3e).
>>> 
>> Ok, I just tested your configuration on my omap3 board, and
>> despite the config having a lot of stuff enabled that you
>> probably do not want, and may even cause issues (like memory
>> compaction), I did not observe any problem. I only had to enable
>> CONFIG_PINCTRL_SINGLE to have the serial console.
> 
> I can also confirm that the image (kernel + userland) works
> perfectly on my gumstix overo (I just changed uboot).
> 
> CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c53c7d 
> Machine: Gumstix Overo OMAP3430/3530 ES3.1 (l2cache iva sgx neon
> isp )
> 
> 
> (except the two oops described previously in this tread).

Which two oops?

> 
> So, it may be related to this specific board ?
> 
> CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d 
> Machine: OMAP3 Beagle Board OMAP3630 ES1.2 (l2cache iva sgx neon
> isp 192mhz_clk )

Have you checked that the exact same kernel configuration, only
without CONFIG_IPIPE and CONFIG_XENOMAI runs correctly under load?

- -- 
                                                                Gilles.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iD8DBQFTsVMfGpcgE6m/fboRAtcJAKCbXq6XWN5xLlzVevVgwY4IhwK1LwCfcqxE
XcdmKxxg4T1IbUwL7gVMCdU=
=jUeq
-----END PGP SIGNATURE-----


  reply	other threads:[~2014-06-30 12:07 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-23  9:08 [Xenomai] Support of Beagleboard xm rev C on 3.14-ipipe Arnaud Degroote
2014-06-23  9:22 ` Gilles Chanteperdrix
2014-06-23 11:18   ` Arnaud Degroote
2014-06-23 23:45     ` Gilles Chanteperdrix
2014-06-24  6:23       ` Arnaud Degroote
2014-06-24  6:29         ` Gilles Chanteperdrix
2014-06-24 12:21           ` Arnaud Degroote
2014-06-24 18:31             ` Gilles Chanteperdrix
2014-06-25  8:11               ` Arnaud Degroote
2014-06-25  8:37                 ` Gilles Chanteperdrix
2014-06-25  9:47                   ` Arnaud Degroote
2014-06-25 17:01                     ` Gilles Chanteperdrix
2014-06-25 22:23                     ` Gilles Chanteperdrix
2014-06-26  7:56                       ` Arnaud Degroote
2014-06-26 11:08                         ` Gilles Chanteperdrix
2014-06-26 11:19                           ` Arnaud Degroote
2014-06-26 17:27                             ` Gilles Chanteperdrix
2014-06-27  7:22                               ` Arnaud Degroote
2014-06-27 16:27                                 ` Gilles Chanteperdrix
2014-06-30  8:16                                   ` Arnaud Degroote
2014-06-30  8:26                                   ` Arnaud Degroote
2014-06-30  8:59                                     ` Gilles Chanteperdrix
2014-06-30  9:13                                       ` Arnaud Degroote
2014-06-30  9:36                                         ` Gilles Chanteperdrix
2014-06-30 10:16                                         ` Gilles Chanteperdrix
2014-06-30 12:01                                           ` Arnaud Degroote
2014-06-30 12:07                                             ` Gilles Chanteperdrix [this message]
2014-06-30 12:37                                               ` Arnaud Degroote
2014-06-30 12:44                                                 ` Gilles Chanteperdrix
2014-06-30 15:18                                                 ` Arnaud Degroote
2014-06-30 15:26                                                   ` Gilles Chanteperdrix
2014-06-30 15:45                                                     ` Arnaud Degroote
2014-06-30 15:48                                                       ` Gilles Chanteperdrix
2014-06-30 16:06                                                         ` Arnaud Degroote
2014-06-30 16:13                                                           ` Gilles Chanteperdrix
2014-06-30 18:41                                                             ` DEGROOTE Arnaud
2014-06-30 19:06                                                               ` Gilles Chanteperdrix
2014-07-01  8:39                                                                 ` Arnaud Degroote
2014-07-01  9:24                                                                   ` Gilles Chanteperdrix
2014-07-01 15:51                                                                     ` Arnaud Degroote
2014-07-01 19:22                                                                       ` Gilles Chanteperdrix
2014-07-02 11:41                                                                         ` Arnaud Degroote
2014-07-02 17:59                                                                           ` Gilles Chanteperdrix
2014-07-03  8:38                                                                             ` Arnaud Degroote
2014-07-03 12:34                                                                               ` Gilles Chanteperdrix
2014-07-04  7:19                                                                                 ` Arnaud Degroote

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=53B1531F.4040504@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=arnaud.degroote@isae.fr \
    --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.