[Bug 278318] bhyve fails to boot OpenBSD unless -w is specified
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 11 Apr 2024 23:08:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278318 Bug ID: 278318 Summary: bhyve fails to boot OpenBSD unless -w is specified Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: markj@FreeBSD.org If I boot OpenBSD 7.5 or 7.4 in bhyve, -w (ignore unknown MSRs) is needed to avoid a guest panic: === cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Ryzen 9 7950X3D 16-Core Processor, 4200.65 MHz, 19-61-02 cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,HV,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,SKINIT,TCE,TOPEXT,DBKP,ITSC,FSGSBASE,BMI1,AVX2,SME P,BMI2,ERMS,AVX512F,AVX512DQ,RDSEED,SMAP,AVX512CD,SHA,AVX512BW,AVX512VL,XSAVEOPT cpu0: 0KB 64b/line 1-way D-cache, 0KB 64b/line 1-way L2 cache, 0KB 64b/line 1-way L3 cache wrmsr to register 0xc0011029(0x3) on vcpu 0 fatal protection fault in supervisor mode trap type 4 code 0 rip ffffffff8122572e cs 8 rflags 10206 cr2 0 cpl e rsp ffffffff81a069d0 gsbase 0xffffffff81908ff0 kgsbase 0x0 panic: trap type 4, code=0, pc=ffffffff8122572e The operating system has halted. Please press any key to reboot. === 0xc0011029 is MSR_DE_CFG, and I suspect that OpenBSD's applying a mitigation for zenbleed. FreeBSD doesn't do this if it detects that it's running as a guest. -- You are receiving this mail because: You are the assignee for the bug.