none
How to debug the error code 0x800F0203 in "Reinstall with IO Before and After" test of WHCK? RRS feed

  • Question

  • My driver got the test failure in "Reinstall with IO Before and After" test of WHCK.
    The failure log shows that DiInstallDevice failed with HRESULT=0x800F0203.
    There is no driver selected for the device information set or element.
    I don't know why this error happens and have no idea how to debug.
    Is there any suggestion for debugging this issue?
    By the way, I only got this failure in Windows 8.

    Here is the sequence of the failure log:
    WDTF_SIMPLE_IO : - Open(<my device instance .....> ) Try count 1
    WDTF_SUPPORT : - WaitForMinutes : 2
    WDTF_SIMPLE_IO : - PerformIO(<my device instance .....> ) Count 1
    WDTF_SIMPLEIO_STRESS : - Stop(<my device instance .....> )
    WDTF_SIMPLE_IO : - Close(<my device instance .....> )
    WDTF_TARGET : - GetInterface("DriverSetup")
    WDTF_TARGET : Target: <my device instance .....>
    WDTF_DRIVER_PACKAGE : - SetPackageInfFileName(<inf path in driverstore>)
    WDTF_DRIVER_SETUP_SYSTEM : - RescanAllDevices()
    WDTF_DRIVER_SETUP_SYSTEM : Target: Test-WIN8X64
    WDTF_TARGET : - GetInterface("ImportedDriverPackage")
    WDTF_TARGET : Target: <my device instance .....>
    WDTF_DRIVER_SETUP_DEVICE : - UnInstallDriverPermanently()
    WDTF_DRIVER_SETUP_DEVICE : Target: <my device instance .....> 
    WDTF_DRIVER_SETUP_DEVICE : DiInstallDevice failed HRESULT=0x800F0203 - There is no driver selected for the device information set or element. 


    huangjj


    • Edited by huangjj Friday, July 20, 2012 3:12 AM
    • Moved by HLK ModeratorModerator Wednesday, October 3, 2012 5:52 PM Move to new forum (From:Windows Hardware WDK and Driver Development)
    Friday, July 20, 2012 3:11 AM

Answers

  • SetupAPI logs copied by the test job may contain more information to help debug this failure. Right click on the failing 'Run Test' task, and click on 'Additional Files' to find these logs. Search for 0x800F0203 in these logs.

    Monday, July 23, 2012 3:41 AM

All replies

  • I uninstalled the driver in device manager and re-scan hardware to install driver.
    Everything goes well.

    How could I simulate the situation that the WHCK test does for "Reinstall with IO Before and After"?


    huangjj

    Saturday, July 21, 2012 3:47 AM
  • SetupAPI logs copied by the test job may contain more information to help debug this failure. Right click on the failing 'Run Test' task, and click on 'Additional Files' to find these logs. Search for 0x800F0203 in these logs.

    Monday, July 23, 2012 3:41 AM
  • Thank you!

    I found SetupAPI logs of test job in setupapi.dev.
    It did point out the failure details.

    0x800F0203 is returned by wdf coinstaller entry function.
    My driver package uses KMDF 1.5 that seems to be too old for Windows 8 support.
    The failure didn't happen if wdf coinstaller 1.9 (wdfcoinstaller01009.dll) is used instead.


    huangjj

    Thursday, July 26, 2012 3:33 PM