Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2014 16:41:52 -0400
From:      Paul Mather <freebsd-lists@gromit.dlib.vt.edu>
To:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Bhyve on AMD CPUs under 10-STABLE?
Message-ID:  <7F88A9D9-FA25-45C2-9AA1-C637DA7D9057@gromit.dlib.vt.edu>

next in thread | raw e-mail | index | archive | help
Does bhyve work on AMD CPUs under 10-STABLE?  I rebuilt my system=20
yesterday (to r269010) but the bhyve module does not appear to load=20
properly.  I get this on the console when I kldload vmm:

=3D=3D=3D=3D=3D
amdv_init: not implemented
amdv_cleanup: not implemented
module_register_init: MOD_LOAD (vmm, 0xffffffff81c1a590, 0) error 6
=3D=3D=3D=3D=3D

The system has a 6-core AMD FX-6300 CPU:

=3D=3D=3D=3D=3D
FreeBSD 10.0-STABLE #0 r269010: Wed Jul 23 08:25:27 EDT 2014
    paul@chumby.chumby.lan:/usr/obj/usr/src/sys/GENERIC amd64
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
CPU: AMD FX(tm)-6300 Six-Core Processor              (3515.86-MHz =
K8-class CPU)
  Origin =3D "AuthenticAMD"  Id =3D 0x600f20  Family =3D 0x15  Model =3D =
0x2  Stepping =3D 0
  =
Features=3D0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE=
,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  =
Features2=3D0x3e98320b<SSE3,PCLMULQDQ,MON,SSSE3,FMA,CX16,SSE4.1,SSE4.2,POP=
CNT,AESNI,XSAVE,OSXSAVE,AVX,F16C>
  AMD Features=3D0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
  AMD =
Features2=3D0x1ebbfff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW=
,IBS,XOP,SKINIT,WDT,LWP,FMA4,TCE,NodeId,TBM,Topology,PCXC,PNXC>
  Structured Extended Features=3D0x8<BMI1>
  TSC: P-state invariant, performance statistics
real memory  =3D 8589934592 (8192 MB)
avail memory =3D 8225202176 (7844 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <042713 APIC1042>
FreeBSD/SMP: Multiprocessor System Detected: 6 CPUs
FreeBSD/SMP: 1 package(s) x 6 core(s)
[[...]]
=3D=3D=3D=3D=3D

It has the POPCNT feature, which is the one the bhyve documentation=20
says to look for.

Does bhyve only work on Intel CPUs for now?  Does anyone have it=20
working on an AMD FX-6300-based 10-STABLE system?

Cheers,

Paul.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7F88A9D9-FA25-45C2-9AA1-C637DA7D9057>