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

RE: [Xen-devel] DMA trouble with current xen-sparse

To: <veillard@xxxxxxxxxx>, "Vincent Hanquez" <vincent.hanquez@xxxxxxxxxxxx>
Subject: RE: [Xen-devel] DMA trouble with current xen-sparse
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Mon, 7 Nov 2005 13:51:35 -0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 07 Nov 2005 13:51:42 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcXghhum/RPcTMPRSrCU5RTRVdQcvADGvzeA
Thread-topic: [Xen-devel] DMA trouble with current xen-sparse
> Sure, took a bit of time to recompile the kernel (I didn't do 
> this for years) and it crashed as expected, here are the info:
> 
>   ptr: f160ed8e 1514
> 
> the size looks a full ethernet frame, i.e. 1500 of payload, 2 
> ethernet addresses and the 2bytes for the ethernet type, that 
> looks kosher to me but clearly it is not aligned.

This allocation isn't aligned to the next power of 2 boundary ---
usually 1514 byte allocations are 2KB aligned. 

You're not enabling some experimental option in your config that changes
the alignment of slab allocations are you?

Ian

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