All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Stefan Schaal <sschaal@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] hanging in Xenomai 2.5.5
Date: Sat, 16 Oct 2010 10:48:58 +0200	[thread overview]
Message-ID: <1287218938.1854.11.camel@domain.hid> (raw)
In-Reply-To: <515034A5-8E42-4ACC-B08E-FC8A05DEB293@domain.hid>

On Fri, 2010-10-15 at 22:43 -0700, Stefan Schaal wrote:
> Hi everybody,
> 
>   here is a quick first report on an issue that appeared with Xenomai 2.5.5 --- NOTE: 2.5.4 (and earlier) DOES NOT have this issue.
> 
> We run multiple real-time processes, synchronized by semaphores and interprocess communication using shared memory. All is cleanly implemented using the xenomai real-time functions, no mode switches. The different processes are distributed on different processors of our multi-core machine using rt_task_spawn() with the T_CPU directive. 
> 
> Up to version 2.5.4, this worked fine.
> 
> With version 2.5.5 (and 2.5.5.1), the processes hang after a few seconds of running (CPU consumption goes to zero), and usually one of them hangs so badly that it cannot be killed anymore with kill -9 -- thus reboot is required.
> 
> The problems happens on BOTH our i386 machine (Dell 8-core, ubuntu 9.04, kernel 2.6.29.5) AND x86_64 machine (Dell 8 core, ubuntu 9.10, kernel 2.6.31.4). Thus, this seems to be specific to the xenomai release 2.5.5 and higher.
> 
> No "dmesg" print-outs when this error occurs.
> 
> We will try to create a simple test program to illustrate the problem, but maybe the issue is already obvious to some of the experts on this list.
> 

$ cat /proc/xenomai/stat
$ cat /proc/xenomai/sched

when the threads hang would help.

Additionally, please clone the -stable repo from there:
git://git.xenomai.org/xenomai-2.5.git

then branch+build and test from these commits:

- 6a020f5 first; if the bug does not show up anymore, check the next one
- 5e7cfa5; if the bug is still there, try disabling
CONFIG_XENO_OPT_PRIOCPL to test the basic system and re-check.

> Best wishes,
> 
> -Stefan
> _______________________________________________
> Xenomai-core mailing list
> Xenomai-core@domain.hid
> https://mail.gna.org/listinfo/xenomai-core

-- 
Philippe.




  reply	other threads:[~2010-10-16  8:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-16  5:43 [Xenomai-core] hanging in Xenomai 2.5.5 Stefan Schaal
2010-10-16  8:48 ` Philippe Gerum [this message]
2010-12-25 17:56   ` Stefan Schaal
     [not found]   ` <A059C858-912A-4207-A834-411C50184622@domain.hid>
     [not found]     ` <1294236456.1828.3.camel@domain.hid>
     [not found]       ` <B531163E-B46F-465A-8970-13BC59A61496@domain.hid>
     [not found]         ` <1294242791.1828.6.camel@domain.hid>
2011-01-06 22:05           ` Stefan Schaal
2011-01-07 12:58             ` 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=1287218938.1854.11.camel@domain.hid \
    --to=rpm@xenomai.org \
    --cc=sschaal@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.