Skip to contentSkip to conversation

still verification problems

Xenomai-help Joachim Meyer 3 participants 3 messages Jun 3, 2008

lore
Share & tools
lore
#0 lore raw

Hi

I still have problems with 2 tests of the testsuite:
irqloop doesn't seem to work:
-------------------------------------
bash-3.00# irqbench/irqloop

Test mode:    user-space task
Port type:    serial
Port address: 0x3f8
Port IRQ:     4
Received IRQs:     0
Acknowledged IRQs: 0

bash-3.00#
------------------------------------

latency in kernel mode fails
-----------------------------------
bash-3.00# latency/latency -t1
== Sampling period: 100 us
== Test mode: in-kernel periodic task
== All results in microseconds
latency: failed to start in-kernel timer benchmark, code -25

---|------------|------------|------------|--------|-------------------------
RTS|  267928.028|  805352.732|      32.768|       0|    00:00:40/00:00:40

bash-3.00#
-----------------------------------------------------------------------------------

if nobody can give me hints (modules are loaded) where to look for the errors, maybe somebody can send me the manpages. I heard they are availible for debian unstable users, but
I would have to download and in stall it, just for this reason, so maybe someone can manage to download and send them to me.

Can I assume, if all the tests in the testsuite work, that everything works fine? Sure there won't be a 100% guarantee, but I would do anything to make sure, that later errors won't have there source in an non working Linux/Xenomai.

Thx & Greez
Joachim
_________________________________________________________________________
In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und gestalten! Nur 3,99 EUR/Monat! http://www.maildomain.web.de/?mc=021114

#1 lore raw
Quoted 11 lines · Joachim Meyer

Hi

I still have problems with 2 tests of the testsuite:
irqloop doesn't seem to work:
-------------------------------------
bash-3.00# irqbench/irqloop

Test mode:    user-space task
Port type:    serial
Port address: 0x3f8
Port IRQ:     4
Quoted 4 lines
Received IRQs:     0
Acknowledged IRQs: 0

bash-3.00#
------------------------------------

Hm, irqloop is from the irqbench test suite requiring a special setup and does not make sense on non X86 systems: See

http://www.rts.uni-hannover.de/xenomai/lxr/source/doc/txt/irqbench.txt

Quoted 9 lines

latency in kernel mode fails
-----------------------------------
bash-3.00# latency/latency -t1
== Sampling period: 100 us
== Test mode: in-kernel periodic task
== All results in microseconds
latency: failed to start in-kernel timer benchmark, code -25

---|------------|------------|------------|--------|-------------------------
RTS|  267928.028|  805352.732|      32.768|       0|    00:00:40/00:00:40
Quoted 7 lines

bash-3.00#
-----------------------------------------------------------------------------------

if nobody can give me hints (modules are loaded) where to look for the errors, maybe somebody can send me the manpages. I heard they are availible for debian unstable users, but
I would have to download and in stall it, just for this reason, so maybe someone can manage to download and send them to me.

You can find the error codes here:

http://www.xenomai.org/index.php/Resolving_Error_Codes
http://lxr.linux.no/linux/include/asm-generic/errno-base.h
http://lxr.linux.no/linux/include/asm-generic/errno.h

Most likely the corresponding driver modules for timer testing is not loaded or linked into the kernel.

Quoted 3 lines

Can I assume, if all the tests in the testsuite work, that everything works fine? Sure there won't be a 100% guarantee, but I would do anything to make sure, that later errors won't have there source in an non working Linux/Xenomai.

It's at least a good sign.

Wolfgang.

#2 lore raw
In reply to Joachim Meyer
Quoted 23 lines · Joachim Meyer

Hi

I still have problems with 2 tests of the testsuite:
irqloop doesn't seem to work:
-------------------------------------
bash-3.00# irqbench/irqloop

Test mode:    user-space task
Port type:    serial
Port address: 0x3f8
Port IRQ:     4
Received IRQs:     0
Acknowledged IRQs: 0

bash-3.00#
------------------------------------

latency in kernel mode fails
-----------------------------------
bash-3.00# latency/latency -t1
== Sampling period: 100 us
== Test mode: in-kernel periodic task
== All results in microseconds
latency: failed to start in-kernel timer benchmark, code -25

Quoted 6 lines
---|------------|------------|------------|--------|-------------------------
RTS|  267928.028|  805352.732|      32.768|       0|    00:00:40/00:00:40

bash-3.00#
-----------------------------------------------------------------------------------

if nobody can give me hints (modules are loaded)

As a novice, you should not care yourself about loading modules. You should use the "run" scripts which will take care of loading only the proper modules, and this should work.

So, the proper way of running the latency test with the -t 1 parameter is:
cd /usr/xenomai/share/xenomai/testuite/latency
./run -- -t 1

Quoted 4 lines

where to look for the errors, maybe somebody can
send me the manpages. I heard they are availible for debian unstable users, but I would have to download and in stall it, just for this reason, so maybe someone can manage to download and send them to me.

Xenomai sources are publically accessible through svn, help yourself:
https://gna.org/svn/?group=xenomai

Signature · 1 line
 Gilles