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

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



> -----Original Message-----
> From: Martin Cerveny [mailto:martin@xxxxxxxxx]
> Sent: 06 February 2017 15:10
> To: Paul Durrant <Paul.Durrant@xxxxxxxxxx>
> Cc: win-pv-devel@xxxxxxxxxxxxxxxxxxxx
> Subject: RE: [win-pv-devel] xenvif Win7 BSOD -
> DRIVER_POWER_STATE_FAILURE
> 
> Hello.
> 
> On Mon, 6 Feb 2017, Paul Durrant wrote:
> >> 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 ?
> 
> > So, clearly (from below) loaned > returned in XENVIF but the question
> > is, does XENNET think the same?
> 
> > If it does then either something higher up the stack is holding onto the
> > packets or somehow XENVIF or XENNET leaked them.
> 
> Do you mean data in "_XENNET_ADAPTER" vs " _XENVIF_RECEIVER" ?
> 
> Local var @ 0xfffff8800235a9c0 Type _XENNET_ADAPTER*
> 0xfffffa80`081a2c40
>     +0x3a0 Receiver         : 0xfffffa80`08195000 _XENNET_RECEIVER
>        +0x1418 Indicated        : 0n462675
>        +0x141c Returned         : 0n462627
> 
> Local var @ 0xfffff8800235a930 Type _XENVIF_RECEIVER*
> 0xfffffa80`08149670
>     +0x128 Loaned           : 0n462675
>     +0x12c Returned         : 0n462627
> 
> Seems to be symetric.

Ok, your code is recent enough for that. Good.

> 
> What next ?

Do you have any other filter drivers in your network stack? The data suggests 
that something is holding onto two packets, but the question is what is it?

  Paul

> Any more static analysis ?
> 
> 
> Thanks for guiding,
> Martin
> 
> 
> Detailed dump:
> 
> --------------------------------------------------------------------
> 
> 0: kd> .thread fffffa80069aeb50
> 
> Implicit thread is now fffffa80`069aeb50
> 
> 0: 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
> 
> 0: kd> .frame 3
> 
> 03 fffff880`0235a880 fffff880`0549e961 xenvif!ReceiverWaitForPackets+0x278
> [c:\users\admin\documents\xenvif\src\xenvif\receiver.c @ 3740]
> 
> 0: kd> dt -r1 Receiver
> 
> Local var @ 0xfffff8800235a930 Type _XENVIF_RECEIVER*
> 0xfffffa80`08149670
>     +0x000 Frontend         : 0xfffffa80`0815bad0 _XENVIF_FRONTEND
>        +0x000 Pdo              : 0xfffffa80`08149db0 _XENVIF_PDO
>        +0x008 Path             : 0xfffffa80`0746b0d0  "device/vif/0"
>        +0x010 Prefix           : 0xfffffa80`0746d140  "attr/vif/0"
>        +0x018 State            : 3 ( FRONTEND_CONNECTED )
>        +0x01c Online           : 0x1 ''
>        +0x020 Lock             : 0
>        +0x028 EjectThread      : 0xfffffa80`07dd6b40 _XENVIF_THREAD
>        +0x030 EjectEvent       : _KEVENT
>        +0x048 BackendPath      : 0xfffffa80`0815b490
> "/local/domain/0/backend/vif/5/0"
>        +0x050 BackendDomain    : 0
>        +0x054 MaxQueues        : 8
>        +0x058 NumQueues        : 8
>        +0x05c Split            : 0x1 ''
>        +0x060 DisableToeplitz  : 0
>        +0x068 Mac              : 0xfffffa80`07a8e580 _XENVIF_MAC
>        +0x070 Receiver         : 0xfffffa80`08149670 _XENVIF_RECEIVER
>        +0x078 Transmitter      : 0xfffffa80`08168880 _XENVIF_TRANSMITTER
>        +0x080 Controller       : 0xfffffa80`0815a010 _XENVIF_CONTROLLER
>        +0x088 DebugInterface   : _XENBUS_DEBUG_INTERFACE_V1
>        +0x0d8 SuspendInterface : _XENBUS_SUSPEND_INTERFACE_V1
>        +0x128 StoreInterface   : _XENBUS_STORE_INTERFACE_V2
>        +0x1b0 SuspendCallbackEarly : 0xfffffa80`075812b0
> _XENBUS_SUSPEND_CALLBACK
>        +0x1b8 SuspendCallbackLate : 0xfffffa80`075503e0
> _XENBUS_SUSPEND_CALLBACK
>        +0x1c0 DebugCallback    : 0xfffffa80`07df9720
> _XENBUS_DEBUG_CALLBACK
>        +0x1c8 Watch            : 0xfffffa80`07dfcb40 _XENBUS_STORE_WATCH
>        +0x1d0 Statistics       : 0xfffffa80`08158010
> _XENVIF_FRONTEND_STATISTICS
>        +0x1d8 StatisticsCount  : 8
>        +0x1e0 MibThread        : 0xfffffa80`07dd6a80 _XENVIF_THREAD
>        +0x1e8 Alias            : [257]  "P???"
>        +0x2ec InterfaceIndex   : 0xf
>        +0x2f0 AddressTable     : 0xfffffa80`067de410 _SOCKADDR_INET
>        +0x2f8 AddressCount     : 4
>        +0x2fc Hash             : _XENVIF_FRONTEND_HASH
>     +0x008 CacheInterface   : _XENBUS_CACHE_INTERFACE_V1
>        +0x000 Interface        : _INTERFACE
> [snip]
>     +0x0b0 EvtchnInterface  : _XENBUS_EVTCHN_INTERFACE_V5
>        +0x000 Interface        : _INTERFACE
> [snip]
>     +0x120 Ring             : 0xfffffa80`07849140  -> 0xfffffa80`08170680
> _XENVIF_RECEIVER_RING
>        +0x000 Receiver         : 0xfffffa80`08149670 _XENVIF_RECEIVER
>        +0x008 Index            : 0
>        +0x010 Path             : 0xfffffa80`07571740  "device/vif/0/queue-0"
>        +0x018 Lock             : 0
>        +0x020 PacketCache      : 0xfffffa80`07a305f0 _XENBUS_CACHE
>        +0x028 FragmentCache    : 0xfffffa80`079a8420 _XENBUS_CACHE
>        +0x030 GnttabCache      : 0xfffffa80`07e05a10 _XENBUS_GNTTAB_CACHE
>        +0x038 Mdl              : 0xfffffa80`07def440 _MDL
>        +0x040 Front            : netif_rx_front_ring
>        +0x058 Shared           : 0xfffff880`04e41000 netif_rx_sring
>        +0x060 Entry            : 0xfffffa80`07e14ce8 _XENBUS_GNTTAB_ENTRY
>        +0x068 Channel          : 0xfffffa80`07dfad10 _XENBUS_EVTCHN_CHANNEL
>        +0x070 Dpc              : _KDPC
>        +0x0b0 Dpcs             : 0x1815
>        +0x0b8 Timer            : _KTIMER
>        +0x0f8 TimerDpc         : _KDPC
>        +0x138 Events           : 0x1815
>        +0x140 Pending          : [256] 0xfffffa80`07e10558
> _XENVIF_RECEIVER_FRAGMENT
>        +0x940 RequestsPosted   : 0x358a
>        +0x944 RequestsPushed   : 0x358a
>        +0x948 ResponsesProcessed : 0x348a
>        +0x94c Connected        : 0x1 ''
>        +0x94d Enabled          : 0 ''
>        +0x94e Stopped          : 0 ''
>        +0x950 OffloadOptions   : _XENVIF_VIF_OFFLOAD_OPTIONS_V1
>        +0x954 BackfillSize     : 0
>        +0x958 DebugCallback    : 0xfffffa80`07dd7770
> _XENBUS_DEBUG_CALLBACK
>        +0x960 WatchdogThread   : 0xfffffa80`07a8de60 _XENVIF_THREAD
>        +0x968 PacketList       : _LIST_ENTRY [ 0xfffffa80`08170fe8 -
> 0xfffffa80`08170fe8 ]
>        +0x978 Hash             : _XENVIF_RECEIVER_HASH
>     +0x128 Loaned           : 0n462675
>     +0x12c Returned         : 0n462627
>     +0x130 Event            : _KEVENT
>        +0x000 Header           : _DISPATCHER_HEADER
>     +0x148 CalculateChecksums : 1
>     +0x14c AllowGsoPackets  : 1
>     +0x150 DisableIpVersion4Gso : 0
>     +0x154 DisableIpVersion6Gso : 0
>     +0x158 IpAlignOffset    : 0
>     +0x15c AlwaysPullup     : 0
>     +0x160 StoreInterface   : _XENBUS_STORE_INTERFACE_V2
>        +0x000 Interface        : _INTERFACE
> [snip]
>     +0x1e8 DebugInterface   : _XENBUS_DEBUG_INTERFACE_V1
>        +0x000 Interface        : _INTERFACE
> [snip]
>     +0x238 DebugCallback    : 0xfffffa80`07df9120 _XENBUS_DEBUG_CALLBACK
> 
> 0: kd> .frame 5
> 
> 05 fffff880`0235a980 fffff880`05d99d5d xennet!AdapterDisable+0x96
> [c:\users\admin\documents\xennet\src\xennet\adapter.c @ 1979]
> 
> 0: kd> dt -r2 Adapter
> 
> Local var @ 0xfffff8800235a9c0 Type _XENNET_ADAPTER*
> 0xfffffa80`081a2c40
>     +0x000 Location         : 0xfffffa80`075590d0  -> 0x30
>     +0x008 VifInterface     : _XENVIF_VIF_INTERFACE_V8
>        +0x000 Interface        : _INTERFACE
> [snip]
>     +0x0f8 StoreInterface   : _XENBUS_STORE_INTERFACE_V2
>        +0x000 Interface        : _INTERFACE
> [snip]
>     +0x180 SuspendInterface : _XENBUS_SUSPEND_INTERFACE_V1
>        +0x000 Interface        : _INTERFACE
> [snip]
>     +0x1d0 SuspendCallbackLate : 0xfffffa80`075bbee0
> _XENBUS_SUSPEND_CALLBACK
>     +0x1d8 MaximumFrameSize : 0x5ee
>     +0x1dc CurrentLookahead : 0
>     +0x1e0 NdisAdapterHandle : 0xfffffa80`081751a0 Void
>     +0x1e8 NdisDmaHandle    : 0xfffffa80`07619110 Void
>     +0x1f0 Capabilities     : _NDIS_PNP_CAPABILITIES
>        +0x000 Flags            : 0
>        +0x004 WakeUpCapabilities : _NDIS_PM_WAKE_UP_CAPABILITIES
>           +0x000 MinMagicPacketWakeUp : 0 ( NdisDeviceStateUnspecified )
>           +0x004 MinPatternWakeUp : 0 ( NdisDeviceStateUnspecified )
>           +0x008 MinLinkChangeWakeUp : 0 ( NdisDeviceStateUnspecified )
>     +0x200 Offload          : _NDIS_OFFLOAD
>        +0x000 Header           : _NDIS_OBJECT_HEADER
>           +0x000 Type             : 0xa7 ''
>           +0x001 Revision         : 0x2 ''
>           +0x002 Size             : 0x90
>        +0x004 Checksum         : _NDIS_TCP_IP_CHECKSUM_OFFLOAD
>           +0x000 IPv4Transmit     : <unnamed-tag>
>           +0x008 IPv4Receive      : <unnamed-tag>
>           +0x010 IPv6Transmit     : <unnamed-tag>
>           +0x018 IPv6Receive      : <unnamed-tag>
>        +0x024 LsoV1            : _NDIS_TCP_LARGE_SEND_OFFLOAD_V1
>           +0x000 IPv4             : <unnamed-tag>
>        +0x034 IPsecV1          : _NDIS_IPSEC_OFFLOAD_V1
>           +0x000 Supported        : <unnamed-tag>
>           +0x014 IPv4AH           : <unnamed-tag>
>           +0x018 IPv4ESP          : <unnamed-tag>
>        +0x050 LsoV2            : _NDIS_TCP_LARGE_SEND_OFFLOAD_V2
>           +0x000 IPv4             : <unnamed-tag>
>           +0x00c IPv6             : <unnamed-tag>
>        +0x06c Flags            : 0
>        +0x070 IPsecV2          : _NDIS_IPSEC_OFFLOAD_V2
>           +0x000 Encapsulation    : 0
>           +0x004 IPv6Supported    : 0 ''
>           +0x005 IPv4Options      : 0 ''
>           +0x006 IPv6NonIPsecExtensionHeaders : 0 ''
>           +0x007 Ah               : 0 ''
>           +0x008 Esp              : 0 ''
>           +0x009 AhEspCombined    : 0 ''
>           +0x00a Transport        : 0 ''
>           +0x00b Tunnel           : 0 ''
>           +0x00c TransportTunnelCombined : 0 ''
>           +0x00d LsoSupported     : 0 ''
>           +0x00e ExtendedSequenceNumbers : 0 ''
>           +0x010 UdpEsp           : 0
>           +0x014 AuthenticationAlgorithms : 0
>           +0x018 EncryptionAlgorithms : 0
>           +0x01c SaOffloadCapacity : 0
>     +0x290 Properties       : _PROPERTIES
>        +0x000 ipv4_csum        : 0n3
>        +0x004 tcpv4_csum       : 0n3
>        +0x008 udpv4_csum       : 0n3
>        +0x00c tcpv6_csum       : 0n3
>        +0x010 udpv6_csum       : 0n3
>        +0x014 need_csum_value  : 0n1
>        +0x018 lsov4            : 0n1
>        +0x01c lsov6            : 0n1
>        +0x020 lrov4            : 0n1
>        +0x024 lrov6            : 0n1
>        +0x028 rss              : 0n1
>     +0x2bc Rss              : _XENNET_RSS
>        +0x000 Supported        : 0x1 ''
>        +0x001 HashEnabled      : 0 ''
>        +0x002 ScaleEnabled     : 0x1 ''
>        +0x004 Types            : 0x1e
>        +0x008 Key              : [40]  "???"
>        +0x030 KeySize          : 0x28
>        +0x034 Table            : [128]  ""
>        +0x0b4 TableSize        : 0x40
>     +0x378 LinkState        : _NDIS_LINK_STATE
>        +0x000 Header           : _NDIS_OBJECT_HEADER
>           +0x000 Type             : 0x80 ''
>           +0x001 Revision         : 0x1 ''
>           +0x002 Size             : 0x28
>        +0x004 MediaConnectState : 1 ( MediaConnectStateConnected )
>        +0x008 MediaDuplexState : 2 ( MediaDuplexStateFull )
>        +0x010 XmitLinkSpeed    : 0x3b9aca00
>        +0x018 RcvLinkSpeed     : 0x3b9aca00
>        +0x020 PauseFunctions   : 0 ( NdisPauseFunctionsUnsupported )
>        +0x024 AutoNegotiationFlags : 0
>     +0x3a0 Receiver         : 0xfffffa80`08195000 _XENNET_RECEIVER
>        +0x000 Adapter          : 0xfffffa80`081a2c40 _XENNET_ADAPTER
>           +0x000 Location         : 0xfffffa80`075590d0  -> 0x30
>           +0x008 VifInterface     : _XENVIF_VIF_INTERFACE_V8
>           +0x0f8 StoreInterface   : _XENBUS_STORE_INTERFACE_V2
>           +0x180 SuspendInterface : _XENBUS_SUSPEND_INTERFACE_V1
>           +0x1d0 SuspendCallbackLate : 0xfffffa80`075bbee0
> _XENBUS_SUSPEND_CALLBACK
>           +0x1d8 MaximumFrameSize : 0x5ee
>           +0x1dc CurrentLookahead : 0
>           +0x1e0 NdisAdapterHandle : 0xfffffa80`081751a0 Void
>           +0x1e8 NdisDmaHandle    : 0xfffffa80`07619110 Void
>           +0x1f0 Capabilities     : _NDIS_PNP_CAPABILITIES
>           +0x200 Offload          : _NDIS_OFFLOAD
>           +0x290 Properties       : _PROPERTIES
>           +0x2bc Rss              : _XENNET_RSS
>           +0x378 LinkState        : _NDIS_LINK_STATE
>           +0x3a0 Receiver         : 0xfffffa80`08195000 _XENNET_RECEIVER
>           +0x3a8 Transmitter      : 0xfffffa80`075ac740 _XENNET_TRANSMITTER
>           +0x3b0 Enabled          : 0 ''
>        +0x008 NetBufferListPool : 0xfffffa80`08196600 Void
>        +0x010 PutList          : 0xfffffa80`06b227f0 _NET_BUFFER_LIST
>           +0x000 Next             : 0xfffffa80`06a893d0 _NET_BUFFER_LIST
>           +0x008 FirstNetBuffer   : 0xfffffa80`06b22920 _NET_BUFFER
>           +0x000 Link             : _SLIST_HEADER
>           +0x000 NetBufferListHeader : _NET_BUFFER_LIST_HEADER
>           +0x010 Context          : (null)
>           +0x018 ParentNetBufferList : (null)
>           +0x020 NdisPoolHandle   : 0xfffffa80`08196600 Void
>           +0x030 NdisReserved     : [2] (null)
>           +0x040 ProtocolReserved : [4] (null)
>           +0x060 MiniportReserved : [2] (null)
>           +0x070 Scratch          : (null)
>           +0x078 SourceHandle     : 0xfffffa80`081751a0 Void
>           +0x080 NblFlags         : 0
>           +0x084 ChildRefCount    : 0n0
>           +0x088 Flags            : 0x60000102
>           +0x08c Status           : 0n0
>           +0x08c NdisReserved2    : 0
>           +0x090 NetBufferListInfo : [13] (null)
>        +0x018 GetList          : [128] 0xfffffa80`06aa3030 _NET_BUFFER_LIST
>           +0x000 Next             : 0xfffffa80`06afe5c0 _NET_BUFFER_LIST
>           +0x008 FirstNetBuffer   : 0xfffffa80`06aa3160 _NET_BUFFER
>           +0x000 Link             : _SLIST_HEADER
>           +0x000 NetBufferListHeader : _NET_BUFFER_LIST_HEADER
>           +0x010 Context          : (null)
>           +0x018 ParentNetBufferList : (null)
>           +0x020 NdisPoolHandle   : 0xfffffa80`08196600 Void
>           +0x030 NdisReserved     : [2] (null)
>           +0x040 ProtocolReserved : [4] (null)
>           +0x060 MiniportReserved : [2] (null)
>           +0x070 Scratch          : (null)
>           +0x078 SourceHandle     : 0xfffffa80`081751a0 Void
>           +0x080 NblFlags         : 0
>           +0x084 ChildRefCount    : 0n0
>           +0x088 Flags            : 0xa0000102
>           +0x08c Status           : 0n0
>           +0x08c NdisReserved2    : 0
>           +0x090 NetBufferListInfo : [13] 0x00000000`00000028 Void
>        +0x418 Queue            : [128] _XENNET_RECEIVER_QUEUE
>           +0x000 Lock             : 0
>           +0x008 Head             : (null)
>           +0x010 Tail             : (null)
>           +0x018 Count            : 0
>        +0x1418 Indicated        : 0n462675
>        +0x141c Returned         : 0n462627
>        +0x1420 OffloadOptions   : _XENVIF_VIF_OFFLOAD_OPTIONS_V1
>           +0x000 OffloadTagManipulation : 0y1
>           +0x000 OffloadIpVersion4LargePacket : 0y1
>           +0x000 OffloadIpVersion4HeaderChecksum : 0y1
>           +0x000 OffloadIpVersion4TcpChecksum : 0y1
>           +0x000 OffloadIpVersion4UdpChecksum : 0y1
>           +0x000 OffloadIpVersion6LargePacket : 0y1
>           +0x000 OffloadIpVersion6TcpChecksum : 0y1
>           +0x000 OffloadIpVersion6UdpChecksum : 0y1
>           +0x000 NeedChecksumValue : 0y1
>           +0x000 NeedLargePacketSplit : 0y1
>           +0x000 Reserved         : 0y000000 (0)
>           +0x000 Value            : 0x3ff
>     +0x3a8 Transmitter      : 0xfffffa80`075ac740 _XENNET_TRANSMITTER
>        +0x000 Adapter          : 0xfffffa80`081a2c40 _XENNET_ADAPTER
>           +0x000 Location         : 0xfffffa80`075590d0  -> 0x30
>           +0x008 VifInterface     : _XENVIF_VIF_INTERFACE_V8
>           +0x0f8 StoreInterface   : _XENBUS_STORE_INTERFACE_V2
>           +0x180 SuspendInterface : _XENBUS_SUSPEND_INTERFACE_V1
>           +0x1d0 SuspendCallbackLate : 0xfffffa80`075bbee0
> _XENBUS_SUSPEND_CALLBACK
>           +0x1d8 MaximumFrameSize : 0x5ee
>           +0x1dc CurrentLookahead : 0
>           +0x1e0 NdisAdapterHandle : 0xfffffa80`081751a0 Void
>           +0x1e8 NdisDmaHandle    : 0xfffffa80`07619110 Void
>           +0x1f0 Capabilities     : _NDIS_PNP_CAPABILITIES
>           +0x200 Offload          : _NDIS_OFFLOAD
>           +0x290 Properties       : _PROPERTIES
>           +0x2bc Rss              : _XENNET_RSS
>           +0x378 LinkState        : _NDIS_LINK_STATE
>           +0x3a0 Receiver         : 0xfffffa80`08195000 _XENNET_RECEIVER
>           +0x3a8 Transmitter      : 0xfffffa80`075ac740 _XENNET_TRANSMITTER
>           +0x3b0 Enabled          : 0 ''
>        +0x008 OffloadOptions   : _XENVIF_VIF_OFFLOAD_OPTIONS_V1
>           +0x000 OffloadTagManipulation : 0y1
>           +0x000 OffloadIpVersion4LargePacket : 0y1
>           +0x000 OffloadIpVersion4HeaderChecksum : 0y1
>           +0x000 OffloadIpVersion4TcpChecksum : 0y1
>           +0x000 OffloadIpVersion4UdpChecksum : 0y1
>           +0x000 OffloadIpVersion6LargePacket : 0y1
>           +0x000 OffloadIpVersion6TcpChecksum : 0y1
>           +0x000 OffloadIpVersion6UdpChecksum : 0y1
>           +0x000 NeedChecksumValue : 0y0
>           +0x000 NeedLargePacketSplit : 0y0
>           +0x000 Reserved         : 0y000000 (0)
>           +0x000 Value            : 0xff
>        +0x010 Lock             : 0
>     +0x3b0 Enabled          : 0 ''
> 
> 
> 
> >  Paul
> >
> >>
> >> 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®.