From owner-freebsd-virtualization@FreeBSD.ORG Fri May 24 10:11:32 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id ADDE97EA; Fri, 24 May 2013 10:11:32 +0000 (UTC) (envelope-from roger.pau@citrix.com) Received: from SMTP.EU.CITRIX.COM (smtp.eu.citrix.com [46.33.159.39]) by mx1.freebsd.org (Postfix) with ESMTP id 02BE514B; Fri, 24 May 2013 10:11:31 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.87,734,1363132800"; d="scan'208";a="4956152" Received: from lonpex01cl03.citrite.net ([10.30.203.103]) by LONPIPO01.EU.CITRIX.COM with ESMTP/TLS/AES128-SHA; 24 May 2013 10:11:29 +0000 Received: from [192.168.1.30] (10.30.203.1) by LONPEX01CL03.citrite.net (10.30.203.103) with Microsoft SMTP Server id 14.2.342.3; Fri, 24 May 2013 11:11:28 +0100 Message-ID: <519F3CD0.5090405@citrix.com> Date: Fri, 24 May 2013 12:11:28 +0200 From: =?UTF-8?B?Um9nZXIgUGF1IE1vbm7DqQ==?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Colin Percival Subject: Re: FreeBSD PVHVM call for testing References: <519131D8.9010307@citrix.com> <51952BAE.6010609@freebsd.org> <51957D42.9060801@citrix.com> <51959ED9.6040405@freebsd.org> <51974EC9.9030204@citrix.com> <5197A1EA.2040404@freebsd.org> <519CAFC7.1070908@citrix.com> <519D24A9.3050407@freebsd.org> <519DDC0A.9000201@citrix.com> <519E6958.6020606@freebsd.org> In-Reply-To: <519E6958.6020606@freebsd.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.30.203.1] Cc: "freebsd-xen@freebsd.org" , xen-devel , "freebsd-virtualization@freebsd.org" , "xen-users@lists.xen.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 May 2013 10:11:32 -0000 On 23/05/13 21:09, Colin Percival wrote: > On 05/23/13 02:06, Roger Pau Monné wrote: >> On 22/05/13 22:03, Colin Percival wrote: >>> Testing on a cr1.8xlarge EC2 instance, I get Xen 4.2, but it ends up with >>> a panic -- console output below. I can get a backtrace and possibly even >>> a dump if those would help. >> >> Thanks for the test, I've been using Xen 4.2 (and 4.3) without problems >> so far. By looking at the Xen code, the only reason the timer setup >> could return -22 (EINVAL), is that we try to set the timer for a >> different vCPU than the one we are running on. >> >> I've been able to boot a 32 vCPU DomU on my 8way box using Xen 4.2.1 >> (using both qemu-xen and qemu-xen-traditional device models), so I'm >> unsure if this could be due to some patch Amazon applies to Xen. Could >> you try the following patch and post the error message? I would like to >> see if the cpuid reported by kdb and the vCPU that we are trying to set >> the timer are the same. > > Looks like there's agreement about the cpuids here. Anything else I should > try testing? Thanks for the test, this is what I expected. I'm a little bit out of ideas since I'm not able to reproduce this on upstream Xen 4.2. Without knowing what's happening inside the hypervisor it's hard to tell what's wrong. It would be interesting to try if the same happens with a Linux PVHVM (not PV) running on the same instance type.