Re: Re: Re: your mail

Huo Zhigang (zghuo@gatekeeper.ncic.ac.cn)
Wed, 24 Apr 2002 19:20:46 +0800


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.

>On Apr 24, 2002 17:44 +0800, Huo Zhigang wrote:
>> 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/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/