Tech Support > Microsoft Windows > Drivers > REBOOT required everytime I unload and reload driver
REBOOT required everytime I unload and reload driver
Posted by Kiran on July 11th, 2003


I am unloading the NDIS driver to do some setting thru
registry, and then reload the driver. The driver reload
asks for REBOOT every time! What could be the possible
reason, and what all should I check for?

I have multi threaded application, one thread unloads the
driver and do the settings, and the other thread reloads
the driver. Can such a architecture can cause this REBOOT
problem?

I have developed a single threaded sample application to
do the above operations, and the result is:
On Win2K and WinXP the problem occurs very rarely (but
still it is a problem. Ans on Win2K3, it is consistently
asking for reload.

Pls help me out to get this issue solved!

Thanks in advance.
Kiran

Posted by Kiran on July 11th, 2003


Max,
The registry settings are required for miniport drivers
for which we dont have WMI interface as of now. For the
time being this is the way which is working fine for us.
So any solutions?

Posted by Eric Minso on July 11th, 2003


While writing one driver, I had the same problem : each time I
unloaded then reloaded my driver, I had to reboot the computer.

It was because I forgot to do the necessary cleaning (destroy some
kernel objects) in my Unload routine.


Similar Posts