Trouble unloading NDIS driver

I try to unload my driver using the Network control panel… The problem is that inspite of all the expected handlers being called (MPHalt, UnbindAdapterHandler ) and me doing the clean up for required objects, the machine seems to go into some kind of a big loop (I see the hourglass keeps spinning on the n/w control panel window) from there. I thought there might be some IRPs hanging around or something like that but couldnt find out anything specific enough to help me in that direction, using Windbg. How can I attack this problem … its irritating because every time I unload, I am forced to reboot the box to get it back in decent shape.

Thanks !
-Johnny


Get your FREE download of MSN Explorer at http://explorer.msn.com.

You of course tried using driver verifier to check your driver, right?

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Johnny D
Sent: Friday, May 17, 2002 3:09 PM
To: NT Developers Interest List
Subject: [ntdev] Trouble unloading NDIS driver

I try to unload my driver using the Network control panel… The problem
is that inspite of all the expected handlers being called (MPHalt,
UnbindAdapterHandler ) and me doing the clean up for required objects,
the machine seems to go into some kind of a big loop (I see the
hourglass keeps spinning on the n/w control panel window) from there. I
thought there might be some IRPs hanging around or something like that
but couldnt find out anything specific enough to help me in that
direction, using Windbg. How can I attack this problem … its
irritating because every time I unload, I am forced to reboot the box to
get it back in decent shape.

Thanks !
-Johnny


Get your FREE download of MSN Explorer at http://explorer.msn.com
http: .

You are currently subscribed to ntdev as: xxxxx@hollistech.com
To unsubscribe send a blank email to %%email.unsub%%</http:>

Yep.  DV didnt throw up any exceptions, whcih is why I dont have a straight clue that I can jump on. Please let me know if you guys come up with other ideas…

Thanks

-Johnny

From: “Mark Roddy”

>Reply-To: “NT Developers Interest List”
>To: “NT Developers Interest List”
>Subject: [ntdev] RE: Trouble unloading NDIS driver
>Date: Fri, 17 May 2002 22:52:26 -0400
>
>You of course tried using driver verifier to check your driver, right?
>
>-----Original Message-----
>From: xxxxx@lists.osr.com
>[mailto:xxxxx@lists.osr.com] On Behalf Of Johnny D
>Sent: Friday, May 17, 2002 3:09 PM
>To: NT Developers Interest List
>Subject: [ntdev] Trouble unloading NDIS driver
>
>
>I try to unload my driver using the Network control panel… The problem
>is that inspite of all the expected handlers being called (MPHalt,
>UnbindAdapterHandler ) and me doing the clean up for required objects,
>the machine seems to go into some kind of a big loop (I see the
>hourglass keeps spinning on the n/w control panel window) from there. I
>thought there might be some IRPs hanging around or something like that
>but couldnt find out anything specific enough to help me in that
>direction, using Windbg. How can I attack this problem … its
>irritating because every time I unload, I am forced to reboot the box to
>get it back in decent shape.
>
>
>
>Thanks !
>-Johnny
>
> _____
>
>Get your FREE download of MSN Explorer at http://explorer.msn.com
><http: g.msn.com> .
>—
>You are currently subscribed to ntdev as: xxxxx@hollistech.com
>To unsubscribe send a blank email to %%email.unsub%%
>
>
>
>—
>You are currently subscribed to ntdev as: xxxxx@hotmail.com
>To unsubscribe send a blank email to %%email.unsub%%
</http:>


Send and receive Hotmail on your mobile device: Click Here