Application setup and init

Note This guide is specific to Xenomai 3. Most of the features described here have no counterparts in Xenomai 2. The description applies to both Cobalt and Mercury configurations indifferently, unless otherwise stated. The reader may assume that application always refers to any executable program linked against the Xenomai libraries, …

Finding spurious relaxes

Sources of spurious relaxes In a dual kernel configuration, an application does not want to switch to the regular Linux execution mode unexpectedly, aka secondary mode. When short and bounded response time is a strong requirement, the application wants to run in primary mode exclusively, because only this mode is …

Running Xenomai on VirtualBox

Introduction Guest virtual machines allow to run multiple Xenomai enabled boxes on your development workstation while keeping your development environment on the host machine. VirtualBox permits network reconfiguration at runtime: the guest machine can run on a private internal network or as part of the system network without having to …

Resolving Error Codes

What the heck does “error -19” means? Ever asked yourself or some mailing list this question? Here is a script (I called it errno) to answer this automatically: #!/bin/sh ERRNO_HEADERS=”/usr/include/asm-generic/errno-base.h /usr/include/asm-generic/errno.h” if [ “$1” = “” ]; then ERR=”[[:digit:]]+” else ERR=$1 fi cat $ERRNO_HEADERS | grep -E “[[:space:]]$ERR[[:space:]]/” Now, when …