cbsd: Can't start bhyve VM with FreeBSD 13.0-STABLE
System info:
- FreeBSD version ( uname -a ):
FreeBSD hydrogen01 12.2-RELEASE-p6 FreeBSD 12.2-RELEASE-p6 GENERIC amd64 - CBSD version ( cbsd version ):
13.0.18
I am in need of a FreeBSD 13.0-STABLE VM. I created a new bhyve VM using cbsd bconstruct-tui:
vm_os_type:freebsdvm_os_profile:FreeBSD-x64-13.0
Other than disk size, RAM size & CPU cores count I left everything untouched.
I manually downloaded the ISO from the latest snapshot and used cbsd media mode=register ... to register it with cbsd.
The VM itself starts successfully:
jbo@hydrogen01:~ % sudo cbsd brestart poudriere1
Send SIGTERM to poudriere1. Soft timeout is 30 sec. 0 seconds left [..............................]
bstop done in 1 seconds
Looks like /usr/jails/vm/poudriere1/dsk1.vhd is empty.
Temporary boot device: cd
vm_iso_path: iso-fbsd_130Samd64_20211118
media found: iso-fbsd_130Samd64_20211118 --> /usr/jails/src/iso/FreeBSD-13.0-STABLE-amd64-20211118-3a15ccadf87-248076-disc1.iso
VRDP is enabled. VNC bind/port: 127.0.0.1:5901
For attach VM console, use: vncviewer 127.0.0.1:5901
Resolution: 1920x1200.
VNC pass: 1234
bhyve renice: 1
Waiting for PID.
PID: 28792
bstart done in 3 seconds
But using VNC I see that it can’t boot:
BdsDxe: failed to load Boot0001 "UEFI Misc Device" from PciRoot(0x0)/Pci(0x4,0x0): Not Found
What am I missing or doing wrong here?
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 24 (24 by maintainers)
Commits related to this issue
- gpart commit after zvol resize by default CBSD used volmode=dev (man zfsprops: volmode) which is unhidded for GPT GPT commit already used with cloud images but was it was forgotten for disk resizing ... — committed to cbsd/cbsd by olevole 3 years ago
- gpart commit after zvol resize by default CBSD used volmode=dev (man zfsprops: volmode) which is unhidden for GPT. 'gpart commit' already used with cloud images but it was forgotten for disk resizing... — committed to cbsd/cbsd by olevole 3 years ago
Awesome - Thanks for this patching this so quickly 😃
@Tectu Just kidding about poudriere. As for 16+ vCores - try to contact with rgrimes@FreeBSD.org ( Rodney W. Grimes ). Once he explored this problem and even had a patch, if my memory serves me right.
@Tectu did you try
gpt recover vtbd0?