From: Lukas Hejtmanek Subject: Re: Question regarding SLAB corruption Date: Mon, 9 Jul 2007 17:39:08 +0200 Message-ID: <20070709153908.GM3885@ics.muni.cz> References: <20070709132449.GJ3885@ics.muni.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Mon, Jul 09, 2007 at 02:42:34PM +0100, Keir Fraser wrote: > On 9/7/07 14:24, "Lukas Hejtmanek" wrote: >=20 > > Well, we got it. The virt_to_machine shows that although the pages ar= e > > contiguous, they are in the reversed order! As can be seen below. Sho= uld the > > swiotlb=3Dforce solve the problem? >=20 > Yes, although that won't be needed in dom0 (which always has a swiotlb)= . But > clearly it is *definitely* needed for domU driving the infiniband devic= e. >=20 > You definitely need the patch that I posted. If it won't apply cleanly = to > your kernel tree then you'll have to manually apply it, or move to the > current 'unstable' linux-2.6.18-xen.hg tree. Yeah, it solved the oops, thanks! However, I got another oops in __sync_s= ingle because host addr is invalid. I suppose, it is because in sync_single it picks up invalid line from the io_tlb_orig_addr. It uses index 3332 which is not inserted by map_page. The invalid address is 0x0021d1242de00000 but it is strange because I add= ed memset to zero io_tlb_orig_addr at the beginning, however, such address i= s still there even if the index were not inserted by the map_page. --=20 Luk=E1=B9 Hejtm=E1nek