[Xenomai] Xenomai: /dev/rtheap is missing (chardev, major=10 minor=254)

kirayamato at zju.edu.cn kirayamato at zju.edu.cn
Tue Jun 20 05:06:57 CEST 2017

Hello, everyone~

I am compiling xenomai 2.6.4 on ubuntu 14.04.2 with a kernel verion 3.14.17

I can run the xeno latency test, and the latency in user space has a max value of 20 us with the select period of 100us.

But when I tried to run a compiled example trivial-periodic.c under the source directory */xenomai-2.6.4/examples, the following alarm showed:

root@*****:/home/robot/Desktop# ./trivial-periodic
Xenomai: /dev/rtheap is missing
(chardev, major=10 minor=254)

and the compile command is:

gcc  -I/usr/xenomai/include -D_GNU_SOURCE
-D_REENTRANT -D__XENO__    trivial-periodic.c -Xlinker -rpath
-Xlinker /usr/xenomai/lib -lnative -L/usr/xenomai/lib -lxenomai
-lpthread -lrt -o trivial-periodic

The file do not exist under the /dev/ directory.
My question is:
Is this problem due to an error config or compiling of xenomai and the patched kernel ?
Or it is caused by a wrong settings when I compiled the source code?
How should I fix it?


                                                                                                                    yours: Kira Yamato

More information about the Xenomai mailing list