Sorry for the bad post, on the road.

This has been known since the 6.1 release. There was discussion on the
OpenBSD misc@ list. This is due to strict features check on CPUs in 6.1 and
above. From memory it is a -w addition when starting bhyve to get around
it. It only applies to certain Intel CPUs (not all are affected).

Cheers

Jason

On 3 Jun 2017 4:56 p.m., "Shawn Webb" <shawn.w...@hardenedbsd.org> wrote:

Hey C.L. Martinez,

Sorry for the top post as I'm responding from my phone.

HardenedBSD has fixed this in bhyve for quite a few months. I'm unsure if
Peter Grehan plans to pull in the commits, but he knows about them.

Thanks,

Shawn

On Jun 3, 2017 15:49, "C. L. Martinez" <carlopm...@gmail.com> wrote:

> Hi all,
>
>  I am trying ot install OpenBSD 6.1 bhyve guest under a FreeBSD 11-STABLE
> r318134. When I try to start installation, the following error appears:
>
>
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>         The Regents of the University of California.  All rights reserved.
> Copyright (c) 1995-2017 OpenBSD. All rights reserved.
> https://www.OpenBSD.org
>
> OpenBSD 6.1 (RAMDISK_CD) #19: Sat Apr  1 13:49:18 MDT 2017
>     dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
> real mem = 520093696 (496MB)
> avail mem = 500637696 (477MB)
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xf101f (9 entries)
> bios0: vendor BHYVE version "1.00" date 03/14/2014
> bios0: bhyve BHYVE
> acpi0 at bios0: rev 2
> acpi0: tables DSDT APIC FACP HPET MCFG
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz, 2295.88 MHz
> cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,
> CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SS,HTT,PBE,SSE3,
> PCLMUL,DTES64,DS-CPL,SSSE3,SDBG,FMA3,CX16,xTPR,PCID,SSE4.
> 1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,HV,NXE,
> PAGE1GB,LONG,LAHF,ABM,ITSC,FSGSBASE,BMI1,AVX2,BMI2,ERMS,INVPCID,ARAT
> cpu0: 256KB 64b/line 8-way L2 cache
> fatal protection fault in supervisor mode
> trap type 4 code 0 rip ffffffff811c1d17 cs 8 rflags 202 cr2  0 cpl e rsp
> ffffffff81a05940
> panic: trap type 4, code=0, pc=ffffffff811c1d17
>
> The operating system has halted.
> Please press any key to reboot.
>
> bhyve's command:
>
> /usr/local/sbin/grub-bhyve -m /data/vmachines/conf/obsddns/device.map -M
> 512M -c 1 -m 512M -AHP -u -s 0,hostbridge -s 31,lpc -s
> 4:0,virtio-blk,/dev/zvol/zsys/data/vmachines/dsks/obsddnsvol -s
> 5:0,virtio-net,tap0,mac=00:50:56:1d:f2:33 -s 6:0,virtio-rnd -l
> com1,stdio  -s 3:0,ahci-cd,/data/vmachines/conf/.iso/install61.iso
>
>  Any idea??
>
> --
> Greetings,
> C. L. Martinez
> _______________________________________________
> freebsd-virtualization@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to "freebsd-virtualization-
> unsubscr...@freebsd.org"
>
_______________________________________________
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to "freebsd-virtualization-
unsubscr...@freebsd.org"
_______________________________________________
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"

Reply via email to