OpenVPN / ovpn-dco-win

OpenVPN Data Channel Offload driver for Windows
MIT License
47 stars 22 forks source link

GSOD in Wdf01000.sys #36

Closed ghost closed 1 year ago

ghost commented 1 year ago

For some time after updating OpenVPN to the version supporting dco-win I am getting some random Green Screens Of Death. I noticed they occur mostly when I leave the PC for some time untouched. When I come back (the PC is not in a sleep mode, just screen is black) and move my mouse sometimes the GSOD appears with following details:

DRIVER_IRQL_NOT_LESS_OR_EQUAL Wdf010000.sys

I thought it might be because of Insider Beta build of Windows 11 but when I have loaded the dump file in WinDbg the stack clearly states this:

*******************************************************************************
*                                                                             *
*                        Bugcheck Analysis                                    *
*                                                                             *
*******************************************************************************

DRIVER_IRQL_NOT_LESS_OR_EQUAL (d1)
An attempt was made to access a pageable (or completely invalid) address at an
interrupt request level (IRQL) that is too high.  This is usually
caused by drivers using improper addresses.
If kernel debugger is available get stack backtrace.
Arguments:
Arg1: 0000000000000068, memory referenced
Arg2: 0000000000000002, IRQL
Arg3: 0000000000000000, value 0 = read operation, 1 = write operation
Arg4: fffff807183c7dfb, address which referenced memory

Debugging Details:
------------------

KEY_VALUES_STRING: 1

    Key  : Analysis.CPU.mSec
    Value: 4093

    Key  : Analysis.DebugAnalysisManager
    Value: Create

    Key  : Analysis.Elapsed.mSec
    Value: 5998

    Key  : Analysis.IO.Other.Mb
    Value: 35

    Key  : Analysis.IO.Read.Mb
    Value: 0

    Key  : Analysis.IO.Write.Mb
    Value: 69

    Key  : Analysis.Init.CPU.mSec
    Value: 12468

    Key  : Analysis.Init.Elapsed.mSec
    Value: 565573

    Key  : Analysis.Memory.CommitPeak.Mb
    Value: 165

    Key  : Bugcheck.Code.DumpHeader
    Value: 0xd1

    Key  : Bugcheck.Code.KiBugCheckData
    Value: 0xd1

    Key  : Bugcheck.Code.Register
    Value: 0xa

    Key  : Dump.Attributes.AsUlong
    Value: 1800

    Key  : Dump.Attributes.DiagDataWrittenToHeader
    Value: 1

    Key  : Dump.Attributes.ErrorCode
    Value: 0

    Key  : Dump.Attributes.LastLine
    Value: Dump completed successfully.

    Key  : Dump.Attributes.ProgressPercentage
    Value: 100

    Key  : WER.OS.Branch
    Value: ni_release

    Key  : WER.OS.Timestamp
    Value: 2022-05-06T12:50:00Z

    Key  : WER.OS.Version
    Value: 10.0.22621.1

FILE_IN_CAB:  MEMORY.DMP

DUMP_FILE_ATTRIBUTES: 0x1800

BUGCHECK_CODE:  d1

BUGCHECK_P1: 68

BUGCHECK_P2: 2

BUGCHECK_P3: 0

BUGCHECK_P4: fffff807183c7dfb

READ_ADDRESS:  0000000000000068 

BLACKBOXBSD: 1 (!blackboxbsd)

BLACKBOXNTFS: 1 (!blackboxntfs)

BLACKBOXPNP: 1 (!blackboxpnp)

BLACKBOXWINLOGON: 1

PROCESS_NAME:  System

TRAP_FRAME:  ffffef823f4b5820 -- (.trap 0xffffef823f4b5820)
NOTE: The trap frame does not contain all registers.
Some register values may be zeroed or incorrect.
rax=ffffef823f4b5ac0 rbx=0000000000000000 rcx=0000000000000000
rdx=0000000000000003 rsi=0000000000000000 rdi=0000000000000000
rip=fffff807183c7dfb rsp=ffffef823f4b59b0 rbp=fffff80718450f38
 r8=000000000000000b  r9=fffff80718450f38 r10=0000000000000000
r11=ffffef823f4b5a18 r12=0000000000000000 r13=0000000000000000
r14=0000000000000000 r15=0000000000000000
iopl=0         nv up ei pl zr na po nc
Wdf01000!FxIFR+0x27:
fffff807`183c7dfb 488b5968        mov     rbx,qword ptr [rcx+68h] ds:00000000`00000068=????????????????
Resetting default scope

