From owner-freebsd-xen@freebsd.org Fri Jul 31 14:59:57 2015 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 984D69AF71B for ; Fri, 31 Jul 2015 14:59:57 +0000 (UTC) (envelope-from kpielorz_lst@tdx.co.uk) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 80FE41BDA for ; Fri, 31 Jul 2015 14:59:57 +0000 (UTC) (envelope-from kpielorz_lst@tdx.co.uk) Received: by mailman.ysv.freebsd.org (Postfix) id 7D8879AF71A; Fri, 31 Jul 2015 14:59:57 +0000 (UTC) Delivered-To: xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7D1B19AF719 for ; Fri, 31 Jul 2015 14:59:57 +0000 (UTC) (envelope-from kpielorz_lst@tdx.co.uk) Received: from smtp.krpservers.com (smtp.krpservers.com [62.13.128.145]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.krpservers.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 069461BD9 for ; Fri, 31 Jul 2015 14:59:56 +0000 (UTC) (envelope-from kpielorz_lst@tdx.co.uk) Received: from [10.12.30.106] (vpn01-01.tdx.co.uk [62.13.130.213]) (authenticated bits=0) by smtp.krpservers.com (8.14.9/8.14.9) with ESMTP id t6VExvTR076252 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 31 Jul 2015 15:59:58 +0100 (BST) (envelope-from kpielorz_lst@tdx.co.uk) Date: Fri, 31 Jul 2015 15:59:49 +0100 From: Karl Pielorz To: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= , xen@FreeBSD.org Subject: Re: Boot FreeBSD 10 in HVM mode under Xen? Message-ID: <32FBD53695D759928A181828@[10.12.30.106]> In-Reply-To: <55BB8392.4050000@citrix.com> References: <55BB8392.4050000@citrix.com> X-Mailer: Mulberry/4.0.8 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.20 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: Fri, 31 Jul 2015 14:59:57 -0000 --On 31 July 2015 16:17 +0200 Roger Pau Monn=C3=A9 = wrote: > This is a bug then. You should be able to boot without XENHVM/xenpci, > and get a pure HVM guest with no PV devices at all. After removing XENHVM and xenpci - booting a FreeBSD 10.1-p8 AMD64 kernel=20 under XenServer 6.5 gets the output below (first few lines scroll off the=20 console in XenServer). " cpuid =3D 0; apic id =3D 00 instruction pointer =3D 0x20:0xffffffff80d96af9 stack pointer =3D 0x28:0xffffffff8191bbe0 frame pointer =3D 0x28:0xffffffff8191bbf0 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, IOPL =3D 0 current process =3D 0 (swapper) trap number =3D 9 panic: general protection fault cpuid =3D 0 KDB: strack backtrace: #0 0xffffffff80946ae0 at kdb_backtrace+0x60 #1 0xffffffff8090bc05 at panic+0x155 #2 0xffffffff80d02aef at trap_fatal+0x38f #3 0xffffffff80d0274c at trap+0x75c #4 0xffffffff80ce8432 at calltrap+0x8 #5 0xffffffff80918e1f at tc_init+0x23f #6 0xffffffff80d967a1 at hv_vmbus_init+0x191 #7 0xffffffff80d9735e at vmbus_bus_init+0x1e #8 0xffffffff808bad38 at mi_startup+0x108 #9 0xffffffff802d9f0c at btext+0x2c " I'll try rebuilding it with debugger support (it's been a while). Cheers, -Karl