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: "Stephen C. Tweedie" <sct@xxxxxxxxxx>
Subject: Re: [Xen-devel] DMA trouble with current xen-sparse
From: Daniel Veillard <veillard@xxxxxxxxxx>
Date: Tue, 8 Nov 2005 01:41:26 -0500
Cc: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxx>
Delivery-date: Tue, 08 Nov 2005 06:41:38 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1131398939.4844.11.camel@xxxxxxxxxxxxxxxxxxxxx>
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>
References: <A95E2296287EAD4EB592B5DEEFCE0E9D32E771@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <1131398939.4844.11.camel@xxxxxxxxxxxxxxxxxxxxx>
Reply-to: veillard@xxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Mon, Nov 07, 2005 at 04:28:59PM -0500, Stephen C. Tweedie wrote:
> Hi,
> 
> On Fri, 2005-11-04 at 14:50 +0000, Ian Pratt wrote:
> 
> >  > 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.
> > 
> > Please can you try using either our -xen or -xen0 kernel config. I
> > strongly suspect there's something in your config that is breaking this
> > for you, just not sure what.
> 
> I just tried to build it; it would not boot.  That was building the
> 2.6.12 xen-sparse w/ gcc4; retrying with gcc32 now.
> 
> But I suspect that the problem is CONFIG_SLAB_DEBUG.  That sets up slab
> redzoning which checks for buffer overruns.  One consequence is that

  Just to confirm that CONFIG_SLAB_DEBUG is the one exposing the issue.
I recompiled the exact same kernel with just that option turned off
and the tg3 driver does not seems to hang anymore.

Daniel

-- 
Daniel Veillard      | Red Hat http://redhat.com/
veillard@xxxxxxxxxx  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/

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