Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 May 2020 04:50:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 246168] Ubuntu 20.04 KVM / QEMU Failure with nested FreeBSD bhyve
Message-ID:  <bug-246168-27103-YQSuwzBtsd@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-246168-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-246168-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246168

--- Comment #7 from John Hartley <drum@graphica.com.au> ---
Hi Peter & Co,

I reviewed the prior bug report and FYI here is some additional information=
 on
my machine:

<<START LAYER 1 - FreeBSD CPU Report from dmesg.boot>>
...
...
CPU: Intel Core Processor (Broadwell, IBRS) (2600.09-MHz K8-class CPU)
  Origin=3D"GenuineIntel"  Id=3D0x306d2  Family=3D0x6  Model=3D0x3d  Steppi=
ng=3D2
=20
Features=3D0xf83fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,M=
CA,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2,SS>
=20
Features2=3D0xfffa3223<SSE3,PCLMULQDQ,VMX,SSSE3,FMA,CX16,PCID,SSE4.1,SSE4.2=
,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND,HV>
  AMD Features=3D0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
  AMD Features2=3D0x121<LAHF,ABM,Prefetch>
  Structured Extended
Features=3D0x1c0fbb<FSGSBASE,TSCADJ,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RT=
M,RDSEED,ADX,SMAP>
  Structured Extended Features2=3D0x4<UMIP>
  Structured Extended Features3=3D0xac000400<MD_CLEAR,IBPB,STIBP,ARCH_CAP,S=
SBD>
  XSAVE Features=3D0x1<XSAVEOPT>
  IA32_ARCH_CAPS=3D0x8<SKIP_L1DFL_VME>
  AMD Extended Feature Extensions ID EBX=3D0x1001000
  VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID,VID,PostIntr
Hypervisor: Origin =3D "KVMKVMKVM"
...
...
<END LAYER 1 - dimes.log>>


I also did cpuctl load and here are result from cpucontrol

(I am not sure how to interpret these or if provided vectors are still valid
with FreeBSD 12.1)

<<START CPUCTL>>
# kldload cpuctl
# cpucontrol -m 0x480 /dev/cpuctl0
MSR 0x480: 0x00d81000 0x11e57ed0
# cpucontrol -m 0x482 /dev/cpuctl0
MSR 0x482: 0xfff9fffe 0x0401e172
# cpucontrol -m 0x48b /dev/cpuctl0
MSR 0x48b: 0x00037bff 0x00000000
# cpucontrol -m 0x48c /dev/cpuctl0
MSR 0x48c: 0x00000f01 0x06334041
<<END CPUCTL>>

I also saw that in the original but, it appear that issue was that the bhyve
KLM was not loading.

I my case the vmm module is loading but I am getting runtime failure...

Any tips you can provide to help with diagnosis would be appreciated and I =
can
chase upstream if needed, if this is KVM regression.

Thanks.


John Hartley

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246168-27103-YQSuwzBtsd>