From: Jan Kiszka <kiszka@domain.hid>
To: Philippe Gerum <rpm@xenomai.org>, xenomai-core <xenomai@xenomai.org>
Subject: [Xenomai-core] [bug] don't try this at home...
Date: Wed, 30 Nov 2005 17:35:46 +0100 [thread overview]
Message-ID: <438DD4E2.9080208@domain.hid> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 691 bytes --]
Hi Philippe,
I'm afraid this one is serious: let the attached migration stress test
run on likely any Xenomai since 2.0, preferably with
CONFIG_XENO_OPT_DEBUG on. Will give a nice crash sooner or later (I'm
trying to set up a serial console now). To be more precisely:
Setup 1:
xeno 2.0, kernel 2.6.13.5, ipipe-1.0-09
on Thinkpad R40
Setup 2:
xeno svn-trunk, kernel 2.6.14.3, ipipe-1.0-11
on Thinkpad R40 & P-III embedded PC
I have no clue yet what happens, I just nailed various strange
behaviours and latencies down to this issue.
ALARM! ;)
Jan
PS: I suggest including this test for future regression checks into the
upcoming(?) testsuite.
[-- Attachment #1.2: nat_migration.c --]
[-- Type: text/plain, Size: 756 bytes --]
#include <stdio.h>
#include <sys/mman.h>
#include <semaphore.h>
#include <native/task.h>
#include <native/sem.h>
sem_t sem;
static void simple_thread(void *arg)
{
sem_post(&sem);
}
int main (int ac, char **av)
{
RT_TASK task;
int ret;
mlockall(MCL_CURRENT | MCL_FUTURE);
sem_init(&sem, 0, 0);
while (1) {
ret = rt_task_create(&task, "migration", 0, 1, 0);
if (ret != 0)
printf("(%s) error creating task: %d\n", __FUNCTION__, ret);
ret = rt_task_start(&task, &simple_thread, NULL);
if (ret != 0)
printf("(%s) error starting task: %d\n", __FUNCTION__, ret);
sem_wait(&sem);
rt_task_delete(&task);
}
}
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
next reply other threads:[~2005-11-30 16:35 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-30 16:35 Jan Kiszka [this message]
2005-11-30 17:29 ` [Xenomai-core] [bug] don't try this at home Jan Kiszka
2005-11-30 17:45 ` Philippe Gerum
2005-12-07 12:50 ` Jan Kiszka
2005-12-07 13:08 ` Philippe Gerum
2005-12-07 17:44 ` Jan Kiszka
2005-12-09 12:53 ` Philippe Gerum
2005-12-16 20:26 ` Philippe Gerum
2005-12-16 20:56 ` Philippe Gerum
2005-12-16 23:36 ` Philippe Gerum
2005-12-18 13:55 ` Jan Kiszka
2005-12-18 18:30 ` Philippe Gerum
2005-12-18 18:59 ` Jan Kiszka
2005-12-18 19:19 ` Philippe Gerum
2005-12-22 15:05 ` Jan Kiszka
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=438DD4E2.9080208@domain.hid \
--to=kiszka@domain.hid \
--cc=rpm@xenomai.org \
--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.