Linux process stuck on wait for event even when event occurs

view story

http://stackoverflow.com – I have a very strange system behavior in a few places which can be described in short: There is a process either in user or kernel space which waits for event. and although the event occurs, the process does not wakes up. I will describe this below, but since the problem is in many different places (at least 4) I am starting to look for a system problem and not a local one something like preemption flag (already checked and not the problem) that will make the difference. The system is Linux working on Freescale IMX6 which is brain new and still in beta phase. Same code is working well on ma (HowTos)