On 11/22/06, Aashima Raturi <aashima@xxxxxxxxxxxxxx> wrote:
We are using message queue interface for sending messages from kernel to user space and vice versa. This works fine for upto 6k packet size and beyond that the kernel crashes. The error that it gives is kernel stack overflow and sometimes kernel BUG in sched.c:915!. I also increased the MSGMNB and MSGMAX values in msg.h. Could you please suggest how to go about in solving this problem?
Are you creating the temporary packet to be sent to user space as a local variable? Or kmallocing the memory? In case of local variable, the problem is quite obvious. Regards, Rajat -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/