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] Re: how to handle paged hypercall args?

To: Olaf Hering <olaf@xxxxxxxxx>
Subject: Re: [Xen-devel] Re: how to handle paged hypercall args?
From: Keir Fraser <keir@xxxxxxx>
Date: Tue, 07 Dec 2010 18:08:55 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Jan Beulich <JBeulich@xxxxxxxxxx>
Delivery-date: Tue, 07 Dec 2010 10:12:27 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:user-agent:date :subject:from:to:cc:message-id:thread-topic:thread-index:in-reply-to :mime-version:content-type:content-transfer-encoding; bh=NvfcOMoHEpFBcKGsHzK85ekErNHV1JGnNLgE6zBwdJE=; b=ipb0q4IMgAOlkH/x8O3yo6yhN9zONfn4ICKyMMJjAsEOfLn3HrJp7YYV41NnkiK9DF mtglje/ujhvESEA6bbJYCnTHLl2KBe8BsYMhTYQCoA8eK49jtaK/PXiMpYiQaB2DTFby uvqar+/+iBQ5j+qvNszbA9+0YVHiX0dpHZEA0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=OX5EHdrBpFsZ2/iEVTCesUuByc1d4AS8lQ+9LNQkJ70EjgoWpfIfjiLZ0iz44R5b4r wmaDZV+dAN+tXVzl3lCYjcA4tm1iuZg68pC/D8CrPgYlEaLRfPo71YX4q3a8J58Qs1Aa ivw5FelE7LjdzROT3NSe98meazPd2psOF5NhI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20101207171607.GA13367@xxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcuWOc+Si8o3OuoxP0K5nAKfwcuhNA==
Thread-topic: [Xen-devel] Re: how to handle paged hypercall args?
User-agent: Microsoft-Entourage/12.27.0.100910
On 07/12/2010 17:16, "Olaf Hering" <olaf@xxxxxxxxx> wrote:

> On Tue, Dec 07, Keir Fraser wrote:
> 
>> No, I did some unit testing of the waitqueue stuff and it worked for me.
>> Perhaps you can suggest some reproduction steps.
> 
> The patches 1 - 13 I sent out need to be applied.

I'll wait for tools patches 1-7 to be reviewed and accepted, then I might
find time to have a go. I assume I should start the guest paused, attach
xenpaging, then when I unpause th eguest it should crash the host straight
away pretty much?

 -- Keir

> My config for a SLES11-SP1-x86_64 guest looks like that, 1 vcpu appears
> to make it crash faster:
> 
>   # /etc/xen/vm/sles11_0
> name="sles11_0"
> description="None"
> uuid="756210f5-cc53-2bc6-7db2-a0cefca17c0b"
> memory=1024
> maxmem=1024
> vcpus=4
> on_poweroff="destroy"
> on_reboot="restart"
> on_crash="destroy"
> localtime=0
> keymap="de"
> builder="hvm"
> device_model="/usr/lib/xen/bin/qemu-dm"
> kernel="/usr/lib/xen/boot/hvmloader"
> boot="c"
> disk=[ 'file:/abuild/vdisk-sles11_0-disk0,hda,w',
> 'file:/abuild/vdisk-sles11_0-disk1,hdb,w',
> 'file:/abuild/bootiso-xenpaging-sles11_0.iso,hdc:cdrom,r', ]
> vif=[ 'mac=00:e0:f1:08:15:00,bridge=br0,model=rtl8139,type=netfront', ]
> stdvga=0
> vnc=1
> vncunused=1
> extid=0
> acpi=1
> pae=1
> serial="pty"
> 
> The guest does not get very far, so all the IO part does probably not
> matter.  I stop the guest in grub, then run 'xenpaging 1 -1'. With patch
> #13 only the guests pagetables get paged once the kernel is started from
> grub. For me it crashes in less than 255 populate/resume cycles.
> 
> Does that help to reproduce the crash?
> 
> Olaf
> 



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