Does bhyve work on AMD CPUs under 10-STABLE? I rebuilt my system yesterday (to r269010) but the bhyve module does not appear to load properly. I get this on the console when I kldload vmm: ====amdv_init: not implemented amdv_cleanup: not implemented module_register_init: MOD_LOAD (vmm, 0xffffffff81c1a590, 0) error 6 ==== The system has a 6-core AMD FX-6300 CPU: ====FreeBSD 10.0-STABLE #0 r269010: Wed Jul 23 08:25:27 EDT 2014 paul at 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 = "AuthenticAMD" Id = 0x600f20 Family = 0x15 Model = 0x2 Stepping = 0 Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> Features2=0x3e98320b<SSE3,PCLMULQDQ,MON,SSSE3,FMA,CX16,SSE4.1,SSE4.2,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C> AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM> AMD Features2=0x1ebbfff<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=0x8<BMI1> TSC: P-state invariant, performance statistics real memory = 8589934592 (8192 MB) avail memory = 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) [[...]] ==== It has the POPCNT feature, which is the one the bhyve documentation says to look for. Does bhyve only work on Intel CPUs for now? Does anyone have it working on an AMD FX-6300-based 10-STABLE system? Cheers, Paul.
> On Jul 24, 2014, at 4:41 PM, Paul Mather <freebsd-lists at gromit.dlib.vt.edu> wrote: > > Does bhyve work on AMD CPUs under 10-STABLE?No there is work being done on head and on out of tree on 10-stable . The last snapshot I knew of was at http://mirrors.nycbug.org/pub/bhyve .> I rebuilt my system > yesterday (to r269010) but the bhyve module does not appear to load > properly. I get this on the console when I kldload vmm: > > ====> amdv_init: not implemented > amdv_cleanup: not implemented > module_register_init: MOD_LOAD (vmm, 0xffffffff81c1a590, 0) error 6 > ====> The system has a 6-core AMD FX-6300 CPU: > > ====> FreeBSD 10.0-STABLE #0 r269010: Wed Jul 23 08:25:27 EDT 2014 > paul at 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 = "AuthenticAMD" Id = 0x600f20 Family = 0x15 Model = 0x2 Stepping = 0 > Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> > Features2=0x3e98320b<SSE3,PCLMULQDQ,MON,SSSE3,FMA,CX16,SSE4.1,SSE4.2,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C> > AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM> > AMD Features2=0x1ebbfff<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=0x8<BMI1> > TSC: P-state invariant, performance statistics > real memory = 8589934592 (8192 MB) > avail memory = 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) > [[...]] > ====> > It has the POPCNT feature, which is the one the bhyve documentation > says to look for. > > Does bhyve only work on Intel CPUs for now? Does anyone have it > working on an AMD FX-6300-based 10-STABLE system? > > Cheers, > > Paul. > _______________________________________________ > freebsd-stable at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"Mark saad | mark.saad at longcount.org
Hi Paul, Paul Mather wrote:> Does bhyve work on AMD CPUs under 10-STABLE? I rebuilt my system > yesterday (to r269010) but the bhyve module does not appear to load > properly. I get this on the console when I kldload vmm: > > ====> amdv_init: not implemented > amdv_cleanup: not implemented > module_register_init: MOD_LOAD (vmm, 0xffffffff81c1a590, 0) error 6 > ====You'll have to SVN-checkout: svn://svn.freebsd.org/base/projects/bhyve_svm and rebuild your world/kernel. With that you'll should be able to get bhyve working on your AMD CPU. It works here on my Phenom II... Regards, Nils _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
Hi Paul, Paul Mather wrote:> Does bhyve work on AMD CPUs under 10-STABLE? I rebuilt my system > yesterday (to r269010) but the bhyve module does not appear to load > properly. I get this on the console when I kldload vmm: > > ====> amdv_init: not implemented > amdv_cleanup: not implemented > module_register_init: MOD_LOAD (vmm, 0xffffffff81c1a590, 0) error 6 > ====You'll have to SVN-checkout: svn://svn.freebsd.org/base/projects/bhyve_svm and rebuild your world/kernel. With that you'll should be able to get bhyve working on your AMD CPU. It works here on my Phenom II... Regards, Nils