none
WHCK: 'Run test' fails with 'Reinstall with IO Before and After', 'Device Install Check For Other Device Stability (Certification)' and 'Device Install Check for File System Consistency (Certification)' RRS feed

  • Question

  • 'Run test' fails with 'Reinstall with IO Before and After', 'Device Install Check For Other Device Stability (Certification)' and 'Device Install Check for File System Consistency (Certification)'.

    Behaviour and setupapi.dev.log file for all cases are similar.

    Behavior is next: driver unloads and then does not loads at all, even DriverEntry is not called.

    Places with '!' in setupapi.dev.log context:

    line 68: !    sig:           VerifyTrustFailed for C:\Windows\system32\DRIVERS\OurDriverName.sys.
    line 69: !    sig:           Error 0x800b0109: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.

    -/-/-/-

    line 160: !    ndv:      Installing NULL driver!

    -/-/-/-

    line 219: !!!  dvi:                Error obtaining device ID!
    line 220: !!!  dvi:                Cleaning up failed installation (00000006)
    line 221: !    dvi:                Failed to set Config Flags property: 0x00000020
    line 222: !    dvi:                Error 0xe000020b: The device instance does not exist in the hardware tree.
    line 223: !!!  dvi:           Default installer: failed!
    line 224: !!!  dvi:           Error 6: The handle is invalid.

    I cannot understand why driver does not load after unloading. Any help is greatly appreciated.

    Thursday, October 25, 2012 6:08 PM

Answers

  • Can you right click on "Run Test", click on "Additional Files", browse to TestTextLog.log file & paste its content? Also, are you using the RTM version of this kit?

    Thanks


    This posting is provided AS IS with no warranties, and confers no rights.

    Tuesday, October 30, 2012 7:12 AM

