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

Henning Schild henning.schild at siemens.com
Tue Jun 20 09:40:46 CEST 2017


Am Tue, 20 Jun 2017 11:06:57 +0800
schrieb <kirayamato at zju.edu.cn>:

> 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.

Check the kernel log for errors when xenomai is initialized. I do not
know by heart how device nodes where created in the oldish versions you
use, maybe you need to create it manually with mknod.

Henning

> 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?
> 
> 3Q~
> 
>                                                                                                                     yours:
> Kira Yamato 2017-06-19
> _______________________________________________
> Xenomai mailing list
> Xenomai at xenomai.org
> https://xenomai.org/mailman/listinfo/xenomai




More information about the Xenomai mailing list