Hi all,
Last week I had an error "Xenomai Posix skin init: pthread_setschedparam: Device or resource busy" when I ran deployer-xenomai on PowerPC linux-2.6 (please check below for detailed configuration).
When building xenomai, I used "./configure --enable-dlopen-skins ..", which is not necessary for my application. So I just rebuilt xenomai without this option, and the deployer works.
Lin
=================The error================
===========
The configuration is as follows:Linux kernel: 2.6.33 (on Xilinx XUPV2P board, with powerpc)
Adeos patch: adeos-ipipe-2.6.33-powerpc-2.9-00.patch
Xenomai: 2.5.6
Host Linux distribution: 2.6.32-26
Compiler: powerpc-405-linux-gnu-gcc, version 4.1.0
===========
My problem is:
When I run my program, I receive the following error:
Xenomai: Switching MainThread to secondary mode after exception #1025 from user-space at 0xf477000)
Xenomai: Switching MainThread to secondary mode after exception #1025 from user-space at 0xf541324)
Xenomai: Switching MainThread to secondary mode after exception #1025 from user-space at 0xf53ac4c)
...
Xenomai: Switching MainThread to secondary mode after exception #1025 from user-space at 0xf53b084)
..
Xenomai: native: cleaning up cond "" (ret=0).
Xenomai: native: cleaning up cond "" (ret=0).
Xenomai: native: cleaning up mutex "" (ret=0).
Xenomai: native: cleaning up mutex "" (ret=0).
... Xenomai Posix skin init: pthread_setschedparam: Device or resource busy
~#