From owner-freebsd-virtualization@freebsd.org Thu Apr 14 09:59:18 2016 Return-Path: Delivered-To: freebsd-virtualization@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 CBC34B0F189 for ; Thu, 14 Apr 2016 09:59:18 +0000 (UTC) (envelope-from prvs=90533d348=roger.pau@citrix.com) Received: from SMTP.CITRIX.COM (smtp.citrix.com [66.165.176.89]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mail.citrix.com", Issuer "Verizon Public SureServer CA G14-SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9094618B5 for ; Thu, 14 Apr 2016 09:59:18 +0000 (UTC) (envelope-from prvs=90533d348=roger.pau@citrix.com) X-IronPort-AV: E=Sophos;i="5.24,484,1454976000"; d="scan'208";a="347041033" Date: Thu, 14 Apr 2016 11:59:09 +0200 From: Roger Pau =?iso-8859-1?Q?Monn=E9?= To: Dustin Marquess CC: Subject: Re: Xen from ports won't boot using -CURRENT Message-ID: <20160414095901.smr5pwye7tznjnmg@mac> References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.0-neo (2016-04-07) X-DLP: MIA1 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 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: Thu, 14 Apr 2016 09:59:18 -0000 On Thu, Apr 14, 2016 at 01:24:46AM -0500, Dustin Marquess wrote: > Hello! > > I'm using a -CURRENT install from a couple of weeks ago: > > FreeBSD 11.0-CURRENT #0 r297495: Fri Apr 1 21:24:26 UTC 2016 > > I installed xen from ports and followed the instructions on setting up: > > /etc/sysctl.conf > > /etc/ttys > > /boot/loader.conf > > /boot/menu.rc.local > > > However after rebooting, booting fails with: > > > don't know how to load module '/boot/xen' > > > I'm guessing it's because for some reason it got compiled as 32-bit: > > > /boot/xen: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), > statically linked, stripped Xen is always going to present itself as a 32-bit executable, although it's only the entry point that runs in 32bit mode, then it jumps into long mode by itself. Are you maybe trying to boot it from UEFI? (using the UEFI loader) Roger.