STACK_TEXT:  
ffffef82`3f4b56d8 fffff807`1703e2a9     : 00000000`0000000a 00000000`00000068 00000000`00000002 00000000`00000000 : nt!KeBugCheckEx
ffffef82`3f4b56e0 fffff807`17039934     : ffffa804`02af7580 ffffa803`f92f3008 00000000`00000000 ffffb881`25f44098 : nt!KiBugCheckDispatch+0x69
ffffef82`3f4b5820 fffff807`183c7dfb     : ffffef82`3f4b5a40 fffff807`16ef1046 00000000`00000000 00000000`00000000 : nt!KiPageFault+0x474
ffffef82`3f4b59b0 fffff807`183e1a98     : ffffef82`3f4b5b01 00000000`00000150 ffffffff`b8797400 fffff807`183c60b3 : Wdf01000!FxIFR+0x27 [minkernel\wdf\framework\kmdf\src\core\tracing.cpp @ 403] 
ffffef82`3f4b5a20 fffff807`183d663f     : 00000000`00000000 ffffef82`3f4b5b79 00000000`000000c9 000057fb`f703ca88 : Wdf01000!WPP_IFR_SF_sq+0x154 [minkernel\wdf\framework\kmdf\src\core\objfre\amd64\FxDevicePdoApi.tmh @ 887] 
ffffef82`3f4b5a90 fffff807`1d5621f8     : ffffef82`3f4b5b79 00000000`000000c9 ffffa804`0afe7058 fffff807`1d566c3c : Wdf01000!imp_WdfObjectGetTypedContextWorker+0xddbf [minkernel\wdf\framework\shared\object\handleapi.cpp @ 739] 
ffffef82`3f4b5ae0 fffff807`1d56853d     : ffffa803`00000000 ffffa803`f9b182f0 ffffef82`3f4b5b79 ffffa803`f9b182f0 : ovpn_dco+0x21f8
ffffef82`3f4b5b30 fffff807`1d569389     : ffffef82`3f4b5d80 ffffa803`f9b182f0 ffffa804`1a4a6000 00000000`00000000 : ovpn_dco+0x853d
ffffef82`3f4b5be0 fffff807`1d56796f     : 00000000`0000003e ffffef82`3f4b5c80 ffffa804`1a4a60c0 ffffa804`1f343910 : ovpn_dco+0x9389
ffffef82`3f4b5c10 fffff807`1cdf41b1     : 00000000`00000000 00000000`00000008 00000000`00000000 00000000`00000000 : ovpn_dco+0x796f
ffffef82`3f4b5cc0 fffff807`19edb8c5     : ffffa804`0897ea00 fffff807`584ea001 00000000`ffffff00 00000000`00000001 : afd!WskProTLEVENTReceiveMessages+0x231
ffffef82`3f4b5d30 fffff807`19edb4bd     : ffffa803`00000001 ffffa804`0897eb00 ffffa804`0897eb01 ffffef82`3f4b5f50 : tcpip!UdpDeliverDatagrams+0x2c5
ffffef82`3f4b5ed0 fffff807`19f7c890     : 00000000`00000000 00000000`00000000 ffffa803`f30fdb00 00000000`00002ce0 : tcpip!UdpReceiveDatagrams+0xc1d
ffffef82`3f4b6140 fffff807`19f74bc2     : ffffef82`3f4b6440 ffffa804`16ffcd50 00000000`00000000 00000000`00000011 : tcpip!UdpNlClientReceivePreValidatedDatagrams+0x10
ffffef82`3f4b6170 fffff807`19f1ac3b     : ffffa804`02be71c0 00000000`00000000 ffffef82`3f4b6411 fffff807`1794b200 : tcpip!IpFlcReceivePreValidatedPackets+0x14a2
ffffef82`3f4b63e0 fffff807`16ed372a     : 00000000`00000001 fffff807`19f1aaf0 ffffa804`204910b4 00000000`00000002 : tcpip!FlReceiveNetBufferListChainCalloutRoutine+0x14b
ffffef82`3f4b6530 fffff807`16ed369d     : fffff807`19f1aaf0 ffffef82`3f4b6678 ffffa803`f32e0d90 00000000`00000001 : nt!KeExpandKernelStackAndCalloutInternal+0x7a
ffffef82`3f4b65a0 fffff807`19f1bf50     : 00000048`041012fe 00000000`00000004 fffff807`10201180 00000000`00000000 : nt!KeExpandKernelStackAndCalloutEx+0x1d
ffffef82`3f4b65e0 fffff807`19ba26d1     : 00000000`00000001 00000000`00000000 00000000`00000001 ffffa803`fddeead0 : tcpip!FlReceiveNetBufferListChain+0x530
ffffef82`3f4b68c0 fffff807`19ba20ea     : ffffa803`f98388a0 fffff807`19bc0801 ffffa804`00000000 ffffa804`00000001 : ndis!ndisMIndicateNetBufferListsToOpen+0x141
ffffef82`3f4b69a0 fffff807`19bc65c0     : ffffa803`f9eed1a0 ffffb881`00000000 ffffead4`00000000 ffffa803`f9eed1a0 : ndis!ndisMTopReceiveNetBufferLists+0x24a
ffffef82`3f4b6a80 fffff807`19bc8a7b     : 00000000`00000000 00000000`00000000 ffffa804`16ffcd50 fffff807`19b932ed : ndis!ndisInvokeNextReceiveHandler+0x54
ffffef82`3f4b6ae0 fffff807`659e1279     : ffffa804`00000000 00000000`00000000 ffffa804`00000000 fffff807`00000001 : ndis!NdisFIndicateReceiveNetBufferLists+0x343fb
ffffef82`3f4b6b90 fffff807`19bc654d     : 00000000`00000001 ffffa804`02ccd028 00000000`00000000 00000000`00000001 : nwifi!Pt6Receive+0x159
ffffef82`3f4b6c50 fffff807`19bc5fbb     : 00000000`00005d88 ffffef82`3f4b6d70 00000000`00000000 fffff807`16ed08b5 : ndis!ndisCallReceiveHandler+0xb9
ffffef82`3f4b6ca0 fffff807`19bcca4a     : ffffef82`3f4b6d88 ffffa804`113141b0 ffffa804`20491040 00000000`00000000 : ndis!ndisCallNextDatapathHandler<2,void * __ptr64 & __ptr64,void (__cdecl*& __ptr64)(void * __ptr64,_NET_BUFFER_LIST * __ptr64,unsigned long,unsigned long,unsigned long),void * __ptr64 & __ptr64,_NET_BUFFER_LIST * __ptr64 & __ptr64,unsigned long & __ptr64,unsigned long & __ptr64,unsigned long & __ptr64>+0x3f
ffffef82`3f4b6cf0 fffff807`19bc6647     : ffffa804`030e0070 ffffef82`00000000 ffffef82`00000001 ffff9183`00000000 : ndis!ndisExpandDataPathStack<2,void __cdecl(void * __ptr64,_NET_BUFFER_LIST * __ptr64,unsigned long,unsigned long,unsigned long)>+0xae
ffffef82`3f4b6d90 fffff807`19bc8a7b     : 00000000`00000000 00000000`00000000 ffffa804`030e0070 00000000`00000000 : ndis!ndisInvokeNextReceiveHandler+0xdb
ffffef82`3f4b6df0 fffff807`1ce65ffb     : ffffa804`02ccba00 00000000`00000000 00000000`00000000 fffff807`00000001 : ndis!NdisFIndicateReceiveNetBufferLists+0x343fb
ffffef82`3f4b6ea0 fffff807`19bc654d     : ffffa804`02ccaaa0 fffff807`1ce65f20 ffffa804`02ccd010 ffffef82`3f4b70d8 : vwififlt!FilterReceiveNetBufferLists+0xdb
ffffef82`3f4b6f00 fffff807`19bc5fbb     : 00000000`00006038 ffffef82`3f4b7020 00000000`00000000 fffff807`16ed08b5 : ndis!ndisCallReceiveHandler+0xb9
ffffef82`3f4b6f50 fffff807`19bcca4a     : ffffef82`3f4b7038 00000000`00000000 ffffef82`3f4b7090 ffffef82`3f4b70e0 : ndis!ndisCallNextDatapathHandler<2,void * __ptr64 & __ptr64,void (__cdecl*& __ptr64)(void * __ptr64,_NET_BUFFER_LIST * __ptr64,unsigned long,unsigned long,unsigned long),void * __ptr64 & __ptr64,_NET_BUFFER_LIST * __ptr64 & __ptr64,unsigned long & __ptr64,unsigned long & __ptr64,unsigned long & __ptr64>+0x3f
ffffef82`3f4b6fa0 fffff807`19bc6647     : ffffa804`030e0070 00000000`00000000 00000000`00000001 00000000`00000000 : ndis!ndisExpandDataPathStack<2,void __cdecl(void * __ptr64,_NET_BUFFER_LIST * __ptr64,unsigned long,unsigned long,unsigned long)>+0xae
ffffef82`3f4b7040 fffff807`19bc8a7b     : 00000000`00000000 00000000`00000000 ffffa804`030e0070 00000000`00000000 : ndis!ndisInvokeNextReceiveHandler+0xdb
ffffef82`3f4b70a0 fffff807`1a2012dc     : ffffa804`02cc9a00 ffffef82`3f4b71b1 00000000`00000000 00000000`00000001 : ndis!NdisFIndicateReceiveNetBufferLists+0x343fb
ffffef82`3f4b7150 fffff807`19bc654d     : ffffb881`00000001 ffffa804`030e0070 ffffa804`030e0070 fffff807`16e9be01 : wfplwfs!LwfLowerRecvNetBufferLists+0x14c
ffffef82`3f4b7210 fffff807`19bc5fbb     : 00000000`00006348 ffffef82`3f4b7330 00000000`00000000 fffff807`16ed08b5 : ndis!ndisCallReceiveHandler+0xb9
ffffef82`3f4b7260 fffff807`19bcca4a     : ffffef82`3f4b7348 00000000`00000000 ffffb881`00000000 ffffb881`22ca4180 : ndis!ndisCallNextDatapathHandler<2,void * __ptr64 & __ptr64,void (__cdecl*& __ptr64)(void * __ptr64,_NET_BUFFER_LIST * __ptr64,unsigned long,unsigned long,unsigned long),void * __ptr64 & __ptr64,_NET_BUFFER_LIST * __ptr64 & __ptr64,unsigned long & __ptr64,unsigned long & __ptr64,unsigned long & __ptr64>+0x3f
ffffef82`3f4b72b0 fffff807`19bc6647     : ffffa804`030e0070 00000000`00000000 ffffa804`00000001 00000000`00000000 : ndis!ndisExpandDataPathStack<2,void __cdecl(void * __ptr64,_NET_BUFFER_LIST * __ptr64,unsigned long,unsigned long,unsigned long)>+0xae
ffffef82`3f4b7350 fffff807`19ba3756     : 00000000`00fb90e8 00000000`00000000 00000000`00000000 00000000`00000000 : ndis!ndisInvokeNextReceiveHandler+0xdb
ffffef82`3f4b73b0 fffff807`584ec94d     : ffffa803`fdd4a802 ffffa803`fdd4a820 ffffef82`3f4b7540 00000000`00000001 : ndis!NdisMIndicateReceiveNetBufferLists+0x116
ffffef82`3f4b7440 fffff807`584ebf9e     : 0000004c`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : wdiwifi!CPort::IndicateFrames+0xad
ffffef82`3f4b7580 fffff807`584eb417     : 00000000`00000000 00000000`00000000 fffff807`585cf040 00000000`00000000 : wdiwifi!CRxMgr::RxProcessAndIndicateNblChain+0x41e
ffffef82`3f4b76b0 fffff807`584eb268     : ffffa804`030e0070 00000000`00000003 00000000`00000000 ffffd2d2`f09bd733 : wdiwifi!CRxMgr::RxInOrderDataInd+0x127
ffffef82`3f4b7760 fffff807`57c64399     : ffffa803`fdafce20 ffffa803`fd483050 00000000`00000001 00000000`00000000 : wdiwifi!AdapterRxInorderDataInd+0x88
ffffef82`3f4b77b0 fffff807`57c64871     : 00000000`00000000 00000000`00000000 ffffa804`204911c6 ffffa803`efae5050 : Netwtw08+0x64399
ffffef82`3f4b7820 fffff807`19bccb92     : ffffa804`20491040 00000000`00000000 ffffa803`f9eed050 00000000`00000000 : Netwtw08+0x64871
ffffef82`3f4b7860 fffff807`16ef2040     : 00000000`00000000 ffffa803`f9eed050 00000000`f9f44040 ffffa804`057dc040 : ndis!ndisDispatchIoWorkItem+0x12
ffffef82`3f4b7890 fffff807`16e18875     : ffffa803`efae5050 ffffa804`20491040 ffffef82`3f4b7a00 ffffa804`00000000 : nt!IopProcessWorkItem+0x100
ffffef82`3f4b7900 fffff807`16e0f4a7     : ffffa804`20491040 00000000`00000276 ffffa804`20491040 fffff807`16e18720 : nt!ExpWorkerThread+0x155
ffffef82`3f4b7af0 fffff807`1702dbb4     : ffffb881`22dd1180 ffffa804`20491040 fffff807`16e0f450 00000000`00000246 : nt!PspSystemThreadStartup+0x57
ffffef82`3f4b7b40 00000000`00000000     : ffffef82`3f4b8000 ffffef82`3f4b1000 00000000`00000000 00000000`00000000 : nt!KiStartSystemThread+0x34

SYMBOL_NAME:  ovpn_dco+21f8

MODULE_NAME: ovpn_dco

IMAGE_NAME:  ovpn-dco.sys

STACK_COMMAND:  .cxr; .ecxr ; kb

BUCKET_ID_FUNC_OFFSET:  21f8

FAILURE_BUCKET_ID:  AV_ovpn_dco!unknown_function

OS_VERSION:  10.0.22621.1

BUILDLAB_STR:  ni_release

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 10

FAILURE_ID_HASH:  {a6bfbaea-5c35-3484-5420-d21429774d4c}

Followup:     MachineOwner
---------

OS details: 22623.1255 Windows 11 Pro 22H2 Windows Insider Beta build

OpenVPN version: OpenVPN 2.6.0-I004 amd64

lstipakov commented 1 year ago

Thanks for such a good bug report. May I ask you to attach the whole minidump file here?

ghost commented 1 year ago

I have noticed that sometimes when GSOD does not occur, OpenVPN stays the connection is alive but in fact it is not. I have to reconnect for it to work again.

ghost commented 1 year ago

Thanks for such a good bug report. May I ask you to attach the whole minidump file here?

Sure, no problem 021323-10218-01.zip

lstipakov commented 1 year ago
1: kd> !analyze -v
*******************************************************************************
*                                                                             *
*                        Bugcheck Analysis                                    *
*                                                                             *
*******************************************************************************

DRIVER_IRQL_NOT_LESS_OR_EQUAL (d1)
An attempt was made to access a pageable (or completely invalid) address at an
interrupt request level (IRQL) that is too high.  This is usually
caused by drivers using improper addresses.
If kernel debugger is available get stack backtrace.
Arguments:
Arg1: 0000000000000068, memory referenced
Arg2: 0000000000000002, IRQL
Arg3: 0000000000000000, value 0 = read operation, 1 = write operation
Arg4: fffff807183c7dfb, address which referenced memory

Debugging Details:
------------------

KEY_VALUES_STRING: 1

    Key  : Analysis.CPU.mSec
    Value: 3249

    Key  : Analysis.DebugAnalysisManager
    Value: Create

    Key  : Analysis.Elapsed.mSec
    Value: 5305

    Key  : Analysis.Init.CPU.mSec
    Value: 65968

    Key  : Analysis.Init.Elapsed.mSec
    Value: 3379610

    Key  : Analysis.Memory.CommitPeak.Mb
    Value: 164

    Key  : WER.OS.Branch
    Value: ni_release

    Key  : WER.OS.Timestamp
    Value: 2022-05-06T12:50:00Z

    Key  : WER.OS.Version
    Value: 10.0.22621.1

BUGCHECK_CODE:  d1

BUGCHECK_P1: 68

BUGCHECK_P2: 2

BUGCHECK_P3: 0

BUGCHECK_P4: fffff807183c7dfb

READ_ADDRESS: Unable to get NonPagedPoolStart
Unable to get NonPagedPoolEnd
Unable to get PagedPoolStart
Unable to get PagedPoolEnd
 0000000000000068 

BLACKBOXBSD: 1 (!blackboxbsd)

BLACKBOXNTFS: 1 (!blackboxntfs)

BLACKBOXPNP: 1 (!blackboxpnp)

BLACKBOXWINLOGON: 1

CUSTOMER_CRASH_COUNT:  1

PROCESS_NAME:  System

TRAP_FRAME:  ffffef823f4b5820 -- (.trap 0xffffef823f4b5820)
NOTE: The trap frame does not contain all registers.
Some register values may be zeroed or incorrect.
rax=ffffef823f4b5ac0 rbx=0000000000000000 rcx=0000000000000000
rdx=0000000000000003 rsi=0000000000000000 rdi=0000000000000000
rip=fffff807183c7dfb rsp=ffffef823f4b59b0 rbp=fffff80718450f38
 r8=000000000000000b  r9=fffff80718450f38 r10=0000000000000000
r11=ffffef823f4b5a18 r12=0000000000000000 r13=0000000000000000
r14=0000000000000000 r15=0000000000000000
iopl=0         nv up ei pl zr na po nc
Wdf01000!FxIFR+0x27:
fffff807`183c7dfb 488b5968        mov     rbx,qword ptr [rcx+68h] ds:00000000`00000068=????????????????
Resetting default scope

STACK_TEXT:  
ffffef82`3f4b56d8 fffff807`1703e2a9     : 00000000`0000000a 00000000`00000068 00000000`00000002 00000000`00000000 : nt!KeBugCheckEx
ffffef82`3f4b56e0 fffff807`17039934     : ffffa804`02af7580 ffffa803`f92f3008 00000000`00000000 ffffb881`25f44098 : nt!KiBugCheckDispatch+0x69
ffffef82`3f4b5820 fffff807`183c7dfb     : ffffef82`3f4b5a40 fffff807`16ef1046 00000000`00000000 00000000`00000000 : nt!KiPageFault+0x474
ffffef82`3f4b59b0 fffff807`183e1a98     : ffffef82`3f4b5b01 00000000`00000150 ffffffff`b8797400 fffff807`183c60b3 : Wdf01000!FxIFR+0x27 [minkernel\wdf\framework\kmdf\src\core\tracing.cpp @ 403] 
ffffef82`3f4b5a20 fffff807`183d663f     : 00000000`00000000 ffffef82`3f4b5b79 00000000`000000c9 000057fb`f703ca88 : Wdf01000!WPP_IFR_SF_sq+0x154 [minkernel\wdf\framework\kmdf\src\core\objfre\amd64\FxDevicePdoApi.tmh @ 887] 
ffffef82`3f4b5a90 fffff807`1d5621f8     : ffffef82`3f4b5b79 00000000`000000c9 ffffa804`0afe7058 fffff807`1d566c3c : Wdf01000!imp_WdfObjectGetTypedContextWorker+0xddbf [minkernel\wdf\framework\shared\object\handleapi.cpp @ 739] 
ffffef82`3f4b5ae0 fffff807`1d56853d     : ffffa803`00000000 ffffa803`f9b182f0 ffffef82`3f4b5b79 ffffa803`f9b182f0 : ovpn_dco!OvpnAdapterNotifyRx+0xbc [c:\Users\lev\Projects\ovpn-dco-win\adapter.cpp @ 220] 
ffffef82`3f4b5b30 fffff807`1d569389     : ffffef82`3f4b5d80 ffffa803`f9b182f0 ffffa804`1a4a6000 00000000`00000000 : ovpn_dco!OvpnSocketDataPacketReceived+0x281 [c:\Users\lev\Projects\ovpn-dco-win\socket.cpp @ 219] 
ffffef82`3f4b5be0 fffff807`1d56796f     : 00000000`0000003e ffffef82`3f4b5c80 ffffa804`1a4a60c0 ffffa804`1f343910 : ovpn_dco!OvpnSocketProcessIncomingPacket+0x5d [c:\Users\lev\Projects\ovpn-dco-win\socket.cpp @ 239] 
ffffef82`3f4b5c10 fffff807`1cdf41b1     : 00000000`00000000 00000000`00000008 00000000`00000000 00000000`00000000 : ovpn_dco!OvpnSocketUdpReceiveFromEvent+0x19f [c:\Users\lev\Projects\ovpn-dco-win\socket.cpp @ 318] 
ffffef82`3f4b5cc0 fffff807`19edb8c5     : ffffa804`0897ea00 fffff807`584ea001 00000000`ffffff00 00000000`00000001 : afd!WskProTLEVENTReceiveMessages+0x231
ffffef82`3f4b5d30 fffff807`19edb4bd     : ffffa803`00000001 ffffa804`0897eb00 ffffa804`0897eb01 ffffef82`3f4b5f50 : tcpip!UdpDeliverDatagrams+0x2c5
ffffef82`3f4b5ed0 fffff807`19f7c890     : 00000000`00000000 00000000`00000000 ffffa803`f30fdb00 00000000`00002ce0 : tcpip!UdpReceiveDatagrams+0xc1d
ffffef82`3f4b6140 fffff807`19f74bc2     : ffffef82`3f4b6440 ffffa804`16ffcd50 00000000`00000000 00000000`00000011 : tcpip!UdpNlClientReceivePreValidatedDatagrams+0x10
ffffef82`3f4b6170 fffff807`19f1ac3b     : ffffa804`02be71c0 00000000`00000000 ffffef82`3f4b6411 fffff807`1794b200 : tcpip!IpFlcReceivePreValidatedPackets+0x14a2
ffffef82`3f4b63e0 fffff807`16ed372a     : 00000000`00000001 fffff807`19f1aaf0 ffffa804`204910b4 00000000`00000002 : tcpip!FlReceiveNetBufferListChainCalloutRoutine+0x14b
ffffef82`3f4b6530 fffff807`16ed369d     : fffff807`19f1aaf0 ffffef82`3f4b6678 ffffa803`f32e0d90 00000000`00000001 : nt!KeExpandKernelStackAndCalloutInternal+0x7a
ffffef82`3f4b65a0 fffff807`19f1bf50     : 00000048`041012fe 00000000`00000004 fffff807`10201180 00000000`00000000 : nt!KeExpandKernelStackAndCalloutEx+0x1d
ffffef82`3f4b65e0 fffff807`19ba26d1     : 00000000`00000001 00000000`00000000 00000000`00000001 ffffa803`fddeead0 : tcpip!FlReceiveNetBufferListChain+0x530
ffffef82`3f4b68c0 fffff807`19ba20ea     : ffffa803`f98388a0 fffff807`19bc0801 ffffa804`00000000 ffffa804`00000001 : ndis!ndisMIndicateNetBufferListsToOpen+0x141
ffffef82`3f4b69a0 fffff807`19bc65c0     : ffffa803`f9eed1a0 ffffb881`00000000 ffffead4`00000000 ffffa803`f9eed1a0 : ndis!ndisMTopReceiveNetBufferLists+0x24a
ffffef82`3f4b6a80 fffff807`19bc8a7b     : 00000000`00000000 00000000`00000000 ffffa804`16ffcd50 fffff807`19b932ed : ndis!ndisInvokeNextReceiveHandler+0x54
ffffef82`3f4b6ae0 fffff807`659e1279     : ffffa804`00000000 00000000`00000000 ffffa804`00000000 fffff807`00000001 : ndis!NdisFIndicateReceiveNetBufferLists+0x343fb
ffffef82`3f4b6b90 fffff807`19bc654d     : 00000000`00000001 ffffa804`02ccd028 00000000`00000000 00000000`00000001 : nwifi!Pt6Receive+0x159
ffffef82`3f4b6c50 fffff807`19bc5fbb     : 00000000`00005d88 ffffef82`3f4b6d70 00000000`00000000 fffff807`16ed08b5 : ndis!ndisCallReceiveHandler+0xb9
ffffef82`3f4b6ca0 fffff807`19bcca4a     : ffffef82`3f4b6d88 ffffa804`113141b0 ffffa804`20491040 00000000`00000000 : ndis!ndisCallNextDatapathHandler<2,void * __ptr64 & __ptr64,void (__cdecl*& __ptr64)(void * __ptr64,_NET_BUFFER_LIST * __ptr64,unsigned long,unsigned long,unsigned long),void * __ptr64 & __ptr64,_NET_BUFFER_LIST * __ptr64 & __ptr64,unsigned long & __ptr64,unsigned long & __ptr64,unsigned long & __ptr64>+0x3f
ffffef82`3f4b6cf0 fffff807`19bc6647     : ffffa804`030e0070 ffffef82`00000000 ffffef82`00000001 ffff9183`00000000 : ndis!ndisExpandDataPathStack<2,void __cdecl(void * __ptr64,_NET_BUFFER_LIST * __ptr64,unsigned long,unsigned long,unsigned long)>+0xae
ffffef82`3f4b6d90 fffff807`19bc8a7b     : 00000000`00000000 00000000`00000000 ffffa804`030e0070 00000000`00000000 : ndis!ndisInvokeNextReceiveHandler+0xdb
ffffef82`3f4b6df0 fffff807`1ce65ffb     : ffffa804`02ccba00 00000000`00000000 00000000`00000000 fffff807`00000001 : ndis!NdisFIndicateReceiveNetBufferLists+0x343fb
ffffef82`3f4b6ea0 fffff807`19bc654d     : ffffa804`02ccaaa0 fffff807`1ce65f20 ffffa804`02ccd010 ffffef82`3f4b70d8 : vwififlt!FilterReceiveNetBufferLists+0xdb
ffffef82`3f4b6f00 fffff807`19bc5fbb     : 00000000`00006038 ffffef82`3f4b7020 00000000`00000000 fffff807`16ed08b5 : ndis!ndisCallReceiveHandler+0xb9
ffffef82`3f4b6f50 fffff807`19bcca4a     : ffffef82`3f4b7038 00000000`00000000 ffffef82`3f4b7090 ffffef82`3f4b70e0 : ndis!ndisCallNextDatapathHandler<2,void * __ptr64 & __ptr64,void (__cdecl*& __ptr64)(void * __ptr64,_NET_BUFFER_LIST * __ptr64,unsigned long,unsigned long,unsigned long),void * __ptr64 & __ptr64,_NET_BUFFER_LIST * __ptr64 & __ptr64,unsigned long & __ptr64,unsigned long & __ptr64,unsigned long & __ptr64>+0x3f
ffffef82`3f4b6fa0 fffff807`19bc6647     : ffffa804`030e0070 00000000`00000000 00000000`00000001 00000000`00000000 : ndis!ndisExpandDataPathStack<2,void __cdecl(void * __ptr64,_NET_BUFFER_LIST * __ptr64,unsigned long,unsigned long,unsigned long)>+0xae
ffffef82`3f4b7040 fffff807`19bc8a7b     : 00000000`00000000 00000000`00000000 ffffa804`030e0070 00000000`00000000 : ndis!ndisInvokeNextReceiveHandler+0xdb
ffffef82`3f4b70a0 fffff807`1a2012dc     : ffffa804`02cc9a00 ffffef82`3f4b71b1 00000000`00000000 00000000`00000001 : ndis!NdisFIndicateReceiveNetBufferLists+0x343fb
ffffef82`3f4b7150 fffff807`19bc654d     : ffffb881`00000001 ffffa804`030e0070 ffffa804`030e0070 fffff807`16e9be01 : wfplwfs!LwfLowerRecvNetBufferLists+0x14c
ffffef82`3f4b7210 fffff807`19bc5fbb     : 00000000`00006348 ffffef82`3f4b7330 00000000`00000000 fffff807`16ed08b5 : ndis!ndisCallReceiveHandler+0xb9
ffffef82`3f4b7260 fffff807`19bcca4a     : ffffef82`3f4b7348 00000000`00000000 ffffb881`00000000 ffffb881`22ca4180 : ndis!ndisCallNextDatapathHandler<2,void * __ptr64 & __ptr64,void (__cdecl*& __ptr64)(void * __ptr64,_NET_BUFFER_LIST * __ptr64,unsigned long,unsigned long,unsigned long),void * __ptr64 & __ptr64,_NET_BUFFER_LIST * __ptr64 & __ptr64,unsigned long & __ptr64,unsigned long & __ptr64,unsigned long & __ptr64>+0x3f
ffffef82`3f4b72b0 fffff807`19bc6647     : ffffa804`030e0070 00000000`00000000 ffffa804`00000001 00000000`00000000 : ndis!ndisExpandDataPathStack<2,void __cdecl(void * __ptr64,_NET_BUFFER_LIST * __ptr64,unsigned long,unsigned long,unsigned long)>+0xae
ffffef82`3f4b7350 fffff807`19ba3756     : 00000000`00fb90e8 00000000`00000000 00000000`00000000 00000000`00000000 : ndis!ndisInvokeNextReceiveHandler+0xdb
ffffef82`3f4b73b0 fffff807`584ec94d     : ffffa803`fdd4a802 ffffa803`fdd4a820 ffffef82`3f4b7540 00000000`00000001 : ndis!NdisMIndicateReceiveNetBufferLists+0x116
ffffef82`3f4b7440 fffff807`584ebf9e     : 0000004c`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : wdiwifi!CPort::IndicateFrames+0xad
ffffef82`3f4b7580 fffff807`584eb417     : 00000000`00000000 00000000`00000000 fffff807`585cf040 00000000`00000000 : wdiwifi!CRxMgr::RxProcessAndIndicateNblChain+0x41e
ffffef82`3f4b76b0 fffff807`584eb268     : ffffa804`030e0070 00000000`00000003 00000000`00000000 ffffd2d2`f09bd733 : wdiwifi!CRxMgr::RxInOrderDataInd+0x127
ffffef82`3f4b7760 fffff807`57c64399     : ffffa803`fdafce20 ffffa803`fd483050 00000000`00000001 00000000`00000000 : wdiwifi!AdapterRxInorderDataInd+0x88
ffffef82`3f4b77b0 fffff807`57c64871     : 00000000`00000000 00000000`00000000 ffffa804`204911c6 ffffa803`efae5050 : Netwtw08+0x64399
ffffef82`3f4b7820 fffff807`19bccb92     : ffffa804`20491040 00000000`00000000 ffffa803`f9eed050 00000000`00000000 : Netwtw08+0x64871
ffffef82`3f4b7860 fffff807`16ef2040     : 00000000`00000000 ffffa803`f9eed050 00000000`f9f44040 ffffa804`057dc040 : ndis!ndisDispatchIoWorkItem+0x12
ffffef82`3f4b7890 fffff807`16e18875     : ffffa803`efae5050 ffffa804`20491040 ffffef82`3f4b7a00 ffffa804`00000000 : nt!IopProcessWorkItem+0x100
ffffef82`3f4b7900 fffff807`16e0f4a7     : ffffa804`20491040 00000000`00000276 ffffa804`20491040 fffff807`16e18720 : nt!ExpWorkerThread+0x155
ffffef82`3f4b7af0 fffff807`1702dbb4     : ffffb881`22dd1180 ffffa804`20491040 fffff807`16e0f450 00000000`00000246 : nt!PspSystemThreadStartup+0x57
ffffef82`3f4b7b40 00000000`00000000     : ffffef82`3f4b8000 ffffef82`3f4b1000 00000000`00000000 00000000`00000000 : nt!KiStartSystemThread+0x34

