From owner-freebsd-virtualization@FreeBSD.ORG Thu Oct 30 20:18:48 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 E9EAEC46 for ; Thu, 30 Oct 2014 20:18:48 +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 7154DD3E for ; Thu, 30 Oct 2014 20:18:46 +0000 (UTC) Received: from [10.33.100.192] ([10.33.100.192]) by potassio.roma.schema31.it (8.14.4/8.14.4) with ESMTP id s9UKCFmW028729 for ; Thu, 30 Oct 2014 21:12:16 +0100 (CET) (envelope-from abrancatelli@schema31.it) From: Andrea Brancatelli Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: bhyve machine not starting after upgrading Message-Id: Date: Thu, 30 Oct 2014 21:12:15 +0100 To: freebsd-virtualization@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) X-Mailer: Apple Mail (2.1990.1) 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 20:18:49 -0000 Hello guys. I had some wonderfully working machines with bhyve with a plain 10.0-p4. = I just upgraded to 10.1-RC3 and now the VMs won=E2=80=99t boot anymore: = they get just stuck with "unable to load kernel=E2=80=9D. After some = trials and errors I think I traced it to user boot getting confused by a = ZFS partition inside the VM. I did some experiments with set currdev and got the kernel loaded but = then the machine just hangs. Please give me some advice :-) Here=E2=80=99s a capture of the machine and what i did to get it = working. Any idea is welcome. Thanks =3D=3D=3D=3D STARTING VM... Consoles: userboot 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 lsdev host devices: host0: Host filesystem disk devices: disk0: Guest drive image disk0p1: FreeBSD boot disk0p2: FreeBSD UFS disk0p3: FreeBSD swap disk0p4: FreeBSD ZFS zfs devices: zfs:repository OK show LINES=3D24 boot_serial=3D1 console=3Duserboot currdev=3Dzfs:repository: interpret=3DOK loaddev=3Dzfs:repository: prompt=3D${interpret} smbios.bios.vendor=3DBHYVE OK set currdev=3Ddisk0p2: OK set rootdev=3Ddisk0p2: OK boot /boot/kernel/kernel text=3D0xed9008 data=3D0x117d28+0x176650 = syms=3D[0x8+0x137988+0x8+0x1515f8] \ =3D=3D=3D=3D=3D ------- Andrea Brancatelli