The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.
Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/
I've been testing a UMDF IddCx video driver, and this message just started appearing (after
devcon.exe install ...) along with a breakpoint in WinDbg:
(DriverEntry and EVT_WDF_DRIVER_DEVICE_ADD handlers succeed as they did prior to this error message) . . . <==CDriver::OnWdfDriverDeviceAdd [status: STATUS_SUCCESS] A mismatch between the PNP/INF version and the KMD file version on the graphics adapter has been detected. The adapter will fail to start. (WinDbg breaks here -- see stack below) ==>CAdapter::OnWdfDeviceD0Entry(hWdfDevice: <hWdfAdapterDevice>, previousState: 5) . . .
[0x0] dxgkrnl!DpiFdoValidateKmdAndPnpVersionMatch + 0x88e5c [0x1] dxgkrnl!DpiFdoInitializeFdo + 0x313 [0x2] dxgkrnl!DpiAddDevice + 0x1942 [0x3] nt!PpvUtilCallAddDevice + 0x3b [0x4] nt!PnpCallAddDevice + 0x94 [0x5] nt!PipCallDriverAddDevice + 0x827 [0x6] nt!PipProcessDevNodeTree + 0x333 [0x7] nt!PiRestartDevice + 0xba [0x8] nt!PnpDeviceActionWorker + 0x46a [0x9] nt!ExpWorkerThread + 0x105 [0xa] nt!PspSystemThreadStartup + 0x55 [0xb] nt!KiStartSystemThread + 0x28
I don't understand what this means; I haven't changed anything in the INF, and this is a UMDF driver, so what "KMD file version" is it referring to? I searched for the message itself and also
DpiFdoValidateKmdAndPnpVersionMatch, but came up empty.
Can anyone shed light on this?
Windows Developer since 1989
|Upcoming OSR Seminars|
|OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!|
|Writing WDF Drivers||7 Dec 2020||LIVE ONLINE|
|Internals & Software Drivers||25 Jan 2021||LIVE ONLINE|
|Developing Minifilters||8 March 2021||LIVE ONLINE|