Hi all,
I am now writing a kernel module for linux2.6.16. And I can insert it
properly. But I can not rmmod it. I found that the kernel thread created by the
module can not continue to run after wait_event_interruptible(my_wq, condition);
The mod_exit() is something like:
mod_exit()
{
condition = true;
wake_up_interruptible(&my_wq);
}
When I use interruptible_sleep_on(&my_wq) instead of
wait_event_interruptible(my_wq, condition); I can rmmod the module, but get a
kernel oops.
Would you like to help me with it?
Thank you and regards,
Feb-25-2007
---------------------------------
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games._______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev