Date: Thu, 30 Oct 2014 17:58:12 -0400 From: Allan Jude <allanjude@freebsd.org> To: freebsd-virtualization@freebsd.org Subject: Re: bhyve machine not starting after upgrading Message-ID: <5452B474.4050107@freebsd.org> In-Reply-To: <D136FCF3-2BAB-4F9D-B109-792F69BFB47A@schema31.it> References: <D136FCF3-2BAB-4F9D-B109-792F69BFB47A@schema31.it>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On 2014-10-30 16:12, Andrea Brancatelli wrote:
> 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’t boot anymore: they get just stuck with "unable to load kernel”. 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’s a capture of the machine and what i did to get it working. Any idea is welcome. Thanks
>
> ====
>
> 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=24
> boot_serial=1
> console=userboot
> currdev=zfs:repository:
> interpret=OK
> loaddev=zfs:repository:
> prompt=${interpret}
> smbios.bios.vendor=BHYVE
> OK set currdev=disk0p2:
> OK set rootdev=disk0p2:
> OK boot
> /boot/kernel/kernel text=0xed9008 data=0x117d28+0x176650 syms=[0x8+0x137988+0x8+0x1515f8]
> \
> =====
>
> -------
> Andrea Brancatelli
>
>
>
>
> _______________________________________________
> freebsd-virtualization@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org"
>
Is the disk for this VM a ZFS zvol?
You might need to set the 'vol mode' to make GEOM not steal the disk.
--
Allan Jude
[-- Attachment #2 --]
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5452B474.4050107>
