Windows 10: Windows Device Driver (WDK) sample not working

Discus and support Windows Device Driver (WDK) sample not working in Windows 10 BSOD Crashes and Debugging to solve the problem; I had compiled successfully WDK8.0 generic text only driver sample code on WDK 10 visual studio 15. But not able to install driver, while using... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by sunilskushwaha, Nov 28, 2018.

  1. Windows Device Driver (WDK) sample not working


    I had compiled successfully WDK8.0 generic text only driver sample code on WDK 10 visual studio 15. But not able to install driver, while using tty.inf it give " SYSTEM CAN NOT FIND THE FILE SPECIFIED"


    can anyone advice me?

    :)
     
    sunilskushwaha, Nov 28, 2018
    #1
  2. oktm Win User

    BSoD :: storport.sys with WDK sample code "storahci.sys" (Win10 Ver 1803) --- Need Urgent help !!!

    Probelm :

    BSOD occurred in storport.sys .

    Miniport driver : WDK Sample code "storahci.sys" (Latest Sample Code)

    Sample Code URL ::

    Microsoft/Windows-driver-samples

    OS : Windows 10 Ver 1803

    Build Environment : WDK for Windows 10 Ver 1803

    Visual Studio 2017

    Windbg Stack Tarce :: The following are part of stack trace .

    Every BSOD cases are same trace .

    BSOD occured in DPC of storport.sys

    (Divide error )

    STACK_TEXT:

    fffff803`bdc6a438 : nt!KeBugCheckEx

    fffff803`bdc6a440 : nt!KiFatalExceptionHandler+0x22

    fffff803`bdc6a480 : nt!RtlpExecuteHandlerForException+0xd

    fffff803`bdc6a4b0 : nt!RtlDispatchException+0x416

    fffff803`bdc6aba0 : nt!KiDispatchException+0x1f3

    fffff803`bdc6b250 : nt!KiExceptionDispatch+0xc2

    fffff803`bdc6b430 : nt!KiDivideErrorFault+0x2c6

    fffff803`bdc6b5c0 : storport!StorpTelemetrySendAdaptiveIdleCounters+0x159e2

    fffff803`bdc6b740 : storport!StorpLogPerUnitStatistics+0xd3

    fffff803`bdc6b770 : storport!StorpLogStatistics+0x7d

    fffff803`bdc6b820 : storport!StorpTraceLoggingTelemetryTimerDpcRoutine+0xfa

    fffff803`bdc6b860 : nt!KiProcessExpiredTimerList+0x159

    fffff803`bdc6b950 : nt!KiRetireDpcList+0x4c7

    fffff803`bdc6bb60 : nt!KiIdleLoop+0x5a

    Prior to Windows 10 Ver 1803 (Ver 1709 ...) : No BSOD occurred .

    My guessing :: Relation between storport.sys and storahci.sys (WDK sample code) changed .

    Can you provide us source code of storahci.sys coresponding driver version 10.0.17134.1 please ?

    I observed kernel log messages by using dbgviewer and Windbg .

    Certainly , There are some differences from WDK sample "storahci" .

    Best regards.

    Moved from: Windows 10 / Devices & drivers
     
  3. oktm Win User
    BSoD :: storport.sys with WDK sample code "storahci.sys" (Win10 Ver 1803) --- Need Urgent help !!!

    Dear Ian:



    Thank you for the reply.



    I’ve just posted it on your MSDN forums.

    I really hope someone would fine the post and help me.



    When I think you might be able to help me again, I’ll let you know.



    To the people who were interested in this:

    I re-posted this issue on the link below.



    MSDN Forum

    BSoD :: storport.sys with WDK sample code "storahci.sys" (Win10 Ver 1803)





    Please refer to the link and give advice, if you could.

    I appreciate your continued support and encouragement.
     
  4. Monk.e83 Win User

    Windows Device Driver (WDK) sample not working

    Unlocked Realtek HD Audio Drivers Windows 7 & 8 (With Dolby Digital Live and DTS Interactive)

    DTS supported natively by Windows 8/8.1 and it should work on windows 10 too just DDL require to unlock your driver .
     
    Monk.e83, Nov 28, 2018
    #4
