your mail
No thread and timer associated with it.
I am a kernel newbie. I just managed to make the module's release function to cope with "ctrl+c", nothing more is done. I do not know how to impove my code to make it cope with the TERM signal(No. 15 signal ?). In closing the dev file of a device, IMHO, all signal trigger the same function.
Quoted 14 lines · Huo Zhigang
Quoted 3 lines
Remove the driver first befor reboot! It works. But what is relation
between the reboot process and my driver? When I remove the driver module myself, nothing goes wrong. What is the difference?Does your module have a timer or thread which may be active at shutdown? It may be that if it has a kernel thread that the TERM will kill the thread and your driver does not expect this.
Cheers, Andreas
--
Andreas Dilger
http://www-mddsp.enel.ucalgary.ca/People/adilger/
http://sourceforge.net/projects/ext2resize/