Re: WDM (PnP) Driver - Installation problem

Tech-Archive recommends: Speed Up your PC by fixing your registry



Markus09 <Markus09.266e60@xxxxxxxxxxxxxxxxxxxxx> wrote:

I have now managed to write an correct INF - File for installing a
wdm(pnp) - driver.
First, I thought it is the best to write a dummy-driver for a hardware
device which exists, but doesn't do anything on the hardware. It should
only load, save the given Info from the PnP Manager and keep them until
the driver is unloaded.
So I wrote these functions, compiled and linked successfully. Then I
tried to install the driver using the Hardware-Manager.

But exactly here occurs the error:
The HW-Manager copies the driver sys file and then the computer
restarts. But it's not a normal restart. It's like pressing the reset
button on the PC.

This means you are getting a bug check: your driver is causing some kind of
fatal system error. You can get a little more detail by turning off the
automatic reboot. On the System control panel app, go to Advanced, to
"Startup and Recovery", and turn off "Automatically Restart".

In the end, you will need to hook up a kernel debugger to chase this down.
--
- Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
.


Quantcast