Hi,
When I install for example
NDIS intermediate driver for debugging purposes, when I need exchange it
for new build, uninstalling and installing again is not sufficient. I must
uninstall it, restart machine, and install driver again.
It seems that once driver is loaded it remains in memory (or some resources
reamins) and unloading needs restart.

I think that this behaviour is related to plug-and-play feature in W2K and up,
but W2K are plug-and-play (or not absolutely ? ) ?
Can be driver 100% unloaded without restarting machine ?

Thanks,
Peter

Re: Question about plug and play drivers by Calvin

Calvin
Thu Mar 17 08:51:28 CST 2005

You should be able to unload an NDIS IM driver without restarting.
The driver won't unload until ALL instances of your device have been
removed.

--
Calvin Guan Software Engineer/Radeon NT Drivers
ATI Technologies Inc. Markham ON, Canada www.ati.com


"Peter" <Peter@discussions.microsoft.com> wrote in message
news:0ABBF705-4FDA-4305-9E0A-115CE0F4096E@microsoft.com...
> Hi,
> When I install for example
> NDIS intermediate driver for debugging purposes, when I need exchange it
> for new build, uninstalling and installing again is not sufficient. I must
> uninstall it, restart machine, and install driver again.
> It seems that once driver is loaded it remains in memory (or some
resources
> reamins) and unloading needs restart.
>
> I think that this behaviour is related to plug-and-play feature in W2K and
up,
> but W2K are plug-and-play (or not absolutely ? ) ?
> Can be driver 100% unloaded without restarting machine ?
>
> Thanks,
> Peter



RE: Question about plug and play drivers by pavel_a

pavel_a
Thu Mar 17 11:11:05 CST 2005

Yes, this is very annoying. So try to make your driver unloadable first of all.
Also some people use Virtual PC to debug such things.

--PA

"Peter" wrote:
> Hi,
> When I install for example
> NDIS intermediate driver for debugging purposes, when I need exchange it
> for new build, uninstalling and installing again is not sufficient. I must
> uninstall it, restart machine, and install driver again.
> It seems that once driver is loaded it remains in memory (or some resources
> reamins) and unloading needs restart.
>
> I think that this behaviour is related to plug-and-play feature in W2K and up,
> but W2K are plug-and-play (or not absolutely ? ) ?
> Can be driver 100% unloaded without restarting machine ?
>
> Thanks,
> Peter

Re: Question about plug and play drivers by Peter

Peter
Thu Mar 17 11:41:08 CST 2005

Thanks,
your advice inspired me to check something other,
problem was that driver had some uninitialized resources.
Now it is 100% plug and play.
:-)

P.

"Calvin Guan" wrote:

> You should be able to unload an NDIS IM driver without restarting.
> The driver won't unload until ALL instances of your device have been
> removed.
>
> --
> Calvin Guan Software Engineer/Radeon NT Drivers
> ATI Technologies Inc. Markham ON, Canada www.ati.com
>
>
> "Peter" <Peter@discussions.microsoft.com> wrote in message
> news:0ABBF705-4FDA-4305-9E0A-115CE0F4096E@microsoft.com...
> > Hi,
> > When I install for example
> > NDIS intermediate driver for debugging purposes, when I need exchange it
> > for new build, uninstalling and installing again is not sufficient. I must
> > uninstall it, restart machine, and install driver again.
> > It seems that once driver is loaded it remains in memory (or some
> resources
> > reamins) and unloading needs restart.
> >
> > I think that this behaviour is related to plug-and-play feature in W2K and
> up,
> > but W2K are plug-and-play (or not absolutely ? ) ?
> > Can be driver 100% unloaded without restarting machine ?
> >
> > Thanks,
> > Peter
>
>
>

Re: Question about plug and play drivers by Maxim

Maxim
Fri Mar 18 00:48:20 CST 2005

> Can be driver 100% unloaded without restarting machine ?

Yes. Disable all its devices in Device Manager and note WinDbg making a trace
on module unload.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com