Skip to contentSkip to conversation

configuration scripts doesn't work

Xenomai-help Kim Chuan Lim 3 participants 5 messages Jul 31, 2006 – Aug 21, 2006

lore
Share & tools
lore
#1 lore raw
Quoted 9 lines · Kim Chuan Lim

./configure --enable-x86-sep --enable-x86-tsc

Xenomai: incompatible feature set (required="sep tsc", present="sep", missing="tsc").

https://mail.gna.org/public/xenomai-help/2006-04/msg00198.html

I managed to fix it by following the same way.. can someone fix it in the trunk or next distribution please.

As explained in the mail you have found, there is nothing to be fixed in Xenomai sources. What need to be fixed is the flags you passed to configure.

Signature · 1 line
					    Gilles Chanteperdrix.
#2 lore raw

Hi Gilles,

The error message i get when try to run the latency test program.. warming up...
latency: failed to set periodic, code -110

The message you got initially told you that a discrepancy between the CPU selected at kernel level and the user-support has been detected. To fix this, you need to select a x86 CPU supporting a timestamp counter when configuring your kernel, since by default, the configure script assumes --enable-x86-tsc.

May i know what does it mean by "x86 CPU supporting a timestamp counter when configuring your kernel"?

Regards,
Kim Chuan.

Quoted 20 lines · Gilles Chanteperdrix
Quoted 9 lines · Kim Chuan Lim

./configure --enable-x86-sep --enable-x86-tsc

Xenomai: incompatible feature set (required="sep tsc", present="sep", missing="tsc").

https://mail.gna.org/public/xenomai-help/2006-04/msg00198.html

I managed to fix it by following the same way.. can someone fix it in the trunk or next distribution please.

As explained in the mail you have found, there is nothing to be fixed in Xenomai sources. What need to be fixed is the flags you passed to configure.

--

Gilles Chanteperdrix.

#3 lore raw
Quoted 13 lines · Kim Chuan Lim

Hi Gilles,

The error message i get when try to run the latency test program.. warming up...
latency: failed to set periodic, code -110

The message you got initially told you that a discrepancy between the CPU selected at kernel level and the user-support has been detected. To fix this, you need to select a x86 CPU supporting a timestamp counter when configuring your kernel, since by default, the configure script assumes --enable-x86-tsc.

Quoted 2 lines

May i know what does it mean by "x86 CPU supporting a timestamp counter when configuring your kernel"?

When configuring your kernel, in the menu "Processor type and features", select a CPU that supports the rdtsc instruction. That is, "pentium classic" or anything better. In order to know if you have selected a CPU that supports the rdtsc instruction, look for CONFIG_X86_TSC in the .config file.
Alternatively, if the CPU you use really does not support the rdtsc instruction, when you configure xenomai, pass the --disable-x86-tsc flag.

Signature · 1 line
					    Gilles Chanteperdrix.