FAULTING_SOURCE_LINE:  c:\Users\lev\Projects\ovpn-dco-win\adapter.cpp

FAULTING_SOURCE_FILE:  c:\Users\lev\Projects\ovpn-dco-win\adapter.cpp

FAULTING_SOURCE_LINE_NUMBER:  220

FAULTING_SOURCE_CODE:  
   216: 
   217:     NETPACKETQUEUE rxQueue = OvpnGetAdapterContext(netAdapter)->RxQueue;
   218:     POVPN_RXQUEUE queueContext = OvpnGetRxQueueContext(rxQueue);
   219: 
>  220:     if (InterlockedExchange(&queueContext->NotificationEnabled, FALSE) == TRUE)
   221:         NetRxQueueNotifyMoreReceivedPacketsAvailable(rxQueue);
   222: 
   223:     return STATUS_SUCCESS;
   224: }

SYMBOL_NAME:  ovpn_dco!OvpnAdapterNotifyRx+bc

MODULE_NAME: ovpn_dco

IMAGE_NAME:  ovpn-dco.sys

STACK_COMMAND:  .thread ; .cxr ; kb

BUCKET_ID_FUNC_OFFSET:  bc

FAILURE_BUCKET_ID:  AV_ovpn_dco!OvpnAdapterNotifyRx

