Skip to contentSkip to conversation

xeno-test failed to open benchmark device, code -19 at t1 and t2 # latency

Xenomai-help Dennis Nguyen 2 participants 4 messages Oct 25, 2007 – Oct 30, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

I built 2.6.22.10 linux kernel -i386 with xenomai 2.4-rc4 and adeos-ipipe-2.6.22-i386-1.10-09.patch.

I checked enable SMI workaround, uncheck frequency scaling, uncheck ACPI and uncheck APM.

I ran xeno-test and get the following failed message:

Thu Oct 25 13:17:02 PDT 2007
running: ./run -- -sh -T 120 -t1 # latency *
*
* Type ^C to stop this application.
*
*
== Sampling period: 100 us
== Test mode: in-kernel periodic task
== All results in microseconds
latency: failed to open benchmark device, code -19 (modprobe xeno_timerbench?)

Thu Oct 25 13:17:04 PDT 2007
running: ./run -- -sh -T 120 -t2 # latency *
*
* Type ^C to stop this application.
*
*
== Sampling period: 100 us
== Test mode: in-kernel timer handler
== All results in microseconds
latency: failed to open benchmark device, code -19 (modprobe xeno_timerbench?)

Could you help me to solve the issue?

Thank you,
Dennis

#1 lore raw
Quoted 36 lines · Dennis Nguyen

Hi,

I built 2.6.22.10 linux kernel -i386 with xenomai 2.4-rc4 and adeos-ipipe-2.6.22-i386-1.10-09.patch.

I checked enable SMI workaround, uncheck frequency scaling, uncheck ACPI and uncheck APM.

I ran xeno-test and get the following failed message:

Thu Oct 25 13:17:02 PDT 2007
running: ./run -- -sh -T 120 -t1 # latency *
*
* Type ^C to stop this application.
*
*
== Sampling period: 100 us
== Test mode: in-kernel periodic task
== All results in microseconds
latency: failed to open benchmark device, code -19 (modprobe xeno_timerbench?)

Thu Oct 25 13:17:04 PDT 2007
running: ./run -- -sh -T 120 -t2 # latency *
*
* Type ^C to stop this application.
*
*
== Sampling period: 100 us
== Test mode: in-kernel timer handler
== All results in microseconds
latency: failed to open benchmark device, code -19 (modprobe xeno_timerbench?)

Quoted 1 line

Could you help me to solve the issue?

What does the kernel log say (=>dmesg) when you manually insert the module (=>modprobe xeno_timerbench)? Do you still have versioning conflicts with your modules (as reported on rtnet-users)?

Jan

#2 lore raw
Quoted 38 lines · Jan Kiszka
Quoted 36 lines · Dennis Nguyen

Hi,

I built 2.6.22.10 linux kernel -i386 with xenomai 2.4-rc4 and adeos-ipipe-2.6.22-i386-1.10-09.patch.

I checked enable SMI workaround, uncheck frequency scaling, uncheck ACPI and uncheck APM.

I ran xeno-test and get the following failed message:

Thu Oct 25 13:17:02 PDT 2007
running: ./run -- -sh -T 120 -t1 # latency *
*
* Type ^C to stop this application.
*
*
== Sampling period: 100 us
== Test mode: in-kernel periodic task
== All results in microseconds
latency: failed to open benchmark device, code -19 (modprobe xeno_timerbench?)

Thu Oct 25 13:17:04 PDT 2007
running: ./run -- -sh -T 120 -t2 # latency *
*
* Type ^C to stop this application.
*
*
== Sampling period: 100 us
== Test mode: in-kernel timer handler
== All results in microseconds
latency: failed to open benchmark device, code -19 (modprobe xeno_timerbench?)

Quoted 10 lines
Quoted 2 lines

Could you help me to solve the issue?

What does the kernel log say (=>dmesg) when you manually insert the module (=>modprobe xeno_timerbench)? Do you still have versioning conflicts with your modules (as reported on rtnet-users)?

Jan

I could not find xeno_timerbench. How to include the xeno_timerbench when it is built? I got:
[[email protected] bin]# modprobe xeno_timerbench
FATAL: Module xeno_timerbench not found.

I don't know about the versioning conflicts.

Thanks,
Dennis

#3 lore raw
Quoted 50 lines · Dennis Nguyen
Quoted 38 lines · Jan Kiszka
Quoted 36 lines · Dennis Nguyen

Hi,

I built 2.6.22.10 linux kernel -i386 with xenomai 2.4-rc4 and adeos-ipipe-2.6.22-i386-1.10-09.patch.

I checked enable SMI workaround, uncheck frequency scaling, uncheck ACPI and uncheck APM.

I ran xeno-test and get the following failed message:

Thu Oct 25 13:17:02 PDT 2007
running: ./run -- -sh -T 120 -t1 # latency *
*
* Type ^C to stop this application.
*
*
== Sampling period: 100 us
== Test mode: in-kernel periodic task
== All results in microseconds
latency: failed to open benchmark device, code -19 (modprobe xeno_timerbench?)

Thu Oct 25 13:17:04 PDT 2007
running: ./run -- -sh -T 120 -t2 # latency *
*
* Type ^C to stop this application.
*
*
== Sampling period: 100 us
== Test mode: in-kernel timer handler
== All results in microseconds
latency: failed to open benchmark device, code -19 (modprobe xeno_timerbench?)

Quoted 10 lines
Quoted 2 lines

Could you help me to solve the issue?

What does the kernel log say (=>dmesg) when you manually insert the module (=>modprobe xeno_timerbench)? Do you still have versioning conflicts with your modules (as reported on rtnet-users)?

Jan

Quoted 7 lines

I could not find xeno_timerbench. How to include the xeno_timerbench when it is built?
I got:
[[email protected] bin]# modprobe xeno_timerbench
FATAL: Module xeno_timerbench not found.

I don't know about the versioning conflicts.

Did you enable the timer benchmark in the kernel configuration (Xenomai menu -> drivers -> testing -> timer benchmark)ß

Jan