All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] vxworks-skin taskSpawn
@ 2006-02-24 10:13 Roderik_Wildenburg
  2006-02-25 12:28 ` Philippe Gerum
  0 siblings, 1 reply; 2+ messages in thread
From: Roderik_Wildenburg @ 2006-02-24 10:13 UTC (permalink / raw)
  To: xenomai

I am using xenomai-2.1-rc2 and try to create a task via the vxWorks skin function taskSpawn. As I have read that uvm and vxWorks exclude each other, I just inserted the xeno_uvm module (not the xeno_vxworks.o module ). No problems so far. When I start my application nothing happens (no errormessages ...), the application seems to hang. Debugging printf´s show that the function taskSpawn never returns and the task to be spawned (there is no evidence that she is running) never produces any debug output.
This happens with both vxworks skin examples koan.c and satch.c.
Xenomai native skin works, satch and latency are running.
Does anybody have any idea/recomendation about this behavior ?

Thank you in advance !
Roderik


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

* Re: [Xenomai-core] vxworks-skin taskSpawn
  2006-02-24 10:13 [Xenomai-core] vxworks-skin taskSpawn Roderik_Wildenburg
@ 2006-02-25 12:28 ` Philippe Gerum
  0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2006-02-25 12:28 UTC (permalink / raw)
  To: Roderik_Wildenburg; +Cc: xenomai

Roderik_Wildenburg@domain.hid wrote:
> I am using xenomai-2.1-rc2 and try to create a task via the vxWorks skin function taskSpawn.
As I have read that uvm and vxWorks exclude each other, I just inserted the 
xeno_uvm module (not the xeno_vxworks.o module ).
No problems so far.

More precisely, the VxWorks API is compiled as a user-space library (instead of a 
kernel module) when using the UVM mode, and the VxWorks services are obtained from 
this library, within the Linux process that embodies it. This is why there is no 
point in loading the in-kernel VxWorks module in this case.

When I start my application nothing happens (no errormessages ...), the 
application seems to hang. Debugging printf´s show that the function taskSpawn 
never returns and the task to be spawned (there is no evidence that she is 
running) never produces any debug output.
> This happens with both vxworks skin examples koan.c and satch.c.
> Xenomai native skin works, satch and latency are running.
> Does anybody have any idea/recomendation about this behavior ?

After your application has stalled, try dumping the scheduler state to get more 
information on the existing threads:
$ cat /proc/xenomai/sched

The same goes for the timer state:
$ cat /proc/xenomai/timer

Additionally, you may want to load your application with GDB, and see which code 
gets executed using breakpoints.

-- 

Philippe.


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

end of thread, other threads:[~2006-02-25 12:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-24 10:13 [Xenomai-core] vxworks-skin taskSpawn Roderik_Wildenburg
2006-02-25 12:28 ` 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.