WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] RE: BSOD in GPLPV rev928 in xennet.sys

To: "Andreas Kinzler" <ml-xen-devel@xxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] RE: BSOD in GPLPV rev928 in xennet.sys
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Thu, 9 Jun 2011 18:56:37 +1000
Cc:
Delivery-date: Thu, 09 Jun 2011 02:01:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4DEFC1A5.9070902@xxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4DEFC1A5.9070902@xxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcwmC1rf+zUojwyeTNmX1tNc4f5lSQAdek0A
Thread-topic: BSOD in GPLPV rev928 in xennet.sys

> -----Original Message-----
> From: Andreas Kinzler [mailto:ml-xen-devel@xxxxxx]
> Sent: Thursday, 9 June 2011 04:38
> To: xen-devel@xxxxxxxxxxxxxxxxxxx; James Harper
> Subject: BSOD in GPLPV rev928 in xennet.sys
> 
> Hello James,
> 
> on Windows 2008 R2 SP1 I get a BSOD on GPLPV setup. After some
analyzing
> I found that it is a "null ptr read" in the call to
> NdisFreeToNPagedLookasideList. File is xennet6_tx.c line 336.
> 
>        length = XenNet_QueryData(&pi, coalesce_remaining);
>        va = NdisBufferVirtualAddressSafe(pi.curr_mdl,
LowPagePriority);
>        if (!va)
>        {
>          KdPrint((__DRIVER_NAME "     failed to map buffer va -
partial
> send\n"));
>          coalesce_remaining = 0;
>          remaining -= min(PAGE_SIZE, remaining);
>          NdisFreeToNPagedLookasideList(&xi->tx_lookaside_list,
> coalesce_buf);
>        }
>        else
>        {
> 

I can't see how that situation could arise without there being some
memory corruption somewhere... coalesce_buf is checked for NULL before
the call to NdiFreeToNPageLookasideList. Did you get the "Failed to map
buffer va - partial send" message in the logs?

James

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>