From owner-freebsd-xen@FreeBSD.ORG Tue Apr 7 13:03:39 2015 Return-Path: Delivered-To: freebsd-xen@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ED59843D; Tue, 7 Apr 2015 13:03:39 +0000 (UTC) Received: from dash.upc.es (dash.upc.es [147.83.2.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "relay.upc.es", Issuer "TERENA SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 705DCE10; Tue, 7 Apr 2015 13:03:39 +0000 (UTC) Received: from ackerman2.upc.es (ackerman2.upc.es [147.83.2.244]) by dash.upc.es (8.14.1/8.13.1) with ESMTP id t37D3arm011823 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=FAIL); Tue, 7 Apr 2015 15:03:36 +0200 Received: from [10.0.2.151] ([147.83.40.10]) (authenticated bits=0) by ackerman2.upc.es (8.14.4/8.14.4) with ESMTP id t37D3ZAk029224 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 7 Apr 2015 15:03:36 +0200 Message-ID: <5523D5A7.5040809@entel.upc.edu> Date: Tue, 07 Apr 2015 15:03:35 +0200 From: =?UTF-8?B?R3VzdGF1IFDDqXJleg==?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: =?UTF-8?B?Um9nZXIgUGF1IE1vbm7DqQ==?= Subject: Fwd: Re: Unable to boot with the dom0 xen kernel References: <5523D56B.9040706@entel.upc.edu> In-Reply-To: <5523D56B.9040706@entel.upc.edu> X-Forwarded-Message-Id: <5523D56B.9040706@entel.upc.edu> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Greylist: Delayed for 88:24:04 by milter-greylist-4.4.3 (dash.upc.es [147.83.2.50]); Tue, 07 Apr 2015 15:03:36 +0200 (CEST) X-Greylist: Default is to whitelist mail, not delayed by milter-greylist-4.4.3 (ackerman2.upc.es [147.83.2.244]); Tue, 07 Apr 2015 15:03:36 +0200 (CEST) X-Scanned-By: MIMEDefang 2.70 on 147.83.2.244 X-Mail-Scanned: Criba 2.0 + Clamd Cc: freebsd-xen@FreeBSD.org X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Apr 2015 13:03:40 -0000 Resending it to the mailing list, just in case. Hi there, > can you apply the > following patch to the Xen source tree and recompile the Xen kernel, > (there's no need to recompile the tools): > > diff --git a/xen/arch/x86/hvm/vmx/vmx.c b/xen/arch/x86/hvm/vmx/vmx.c > index e1c55ce..fc3c45b 100644 > --- a/xen/arch/x86/hvm/vmx/vmx.c > +++ b/xen/arch/x86/hvm/vmx/vmx.c > @@ -3102,8 +3102,7 @@ void vmx_vmexit_handler(struct cpu_user_regs *regs) > if ( exit_qualification & 0x10 ) > { > /* INS, OUTS */ > - if ( unlikely(is_pvh_vcpu(v)) /* PVH fixme */ || > - !handle_mmio() ) > + if ( !handle_mmio() ) > hvm_inject_hw_exception(TRAP_gp_fault, 0); > } > else > Sure. I applied the patch, recompiled the xen kernel, and copied it to /boot (as usual). I also raised the iommu debug level. Now the crash is different: http://dpaste.com/1H4XBY5 I don't if it has to do with the dom0_max_vcpus xen_cmdline option. I lowered it to 2 (the machine has 1 package(s) x 4 core(s) x 2 SMT threads) just in case. Any other thing you'd like me to check, let me know. Best, Gustau > . > > Yes, this is possible from the serial console. Press Ctrl-A tree times > (to switch to the Xen console), and then 'R' (note the caps). > PS: Thanks. I'm unable to bring in the xen console, perhaps because I'm using the serial console, I don't know. I'll try the physical console, just in case. -- --------------------------------------------------------------------------- Prou top-posting : http://ca.wikipedia.org/wiki/Top-posting Stop top-posting : http://en.wikipedia.org/wiki/Posting_style O O O Gustau Pérez i Querol O O O Unitat de Gestió dels departaments O O O Matemàtica Aplicada IV i Enginyeria Telemàtica Universitat Politècnica de Catalunya Edifici C3 - Despatx S101-B UPC Campus Nord UPC C/ Jordi Girona, 1-3 08034 - Barcelona