Xen from ports won't boot using -CURRENT

Roger Pau Monné roger.pau at citrix.com
Thu Apr 14 09:59:18 UTC 2016


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.


More information about the freebsd-virtualization mailing list