From: Ian Campbell Subject: Re: [xen-unstable test] 24366: tolerable trouble: broken/fail/pass Date: Tue, 21 Jan 2014 10:00:47 +0000 Message-ID: <1390298447.20516.98.camel@kazak.uk.xensource.com> References: <1389606502.8187.10.camel@kazak.uk.xensource.com> <1389882550.6697.21.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1389882550.6697.21.camel@kazak.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini Cc: Julien Grall , "xen.org" , xen-devel@lists.xensource.com, Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Thu, 2014-01-16 at 14:29 +0000, Ian Campbell wrote: > On Thu, 2014-01-16 at 14:22 +0000, Stefano Stabellini wrote: > > LVM works for me, but I am not using udev at the moment. > > I instrumented the guest f/s and blkfront and it seems like reads are > returning buffers full of 0xc2c2c2c2, which is the pattern that Xen > scrubs pages with in a debug build. > > So either there is a cache coherency issue or perhaps something to do > with the dom0 swiotlb doing direct i/o to guest pages and sending them > to the wrong place. Just to close this off -- the issue here turned out to be truncation of dma addresses from 64-bits to 32-bits when LPAE is not enabled. Fixed by my Linux patch "xen: swiotlb: handle sizeof(dma_addr_t) != sizeof(phys_addr_t)". Ian.