From owner-freebsd-virtualization@FreeBSD.ORG Thu Oct 30 22:49:09 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9EFFDFC5; Thu, 30 Oct 2014 22:49:09 +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 2F45ADD9; Thu, 30 Oct 2014 22:49:08 +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 s9UMn6br090201; Thu, 30 Oct 2014 23:49:06 +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: <5452B8D4.4070204@freebsd.org> Date: Thu, 30 Oct 2014 23:49:06 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <7931E297-104B-4BCA-BA08-D425DE7D85A7@schema31.it> References: <5452B8D4.4070204@freebsd.org> 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:49:09 -0000 >>=20 >> I did some experiments with set currdev and got the kernel loaded but >> then the machine just hangs. >>=20 >> Please give me some advice :-) >=20 > This was reported by Craig Rodrigues a while back - the email thread = is at >=20 > = http://docs.freebsd.org/cgi/mid.cgi?CAG=3DrPVd5OQ1Gw6q-e94Ffnk_zPxkFvjaR5b= pOOjMg7j-9AvSdw >=20 > I never got around to implementing the flag to disable ZFS boot, but = you may be able to use an alternate workaround. =46rom your manual fix: >=20 > OK set currdev=3Ddisk0p2: > OK set rootdev=3Ddisk0p2: >=20 > 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: >=20 > -e currdev=3D"disk0p2:" -e rootdev=3D"disk0p2:" >=20 > later, Wait! I think I didn=E2=80=99t make it clear enough: the machine = doesn=E2=80=99t boot. After I specify the currdev and rootdev the = machine can successfully =E2=80=9Cload=E2=80=9D the kernel but then it = all totally freezes at the spinning wheel=E2=80=A6 I=E2=80=99ll try with the -e on the command line but I think the problem = is a bit beyond that.