From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: Re: Latest Pv_ops dom0 fails to boot Date: Thu, 29 Oct 2009 13:39:10 -0700 Message-ID: <4AE9FD6E.4000508@goop.org> References: <0463F45F3606F4428ED35AC8C709F92E089B924AF0@pdsmsx502.ccr.corp.intel.com> <4AE748A0.90706@goop.org> <706158FABBBA044BAD4FE898A02E4BC201C9C3194C@pdsmsx503.ccr.corp.intel.com> <4AE880AD.50304@goop.org> <706158FABBBA044BAD4FE898A02E4BC201C9C95A92@pdsmsx503.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <706158FABBBA044BAD4FE898A02E4BC201C9C95A92@pdsmsx503.ccr.corp.intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Zhang, Xiantao" Cc: "Xu, Jiajun" , "'xen-devel@lists.xensource.com'" , "space.time.universe@gmail.com" List-Id: xen-devel@lists.xenproject.org On 10/28/09 18:14, Zhang, Xiantao wrote: > Jeremy Fitzhardinge wrote: > >> On 10/27/09 20:03, Zhang, Xiantao wrote: >> >>> Seems it is caused by newly-introduced >>> hypercall(VCPUOP_register_vcpu_time_memory_area) for setting memory >>> area for vcpu time. Try the following patch(Just disable >>> Xen_TIM_VSYSCALL) to have a try. >>> >>> >> Are you saying that if that hypercall hasn't been implemented it >> crashes? Hm, will double-check. It's certainly supposed to just >> fall back. >> > No. If hypervisor doesn't support the hypercall, it just return -ENOSYS, and dom0 can work well. But after implementing the hypercall in the hypervisor(Cset#20339), both dom0 and hypervisor all performs correpsonding actions in this case, so issues happen. That is to say, if disable this hypercall either in hypervisor or in dom0, it should work, but if enable both, the issue occurs. So it should be caused by incorrect hypercall implementation > It's hard to see how any bug in either the Xen or kernel code relating to that could cause the symptoms you're reporting, at least directly. Could you post the full output of the kernel boot? What is the host hardware? Thanks, J