On Sat, 24 Apr 2021 at 09:44, Benny Siegert <bsieg...@gmail.com> wrote: > > Hi! > > Has anyone had any success with running a NetBSD VM in bhyve under > TrueNAS? I tried booting the install CD-ROM (both 9 and current, > amd64) with UEFI and VNC.
My -current (still 9.99.79) runs under TrueNAS just fine, with UEFI and VNC, as you say. > > In each case, I see the bootloader, then the graphical console and the > kernel starts booting. Then about 5 seconds later, VNC simply > disconnects and does not let me reconnect. I assume that the > hypervisor is crashing at that point. > > All the how-tos I found look somewhat stale and go through all sorts > of gymnastics (such as using grub) to get non-UEFI boot working. > > Any suggestions? I can't remember, tbh; I had some stumble to begin with, but managed to sort it at the time. I use the VNC connection via the browser I am accessing the TrueNAS interface with. I'll try to install the latest 9.99.81 when the build I am doing now finishes. dmesg | grep -i bhyve [ 1.000003] BHYVE (1.0) [ 1.000003] ACPI: RSDP 0x000000001FB88014 000024 (v02 BHYVE ) [ 1.000003] ACPI: XSDT 0x000000001FB870E8 00004C (v01 BHYVE BVFACP 00000001 01000013) [ 1.000003] ACPI: FACP 0x000000001FB86000 0000F4 (v04 BHYVE BVFACP 00000001 BHYV 00000001) [ 1.000003] ACPI: DSDT 0x000000001EA98000 00191A (v02 BHYVE BVDSDT 00000001 INTL 20200430) [ 1.000003] ACPI: HPET 0x000000001FB85000 000038 (v01 BHYVE BVHPET 00000001 BHYV 00000001) [ 1.000003] ACPI: APIC 0x000000001FB84000 00004A (v01 BHYVE BVMADT 00000001 BHYV 00000001) [ 1.000003] ACPI: MCFG 0x000000001FB83000 00003C (v01 BHYVE BVMCFG 00000001 BHYV 00000001) [ 1.000003] ACPI: SPCR 0x000000001FB82000 000050 (v01 BHYVE BVSPCR 00000001 BHYV 00000001) [ 1.000003] acpi0: X/RSDT: OemId <BHYVE ,BVFACP ,00000001>, AslId < ,01000013> [ 2.989693] wd0: <BHYVE SATA DISK> ... > > -- > Benny -- ----