OS_VERSION:  10.0.22621.1

BUILDLAB_STR:  ni_release

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 10

FAILURE_ID_HASH:  {ee6378be-39c2-3d0b-f4dc-73ff2aabbceb}

Followup:     MachineOwner
---------
lstipakov commented 1 year ago

@Mr1008 do you have some reliable steps to reproduce it?

ghost commented 1 year ago

@lstipakov No, unfortunately it is random. Sometimes I just go make a coffee and when I'm back the PC is already rebooted and waits for login or GSOD appears when I move my mouse to wake up screen. It happened like 3 times since I updated OpenVPN to dco driver (3 times in like 2 weeks or so)

lstipakov commented 1 year ago

I got some useful data from minidump. May I ask you to enable Kernel Memory Dump? This includes additional logging data which hopefully helps me to better understand what is going on.

ghost commented 1 year ago

@lstipakov I can enable it, but I also have 'Automatic memory dump' copied (the C:\Windows\memory.dmp file). I guess these two should contain the same set of information. If it's sufficient, would you like me to upload it? It has approx. 1.96GB

lstipakov commented 1 year ago

Yes please. memory.dmp might be large, so if github won't like it feel free to upload it to any cloud storage. If there is any sensitive data, you can password-protect it and send a link and password to me at @.***

