Gilles,

I am using linux kernel 2.6.27.7 and xenomai 2.4.6.1. I get the same results 
below after loading xeno_timerbench module:

I loaded xeno_timerbench module as follows but get the same results:
modprobe xeno_timerbench

./latency -t 2:

== Sampling period: 100 us
== Test mode: in-kernel periodic task
== All results in microseconds
latency: failed to open benchmark device, code -38
(modprobe xeno_timerbench?)

./latency -t 1:
== Sampling period: 100 us
== Test mode: in-kernel timer handler
== All results in microseconds
latency: failed to open benchmark device, code -38
(modprobe xeno_timerbench?)

cat /proc/modules:
xeno_timerbench 5700 0 - Live 0xce9a0000
savagefb 23520 0 - Live 0xce9a9000
via686a 12780 0 - Live 0xce986000
i2c_viapro 7348 0 - Live 0xce979000
8139cp 17152 0 - Live 0xce99a000
i2c_core 22448 1 i2c_viapro, Live 0xce993000
shpchp 26996 0 - Live 0xce98b000
pci_hotplug 7492 1 shpchp, Live 0xce97d000
via_agp 7456 1 - Live 0xce976000 

-----Original Message-----
From: Gilles Chanteperdrix [mailto:[email protected]] 
Sent: Wednesday, August 12, 2009 11:15 AM
To: Charlton, John
Cc: [email protected]
Subject: Re: [Xenomai-help] pthread_setschedparam: Function not implemented

Charlton, John wrote:
> Gilles,
> 
> Thank you for the reply.  Here is the output of ld-linux.so.2.  I do not have 
> ldd on the open embedded target embedded controller:
> ld-linux.so.2 --list ./latency:
>         linux-gate.so.1 =>  (0xffffe000)
>         libnative.so.1 => /usr/xenomai/lib/libnative.so.1 (0xb7f1c000)
>         librtdm.so.1 => /usr/xenomai/lib/librtdm.so.1 (0xb7f1a000)
>         libpthread.so.0 => /lib/libpthread.so.0 (0xb7eff000)
>         libm.so.6 => /lib/libm.so.6 (0xb7ed9000)
>         libc.so.6 => /lib/libc.so.6 (0xb7da4000)
>         /lib/ld-linux.so.2 (0xb7f23000)
> 
> ld-linux.so.2 --list ./cyclictest:
>         linux-gate.so.1 =>  (0xffffe000)
>         libpthread_rt.so.1 => /usr/xenomai/lib/libpthread_rt.so.1 (0xb7fbe000)
>         libpthread.so.0 => /lib/libpthread.so.0 (0xb7fa3000)
>         librt.so.1 => /lib/librt.so.1 (0xb7f8e000)
>         libc.so.6 => /lib/libc.so.6 (0xb7e59000)
>         /lib/ld-linux.so.2 (0xb7fc8000)

These two are Ok. I think your debug log contained the output of several 
commands. You should try and run the commands one by one by yourself, and 
report the errors you get for the command that produce it.

> 
> .config:
(snip)
> CONFIG_XENO_SKIN_POSIX=y

Well, since the POSIX skin is enabled, you should not get the message Xenomai 
Posix skin init: pthread_setschedparam: Function not implemented. Are you sure 
you run the kernel you think you are running?

(snip)
> CONFIG_XENO_DRIVERS_TIMERBENCH=m

timerbench is configured as a module, you should load it before you run latency 
-t 1 or latency -t 2, or you will get the message:

latency: failed to open benchmark device, code -38 (modprobe xeno_timerbench?)

Note that the error message gives you the solution.

>> Exactly what version of Xenomai kernel-space suppors runs with what 
>> version of user-space support?

You did not answer that question. With what version of Xenomai user-space and 
kernel-space do you get these issues?

-- 
                                          Gilles


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

Reply via email to