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/
Home Products Support Community News


Re: [Xen-devel] Xen 4.0.0x allows for data corruption in Dom0

To: Daniel Stodden <daniel.stodden@xxxxxxxxxx>
Subject: Re: [Xen-devel] Xen 4.0.0x allows for data corruption in Dom0
From: Joanna Rutkowska <joanna@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 09 Mar 2010 00:30:30 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <Keir.Fraser@xxxxxxxxxxxxx>
Delivery-date: Mon, 08 Mar 2010 15:31:04 -0800
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:date:from:mime-version:to:cc:subject:references:in-reply-to:content-type; s=smtpout; bh=Xj+pP56i/7ZM9hnW5n0EG4faTbc=; b=KTykAopxsS+WKB5L/gkFew/FKmZ0Qf+UBq6y82C+dcRBwfwxZzUUIxHgGHll9PzIzifM1cLkGUlMzaw/asvCvjpLykyTwuSs+p25DBc5TuPT65nLVqapyyYbzMw031WtT3QOvG+JAkH4J8TccsFwafHZs3uXPj1WhjI39YjyFEo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1268090552.27980.288.camel@xxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20100307143631.GO2580@xxxxxxxxxxx> <C7B96B0D.C62C%keir.fraser@xxxxxxxxxxxxx> <20100307161256.GQ2580@xxxxxxxxxxx> <1268090552.27980.288.camel@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100301 Fedora/3.0.3-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.3
On 03/09/2010 12:22 AM, Daniel Stodden wrote:
> On Sun, 2010-03-07 at 11:12 -0500, Pasi Kärkkäinen wrote:
>> On Sun, Mar 07, 2010 at 02:39:09PM +0000, Keir Fraser wrote:
>>> On 07/03/2010 14:36, "Pasi Kärkkäinen" <pasik@xxxxxx> wrote:
>>>>> Tried a few times and no luck reproducing so far. I hope some other people
>>>>> on the list also will give it a go, since it's so easy to try it out.
>>>> I'm able to reproduce this with xen/master dom0 kernel (from
>>>> 2010-02-20),
>>>> but I'm not able to reproduce it with the current xen/stable
>>>> I'll try with the most recent dom0 kernel aswell..
>>> Thanks Pasi!
>> It seems to happen with the latest xen/master aswell!
> Does this look to you like we're corrupting memory or on-disk storage?
> E.g. does a
> $ dd if=/dev/zero bs=1M | hexdump -C 
> have the same issue?

I think there might be a chance that the above executes correctly, even
if we have memory corruption -- this might be e.g. because the actual
"dest" buffer here would be much smaller than the fs cache buffer used
when we copy onto disk. And so our small dest buffer might just not be
so likely to be hit with this presumably random corruption.

Perhaps dd'ing onto /dev/shm would be a better way to check this?


Attachment: signature.asc
Description: OpenPGP digital signature

Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>