ma 13. helmik. 2023 klo 19.01 Jakub Michałek @.***) kirjoitti:

@lstipakov https://github.com/lstipakov I can enable it, but I also have 'Automatic memory dump' copied (the C:\Windows\memory.dmp file). I guess these two should contain the same set of information. If it's sufficient, would you like me to upload it?

— Reply to this email directly, view it on GitHub https://github.com/OpenVPN/ovpn-dco-win/issues/36#issuecomment-1428303111, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE5AJS3YV5C723GHT7O4OLWXJSG3ANCNFSM6AAAAAAU2EJ46Q . You are receiving this because you were mentioned.Message ID: @.***>

-- -Lev

ghost commented 1 year ago

@lstipakov https://1drv.ms/u/s!AuZ_pNorkBxS9AU6e0tvRdA2f_Ed?e=1Pu1mr Here you are. I needed to upload it to OneDrive as GitHub allows only for 25mb uploads.

lstipakov commented 1 year ago
1: kd> !wdflogdump NetAdapterCx -d
Trace searchpath is: 

Trace format prefix is: %7!u!: %!FUNC! - 
Trying to extract TMF information from - C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\sym\NetAdapterCx.pdb\50438EE9D584D4E82492BF70423587821\NetAdapterCx.pdb
--- start of log ---
23958: NxDevice::WmiProcessSingleInstanceDefault - Adapter(Intel(R) Wireless-AC 9560 160MHz) not found. [status=STATUS_WMI_INSTANCE_NOT_FOUND], (!miniport is true).
23959: NxDevice::WmiProcessSingleInstanceDefault - Adapter(Intel(R) Wireless-AC 9560 160MHz) not found. [status=STATUS_WMI_INSTANCE_NOT_FOUND], (!miniport is true).
23960: NxDevice::WmiProcessSingleInstanceDefault - Adapter(Intel(R) Wireless-AC 9560 160MHz) not found. [status=STATUS_WMI_INSTANCE_NOT_FOUND], (!miniport is true).
23961: NxDevice::WmiProcessSingleInstanceDefault - Adapter(Intel(R) Wireless-AC 9560 160MHz) not found. [status=STATUS_WMI_INSTANCE_NOT_FOUND], (!miniport is true).
23962: NxDevice::WmiProcessSingleInstanceDefault - Adapter(Intel(R) Wireless-AC 9560 160MHz) not found. [status=STATUS_WMI_INSTANCE_NOT_FOUND], (!miniport is true).
23963: NxDevice::WmiProcessSingleInstanceDefault - Adapter(Intel(R) Wireless-AC 9560 160MHz) not found. [status=STATUS_WMI_INSTANCE_NOT_FOUND], (!miniport is true).
23964: NxPowerPolicy::SetParameters - Received NDIS_PM_PARAMETERS: EnabledWoLPacketPatterns=0x00000000, EnabledProtocolOffloads=0x00000000, WakeUpFlags=0x00000000
23965: NxPowerPolicy::SetParameters - Saved NDIS_PM_PARAMETERS: EnabledWoLPacketPatterns=0x00000000, EnabledProtocolOffloads=0x00000000, WakeUpFlags=0x00000000
23966: AdapterPnpPower::EvtLogTransition - NETADAPTER: 000057FC0650FAA8 [External] From: InterfaceStartedIoStarted, Event: IoStopD3, To: InterfaceStartedGoingToIoStoppedD3
23967: NxAdapter::EvtLogTransition - NETADAPTER: 000057FC0650FAA8 [External] From: DatapathRunning, Event: DatapathDestroy, To: DatapathRestartStopping
23968: NxDevice::WmiProcessSingleInstanceDefault - Adapter(Intel(R) Wireless-AC 9560 160MHz) not found. [status=STATUS_WMI_INSTANCE_NOT_FOUND], (!miniport is true).
23969: NxDevice::WmiProcessSingleInstanceDefault - Adapter(Intel(R) Wireless-AC 9560 160MHz) not found. [status=STATUS_WMI_INSTANCE_NOT_FOUND], (!miniport is true).
23970: NxDevice::WmiProcessSingleInstanceDefault - Adapter(Intel(R) Wireless-AC 9560 160MHz) not found. [status=STATUS_WMI_INSTANCE_NOT_FOUND], (!miniport is true).
23971: NxDevice::WmiProcessSingleInstanceDefault - Adapter(Intel(R) Wireless-AC 9560 160MHz) not found. [status=STATUS_WMI_INSTANCE_NOT_FOUND], (!miniport is true).
23972: EvtNdisUpdateIdleCondition - EvtNdisUpdateIdleCondition Setting Idle Condition from NdisIdleConditionAnyLowLatency to NdisIdleConditionAnyLowLatency
23973: NxDevice::WmiProcessSingleInstanceDefault - Adapter(Intel(R) Wireless-AC 9560 160MHz) not found. [status=STATUS_WMI_INSTANCE_NOT_FOUND], (!miniport is true).
23974: NxDevice::WmiProcessSingleInstanceDefault - Adapter(Intel(R) Wireless-AC 9560 160MHz) not found. [status=STATUS_WMI_INSTANCE_NOT_FOUND], (!miniport is true).
23975: NxDevice::WmiProcessSingleInstanceDefault - Adapter(Intel(R) Wireless-AC 9560 160MHz) not found. [status=STATUS_WMI_INSTANCE_NOT_FOUND], (!miniport is true).
23976: NxDevice::WmiProcessSingleInstanceDefault - Adapter(Intel(R) Wireless-AC 9560 160MHz) not found. [status=STATUS_WMI_INSTANCE_NOT_FOUND], (!miniport is true).
23977: NxDevice::WmiProcessSingleInstanceDefault - Adapter(Intel(R) Wireless-AC 9560 160MHz) not found. [status=STATUS_WMI_INSTANCE_NOT_FOUND], (!miniport is true).
23978: NxDevice::WmiProcessSingleInstanceDefault - Adapter(Intel(R) Wireless-AC 9560 160MHz) not found. [status=STATUS_WMI_INSTANCE_NOT_FOUND], (!miniport is true).
23979: NxDevice::WmiProcessSingleInstanceDefault - Adapter(Intel(R) Wireless-AC 9560 160MHz) not found. [status=STATUS_WMI_INSTANCE_NOT_FOUND], (!miniport is true).
23980: NxDevice::WmiProcessSingleInstanceDefault - Adapter(Intel(R) Wireless-AC 9560 160MHz) not found. [status=STATUS_WMI_INSTANCE_NOT_FOUND], (!miniport is true).
23981: NxTranslationApp::StopDatapath - Datapath Stopped Tx Queues 1 Rx Queues 1
23982: NxAdapter::EvtLogTransition - NETADAPTER: 000057FC0650FAA8 [External] From: DatapathRestartStopping, Event: SyncSuccess, To: DatapathRestartDestroying
23983: NxTranslationApp::DestroyDatapath - Datapath Destroyed Tx Queues 0 Rx Queues 0
23984: NxAdapter::EvtLogTransition - NETADAPTER: 000057FC0650FAA8 [External] From: DatapathRestartDestroying, Event: SyncSuccess, To: AdapterRestarted
23985: AdapterPnpPower::EvtLogTransition - NETADAPTER: 000057FC0650FAA8 [Call] From: InterfaceStartedGoingToIoStoppedD3, Event: _noevent_, To: SignalIoEvent
23986: AdapterPnpPower::EvtLogTransition - NETADAPTER: 000057FC0650FAA8 [ExplicitPop] From: SignalIoEvent, Event: GoToNextState, To: InterfaceStartedGoingToIoStoppedD3
23987: AdapterPnpPower::EvtLogTransition - NETADAPTER: 000057FC0650FAA8 [External] From: InterfaceStartedGoingToIoStoppedD3, Event: GoToNextState, To: InterfaceStartedIoStoppedDx
23988: NxDevice::EvtLogTransition - WDFDEVICE: 000057FC064E7FF8 [External] From: D0, Event: D0ExitPreHardwareDisabledDx, To: Dx
23989: NxDevice::WmiProcessSingleInstanceDefault - Adapter(Intel(R) Wireless-AC 9560 160MHz) not found. [status=STATUS_WMI_INSTANCE_NOT_FOUND], (!miniport is true).
23990: NxDevice::WmiProcessSingleInstanceDefault - Adapter(Intel(R) Wireless-AC 9560 160MHz) not found. [status=STATUS_WMI_INSTANCE_NOT_FOUND], (!miniport is true).
23991: NxDevice::WmiProcessSingleInstanceDefault - Adapter(Intel(R) Wireless-AC 9560 160MHz) not found. [status=STATUS_WMI_INSTANCE_NOT_FOUND], (!miniport is true).
23992: NxDevice::WmiProcessSingleInstanceDefault - Adapter(Intel(R) Wireless-AC 9560 160MHz) not found. [status=STATUS_WMI_INSTANCE_NOT_FOUND], (!miniport is true).
23993: NxDevice::WmiProcessSingleInstanceDefault - Adapter(Intel(R) Wireless-AC 9560 160MHz) not found. [status=STATUS_WMI_INSTANCE_NOT_FOUND], (!miniport is true).
23994: NxDevice::WmiProcessSingleInstanceDefault - Adapter(Intel(R) Wireless-AC 9560 160MHz) not found. [status=STATUS_WMI_INSTANCE_NOT_FOUND], (!miniport is true).
---- end of log ----
lstipakov commented 1 year ago
1: kd> !ndiskd.cxadapter 0x57fc0650faa8 

