On 1/10/06, Rajaram Suryanarayanan <rajaram_linux@xxxxxxxxx> wrote:> Hi,>> In the init_module() of a kernel module , I inserted>> while(1);>instead to be able to pass keyboard and other interrupts. > and then tried to insert the module. When I insmoded the module, the system> hung without any keyboard/ mouse responses.>> Why does this happen ? I think your interrupts should get handled. You need to set your taskstate INTERRUPTIBLE And moreover INSMOD may have special reservations try to check this ina different thread i guess. I also need to clear this issue. Kindly somebody explain it more clearly.Nauman > Even if the insmod() is busy in the kernel mode with while(1); , it should> have been preempted by scheduler to run other processes..right ? ( as kernel> 2.6 is preemptive even in kernel mode ).>>> Thanks,> Rajaram.>> ________________________________> Yahoo! Photos – Showcase holiday pictures in hardcover> Photo Books. You design it and we'll bind it!>>ÿòž®w¥?ì‰ëÿéiy§!¢Ø^®Wš®v›¢ëm…ââžìdz¹Þ—ð+r¯{øm¶Ÿÿþf¢—ùåþX§»è®äz¹Þ–w°n'¬üPþm§ÿÿ‘êçzYÞÁ¸ž³ú+ƒ÷Ú