Hi... Before going further, I believe this is on ARM architecture, right? OK, not much I can suggest...however... > Ok so what functions should i use to synchronise my application with > the kernel module? > And when i call copy_to_user() and the user space pointer is invalid, > it should return a > negative value right (-EFAULT) and shouldnt give an unhandled page > fault. Perhaps what Arjan suggest is, try to check whether it is awaken because other code path wakes it or it is awaken by pending signal. In that case, try non-interruptible variant. regards, Mulyadi -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/