On 09/29/2014 10:57 PM, Brian Eley wrote:
> Hi All,
> 
> I've been trying out Xenomai 2.6 for several weeks for use in an embedded 
> system. Xenomai has been working great, but I can make it crash (Kernel 
> Panic) in a repeatable way by starting and stopping processes that use IO 
> Permissions (for directly accessing IO ports from user space). Interestingly, 
> the process with IO permissions doesn't need to use Xenomai to cause the 
> panic.
> 
> I believe I have found the root cause, and I have come up with a potential 
> fix for the issue, but because I am an embedded systems designer with very 
> little kernel programming experience, I would really like to leave it to the 
> Xenomai team to decide on and implement a proper fix.
> 
> Following is a description of my setup along with crash dumps, instructions 
> for reproducing, my analysis of the crash, and a patch I used to fix the 
> problem on my test system.
> 

Your analysis, and the related fix are both correct. I merged the latter
in the mainline repo, along with additional protection for the FPU fixup
code exactly for the same reason. Thanks for this thorough
investigation, and sorry for the late reply.

http://git.xenomai.org/ipipe.git/commit/?h=ipipe-3.14&id=1b59795aaf0ae26b7d024c6311a9788b5256ec7e

-- 
Philippe.

_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai

Reply via email to