On Wednesday, May 31, 2006 at 11:18 +0200, Rafał Bilski wrote: > Probably You are using preempt_disable() and preempt_enable() to protect > large parts of code. These functions work well when local interrupts are > disabled, but with interrupts enabled I had similar problem. Not that I am aware of. I am only working on l2cap.c and l2cap.h from this subset. Once I enhance the functionality by some functions and logic, I get these preemption problems. I did not even make use of any more locks/mutexes/etc. than those that were present in the original code -- but probably (or obviously?) this is the error. But I don't know were to start investigating. But thanks for your reply. Any more help is appreciated and welcome. Martin -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/