Running bhyve on a AMD 1075T Phenom

Gyrd Thane Lange gyrd-se at thanelange.no
Wed Nov 27 14:13:00 UTC 2013


Den 15. okt. 2013 09:37, skrev Willem Jan Withagen:
> On 2013-10-15 1:51, Peter Grehan wrote:
>> Hi Craig,
>>
>>> There was a lot of non-trivial stuff done in the amd64 pmap code and the
>>> BHyve intel module
>>> for bhyve_npt_pmap, and these changes have not been made for the amd svm
>>> code.
>
> Right, I looked at it, and decided it was way easier to just run the svm
> tree
>
>>   Yes, that's right.
>>
>>> Does anyone have patches for the svm code?
>>
>>   Not yet - Anish is working on it.
>
> looking forward to test.

Hi, I too would like to test. I have an AMD FX-8150 and am running 
11-CURRENT.

FreeBSD 11.0-CURRENT #0 r258495: Sat Nov 23 15:25:54 CET 2013
     root at onyx.thanelange.no:/usr/src/sys/ONYX amd64
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
CPU: AMD FX(tm)-8150 Eight-Core Processor (3624.28-MHz K8-class CPU)
   Origin = "AuthenticAMD"  Id = 0x600f12  Family = 0x15  Model = 0x1 
Stepping = 2
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=0x1e98220b<SSE3,PCLMULQDQ,MON,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AESNI,XSAVE,OSXSAVE,AVX>
AMDFeatures=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
AMDFeatures2=0x1c9bfff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,XOP,SKINIT,WDT,LWP,FMA4,NodeId,Topology,PCXC,PNXC>

# kldload vmm

amd_iommu_init: not implemented
amdv_init: not implemented
amdv_cleanup: not implemented
module_register_init: MOD_LOAD (vmm, 0xffffffff81abcbb0, 0) error 6

I appears the AMD patches for the vmm module have not made it to CURRENT 
yet. Would it be easy to prepare a patch-set? Or give me some hints on 
how to do it myself?

I have earlier tried to merge (locally) the changes to vmm from the 
bhyve project branch, but I got stuck on some dependencies (headers and 
functions) that are probably defined else where in the source tree. 
(Can't give the exact error message as this was on previous installation.)

Regards,
Gyrd ^_^

>
> --WjW



More information about the freebsd-virtualization mailing list