Hi All:
I meet some problem with my IM driver.when I unload the driver.It can not finished.I trace the program and found in PtUnbindAdapter function.when I call NdisIMDeInitializeDeviceInstance.the function does not return.we all know that when the NdisIMDeInitializeDeviceInstance called ,it will call MPHalt function.
I have install two NDISTimer In MPInitialize function and unload it in MPHalt funtion.Is it have some wrong with it and if We must unload Timer before NdisIMDeInitializeDeviceInstance?
Thanks and waiting for your reply.
(???r??z{e?˛???m?m?{]z???&j)@u?Ӣ?칻?&ޱ??i?Z?G?j)m?W???u?칻-E?"?Ǧm??(Z?X???,??&
Oh,I found that if I have bind wan and ethernet in the IM,the unload can’t finish.But if I just bind wan or ethernet.It work OK.I know that if IM bind two media or two net device,the IM’s MPInitialize will initialzie more than once.if it will have some side effect to the unload flow?
----- Original Message -----
From: “Bryan Burgin”
To:
Sent: Friday, January 18, 2002 7:03 PM
Subject: RE: [ntdev] a IM unload probolem
> Quick answer: I think that you have to cancel any timers before you deinitialize the device instance. I think there’s a spinlock deadlock. I can check in more detail tomorrow when I’m in the office.
>
> Bryan
>
> -----Original Message-----
> From: xudavid [mailto:xudavid@263.net]
> Sent: Thu 1/17/2002 11:27 PM
> To: NT Developers Interest List
> Cc:
> Subject: [ntdev] a IM unload probolem
>
>
> Hi All:
> I meet some problem with my IM driver.when I unload the driver.It can not finished.I trace the program and found in PtUnbindAdapter function.when I call NdisIMDeInitializeDeviceInstance.the function does not return.we all know that when the NdisIMDeInitializeDeviceInstance called ,it will call MPHalt function.
> I have install two NDISTimer In MPInitialize function and unload it in MPHalt funtion.Is it have some wrong with it and if We must unload Timer before NdisIMDeInitializeDeviceInstance?
> Thanks and waiting for your reply.
>
> b嫮绠范\够?v诘譲坪笧h畫~讬:.炈洷殊m?澲洉╀zf?y炞^繛4?b槽(卜(
>
b???.???????&?v?'?ׯj?.n?Qyȩf??]?:.?˛???m??֛???zf???%y?ޞ?^?˛??^r*Lzfެ?
???l??ܢ