From owner-freebsd-virtualization@FreeBSD.ORG Thu Oct 30 21:58:10 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 AD43BC45 for ; Thu, 30 Oct 2014 21:58:10 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 6DB2F91A for ; Thu, 30 Oct 2014 21:58:09 +0000 (UTC) Received: from [192.168.1.2] (Seawolf.HML3.ScaleEngine.net [209.51.186.28]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id CD79E67A26 for ; Thu, 30 Oct 2014 21:58:01 +0000 (UTC) Message-ID: <5452B474.4050107@freebsd.org> Date: Thu, 30 Oct 2014 17:58:12 -0400 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: bhyve machine not starting after upgrading References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1vqOwVvi21iBbMiA6AtkUc0uGADQFCXXv" 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 21:58:10 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --1vqOwVvi21iBbMiA6AtkUc0uGADQFCXXv Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2014-10-30 16:12, Andrea Brancatelli wrote: > Hello guys. >=20 > I had some wonderfully working machines with bhyve with a plain 10.0-p4= =2E I just upgraded to 10.1-RC3 and now the VMs won=E2=80=99t boot anymor= e: they get just stuck with "unable to load kernel=E2=80=9D. After some t= rials and errors I think I traced it to user boot getting confused by a Z= FS partition inside the VM. >=20 > I did some experiments with set currdev and got the kernel loaded but t= hen the machine just hangs. >=20 > Please give me some advice :-) >=20 > Here=E2=80=99s a capture of the machine and what i did to get it workin= g. Any idea is welcome. Thanks >=20 > =3D=3D=3D=3D >=20 > STARTING VM... > 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' >=20 > 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[0x= 8+0x137988+0x8+0x1515f8] > \ > =3D=3D=3D=3D=3D >=20 > ------- > Andrea Brancatelli >=20 >=20 >=20 >=20 > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@fr= eebsd.org" >=20 Is the disk for this VM a ZFS zvol? You might need to set the 'vol mode' to make GEOM not steal the disk. --=20 Allan Jude --1vqOwVvi21iBbMiA6AtkUc0uGADQFCXXv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJUUrR5AAoJEJrBFpNRJZKfUfIP/0wo/zGFH+sLQ3ky6m8wLub9 O+wy3uZNjHbhVGwlS47joqpplsKwbCykD1eo4J786Wmi+p3VBU7sZudWfT/TieWS 3rchRtVhZYgXn/F6HdrqgZNljppmOFr5l5AUz/aXKtKlkJJ3dhL3++oRhMcUDS/j 2KH9qjrzXhABhLilC1FzijLCV8IuFj3POK3mG9yFp4Zpf9ZyXW8nownMbyaZQZ4v LVcrhSnLcvsUAmKLSUrCN9bo7Zc3UZa3hs40VQG5nvDkMldYOJn4yn6Us312lBC9 W0LxuShHN/QFaS8kHdQOxqQL92h8zy3My8UzpNMjR5HxVXLV6T8eCZnmfLzJfSST MQcOHxTUwenRRtImflUuiIroPXHAW/KlXvvpHiA+pBufS4BLH2x9WU6ooG3shQYD 3yr0LxeLqZOmDf0931Oozpi9UUGIdUraSmflfXfiIlgM9x2xIRG8wfBJ4DRE6Cpt MoWFMHOlncBE2F59IVTuNqZZC3TITIMmIAe/bWuoh6jVI6sK6xk8sgtE+xbraAKF Bu0gRqmG3SL+p/8JFL7ehV4nDczKRKq0cuOlk9poJv6sITpaQbpZm8SCSgo5H32j MzV5p1SyFu9YnIJBBZT6Uz/+tW5EKezUKs2s21t7LP1aVnVFvx+LrEwC5yu5UlEq QOTGC759xen7qOYEl6FQ =UsAX -----END PGP SIGNATURE----- --1vqOwVvi21iBbMiA6AtkUc0uGADQFCXXv--