[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [win-pv-devel] xenvif Win7 BSOD - DRIVER_POWER_STATE_FAILURE



Hello.

On Mon, 6 Feb 2017, Paul Durrant wrote:
Sent: 06 February 2017 09:36
I see. Well, if it is easy for you to reproduce, it would be worth adding some debug to XENNET and XENVIF to figure out how many buffers are outstanding.

Badly reproducible. It happends after 2-3 hours of network streaming. I try "iperf" or "copy network files" but this does not trigger problem.

What exactly you need to watch ?

This is analysis from  memory my crash dump
---------------------------------------------------------
kd> !stacks 2 xennet!
Proc.Thread  .Thread  Ticks   ThreadState Blocker
                            [fffff80002e0b180 Idle]
                            [fffffa80066749c0 System]
   4.001008  fffffa80069aeb50 fff7e482 Blocked    nt!KiSwapContext+0x7a
                                        nt!KiCommitThreadWait+0x1d2
                                        nt!KeWaitForSingleObject+0x19f
                                        xenvif!ReceiverWaitForPackets+0x278
                                        xenvif!VifDisable+0x101
                                        xennet!AdapterDisable+0x96
                                        xennet!MiniportShutdownEx+0x3d
                                        ndis!ndisMShutdownMiniport+0xc9
                                        ndis!ndisSetPower+0x921
                                        ndis!ndisPowerDispatch+0x1ef
                                        nt!PopIrpWorker+0x3c5
                                        nt!PspSystemThreadStartup+0x5a
                                        nt!KxStartSystemThread+0x16
kd> .thread fffffa80069aeb50
kd> k n
  *** Stack trace for last set context - .thread/.cxr resets it
 # Child-SP          RetAddr           Call Site
00 fffff880`0235a610 fffff800`02c73e42 nt!KiSwapContext+0x7a
01 fffff880`0235a750 fffff800`02c851df nt!KiCommitThreadWait+0x1d2
02 fffff880`0235a7e0 fffff880`0547e968 nt!KeWaitForSingleObject+0x19f
03 fffff880`0235a880 fffff880`0549e961 xenvif!ReceiverWaitForPackets+0x278 
[c:\users\admin\documents\xenvif\src\xenvif\receiver.c @ 3740]
04 fffff880`0235a930 fffff880`05d91386 xenvif!VifDisable+0x101 
[c:\users\admin\documents\xenvif\src\xenvif\vif.c @ 270]
05 fffff880`0235a980 fffff880`05d99d5d xennet!AdapterDisable+0x96 
[c:\users\admin\documents\xennet\src\xennet\adapter.c @ 1979]
06 fffff880`0235a9c0 fffff880`0170b649 xennet!MiniportShutdownEx+0x3d 
[c:\users\admin\documents\xennet\src\xennet\miniport.c @ 284]
07 fffff880`0235aa00 fffff880`01715c81 ndis!ndisMShutdownMiniport+0xc9
08 fffff880`0235aa40 fffff880`016adfdf ndis!ndisSetPower+0x921
09 fffff880`0235ab00 fffff800`02d9d2a5 ndis!ndisPowerDispatch+0x1ef
0a fffff880`0235ab50 fffff800`02f19236 nt!PopIrpWorker+0x3c5
0b fffff880`0235ac00 fffff800`02c6f706 nt!PspSystemThreadStartup+0x5a
0c fffff880`0235ac40 00000000`00000000 nt!KxStartSystemThread+0x16

kd> .frame 3
03 fffff880`0235a880 fffff880`0549e961 xenvif!ReceiverWaitForPackets+0x278 
[c:\users\admin\documents\xenvif\src\xenvif\receiver.c @ 3740]
0: kd> dv
       Receiver = 0xfffffa80`08149670
       Returned = 0n462627
        Timeout = union _LARGE_INTEGER 0xffffffff`fa0a1f00
         Loaned = 0n462675
       Frontend = 0xfffffa80`0815bad0
---------------------------------------------------------------------

eg. Loaned > Returned

Martin

_______________________________________________
win-pv-devel mailing list
win-pv-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.