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] Question regarding SLAB corruption

To: Lukas Hejtmanek <xhejtman@xxxxxxxxxxx>
Subject: Re: [Xen-devel] Question regarding SLAB corruption
From: Roland Dreier <rdreier@xxxxxxxxx>
Date: Mon, 09 Jul 2007 14:07:13 -0700
Authentication-results: sj-dkim-2; header.From=rdreier@xxxxxxxxx; dkim=pass ( sig from cisco.com/sjdkim2002 verified; );
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Keir Fraser <keir@xxxxxxxxxxxxx>
Delivery-date: Tue, 10 Jul 2007 10:09:57 -0700
Dkim-signature: v=0.5; a=rsa-sha256; q=dns/txt; l=754; t=1184015235; x=1184879235; c=relaxed/simple; s=sjdkim2002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=rdreier@xxxxxxxxx; z=From:=20Roland=20Dreier=20<rdreier@xxxxxxxxx> |Subject:=20Re=3A=20[Xen-devel]=20Question=20regarding=20SLAB=20corruptio n |Sender:=20; bh=tSTvfkgXaRuT3KDEg7d862OgJqW1GIMuDGssef/mmo8=; b=rJDRU4GPdXvuRm1pZsIe9Utw344VfpZ21ZcVZAjCJASxOBL1e4ReVFDfO7KDuRqyW/G+lPT0 UC6nx7uNbwBbBGFvROwUuSFLQJCCHlG393Ok7BU0AeGeW4dItPPCtiz4;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070709205607.GT3885@xxxxxxxxxxx> (Lukas Hejtmanek's message of "Mon, 9 Jul 2007 22:56:07 +0200")
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: <C2B83D37.A8DF%keir@xxxxxxxxxxxxx> <adafy3xz8f7.fsf@xxxxxxxxx> <20070709205607.GT3885@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.20 (linux)
 > However, the driver itself complain about to not receiving IRQ. But the IRQ
 > *is* received. mthca_eq_int is performed but next_eqe_sw returns NULL becouse
 > MTHCA_EQ_ENTRY_OWNER_HW is set.

The EQ (event queue) is allocated with dma_alloc_coherent() in
PAGE_SIZE chunks.  My best guess would be that somehow the hardware is
getting the wrong DMA address for the EQ and writing the EQE (event
queue entry) to the wrong place.

This is probably related to the earlier problem, since that was the
driver writing into some hardware data structures, which may not work
if there's a bounce buffer involved.

What version of the kernel are you using for your domU?  I may be able
to give you a simple patch to confirm this theory.

 - R.

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

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