Hi, You cannot allocate memory in real time threads RTLinux's threads. You have to do it in the init_module function and pass the meory pointer to threads as parameter. Can you tell exactly what problem are you facing? niTin -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/