none
Windows HLK - "DF - Sleep and PNP (disable and enable) with IO Before and After", computer does not wake up during test RRS feed

  • Question

  • Hello again from Germany,

    I am testing our NDIS 6.2 Miniport Driver, which runs a PCIx busmaster ethernet adapter.
    The miniport driver is running successfully in production since several years.

    Testenvironment is Windows HLK, Ver. 10.0.26624, test target OS is Windows 10, 64 Bit.

    The name of our NDIS Miniport adapter is "SIMATIC Miniport CP1623 PCIe Adapter".
    The name of the Miniport Driver driver is "CP1623_Miniport.sys".

    The "DF - Sleep and PNP (disable and enable) with IO Before and After" fails:
    During the test, the test computer goes in Hibernate State 4 and remains there forever.


    Here is an abbreviated trace:
    -----------------------------
     
    StartGroup: Sleep_PNP_DisableEnable_With_IO_BeforeAndAfter::Sleep_PNP_DisableEnable_With_IO_BeforeAndAfter_Test
    DQ: IsDevice AND (DriverBinaryNames!='i8042prt.sys') AND ((HardwareIds='PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30' OR DeviceId='PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5'))
    TestCycles 4
    IOPeriod 1
    ResumeDelay 10
    WDTF_TARGETS              :  - Query("IsDevice AND (DriverBinaryNames!='i8042prt.sys') AND ((HardwareIds='PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30' OR DeviceId='PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5'))")

    WDTF_TARGETS              :          Target: SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5
    WDTF_TEST                 : WARNING: The test is not enforcing that Driver Verifier is enabled.
    WDTF_TEST                 : DV is enabled with Flag:=0x209bb
    WDTF_TEST                 : DV is successfully enabled for all drivers of this devnode(UniqueTargetName):=SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5

    WDTF_TARGET               :  - GetInterface("Support")
    WDTF_TARGET               :          Target: WIN10-I76
    WDTF_TARGET               :  - GetInterface("System")
    WDTF_TARGET               :          Target: WIN10-I76
    WDTF_SYSTEM               :  SYSTEM_POWER_CAPABILITIES =
      Power Button    = YES
      Sleep Button    = YES
      Lid             = NO
      AoAc            = NO
      S1              = NO
      S2              = NO
      S3              = YES
      S4              = YES
      S5              = YES
      Battery         = NO
      RTC Wake        = S4

    WDTF_TARGETS              :  - Query("IsDevice")
    WDTF_TARGETS              :          Target: SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5
    WDTF_TARGETS              :  - GetRelations("below-or-self/","IsDevice")
    WDTF_TARGETS              :          Target: SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5
    WDTF_TARGETS              :  - GetInterfacesIfExist("SimpleIOStressEx")
    WDTF_SIMPLE_IO            :  - For Target:SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5  no Simple IO Interface was found.
    WDTF_SIMPLE_IO            :  - For Target:SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5  WDTF will use the ANY Simple IO Interface.
    WDTF_TARGETS              :          Target: SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5
    WDTF_TEST                 : Perform 4 cycles of sleep & PNP with I/O before and after
    WDTF_TEST                 : Test Sleep Cycle #1
    WDTF_SIMPLEIO_STRESS      :  - Start(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_SIMPLE_IO            :  - Open(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 ) Try count 1
    WDTF_SUPPORT              :  - WaitForMinutes : 1
    WDTF_SIMPLE_IO            :  - PerformIO(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 ) Count 1
    WDTF_SIMPLEIO_STRESS      :  - Stop(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_SIMPLE_IO            :  - Close(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_SYSTEM               : Attempt Sleep State: 3 , At (hh:mm:ss): 8:19:12 ,  Wake Time In Seconds: 120
    08:19:13,206 HAL: Wake in 119 seconds on AC and in 119 seconds on DC
    08:19:13,209 CP1623_Miniport.sys: 1: WDM162X(MP162XPause): Start, NDIS_PAUSE_NDIS_INTERNAL
    08:19:13,209 CP1623_Miniport.sys: 1: WDM162X(MP162XPause): End, status=0x0
    08:19:13,297 CP1623_Miniport.sys: 1: WDM162X(MP162XHaltEx): Start (nBusyReceives=0, nReceiveBuffersBusy=0, nNBLsNotCompleted=0, nQueriesActuallyRunning=0, nSetsActuallyRunning=0)
    08:19:13,297 CP1623_Miniport.sys: 1: WDM162X(EndCPLifeCounterThread): Start.
    08:19:13,297 CP1623_Miniport.sys: 1: WDM162X(CPLifeCounterThread): CPLifeCounterThread ends.
    08:19:13,298 CP1623_Miniport.sys: 1: WDM162X(EndCPLifeCounterThread): End, status = 0x0.
    08:19:13,298 CP1623_Miniport.sys: 1: WDM162X(EndWinSystemTimeThread): Start.
    08:19:13,298 CP1623_Miniport.sys: 1: WDM162X(WinSystemTimeThread): WinSystemTimeThread ends.
    08:19:13,298 CP1623_Miniport.sys: 1: WDM162X(EndWinSystemTimeThread): End, status = 0x0.
    08:19:13,298 CP1623_Miniport.sys: 1: WDM162X(StopAdapter): Start.
    08:19:13,298 CP1623_Miniport.sys: 1: WDM162X(DeRegisterInterrupt): Start, InterruptInitialized=1.
    08:19:13,298 CP1623_Miniport.sys: 1: WDM162X(DeRegisterInterrupt): End, InterruptInitialized=0
    08:19:13,298 CP1623_Miniport.sys: 1: WDM162X(ResetCP162X): Start.
    08:19:13,298 CP1623_Miniport.sys: 1: WDM162X(ResetCP162X): End.
    08:19:13,298 CP1623_Miniport.sys: 1: WDM162X(UnmapHWRessources): Start.
    08:19:13,298 CP1623_Miniport.sys: 1: WDM162X(UnmapHWRessources): End
    08:19:13,298 CP1623_Miniport.sys: 1: WDM162X(SMClose): Start
    08:19:13,299 CP1623_Miniport.sys: 1: WDM162X(SMClose): End
    08:19:13,299 CP1623_Miniport.sys: 1: WDM162X(StopAdapter): End.
    08:19:13,299 CP1623_Miniport.sys: 1: WDM162X(DeRegisterDeviceAndSymbolicLink): Start
    08:19:13,299 CP1623_Miniport.sys: 1: WDM162X(DeRegisterDeviceAndSymbolicLink): Calling NdisDeregisterDeviceEx
    08:19:13,299 CP1623_Miniport.sys: 1: WDM162X(DeRegisterDeviceAndSymbolicLink): End
    08:19:13,299 CP1623_Miniport.sys: 1: WDM162X(Cleanup) Start
    08:19:13,299 CP1623_Miniport.sys: 1: WDM162X(NICFreeRCBData): Start
    08:19:13,299 CP1623_Miniport.sys: 1: WDM162X(NICFreeRCBData): Call NdisFreeNetBufferList
    08:19:13,300 CP1623_Miniport.sys: 1: WDM162X(NICFreeRCBData): NdisFreeNetBufferListPool
    08:19:13,300 CP1623_Miniport.sys: 1: WDM162X(NICFreeRCBData): NdisFreeMemory RcbMemoryBlock
    08:19:13,300 CP1623_Miniport.sys: 1: WDM162X(NICFreeRCBData): End
    08:19:13,300 CP1623_Miniport.sys: 0: WDM162X(Cleanup) End
    08:19:13,300 CP1623_Miniport.sys: 1: WDM162X(MP162XHaltEx): End
    WDTF_SIMPLEIO_STRESS      :  - Start(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_SIMPLE_IO            :  - Open(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 ) Try count 1
    WDTF_SUPPORT              :  - WaitForMinutes : 1ds\security\umstartup\usermgr\cli\usermgrcli.cxx(145)\usermgrcli.dll!00007FFADAD145F7: (caller: 00007FFADAD145F7) ReturnHr[PreRelease](301) tid(c20) 80070005 Access is denied.
    WDTF_SIMPLEIO_STRESS      :  - Stop(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_SIMPLE_IO            :  - Close(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_TARGET               :  - GetInterface("PNP")
    WDTF_TARGET               :          Target: SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 base\appmodel\execmodel\modern\lifetimemanager\appxexecutionutil.cpp(40)\modernexecserver.dll!00007FFADAD146F8: (caller: 00007FFADAD1AE15) ReturnHr[PreRelease](309) tid(1598) 80070005 Access is denied.
    WDTF_PNP                  :  - DisableDevice()
    WDTF_PNP                  :          Target: SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5
    WDTF_PNP                  :  - EnableDevice()   :  ( get status count:  1 )
    WDTF_PNP                  :          Target: SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5
    WDTF_SUPPORT              :  - WaitForMilliseconds : 10000
    WDTF_SIMPLEIO_STRESS      :  - Start(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_SIMPLE_IO            :  - Open(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 ) Try count 1
    WDTF_SUPPORT              :  - WaitForMinutes : 1ds\security\umstartup\usermgr\cli\usermgrcli.cxx(145)\usermgrcli.dll!00007FFADAD145F7: (caller: 00007FFADAD145F7) ReturnHr[PreRelease](307) tid(1598) 80070005 Access is denied.
    WDTF_SIMPLEIO_STRESS      :  - Stop(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_SIMPLE_IO            :  - Close(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_SYSTEM               : Attempt Hibernate State: 4 , At (hh:mm:ss): 8:23:41 ,  Wake Time In Seconds: 120
    WDTF_SYSTEM               : Returning from Hibernate. Elapsed time (hh:mm:ss): 0:2:12
    WDTF_SUPPORT              :  - WaitForSeconds : 10shell\ext\thumbnailcache\lib\thumbcacheapi.cpp(226)\thumbcache.dll!00007FFAD8735227: (caller: 00007FFAD873533F) ReturnHr[PreRelease](121) tid(d08) 8004B200
    WDTF_SIMPLEIO_STRESS      :  - Start(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_SIMPLE_IO            :  - Open(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 ) Try count 1
    WDTF_SUPPORT              :  - WaitForMinutes : 1ds\security\umstartup\usermgr\cli\usermgrcli.cxx(145)\usermgrcli.dll!00007FFADAD145F7: (caller: 00007FFADAD145F7) ReturnHr[PreRelease](312) tid(c98) 80070005 Access is denied.
    WDTF_SIMPLE_IO            :  - PerformIO(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 ) Count 1
    WDTF_SIMPLEIO_STRESS      :  - Stop(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_SIMPLE_IO            :  - Close(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_TARGET               :  - GetInterface("PNP")
    WDTF_TARGET               :          Target: SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5
    WDTF_PNP                  :  - DisableDevice()
    WDTF_PNP                  :          Target: SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5
    WDTF_PNP                  :  - EnableDevice()   :  ( get status count:  1 )
    WDTF_PNP                  :          Target: SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 ds\security\umstartup\usermgr\cli\usermgrcli.cxx(145)\usermgrcli.dll!00007FFADAD145F7: (caller: 00007FFADAD145F7) ReturnHr[PreRelease](319) tid(1590) 80070005 Access is denied.
    WDTF_SUPPORT              :  - WaitForMilliseconds : 10000ds\security\umstartup\usermgr\cli\usermgrcli.cxx(145)\usermgrcli.dll!00007FFADAD145F7: (caller: 00007FFADAD145F7) ReturnHr[PreRelease](320) tid(1590) 80070005 Access is denied.
    WDTF_SIMPLEIO_STRESS      :  - Start(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_SIMPLE_IO            :  - Open(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 ) Try count 1
    WDTF_SUPPORT              :  - WaitForMinutes : 1
    WDTF_SIMPLE_IO            :  - PerformIO(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 ) Count 1
    WDTF_SIMPLEIO_STRESS      :  - Stop(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_SIMPLE_IO            :  - Close(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_TEST                 : Test Sleep Cycle #2
    WDTF_SIMPLEIO_STRESS      :  - Start(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_SIMPLE_IO            :  - Open(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 ) Try count 1
    WDTF_SUPPORT              :  - WaitForMinutes : 1
    WDTF_SIMPLE_IO            :  - PerformIO(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 ) Count 1
    WDTF_SIMPLEIO_STRESS      :  - Stop(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_SIMPLE_IO            :  - Close(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_SYSTEM               : Attempt Sleep State: 3 , At (hh:mm:ss): 8:29:23 ,  Wake Time In Seconds: 120
    WDTF_SYSTEM               : Returning from Sleep. Elapsed time (hh:mm:ss): 0:2:1
    WDTF_SUPPORT              :  - WaitForSeconds : 10
    WDTF_SIMPLE_IO            :  - Open(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 ) Try count 1
    WDTF_SUPPORT              :  - WaitForMinutes : 1ds\security\umstartup\usermgr\cli\usermgrcli.cxx(145)\usermgrcli.dll!00007FFADAD145F7: (caller: 00007FFADAD145F7) ReturnHr[PreRelease](327) tid(9f8) 80070005 Access is denied.
    WDTF_SIMPLE_IO            :  - PerformIO(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 ) Count 1
    WDTF_SIMPLEIO_STRESS      :  - Stop(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_SIMPLE_IO            :  - Close(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_TARGET               :  - GetInterface("PNP")
    WDTF_TARGET               :          Target: SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 base\appmodel\execmodel\modern\lifetimemanager\appxexecutionutil.cpp(40)\modernexecserver.dll!00007FFADAD146F8: (caller: 00007FFADAD1AE15) ReturnHr[PreRelease](334) tid(16c8) 80070005 Access is denied.
    WDTF_PNP                  :  - DisableDevice()
    WDTF_PNP                  :          Target: SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5
    WDTF_PNP                  :  - EnableDevice()   :  ( get status count:  1 )
    WDTF_PNP                  :          Target: SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5
    WDTF_SUPPORT              :  - WaitForMilliseconds : 10000
    WDTF_SIMPLEIO_STRESS      :  - Start(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_SIMPLE_IO            :  - Open(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 ) Try count 1
    WDTF_SUPPORT              :  - WaitForMinutes : 1
    WDTF_SIMPLE_IO            :  - PerformIO(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 ) Count 1
    WDTF_SIMPLEIO_STRESS      :  - Stop(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_SIMPLE_IO            :  - Close(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_SYSTEM               : Attempt Hibernate State: 4 , At (hh:mm:ss): 8:33:53 ,  Wake Time In Seconds: 120
    WDTF_SYSTEM               : Returning from Hibernate. Elapsed time (hh:mm:ss): 0:2:12
    WDTF_SUPPORT              :  - WaitForSeconds : 10
    WDTF_SIMPLEIO_STRESS      :  - Start(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_SIMPLE_IO            :  - Open(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 ) Try count 1
    WDTF_SUPPORT              :  - WaitForMinutes : 1ds\security\umstartup\usermgr\cli\usermgrcli.cxx(145)\usermgrcli.dll!00007FFADAD145F7: (caller: 00007FFADAD145F7) ReturnHr[PreRelease](339) tid(7ac) 80070005 Access is denied.
    WDTF_SIMPLE_IO            :  - PerformIO(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 ) Count 1
    WDTF_SIMPLEIO_STRESS      :  - Stop(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_SIMPLE_IO            :  - Close(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_TARGET               :  - GetInterface("PNP")
    WDTF_TARGET               :          Target: SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 base\appmodel\execmodel\modern\lifetimemanager\appxexecutionutil.cpp(40)\modernexecserver.dll!00007FFADAD146F8: (caller: 00007FFADAD1AE15) ReturnHr[PreRelease](351) tid(2bc) 80070005 Access is denied.
    WDTF_PNP                  :  - DisableDevice()
    WDTF_PNP                  :          Target: SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5
    WDTF_PNP                  :  - EnableDevice()   :  ( get status count:  1 )
    WDTF_PNP                  :          Target: SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5
    WDTF_SUPPORT              :  - WaitForMilliseconds : 10000
    WDTF_SIMPLEIO_STRESS      :  - Start(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_SIMPLE_IO            :  - Open(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 ) Try count 1
    WDTF_SUPPORT              :  - WaitForMinutes : 1ds\security\umstartup\usermgr\cli\usermgrcli.cxx(145)\usermgrcli.dll!00007FFADAD145F7: (caller: 00007FFADAD145F7) ReturnHr[PreRelease](347) tid(2bc) 80070005 Access is denied.
    WDTF_SIMPLE_IO            :  - PerformIO(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 ) Count 1
    WDTF_SIMPLEIO_STRESS      :  - Stop(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_SIMPLE_IO            :  - Close(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_TEST                 : Test Sleep Cycle #3
    WDTF_SIMPLEIO_STRESS      :  - Start(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_SIMPLE_IO            :  - Open(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 ) Try count 1
    WDTF_SUPPORT              :  - WaitForMinutes : 1
    WDTF_SIMPLE_IO            :  - PerformIO(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 ) Count 1
    WDTF_SIMPLEIO_STRESS      :  - Stop(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_SIMPLE_IO            :  - Close(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_SYSTEM               : Attempt Sleep State: 3 , At (hh:mm:ss): 8:39:35 ,  Wake Time In Seconds: 120
    WDTF_SYSTEM               : Returning from Sleep. Elapsed time (hh:mm:ss): 0:2:1
    WDTF_SUPPORT              :  - WaitForSeconds : 10
    TRACE: WIAGatherer: Adding DEVNODE_BLOCK correlation infoWDTF_SIMPLEIO_STRESS      :  - Start(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_SIMPLE_IO            :  - Open(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 ) Try count 1
    WDTF_SUPPORT              :  - WaitForMinutes : 1
    WDTF_SIMPLE_IO            :  - PerformIO(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 ) Count 1
    WDTF_SIMPLEIO_STRESS      :  - Stop(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_SIMPLE_IO            :  - Close(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_TARGET               :  - GetInterface("PNP")
    WDTF_TARGET               :          Target: SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 base\appmodel\execmodel\modern\lifetimemanager\appxexecutionutil.cpp(40)\modernexecserver.dll!00007FFADAD146F8: (caller: 00007FFADAD1AE15) ReturnHr[PreRelease](359) tid(1478) 80070005 Access is denied.
    WDTF_PNP                  :  - DisableDevice()
    WDTF_PNP                  :          Target: SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5
    WDTF_PNP                  :  - EnableDevice()   :  ( get status count:  1 )
    WDTF_PNP                  :          Target: SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5
    WDTF_SUPPORT              :  - WaitForMilliseconds : 10000
    ERR: DevObjGetDeviceRegistryPropertyWDTF_SIMPLEIO_STRESS      :  - Start(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_SIMPLE_IO            :  - Open(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 ) Try count 1
    WDTF_SUPPORT              :  - WaitForMinutes : 1ds\security\umstartup\usermgr\cli\usermgrcli.cxx(145)\usermgrcli.dll!00007FFADAD145F7: (caller: 00007FFADAD145F7) ReturnHr[PreRelease](358) tid(1478) 80070005 Access is denied.
    WDTF_SIMPLEIO_STRESS      :  - Stop(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_SIMPLE_IO            :  - Close(SIMATIC Miniport CP1623 PCIe Adapter PCI\VEN_1957&DEV_0085&SUBSYS_4046110A&REV_30\5&12E636F6&0&2000E5 )
    WDTF_SYSTEM               : Attempt Hibernate State: 4 , At (hh:mm:ss): 8:44:5 ,  Wake Time In Seconds: 120

     

     
    During the first part of the test, the network adapter is unloaded:
    08:19:13,209 CP1623_Miniport.sys: 1: WDM162X(MP162XPause): Start, NDIS_PAUSE_NDIS_INTERNAL
    08:19:13,209 CP1623_Miniport.sys: 1: WDM162X(MP162XPause): End, status=0x0
    08:19:13,297 CP1623_Miniport.sys: 1: WDM162X(MP162XHaltEx): Start (nBusyReceives=0, nReceiveBuffersBusy=0, nNBLsNotCompleted=0, nQueriesActuallyRunning=0, nSetsActuallyRunning=0)
    ... 
    08:19:13,300 CP1623_Miniport.sys: 1: WDM162X(MP162XHaltEx): End


    The test continues then with the unloaded adapter (??), until it remains forever in the Hibernate Stae 4.


    Some more maybe worthful information for the problem:
    -----------------------------------------------------

    Our adapter does not support WakeOnLan or powermanagement:
    The adapter has a processor on board, which can't maintain its state information during sleep of the computer.
    The adapter has to be reinitialized, when the computer awakes from sleep.

    Therefore NDIS must call the HaltHandlerEx before going to sleep and NDIS must call InitializeHandlerEx when returning from sleep.

    In order to let NDIS call the HaltHandlerEx before going to sleep, we had to set
    NDIS_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES miniportAttributesGeneral;
    miniportAttributesGeneral.PowerManagementCapabilities = NULL;
    miniportAttributesGeneral.PowerManagementCapabilitiesEx = NULL;

    If I fill the miniportAttributesGeneral.PowerManagementCapabilitiesEx like follows:
    miniportPMCapabilities.MinMagicPacketWakeUp = NdisDeviceStateUnspecified;
    miniportPMCapabilities.MinPatternWakeUp  = NdisDeviceStateUnspecified;
    miniportPMCapabilities.MinLinkChangeWakeUp = NdisDeviceStateUnspecified;
    miniportAttributesGeneral.PowerManagementCapabilitiesEx = &miniportPMCapabilities;
    then the HaltHandlerEx will not be called.


    The complete log file can be found here:
    http://www.SoftwareOption.de/WHLK/SleepAndPNPwithIOBeforeAndAfter/SleepAndPNPwithIOBeforeAndAfter_Trace.txt


    Thanks a lot for any help.

    Carsten 

    Tuesday, August 18, 2015 9:45 AM

All replies

  • Hello,

    The series of DF - XXX tests are machine relative,

    please use testing platform that is passed [System] WHQL,

    like HP, DELL or other brand platforms.

    And, don't use just one machine to test, one machine fail, maybe another machine will pass.

    Use WHQL platform to run WHQL may avoid system caused error,

    not 100% , but for WHQL test, I suggest to use.

    Therefore, you can clarify the error may be caused by your device or driver,

    not testing machine.

    Richard 

    Tuesday, August 18, 2015 11:06 AM