Thema:

Windows Device Driver (WDK) sample not working

Loading...
  1. Windows Device Driver (WDK) sample not working - Similar Threads - Device Driver WDK

  2. When Is Windows WDK Expected For Arm Development

    in Windows 10 Software and Apps
    When Is Windows WDK Expected For Arm Development: Hello World, I was wondering when the arm64 version of windows wdk is scheduled to be release because I'm on mac m2 with parallels and i need access to driver development on my mac m2. I drove myself crazy today looking for a solution, so this is my last resort PLEASE...
  3. When Is Windows WDK Expected For Arm Development

    in Windows 10 Gaming
    When Is Windows WDK Expected For Arm Development: Hello World, I was wondering when the arm64 version of windows wdk is scheduled to be release because I'm on mac m2 with parallels and i need access to driver development on my mac m2. I drove myself crazy today looking for a solution, so this is my last resort PLEASE...
  4. driver samples don't build

    in Windows 10 Gaming
    driver samples don't build: I have windows 10, vs2019, the latest WDK and SDK.I can't get the windows driver samples to buildPLX9x5x gives the followingSeverity Code Description Project File Line Suppression StateError MSB4062 The "ValidateNTTargetVersion" task could not be loaded from the assembly...
  5. driver samples don't build

    in Windows 10 Software and Apps
    driver samples don't build: I have windows 10, vs2019, the latest WDK and SDK.I can't get the windows driver samples to buildPLX9x5x gives the followingSeverity Code Description Project File Line Suppression StateError MSB4062 The "ValidateNTTargetVersion" task could not be loaded from the assembly...
  6. driver samples don't build

    in Windows 10 Drivers and Hardware
    driver samples don't build: I have windows 10, vs2019, the latest WDK and SDK.I can't get the windows driver samples to buildPLX9x5x gives the followingSeverity Code Description Project File Line Suppression StateError MSB4062 The "ValidateNTTargetVersion" task could not be loaded from the assembly...
  7. Device drivers not working

    in Windows 10 Drivers and Hardware
    Device drivers not working: Following an unsuccessful Windows 10 update in January for Windows 10 version 1903, all the devices on my laptop stopped working. Initially I thought only a wireless printer was affected, but I’ve since found that other devices such as a USB flash drive have stopped working...
  8. Driver ROOT\SAMPLE\0000

    in Windows 10 Drivers and Hardware
    Driver ROOT\SAMPLE\0000: This is showing as a defective driver in my system, how do I fix the problem. Did a search and cannot find any matches? This showed up after 1903 update. Thanks Bill...
  9. BSoD :: storport.sys with WDK sample code "storahci.sys" (Win10 Ver 1803) --- Need Urgent...

    in Windows 10 BSOD Crashes and Debugging
    BSoD :: storport.sys with WDK sample code "storahci.sys" (Win10 Ver 1803) --- Need Urgent...: Probelm : BSOD occurred in storport.sys . Miniport driver : WDK Sample code "storahci.sys" (Latest Sample Code) Sample Code URL :: https://github.com/Microsoft/Windows-driver-samples/tree/master/storage/miniports/storahci OS : Windows 10 Ver 1803 Build...
  10. BSoD :: storport.sys with WDK sample code "storahci.sys" (Win10 Ver 1803) --- Need Urgent...

    in Windows 10 Drivers and Hardware
    BSoD :: storport.sys with WDK sample code "storahci.sys" (Win10 Ver 1803) --- Need Urgent...: Probelm : BSOD occurred in storport.sys . Miniport driver : WDK Sample code "storahci.sys" (Latest Sample Code) Sample Code URL :: https://github.com/Microsoft/Windows-driver-samples/tree/master/storage/miniports/storahci OS : Windows 10 Ver 1803 Build...

Users found this page by searching for:

  1. wdk examples not showing