All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] T_WARNSW ignored?
@ 2009-08-14  9:05 Kolja Waschk
  2009-08-14 10:05 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 10+ messages in thread
From: Kolja Waschk @ 2009-08-14  9:05 UTC (permalink / raw)
  To: xenomai

Hi,

I'm trying to detect some remaining unwanted mode switches in an
application using the native Xenomai app. In one task (that is meant to
stay in RT domain all the time) I set the T_WARNSW bit and run the
program via gdb, but - although /proc/xenomai/stat shows some 1000 MSW
per second for that task - no SIGXCPU ever occurs. Only after I interrupt
it in the terminal where gdbserver was started, the gdb client shows
SIGINT, and after "cont", SIGXPCU.

I also tried the examples/native/sigxcpu.c with the same compiler flags.
There, SIGXCPU occurs and is reported by GDB immediately. What may cause
this, did I miss something?

It's on Blackfin, uclinux-dist 2009R1-RC2, Xenomai 2.4.7, Kernel 2.6.28.10 with
adeos-ipipe-2.6.28.10-blackfin.git-1.10-00.patch.

This is how it looks when the program is interrupted after some time:

Program received signal SIGINT, Interrupt.
[Switching to Thread 270]
0x00710042 in rt_sem_p (sem=0xf69028, timeout=81067177008952732) at
../../../../xenomai-2.4.7/src/skins/native/sem.c:43
43		return XENOMAI_SKINCALL2(__native_muxid, __native_sem_p,
sem, &timeout);
Current language:  auto; currently c
(gdb) cont
Continuing.

Program received signal SIGXCPU, CPU time limit exceeded.
[Switching to Thread 273]
0x0070fc20 in rt_dev_ioctl (fd=0, request=4) at
../../../../xenomai-2.4.7/src/skins/rtdm/core.c:60
60		return XENOMAI_SKINCALL3(__rtdm_muxid,
(gdb)

Kolja



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-08-15 14:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-14  9:05 [Xenomai-help] T_WARNSW ignored? Kolja Waschk
2009-08-14 10:05 ` Gilles Chanteperdrix
2009-08-14 10:08   ` Kolja Waschk
2009-08-14 10:13     ` Philippe Gerum
2009-08-14 10:26       ` Kolja Waschk
2009-08-14 15:05         ` Philippe Gerum
2009-08-14 19:52           ` Waschk,Kolja
2009-08-15 14:01             ` Philippe Gerum
2009-08-15 13:14           ` Waschk,Kolja
2009-08-15 14:10             ` Philippe Gerum

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.