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. 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...
  3. No USB Devices Work due to Drivers

    in Windows 10 Drivers and Hardware
    No USB Devices Work due to Drivers: So I just built a pc a little over a month ago and it was really nice. First of all, I will say it is not the hardware that is the problem. I am not able to use ANY USB devices except for my keyboard and mouse but I can not use any of the drivers for the keyboard and mouse. I...
  4. Microphone sample rate

    in Windows 10 Drivers and Hardware
    Microphone sample rate: I don't know why after update i have only 44100 and 48000hz. Before i had 192000hz and it vanished. It sucks because i have pretty good microphone, but because of 48000 sample rate the quality is poor. Thx for help...
  5. Usb sampling rate

    in Windows 10 Drivers and Hardware
    Usb sampling rate: I use an audio device via a USB cable to enable a high sampling rate. I change this to 24 bit 192kbit. The problem is that every time I switch the audio device off and later back on, the sampling rate falls back to the default. Can I change this default setting? is this...
  6. DYMO SDK C# Sample not working

    in User Accounts and Family Safety
    DYMO SDK C# Sample not working: Hi, I am trying to develop a printing solution using DYMO SDK. With latest version of SDK, usinf dot net C# Sample, I am encounting the following error, while trying to open the label file given in the samples. System.IO.FileLoadException HResult=0x80131040...
  7. 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...
  8. 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...
  9. 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...
  10. Device driver

    in Windows 10 Drivers and Hardware
    Device driver: My imaging device driver is missing...I am using a Lenovo Ideapad 2 in 1-11. PLEASE HELP https://answers.microsoft.com/en-us/windows/forum/windows_10-hardware/device-driver/dd5d42c0-7303-4e95-8e0b-1bf517d1a95d

Users found this page by searching for:

  1. wdk examples not showing