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

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


  • To: "Andreas Kinzler" <ml-xen-devel@xxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • 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


 


Rackspace

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