/* TEST_MUTEX.C */
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <signal.h>
#include <math.h>
#include <native/task.h>
#include <native/mutex.h>
#include <native/sem.h>
int fd, err;
RT_MUTEX m;
RT_SEM s;
#define CHECK(arg) check(arg, __LINE__)
int check(int r, int n)
{
if (r != 0)
fprintf(stderr, "L%d: %s.\n", n, strerror(-r));
return(r);
}
void output(char c) {
static int cnt = 0;
int n;
char buf[2];
RT_MUTEX_INFO mutexinfo;
buf[0] = c;
if (cnt == 80) {
buf[1] = '\n';
n = 2;
cnt = 0;
}
else {
n = 1;
cnt++;
}
CHECK(rt_mutex_inquire(&m, &mutexinfo));
if (mutexinfo.lockcnt <= 0) {
RT_TASK_INFO taskinfo;
CHECK(rt_task_inquire(NULL, &taskinfo));
fprintf(stderr, "ALERT: No lock! (lockcnt=%d) Offending task: %s\n",
mutexinfo.lockcnt,
taskinfo.name );
}
if (write(fd, buf, n) != n) {
fprintf(stderr, "File write error.\n");
CHECK(rt_sem_v(&s));
}
}
void task0(void *arg)
{
while (1) {
CHECK(rt_task_sleep((float)rand()*1.0e7/(float)RAND_MAX));
CHECK(rt_mutex_lock(&m, TM_INFINITE));
output('0');
CHECK(rt_mutex_unlock(&m));
}
}
void task1(void *arg)
{
while (1) {
CHECK(rt_task_sleep((float)rand()*1.0e7/(float)RAND_MAX));
CHECK(rt_mutex_lock(&m, TM_INFINITE));
output('1');
CHECK(rt_mutex_unlock(&m));
}
}
void sighandler(int arg)
{
CHECK(rt_sem_v(&s));
}
int main(int argc, char *argv[])
{
RT_TASK t, t0, t1;
if ((fd = open("dump.txt", O_CREAT | O_RDWR)) < 0)
fprintf(stderr, "File open error.\n");
else {
CHECK(rt_timer_start(TM_ONESHOT));
CHECK(rt_mutex_create(&m, "mutex"));
CHECK(rt_sem_create(&s, "sem", 0, S_PRIO));
signal(SIGINT, sighandler);
CHECK(rt_task_create(&t0, "task0", 0, 30, T_FPU));
CHECK(rt_task_start(&t0, task0, NULL));
CHECK(rt_task_create(&t1, "task1", 0, 29, T_FPU));
CHECK(rt_task_start(&t1, task1, NULL));
CHECK(rt_task_shadow(&t, "main", 1, T_FPU));
CHECK(rt_sem_p(&s, TM_INFINITE));
signal(SIGINT, SIG_IGN);
CHECK(rt_task_delete(&t1));
CHECK(rt_task_delete(&t0));
CHECK(rt_sem_delete(&s));
CHECK(rt_mutex_delete(&m));
rt_timer_stop();
close(fd);
}
return 0;
}
Compiled with GCC 4.0.2:
gcc mtest.c -o mtest $(xeno-config --xeno-cflags) $(xeno-config ---xeno-ldflags)
Run on kernel 2.6.15, Adeos 1.1-03, Xenomai SVN rev. 462
dmesg output (usually not that long - the truncated first line is actually there - it is not the top of the dmesg log):
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
scheduling while atomic: ext_upload/0x00000002/12490
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0148ade>] ipipe_trace_end+0x35/0x37
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
note: ext_upload[12490] exited with preempt_count 2
scheduling while atomic: ext_upload/0x00000002/12661
[<c03b4c64>] schedule+0x4b4/0x790
[<c011a0ca>] __wake_up_sync+0x67/0xb8
[<c0155455>] xnshadow_harden+0xc6/0xdd
[<c0156c5b>] losyscall_event+0x8c/0x1c0
[<c0147473>] __ipipe_dispatch_event+0x90/0x173
[<c011697a>] __ipipe_syscall_root+0x36/0x110
[<c0103434>] system_call+0x20/0x41
note: ext_upload[12661] exited with preempt_count 2
_______________________________________________ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help