NETADAPTER

    Miniport           0                   [Unreadable NetAdapter]
    NETADAPTER         000057fc0650faa8
    WDFDEVICE          000057fc064e7ff8

    Datapath Callbacks                     Function pointer   Symbol (if available)
    EvtAdapterCreateTxQueue                fffff8071d5623f0   ovpn_dco!OvpnEvtAdapterCreateTxQueue
    EvtAdapterCreateRxQueue                fffff8071d562290   ovpn_dco!OvpnEvtAdapterCreateRxQueue

    Show datapath info
    Show NETPOWERSETTINGS info
1: kd> !ndiskd.cxadapter ffffa803f9aa3700 -datapath

DATAPATH QUEUES

    Transmit queues

    [0] 0

    Receive queues

    [0] 0
lstipakov commented 1 year ago

@Mr1008 can you paste the output of powercfg /a ?

ghost commented 1 year ago

@lstipakov

The following sleep states are available on this system:
    Standby (S3)
    Hibernate
    Fast Startup

The following sleep states are not available on this system:
    Standby (S1)
        The system firmware does not support this standby state.

    Standby (S2)
        The system firmware does not support this standby state.

    Standby (S0 Low Power Idle)
        The system firmware does not support this standby state.

    Hybrid Sleep
        The hypervisor does not support this standby state.
