kndf pnp debugging

I’m new to KMDF debugging. Some recent changes in my driver resulted in
EvtDriverDeviceAdd getting called, but it never makes it to calling EvtDeviceD0Entry.
Devmgr shows failure with code 10. Most likely the framework failed a pnp irp.

What is the general approach to pnp/pwr debugging of kmdf drivers?

thanks,

Put a bp on you evtdriverunload (register one if you don’t have one) and when that hits, run !wdfkd.wdflogdump (your driver name) and it will tell you what happened

d

Sent from my phone with no t9, all spilling mistakes are not intentional.

-----Original Message-----
From: xxxxx@yahoo.com
Sent: Monday, June 15, 2009 9:41 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] kndf pnp debugging

I’m new to KMDF debugging. Some recent changes in my driver resulted in
EvtDriverDeviceAdd getting called, but it never makes it to calling EvtDeviceD0Entry.
Devmgr shows failure with code 10. Most likely the framework failed a pnp irp.

What is the general approach to pnp/pwr debugging of kmdf drivers?

thanks,


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer