Hello Guys,
I'm having trouble installing Xenomai for my project
I use this tutorial for installing and it matches with the installation at
the Xenomai's website.
http://www.lara.unb.br/wiki/index.php/Ubuntu_Real-time_Xenomai
The new kernel was compiled ok with no problem.
====
ph...@phall:~/workspace/v5$ uname -a
Linux PHall 2.6.34.1-xenomai #3 SMP PREEMPT Mon Dec 27 18:22:46 BRST 2010
i686 GNU/Linux
ph...@phall:~/workspace/v5$
====
The problem is that when I run xeno-test, it doesn't work. Any of the tests
work. All tests return this message and I can't undestard why:
====
r...@phall:/usr/xenomai/share/xenomai/testsuite/latency# ./run
*
*
* Type ^C to stop this application.
*
*
Xenomai: /dev/rtheap is missing
(chardev, major=10 minor=254)
====
I'm sending the answers of xeno-test command.
I'm using Orocos for a real time software and the compilation went ok too.
The configuration file is down. I could compile all my files but the same
error happens:
==============
Orocos RTT version (1.10.4)
No orocos-rtt.cmake file loaded, using default settings.See
orocos-rtt.default.cmake
-- CMAKE_VERSION: 2.6.4
Boost found in /usr/include
-- Could NOT find Xerces (missing: XERCES_DEPDOM_LIBRARY)
Orocos target is xenomai
-- Found XENOMAI
-- Found PTHREAD
-- Detected gcc4: 4.4.1
-- Found Doxygen -- API documentation can be built
-- Configuring done
-- Generating done
===============
====
ph...@phall:~/workspace/v5$ ./phall
Xenomai: /dev/rtheap is missing
(chardev, major=10 minor=254)
ph...@phall:~/workspace/v5$
====
Anyone ever passed through this and could help?
Att.
Alexandre Oliveira.
xeno-test: started
withBusybox is 0
xeno-test: running tests
Qua Dez 29 17:53:41 BRST 2010
running: /usr/xenomai/bin/xeno-config --verbose
xeno-config --verbose
--version="2.5.5.2"
--cc="gcc"
--arch="x86"
--prefix="/usr/xenomai"
--xeno-cflags="-I/usr/xenomai/include -D_GNU_SOURCE -D_REENTRANT -Wall
-pipe -D__XENO__"
--xeno-ldflags="-L/usr/xenomai/lib -lxenomai -lpthread "
--posix-cflags=""
--posix-ldflags="-Wl,@/usr/xenomai/lib/posix.wrappers
-L/usr/xenomai/lib -lpthread_rt -lxenomai -lpthread -lrt "
--library-dir="/usr/xenomai/lib"
Qua Dez 29 17:53:41 BRST 2010
running: /usr/xenomai/bin/xeno-info
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.
Linux PHall 2.6.34.1-xenomai #3 SMP PREEMPT Mon Dec 27 18:22:46 BRST 2010 i686
GNU/Linux
Gnu C 4.4.1-4ubuntu9)
Gnu make 3.81
util-linux ng 2.16)
mount ng 2.16 (with libblkid and selinux support)
module-init-tools 3.10
e2fsprogs 1.41.9
PPP 2.4.5
Linux C Library 2.10.1
Dynamic linker (ldd) 2.10.1
Procps 3.2.8
Net-tools 1.60
Kbd 1.15
Sh-utils 7.4
Modules Loaded nls_iso8859_1 nls_cp437 vfat fat usb_storage binfmt_misc
ppdev snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss
snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi
snd_seq_midi_event snd_seq snd_timer snd_seq_device iptable_filter snd
ip_tables lp soundcore snd_page_alloc x_tables parport xeno_analogy i2c_viapro
shpchp via_rhine usbhid mii sata_via via_agp agpgart
Qua Dez 29 17:53:41 BRST 2010
running: cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Pentium(R) 4 CPU 3.00GHz
stepping : 3
cpu MHz : 0.000
cache size : 2048 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc up
pebs bts pni dtes64 monitor ds_cpl est cid cx16 xtpr
bogomips : 1495.04
clflush size : 64
cache_alignment : 128
address sizes : 36 bits physical, 48 bits virtual
power management:
Qua Dez 29 17:53:41 BRST 2010
running: md5sum /proc/cpuinfo # cpuinfo fingerprint
e0f53f11a8090178a66725335c6391da /proc/cpuinfo
# CONFIG_TREE_PREEMPT_RCU is not set
CONFIG_PREEMPT_NOTIFIERS=y
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_IPIPE=y
CONFIG_IPIPE_DOMAINS=4
CONFIG_IPIPE_DELAYED_ATOMICSW=y
# CONFIG_IPIPE_UNMASKED_CONTEXT_SWITCH is not set
# CONFIG_PM is not set
# CONFIG_CPU_FREQ is not set
CONFIG_PMIC_DA903X=y
# CONFIG_PMIC_ADP5520 is not set
# CONFIG_IPIPE_DEBUG is not set
CONFIG_DEBUG_PREEMPT=y
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_PREEMPT_TRACER is not set
Qua Dez 29 17:53:41 BRST 2010
running: cat /proc/ipipe/Linux
+----- Handling ([A]ccepted, [G]rabbed, [W]ired, [D]iscarded)
|+---- Sticky
||+--- Locked
|||+-- Exclusive
||||+- Virtual
[IRQ] |||||
0: A....
1: A....
2: A....
3: A....
4: A.L..
5: A....
6: A.L..
7: A.L..
8: A....
9: A.L..
10: A....
11: A....
12: A.L..
13: A.L..
14: A....
15: A....
16: A....
17: A....
18: A....
19: A....
20: A....
21: A....
22: A....
23: A....
24: A....
25: A....
26: A....
27: A....
28: A....
29: A....
30: A....
31: A....
32: A....
33: A....
34: A....
35: A....
36: A....
37: A....
38: A....
39: A....
40: A....
41: A....
42: A....
43: A....
44: A....
45: A....
46: A....
47: A....
48: A....
49: A....
50: A....
51: A....
52: A....
53: A....
54: A....
55: A....
56: A....
57: A....
58: A....
59: A....
60: A....
61: A....
62: A....
63: A....
64: A....
65: A....
66: A....
67: A....
68: A....
69: A....
70: A....
71: A....
72: A....
73: A....
74: A....
75: A....
76: A....
77: A....
78: A....
79: A....
80: A....
81: A....
82: A....
83: A....
84: A....
85: A....
86: A....
87: A....
88: A....
89: A....
90: A....
91: A....
92: A....
93: A....
94: A....
95: A....
96: A....
97: A....
98: A....
99: A....
100: A....
101: A....
102: A....
103: A....
104: A....
105: A....
106: A....
107: A....
108: A....
109: A....
110: A....
111: A....
112: A....
113: A....
114: A....
115: A....
116: A....
117: A....
118: A....
119: A....
120: A....
121: A....
122: A....
123: A....
124: A....
125: A....
126: A....
127: A....
128: A....
129: A....
130: A....
131: A....
132: A....
133: A....
134: A....
135: A....
136: A....
137: A....
138: A....
139: A....
140: A....
141: A....
142: A....
143: A....
144: A....
145: A....
146: A....
147: A....
148: A....
149: A....
150: A....
151: A....
152: A....
153: A....
154: A....
155: A....
156: A....
157: A....
158: A....
159: A....
160: A....
161: A....
162: A....
163: A....
164: A....
165: A....
166: A....
167: A....
168: A....
169: A....
170: A....
171: A....
172: A....
173: A....
174: A....
175: A....
176: A....
177: A....
178: A....
179: A....
180: A....
181: A....
182: A....
183: A....
184: A....
185: A....
186: A....
187: A....
188: A....
189: A....
190: A....
191: A....
192: A....
193: A....
194: A....
195: A....
196: A....
197: A....
198: A....
199: A....
200: A....
201: A....
202: A....
203: A....
204: A....
205: A....
206: A....
207: A....
208: A....
209: A....
210: A....
211: A....
212: A....
213: A....
214: A....
215: A....
216: A....
217: A....
218: A....
219: A....
220: A....
221: A....
222: A....
223: A....
224: A....
225: A....
226: A....
227: A....
228: A....
229: A....
230: A....
231: A....
232: A....
233: A....
234: A....
235: A....
236: A....
237: A....
238: A....
239: A....
240: A....
241: A....
242: A....
243: A....
244: A....
245: A....
246: A....
247: A....
248: A....
249: A....
250: A....
251: A....
252: A....
253: A....
254: A....
255: A....
256: A....
257: A....
258: A....
259: A....
260: A....
261: A....
262: A....
263: A....
264: A....
265: A....
266: A....
267: A....
268: A....
269: A....
270: A....
271: A....
272: A....
273: A....
274: A....
275: A....
276: A....
277: A....
278: A....
279: A....
280: A....
281: A....
282: A....
283: A....
284: A....
285: A....
286: A....
287: A....
288: A....
289: A....
290: A....
291: A....
292: A....
293: A....
294: A....
295: A....
296: A....
297: A....
298: A....
299: A....
300: A....
301: A....
302: A....
303: A....
304: A....
305: A....
306: A....
307: A....
308: A....
309: A....
310: A....
311: A....
312: A....
313: A....
314: A....
315: A....
316: A....
317: A....
318: A....
319: A....
320: A....
321: A....
322: A....
323: A....
324: A....
325: A....
326: A....
327: A....
328: A....
329: A....
330: A....
331: A....
332: A....
333: A....
334: A....
335: A....
336: A....
337: A....
338: A....
339: A....
340: A....
341: A....
342: A....
343: A....
344: A....
345: A....
346: A....
347: A....
348: A....
349: A....
350: A....
351: A....
352: A....
353: A....
354: A....
355: A....
356: A....
357: A....
358: A....
359: A....
360: A....
361: A....
362: A....
363: A....
364: A....
365: A....
366: A....
367: A....
368: A....
369: A....
370: A....
371: A....
372: A....
373: A....
374: A....
375: A....
376: A....
377: A....
378: A....
379: A....
380: A....
381: A....
382: A....
383: A....
384: A....
385: A....
386: A....
387: A....
388: A....
389: A....
390: A....
391: A....
392: A....
393: A....
394: A....
395: A....
396: A....
397: A....
398: A....
399: A....
400: A....
401: A....
402: A....
403: A....
404: A....
405: A....
406: A....
407: A....
408: A....
409: A....
410: A....
411: A....
412: A....
413: A....
414: A....
415: A....
416: A....
417: A....
418: A....
419: A....
420: A....
421: A....
422: A....
423: A....
424: A....
425: A....
426: A....
427: A....
428: A....
429: A....
430: A....
431: A....
432: A....
433: A....
434: A....
435: A....
436: A....
437: A....
438: A....
439: A....
440: A....
441: A....
442: A....
443: A....
444: A....
445: A....
446: A....
447: A....
448: A....
449: A....
450: A....
451: A....
452: A....
453: A....
454: A....
455: A....
456: A....
457: A....
458: A....
459: A....
460: A....
461: A....
462: A....
463: A....
464: A....
465: A....
466: A....
467: A....
468: A....
469: A....
470: A....
471: A....
472: A....
473: A....
474: A....
475: A....
476: A....
477: A....
478: A....
479: A....
480: A....
481: A....
482: A....
483: A....
484: A....
485: A....
486: A....
487: A....
488: A....
489: A....
490: A....
491: A....
492: A....
493: A....
494: A....
495: A....
496: A....
497: A....
498: A....
499: A....
500: A....
501: A....
502: A....
503: A....
504: A....
505: A....
506: A....
507: A....
508: A....
509: A....
510: A....
511: A....
514: A....
515: A....
517: A....
518: A....
519: A....
520: A....
521: A....
522: A....
523: A....
524: A....
525: GS...
526: A....
527: A....
528: A....
529: A....
530: A....
531: A....
532: A....
533: A....
544: G...V
[Domain info]
id=0x00000000
priority=100
Qua Dez 29 17:53:41 BRST 2010
running: cat /proc/ipipe/version
2.7-02
Qua Dez 29 17:53:41 BRST 2010
running: generate_loads 1
dd workload started, pids 11590 stored in /var/lock/xeno-test.11451.pids
Qua Dez 29 17:53:41 BRST 2010
running: cat /proc/interrupts
CPU0
0: 94 IO-APIC-edge timer
1: 19385 IO-APIC-edge i8042
2: 0 XT-PIC-XT cascade
4: 2 IO-APIC-edge
8: 0 IO-APIC-edge rtc0
14: 409810 IO-APIC-edge pata_via
15: 0 IO-APIC-edge pata_via
20: 140255 IO-APIC-fasteoi uhci_hcd:usb2
21: 17784 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb4, sata_via
22: 0 IO-APIC-fasteoi uhci_hcd:usb3
23: 89275 IO-APIC-fasteoi uhci_hcd:usb5, eth0
48: 0 PCI-MSI-edge pciehp
49: 197486 PCI-MSI-edge hda_intel
NMI: 0 Non-maskable interrupts
LOC: 2176638 Local timer interrupts
SPU: 0 Spurious interrupts
PMI: 0 Performance monitoring interrupts
PND: 0 Performance pending work
RES: 0 Rescheduling interrupts
CAL: 0 Function call interrupts
TLB: 0 TLB shootdowns
TRM: 0 Thermal event interrupts
THR: 0 Threshold APIC interrupts
MCE: 0 Machine check exceptions
MCP: 30 Machine check polls
ERR: 0
MIS: 0
Qua Dez 29 17:53:41 BRST 2010
running: cat /proc/loadavg
0.82 0.87 0.81 2/266 11596
Qua Dez 29 17:53:41 BRST 2010
running: cat /proc/meminfo
MemTotal: 1025668 kB
MemFree: 189344 kB
Buffers: 33696 kB
Cached: 415976 kB
SwapCached: 39736 kB
Active: 309280 kB
Inactive: 490888 kB
Active(anon): 85984 kB
Inactive(anon): 267700 kB
Active(file): 223296 kB
Inactive(file): 223188 kB
Unevictable: 0 kB
Mlocked: 0 kB
HighTotal: 138952 kB
HighFree: 15444 kB
LowTotal: 886716 kB
LowFree: 173900 kB
SwapTotal: 979928 kB
SwapFree: 845808 kB
Dirty: 80 kB
Writeback: 0 kB
AnonPages: 328028 kB
Mapped: 61516 kB
Shmem: 3188 kB
Slab: 24872 kB
SReclaimable: 17364 kB
SUnreclaim: 7508 kB
KernelStack: 2152 kB
PageTables: 3636 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 1492760 kB
Committed_AS: 1091560 kB
VmallocTotal: 122880 kB
VmallocUsed: 5668 kB
VmallocChunk: 109968 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 4096 kB
DirectMap4k: 16376 kB
DirectMap4M: 892928 kB
Qua Dez 29 17:53:41 BRST 2010
running: top -bn1c
top - 17:53:42 up 2:25, 2 users, load average: 0.91, 0.89, 0.82
Tasks: 144 total, 4 running, 139 sleeping, 0 stopped, 1 zombie
Cpu(s): 50.9%us, 7.3%sy, 0.8%ni, 35.2%id, 5.9%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 1025668k total, 836684k used, 188984k free, 33696k buffers
Swap: 979928k total, 134120k used, 845808k free, 415984k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
11590 root 20 0 3168 548 460 R 64.4 0.1 0:00.38 dd if=/dev/zero of=
1538 phall 20 0 365m 90m 16m S 28.4 9.0 5:30.84 /usr/lib/firefox-3.
1424 phall 20 0 99.8m 18m 10m R 9.5 1.9 1:25.22 nautilus
Qua Dez 29 17:53:42 BRST 2010
running: ./run -- -sh -T 120 -t0 # latency
*
*
* Type ^C to stop this application.
*
*
Xenomai: /dev/rtheap is missing
(chardev, major=10 minor=254)
Qua Dez 29 17:53:42 BRST 2010
running: ./run -- -sh -T 120 -t1 # latency
*
*
* Type ^C to stop this application.
*
*
Xenomai: /dev/rtheap is missing
(chardev, major=10 minor=254)
Qua Dez 29 17:53:43 BRST 2010
running: ./run -- -sh -T 120 -t2 # latency
*
*
* Type ^C to stop this application.
*
*
Xenomai: /dev/rtheap is missing
(chardev, major=10 minor=254)
Qua Dez 29 17:53:43 BRST 2010
running: ./run -- -T 120 # switchtest
*
*
* Type ^C to stop this application.
*
*
Xenomai: /dev/rtheap is missing
(chardev, major=10 minor=254)
/usr/xenomai/bin/xeno-test: linha 235: cd:
/usr/xenomai/share/xenomai/testsuite/switchbench: Arquivo ou diretório não
encontrado
Qua Dez 29 17:53:44 BRST 2010
running: ./run -- -h # switchbench
/usr/xenomai/bin/xeno-test: linha 112: ./run: Arquivo ou diretório não
encontrado
Qua Dez 29 17:53:44 BRST 2010
running: ./run -- -p 10 -n -l 1000 # cyclictest
*
*
* Type ^C to stop this application.
*
*
Xenomai: /dev/rtheap is missing
(chardev, major=10 minor=254)
Qua Dez 29 17:53:44 BRST 2010
running: cat /proc/interrupts
CPU0
0: 94 IO-APIC-edge timer
1: 19385 IO-APIC-edge i8042
2: 0 XT-PIC-XT cascade
4: 2 IO-APIC-edge
8: 0 IO-APIC-edge rtc0
14: 409968 IO-APIC-edge pata_via
15: 0 IO-APIC-edge pata_via
20: 140255 IO-APIC-fasteoi uhci_hcd:usb2
21: 17800 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb4, sata_via
22: 0 IO-APIC-fasteoi uhci_hcd:usb3
23: 89285 IO-APIC-fasteoi uhci_hcd:usb5, eth0
48: 0 PCI-MSI-edge pciehp
49: 197762 PCI-MSI-edge hda_intel
NMI: 0 Non-maskable interrupts
LOC: 2177429 Local timer interrupts
SPU: 0 Spurious interrupts
PMI: 0 Performance monitoring interrupts
PND: 0 Performance pending work
RES: 0 Rescheduling interrupts
CAL: 0 Function call interrupts
TLB: 0 TLB shootdowns
TRM: 0 Thermal event interrupts
THR: 0 Threshold APIC interrupts
MCE: 0 Machine check exceptions
MCP: 30 Machine check polls
ERR: 0
MIS: 0
Qua Dez 29 17:53:44 BRST 2010
running: cat /proc/loadavg
0.91 0.89 0.82 2/267 12036
Qua Dez 29 17:53:44 BRST 2010
running: cat /proc/meminfo
MemTotal: 1025668 kB
MemFree: 189488 kB
Buffers: 33784 kB
Cached: 415952 kB
SwapCached: 39736 kB
Active: 309124 kB
Inactive: 490920 kB
Active(anon): 85804 kB
Inactive(anon): 267696 kB
Active(file): 223320 kB
Inactive(file): 223224 kB
Unevictable: 0 kB
Mlocked: 0 kB
HighTotal: 138952 kB
HighFree: 15612 kB
LowTotal: 886716 kB
LowFree: 173876 kB
SwapTotal: 979928 kB
SwapFree: 845808 kB
Dirty: 24 kB
Writeback: 0 kB
AnonPages: 327836 kB
Mapped: 61520 kB
Shmem: 3192 kB
Slab: 24872 kB
SReclaimable: 17364 kB
SUnreclaim: 7508 kB
KernelStack: 2184 kB
PageTables: 3632 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 1492760 kB
Committed_AS: 1091560 kB
VmallocTotal: 122880 kB
VmallocUsed: 5668 kB
VmallocChunk: 109968 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 4096 kB
DirectMap4k: 16376 kB
DirectMap4M: 892928 kB
Qua Dez 29 17:53:44 BRST 2010
running: top -bn1c
top - 17:53:45 up 2:25, 2 users, load average: 0.91, 0.89, 0.82
Tasks: 144 total, 2 running, 141 sleeping, 0 stopped, 1 zombie
Cpu(s): 50.9%us, 7.3%sy, 0.8%ni, 35.2%id, 5.9%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 1025668k total, 836664k used, 189004k free, 33784k buffers
Swap: 979928k total, 134120k used, 845808k free, 415996k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
11590 root 20 0 3168 548 460 R 96.6 0.1 0:02.51 dd if=/dev/zero of=
12044 root 20 0 2516 1044 772 R 1.9 0.1 0:00.02 top -bn1c
1 root 20 0 2580 748 520 S 0.0 0.1 0:02.62 /sbin/init
11590 pts/0 00:00:02 dd
xeno-test: finished
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help