From owner-freebsd-virtualization@FreeBSD.ORG Thu Oct 30 22:56:41 2014 Return-Path: Delivered-To: freebsd-virtualization@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 4519E2A4; Thu, 30 Oct 2014 22:56:41 +0000 (UTC) Received: from potassio.roma.schema31.it (85-18-162-231.ip.fastwebnet.it [85.18.162.231]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C49ABE98; Thu, 30 Oct 2014 22:56:40 +0000 (UTC) Received: from [172.16.11.38] ([172.16.11.38]) by potassio.roma.schema31.it (8.14.4/8.14.4) with ESMTP id s9UMubUo093572; Thu, 30 Oct 2014 23:56:38 +0100 (CET) (envelope-from abrancatelli@schema31.it) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) Subject: Re: bhyve machine not starting after upgrading From: Andrea Brancatelli In-Reply-To: <7931E297-104B-4BCA-BA08-D425DE7D85A7@schema31.it> Date: Thu, 30 Oct 2014 23:56:37 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <62FFE74F-E824-4159-A953-2080D40535A1@schema31.it> References: <5452B8D4. 4070204@freebsd.org> <7931E297-104B-4BCA-BA08-D425DE7D85A7@schema31.it> To: Peter Grehan X-Mailer: Apple Mail (2.1990.1) Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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, 30 Oct 2014 22:56:41 -0000 >> Env variables can be set from the bhyveload command line using "-e = =3D". Now, I'm not sure that currdev and rootdev can be set = that early in the boot, but it's worth a try e.g. add these: >> -e currdev=3D"disk0p2:" -e rootdev=3D"disk0p2:" >=20 > I=E2=80=99ll try with the -e on the command line but I think the = problem is a bit beyond that. Mmmm Peter, the -e seems to be totally ignored. [root@environment-rm-02 /san_storage/OG/DEV]# /usr/sbin/bhyveload -m = 2048 -e currdev=3D"disk0p2:" -e rootdev=3D"disk0p2" -d = /san_storage/OG/DEV/og-mysql-dev/og-mysql-dev.img og-mysql-dev Consoles: userboot =20 FreeBSD/amd64 User boot, Revision 1.1 (root@releng1.nyi.freebsd.org, Tue Oct 21 23:49:55 UTC 2014) - can't load 'kernel' Type '?' for a list of commands, 'help' for more detailed help. OK show LINES=3D24 boot_serial=3D1 console=3Duserboot currdev=3Dzfs:repository: interpret=3DOK loaddev=3Dzfs:repository: prompt=3D${interpret} rootdev=3Ddisk0p2 smbios.bios.vendor=3DBHYVE OK=20