My Device of xenomai 2.6.3 patch Issues ~!
Hi
When the xenomai 2.6.3 patch on my device, there are some problems.
H/W spec
- Am3352 ARM Cortex-A8
- Beaglebone Black base board.
S/W spec
- Kernel Version: v3.8.13-bone79
- Xenomai 2.6.3 patch
- Ubuntu 14.04.4 LTS
The first problem.
When in use the application program “clock_gettime” function quickly (about 5ms), the spinlock occurred in the kernel.
See kernel message file (“dmesg” command), file name = dmesg_spinlock.txt
A Second problem.
Using a "rt_mutex_create" function in the parent program when generating a "MyMutex", performs "rt_mutex_acquire", "rt_mutex_release" quickly, and the problem occurs once in 5-7 days.
Kernel messages of the problem. (“dmesg” command)
“Xenomai: native: cleaning up mutex “MyMutex” (ret=0).”
I want to know what the cause or the solution to the two problems. And just ask.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 42141 bytes
Desc: not available
URL: <http://xenomai.org/pipermail/xenomai/attachments/20160608/f1eb7c85/attachment.jpg>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dmesg_spinlock.txt
URL: <http://xenomai.org/pipermail/xenomai/attachments/20160608/f1eb7c85/attachment.txt>
Quoted 3 lines · ���ɵ�
Hi
Hi,
Quoted 5 lines
When the xenomai 2.6.3 patch on my device, there are some problems.
Xenomai is not a patch.
Quoted 7 lines
The first problem.
When in use the application program ¡°clock_gettime¡± function quickly (about 5ms), the spinlock occurred in the kernel.
See kernel message file (¡°dmesg¡± command), file name = dmesg_spinlock.txt
I do not understand what the problem is, you do not really give us enough detail, in particular, you say "when I use the application program clock_gettime", but for me clock_gettime is not a program. Anyway, do you get the same issues if you use:
- Xenomai 2.6.4
- a mainline Linux kernel
Quoted 7 lines
A Second problem.
Using a "
rt_mutex_create" function in the parent program when generating a "MyMutex", performs "rt_mutex_acquire", "rt_mutex_release" quickly, and the problem occurs once in 5-7 days.Kernel messages of the problem. (¡°dmesg¡± command)
Once again: I have not understood your problem. The message you get on the console is normal if an application exits, without a mutex having been destroyed. And the message can be suppressed with the kernel configuration.
Regards.
Signature · 2 lines
Gilles. https://click-hack.org