From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Veillard Subject: Re: DMA trouble with current xen-sparse Date: Tue, 8 Nov 2005 01:41:26 -0500 Message-ID: <20051108064126.GY896@redhat.com> References: <1131398939.4844.11.camel@orbit.scot.redhat.com> Reply-To: veillard@redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1131398939.4844.11.camel@orbit.scot.redhat.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Stephen C. Tweedie" Cc: Ian Pratt , xen-devel@lists.xensource.com, Vincent Hanquez List-Id: xen-devel@lists.xenproject.org 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@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/