Skip to contentSkip to conversation

Error while running test suit (required="sep tsc", present="sep", missing="tsc").

Xenomai-help Deepak Joglekar 4 participants 5 messages Apr 24, 2006 – Apr 25, 2006

lore
Share & tools
lore
#0 lore raw

Hi,

I am using kernel 2.6.15.7 and Xenomai 2.1

While writing this mail I noticed the probable reason. parameter
#define CONFIG_X86_TSC 1 should be
#define CONFIG_XENO_X86_TSC 1

I changed this in src/include/xeno_config.h

After recompile testsuit worked.

I changed the same in
src/include/xeno_config.h.in

original line
#undef CONFIG_X86_TSC
changed to.
#undef CONFIG_XENO_X86_TSC

Then normal ./configure ... make etc.

It worked.

Thanks,

Deepak Joglekar

--------------------------------------------------------

I get following error while running test suit.

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

I configured the xenomai with
./configure --enable-x86-tsc --enable-x86-sep

config.log file entries

configure:20569: checking for x86 TSC support
configure:20579: result: y
#define CONFIG_X86_TSC 1

configure:20556: checking for x86 SEP instructions in syscalls configure:20566: result: y
#define CONFIG_XENO_X86_SEP 1

cat /proc/cpuinfo shows sep and tsc.

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 nx lm pni monitor ds_cpl est cid cx16 xtpr

---------------------------

#1 lore raw
Quoted 16 lines · Deepak Joglekar

Hi,

I am using kernel 2.6.15.7 <http://2.6.15.7/> and Xenomai 2.1

While writing this mail I noticed the probable reason. parameter
#define CONFIG_X86_TSC 1 should be
#define CONFIG_XENO_X86_TSC 1

I changed this in src/include/xeno_config.h

After recompile testsuit worked.

I changed the same in
src/include/xeno_config.h.in

Quoted 9 lines

original line
#undef CONFIG_X86_TSC
changed to.
#undef CONFIG_XENO_X86_TSC

Then normal ./configure ... make etc.

It worked.

By luck since you only circumvented the proper checks, unfortunately. The variables as defined in the configure script are perfectly ok, CONFIG_X86_TSC is the right option to set.

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.

In any case, keep in mind that updating the configure script output (xeno_config.h) by hand is always the wrong way to fix an issue.

Quoted 41 lines

Thanks,

Deepak Joglekar

------------------------------
--------------------------

I get following error while running test suit.

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

I configured the xenomai with
./configure --enable-x86-tsc --enable-x86-sep

config.log file entries

configure:20569: checking for x86 TSC support
configure:20579: result: y
#define CONFIG_X86_TSC 1

configure:20556: checking for x86 SEP instructions in syscalls configure:20566: result: y
#define CONFIG_XENO_X86_SEP 1

cat /proc/cpuinfo shows sep and tsc.

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 nx lm pni monitor ds_cpl est cid cx16 xtpr

---------------------------

------------------------------------------------------------------------

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Signature · 1 line
Philippe.
#2 lore raw
In reply to Deepak Joglekar
Quoted 8 lines · Deepak Joglekar

Hi,

I am using kernel 2.6.15.7 and Xenomai 2.1

While writing this mail I noticed the probable reason. parameter
#define CONFIG_X86_TSC 1 should be
#define CONFIG_XENO_X86_TSC 1

No, the issue is that you enable usage of tsc in user-space by passing the --enable-x86-tsc to configure, whereas you choosed, in kernel configuration, a processor without tsc enabled.

Signature · 1 line
					    Gilles Chanteperdrix.
#3 lore raw
In reply to Deepak Joglekar
Quoted 2 lines · Deepak Joglekar

Hi,

hi.

For the Record, can you post your actual error messages, in context, so that folks who search the ML (gasp) for the "exact error message string" will find it in your post ?

And it would be good to post the answer youve recieved also.

tia

#4 lore raw

Hi,

For record complete results.

1. Initally I chose i686 processor family in kernel config. and followed instructions for kernel and xenomai compile and install.
My processor is Pentium IV on build system. My Target processor will be AMD Geode.

I was getting following error message while running xeno-test.
-----------------------------------------------------------
Xenomai: incompatible feature set
(required="sep tsc", present="sep", missing="tsc").
-----------------------------------------------------------

I checked /proc/cpuinfo
--------------------------------
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 nx lm pni monitor ds_cpl est cid cx16 xtpr
--------------------------------

Then I was bit confused.

Gilles Chanteperdrix correctly pointed out error.

You should have "CONFIG_X86_TSC=y" in kernel ".config" file. It will be selected automatically based on the Processor selected for kernel compilation.

If you don't have this line in ".config" then one should configure the Xenomai as
-----------------------------------
./configure --disable-tsc
-----------------------------------

When CONFIG_X86_TSC is available in kernel then on "./configure" will work for Xenomai.

Thanks.

Quoted 15 lines · Jim Cromie
Quoted 2 lines · Deepak Joglekar

Hi,

hi.

For the Record, can you post your actual error messages, in context, so that folks who search the ML (gasp) for the "exact error message string"
will find it in your post ?

And it would be good to post the answer youve recieved also.

tia