All replies

  • Additional information. Driver is CDC ECM NDIS 6.2 Miniport.
    Friday, October 26, 2012 6:34 AM
  • Can you paste info b/w lines 160 & 224?

    This posting is provided AS IS with no warranties, and confers no rights.

    Saturday, October 27, 2012 12:09 AM
  • into b/w lines 160 & 224 is next: 

    !    ndv:      Installing NULL driver!
         dvi:      {DIF_ALLOW_INSTALL} 15:15:23.193
         dvi:           Using exported function 'NetClassInstaller' in module 'C:\Windows\system32\NetCfgx.dll'.
         dvi:           Class installer == NetCfgx.dll,NetClassInstaller
         dvi:           Using exported function 'WlanDeviceClassCoInstaller' in module 'C:\Windows\system32\wlaninst.dll'.
         dvi:           CoInstaller 1 == wlaninst.dll,WlanDeviceClassCoInstaller
         dvi:           Using exported function 'WwanDeviceClassCoInstaller' in module 'C:\Windows\system32\wwaninst.dll'.
         dvi:           CoInstaller 2 == wwaninst.dll,WwanDeviceClassCoInstaller
         dvi:           CoInstaller 1: Enter 15:15:23.224
         dvi:           CoInstaller 1: Exit
         dvi:           CoInstaller 2: Enter 15:15:23.224
         dvi:           CoInstaller 2: Exit
         dvi:           Class installer: Enter 15:15:23.224
         dvi:           Class installer: Exit
         dvi:           Default installer: Enter 15:15:23.224
         dvi:           Default installer: Exit
         dvi:      {DIF_ALLOW_INSTALL - exit(0xe000020e)} 15:15:23.224
         dvi:      {DIF_REGISTER_COINSTALLERS} 15:15:23.224
         dvi:           CoInstaller 1: Enter 15:15:23.240
         dvi:           CoInstaller 1: Exit
         dvi:           CoInstaller 2: Enter 15:15:23.240
         dvi:           CoInstaller 2: Exit
         dvi:           Class installer: Enter 15:15:23.240
         dvi:           Class installer: Exit
         dvi:           Default installer: Enter 15:15:23.240
         dvi:           Default installer: Exit
         dvi:           {DIF_DESTROYPRIVATEDATA} 15:15:23.240
         dvi:                CoInstaller 1: Enter 15:15:23.240
         dvi:                CoInstaller 1: Exit
         dvi:                CoInstaller 2: Enter 15:15:23.240
         dvi:                CoInstaller 2: Exit
         dvi:                Class installer: Enter 15:15:23.240
         dvi:                Class installer: Exit
         dvi:           {DIF_DESTROYPRIVATEDATA - exit(0x00000000)} 15:15:23.240
         dvi:      {DIF_REGISTER_COINSTALLERS - exit(0x00000000)} 15:15:23.240
         dvi:      {DIF_INSTALLDEVICE} 15:15:23.240
         dvi:           Using exported function 'WlanDeviceClassCoInstaller' in module 'C:\Windows\system32\wlaninst.dll'.
         dvi:           CoInstaller 1 == wlaninst.dll,WlanDeviceClassCoInstaller
         dvi:           Using exported function 'WwanDeviceClassCoInstaller' in module 'C:\Windows\system32\wwaninst.dll'.
         dvi:           CoInstaller 2 == wwaninst.dll,WwanDeviceClassCoInstaller
         dvi:           CoInstaller 1: Enter 15:15:23.255
         dvi:           CoInstaller 1: Exit
         dvi:           CoInstaller 2: Enter 15:15:23.255
         dvi:           CoInstaller 2: Exit
         dvi:           Class installer: Enter 15:15:23.255
         dvi:                {DIF_REMOVE} 15:15:23.255
         dvi:                     CoInstaller 1: Enter 15:15:23.255
         dvi:                     CoInstaller 1: Exit
         dvi:                     CoInstaller 2: Enter 15:15:23.255
         dvi:                     CoInstaller 2: Exit
         dvi:                     Class installer: Enter 15:15:23.255
         dvi:                          {Remove DEVICE}
         dvi:                               InstanceID = 'USB\VID_XXXX&PID_YYYY&MI_00\7&30F5BA09&0&0000'
         dvi:                               Query-and-Remove succeeded
         dvi:                          {Remove DEVICE exit (0x00000000)}
         dvi:                     Class installer: Exit
         dvi:                {DIF_REMOVE - exit(0x00000000)} 15:15:24.035
         dvi:           Class installer: Exit
         dvi:           Default installer: Enter 15:15:24.035
    !!!  dvi:                Error obtaining device ID!
    !!!  dvi:                Cleaning up failed installation (00000006)
    !    dvi:                Failed to set Config Flags property: 0x00000020
    !    dvi:                Error 0xe000020b: The device instance does not exist in the hardware tree.
    !!!  dvi:           Default installer: failed!
    !!!  dvi:           Error 6: The handle is invalid.

    (XXXX and YYYY are our VID and PID

    Sunday, October 28, 2012 8:29 PM
  • What is the 'class' device property value of your device? You can get this info from device manager - details tab for your device.


    This posting is provided AS IS with no warranties, and confers no rights.

    Monday, October 29, 2012 3:57 AM
  • When driver is not installed, "Device class" entry is absent, "Class short name" value is "Unknown", "Class long name" value is "Other devices". 

    When driver is installed, "Device class" value is "Net", "Class short name" value is "Net", "Class long name" value is "Network adapters".

    Monday, October 29, 2012 8:22 AM
  • Can you right click on "Run Test", click on "Additional Files", browse to TestTextLog.log file & paste its content? Also, are you using the RTM version of this kit?

    Thanks


    This posting is provided AS IS with no warranties, and confers no rights.

    Tuesday, October 30, 2012 7:12 AM
  • TestTextLog.log file context:

    WDTF_TARGETS              : INFO  :  - Query("IsPhantom=False AND (DeviceID='USB\VID_XXXX&PID_YYYY&MI_00\6&194FC092&0&0000')")
    WDTF_TARGETS              : INFO  :          Target: OurDriverName Device USB\VID_XXXX&PID_YYYY&MI_00\6&194FC092&0&0000 
    WDTF_TARGETS              : INFO  :  - Query("IsDevice AND (DeviceID='USB\VID_XXXX&PID_YYYY&MI_00\6&194FC092&0&0000')")
    WDTF_TARGETS              : INFO  :          Target: OurDriverName Device USB\VID_XXXX&PID_YYYY&MI_00\6&194FC092&0&0000 
    WDTF_TARGET               : INFO  :  - GetInterface("DriverVerifier")
    WDTF_TARGET               : INFO  :          Target: System
    WDTF_DRIVER_VERIFIER      : INFO  :  - EnableOnAllDriversOfDevices()
    WDTF_DRIVER_VERIFIER      : INFO  :          Target: OurDriverName Device USB\VID_XXXX&PID_YYYY&MI_00\6&194FC092&0&0000 
    WDTF_DRIVER_VERIFIER      : INFO  :                  Driver: OurDriverName6.sys
    WDTF_TEST                 : START :  Reinstall with I/O
    WDTF_TARGET               : INFO  :  - GetInterface("Support")
    WDTF_TARGET               : INFO  :          Target: System
    WDTF_TARGET               : INFO  :  - GetInterface("DriverSetup")
    WDTF_TARGET               : INFO  :          Target: System
    WDTF_DRIVER_SETUP_SYSTEM  : INFO  :  - ClearTriageLogs()
    WDTF_DRIVER_SETUP_SYSTEM  : INFO  :          Target: SVIATOSLAV
    WDTF_TARGETS              : INFO  :  - Query("IsDevice AND Class!=LegacyDriver AND DeviceID='USB\VID_XXXX&PID_YYYY&MI_00\6&194FC092&0&0000'")
    WDTF_TARGETS              : INFO  :          Target: OurDriverName Device USB\VID_XXXX&PID_YYYY&MI_00\6&194FC092&0&0000 
    WDTF_TEST                 : INFO  : Perform 8 test cycles of Reinstall with I/O before and after on device
    WDTF_TARGET               : INFO  :  - GetRelations("below-or-self/","")
    WDTF_TARGET               : INFO  :          Target: OurDriverName Device USB\VID_XXXX&PID_YYYY&MI_00\6&194FC092&0&0000 
    WDTF_TARGETS              : INFO  :  - GetInterfacesIfExist("SimpleIOStressEx")
    WDTF_TARGETS              : INFO  :          Target: OurDriverName Device USB\VID_XXXX&PID_YYYY&MI_00\6&194FC092&0&0000 
    WDTF_SIMPLEIO_STRESS      : INFO  :  - StartAsync(OurDriverName Device USB\VID_XXXX&PID_YYYY&MI_00\6&194FC092&0&0000 )
    WDTF_SIMPLE_IO            : INFO  :  - Open(OurDriverName Device USB\VID_XXXX&PID_YYYY&MI_00\6&194FC092&0&0000 ) Try count 1
    WDTF_SIMPLE_IO            : INFO  :  - PerformIO(OurDriverName Device USB\VID_XXXX&PID_YYYY&MI_00\6&194FC092&0&0000 ) Count 1
    WDTF_SUPPORT              : INFO  :  - WaitForMinutes : 2
    WDTF_SIMPLE_IO            : INFO  :  - PerformIO(OurDriverName Device USB\VID_XXXX&PID_YYYY&MI_00\6&194FC092&0&0000 ) Count 572566
    WDTF_SIMPLEIO_STRESS      : INFO  :  - Stop(OurDriverName Device USB\VID_XXXX&PID_YYYY&MI_00\6&194FC092&0&0000 )
    WDTF_SIMPLE_IO            : INFO  :  - Close(OurDriverName Device USB\VID_XXXX&PID_YYYY&MI_00\6&194FC092&0&0000 )
    WDTF_TARGET               : INFO  :  - GetInterface("DriverSetup")
    WDTF_TARGET               : INFO  :          Target: OurDriverName Device USB\VID_XXXX&PID_YYYY&MI_00\6&194FC092&0&0000 
    WDTF_TARGET               : INFO  :  - HasInterface("ImportedDriverPackage")
    WDTF_TARGET               : INFO  :          Target: OurDriverName Device USB\VID_XXXX&PID_YYYY&MI_00\6&194FC092&0&0000 
    WDTF_TARGET               : INFO  :  - GetInterface("ImportedDriverPackage")
    WDTF_TARGET               : INFO  :          Target: OurDriverName Device USB\VID_XXXX&PID_YYYY&MI_00\6&194FC092&0&0000 
    WDTF_TEST                 : INFO  : Test Cycle #1
    WDTF_DRIVER_SETUP_DEVICE  : INFO  :  - UpdateDriver()
    WDTF_DRIVER_SETUP_DEVICE  : INFO  :          Target: OurDriverName Device USB\VID_XXXX&PID_YYYY&MI_00\6&194FC092&0&0000 
    WDTF_DRIVER_SETUP_SYSTEM  : INFO  :  - RescanAllDevices()
    WDTF_DRIVER_SETUP_SYSTEM  : INFO  :          Target: SVIATOSLAV
    WDTF_TARGET               : INFO  :  - GetInterface("ImportedDriverPackage")
    WDTF_TARGET               : INFO  :          Target: OurDriverName Device USB\VID_XXXX&PID_YYYY&MI_00\6&194FC092&0&0000 
    WDTF_DRIVER_SETUP_DEVICE  : INFO  :  - UnInstallDriverPermanently()
    WDTF_DRIVER_SETUP_DEVICE  : INFO  :          Target: OurDriverName Device USB\VID_XXXX&PID_YYYY&MI_00\6&194FC092&0&0000 
    WDTF_DRIVER_SETUP_DEVICE  : ERROR : DiInstallDevice failed Win32=6 - The handle is invalid.


    WDTF_DRIVER_SETUP_SYSTEM  : INFO  :  - SnapTriageLogs()
    WDTF_DRIVER_SETUP_SYSTEM  : INFO  :          Target: SVIATOSLAV

    (XXXX is our VID, YYYY is our PID)

    Could you please explain how to check if I use RTM version of this kit?

    Tuesday, October 30, 2012 1:34 PM
  • Thank you very much for you reply regarding kit version! Version we had was not RTM. In updated version we have 17 required tests instead of 68. To this moment 'Device Install Check For Other Device Stability (Certification)' and 'Device Install Check for File System Consistency (Certification)' has been passed, wait for other tests finishing
    Wednesday, October 31, 2012 2:36 PM
  • All tests were passed. Thank you very much for reply!
    Thursday, November 1, 2012 8:57 AM