Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Nov 2015 20:13:58 +0300
From:      Roman Bogorodskiy <novel@FreeBSD.org>
To:        freebsd-virtualization@freebsd.org
Subject:   bhyve -l bootrom problem
Message-ID:  <20151102171356.GB18899@kloomba.lvv.mirantis.net>

next in thread | raw e-mail | index | archive | help

--mojUlQ0s9EVzWg2t
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,

I'm facing a strange problem with -l bootrom.

I try to boot a VM this way:

sudo /usr/sbin/bhyve -l bootrom,/home/novel/uefi/BHYVE_UEFI_20151002.fd
-c 2 -m 214 -A -I -u -H -P -s 0:0,hostbridge -s
2:0,virtio-net,tap0,mac=52:54:00:56:9a:77 -s
3:0,ahci-hd,/home/novel/FreeBSD-11.0-CURRENT-amd64.raw  -s 1,lpc -l
com1,/dev/nmdm0A testvm

BHYVE_UEFI_20151002.fd is downloaded from [1].
FreeBSD-11.0-CURRENT-amd64.raw is downloaded from [2].

VMs fail to boot with 'Boot Failed. EFI Hard Drive' and brings into UEFI
shell.

Changing ahci-hd to virtio-blk changes error message to:

'Boot Failed. EFI Misc Device'.

Dropping 'hostbridge' and 'virtio-net' doesn't seem to change anything.

Also, before trying FreeBSD-11.0-CURRENT-amd64.raw I tried my old images
I used with bhyveload and they fail in the same way, though they're
still booting using bhyveload.

I'm running -CURRENT updated last weekend on Intel i5-2310.

What could be wrong with this?

1: http://people.freebsd.org/~grehan/bhyve_uefi/BHYVE_UEFI_20151002.fd
2:
http://ftp.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/11.0-CURRENT/amd64/Latest/FreeBSD-11.0-CURRENT-amd64.raw.xz

Roman Bogorodskiy

--mojUlQ0s9EVzWg2t
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJWN5nUAAoJEMltX/4IwiJqYXwIALsZTrafuV/IFiqAqeUrQqWP
DbrhgjMYow+Qsb4tpddIWp+wGAkFJbt4Hr5HGNXil4ioxAC8Z9SDqf7h2zBMyk5y
SYAukf4fHdpAXcrp1WzvO7zyAT8j8IAL4xn510k52EIoNND2kPkPknjsXXxkZehK
pqeyNQyHjWWeEWm7pBIlxmsyeYz2SHIaNuMlarPUADoPcRqchxs2xkPdrEi+UJBu
kuZWVMIHmHaHQq6/sdUGLBDDUTDQ8JkzntBf2+28WJnf/BeLaRcXLf+DNQZqpWQZ
fv+icd7gcVjqZg5FWWt5ucZxlz/M45R3gSQJBYHvXvYGkIinFDwJYSWGEHc5PyQ=
=aoIS
-----END PGP SIGNATURE-----

--mojUlQ0s9EVzWg2t--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151102171356.GB18899>