From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roland Dreier Subject: Re: Question regarding SLAB corruption Date: Mon, 09 Jul 2007 14:07:13 -0700 Message-ID: References: <20070709205607.GT3885@ics.muni.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: <20070709205607.GT3885@ics.muni.cz> (Lukas Hejtmanek's message of "Mon, 9 Jul 2007 22:56:07 +0200") List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Lukas Hejtmanek Cc: xen-devel@lists.xensource.com, Keir Fraser List-Id: xen-devel@lists.xenproject.org > 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.