lstipakov commented 1 year ago

@Mr1008

By some reasons your system uses "legacy" standby (S3) instead of "modern" standby (S0 low power idle).

https://learn.microsoft.com/en-us/windows-hardware/design/device-experiences/modern-standby-vs-s3

Here is an output from my system:

PS C:\Users\lev> powercfg /a
The following sleep states are available on this system:
    Standby (S0 Low Power Idle) Network Connected
    Hibernate
    Fast Startup

The following sleep states are not available on this system:
    Standby (S1)
        The system firmware does not support this standby state.
        This standby state is disabled when S0 low power idle is supported.

    Standby (S2)
        The system firmware does not support this standby state.
        This standby state is disabled when S0 low power idle is supported.

    Standby (S3)
        The system firmware does not support this standby state.
        This standby state is disabled when S0 low power idle is supported.

    Hybrid Sleep
        Standby (S3) is not available.
        The hypervisor does not support this standby state.

I think the problem is that current implementation of device livecycle doesn't work quite well with legacy standby. This indeed should be fixed. Meanwhile do you happen to know why modern standby is not supported on your system? What hardware do you use?

ghost commented 1 year ago

@lstipakov To be honest I don't know why it is disabled. This is Clevo-based Hyperbook custom-made notebook. It might be that its UEFI firmware sadly just does not support it for some reason, but I'll take a look in uefi setup. I will try to investigate it further in free time. Thanks a lot for your help.

lstipakov commented 1 year ago

I managed to reproduce the problem on the HP desktop with S3 standby.

Once I got BSOD and my Windows rebooted, another time machine could not wake up and I had to hard reset it. I checked the kernel memory dump and the problem was exactly the same.

With the fix I am unable to reproduce the problem anymore, and I see expected log messages (rxQueue not initialized). After wake up iperf3 test continues just fine.

lstipakov commented 1 year ago

@Mr1008 can you confirm the latest version fixes the problem?

lstipakov commented 1 year ago

Will close when I005 is published.

ghost commented 1 year ago

@lstipakov Will test for two days or so and will let you know here 👍

lstipakov commented 1 year ago

Fixed in 2.6.0-I005.

ghost commented 1 year ago

@lstipakov I can confirm that for the last two days I have not encountered any GSOD. Thanks!