AMD processors supported under bhyve
John Nielsen
lists at jnielsen.net
Wed Sep 30 17:32:18 UTC 2015
On Sep 30, 2015, at 11:22 AM, C. L. Martinez <carlopmart at gmail.com> wrote:
> On Wed, Sep 30, 2015 at 4:54 PM, C. L. Martinez <carlopmart at gmail.com> wrote:
>> On Tue, Sep 29, 2015 at 11:03 AM, C. L. Martinez <carlopmart at gmail.com> wrote:
>>> On Tue, Sep 29, 2015 at 10:43 AM, Jason Tubnor <jason at tubnor.net> wrote:
>>>> On 29 September 2015 at 20:07, C. L. Martinez <carlopmart at gmail.com> wrote:
>>>>>
>>>>> Hi all,
>>>>>
>>>>> Maybe a stupid question, but are AMD processors supported under
>>>>> FreeBSD 10.2-STABLE for bhyve or are they only supported under
>>>>> 11-CURRENT?
>>>>
>>>>
>>>> 10.2-RELEASE is the first release to contain AMD support (10.1-STABLE did
>>>> have support however). 11-CURRENT obviously supports it and is where you'll
>>>> find all the latest patches/fixes when reports are made. I use TrueOS
>>>> monthly 11-CURRENT snapshots specifically for this reason (and to have
>>>> binary updates).
>>>
>>>
>>> Thanks Jason... My idea is to use or FreeBSD or HardenedBSD for this
>>> host, and if I have problems maybe I will try TrueOS ...
>>
>> Uhmm I am installing 10.2-STABLE and I am seeing the following error:
>>
>> module_register_init: MOD_LOAD (vmm, 0xffffffff81d914b0, 0) error 6
>>
>> Does this means AMD is not supported yet or what??
>
> Uhmm .. It seems it doesn't works. When I try to launch a FreeBSD
> guest install with vmrun.sh script:
>
> root at tstbhyve:/usr/share/examples/bhyve # sh
> /usr/share/examples/bhyve/vmrun.sh -c 1 -m 512M -t tap0 -d
> /dev/zvol/zroot/export/vmachines/fbsddnssrv -i -I
> /export/isoimages/FreeBSD-10.2-RELEASE-amd64-disc1.iso fbsddnssrv
> Launching virtual machine "fbsddnssrv" ...
> vm_create: Device not configured
> root at tstbhyve:/usr/share/examples/bhyve #
>
> dmesg out about this processor:
>
> [1] CPU: Quad-Core AMD Opteron(tm) Processor 1354 (2200.04-MHz K8-class CPU)
> [1] Origin="AuthenticAMD" Id=0x100f23 Family=0x10 Model=0x2 Stepping=3
> [1] 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>
> [1] Features2=0x802009<SSE3,MON,CX16,POPCNT>
> [1] AMD Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow!>
> [1] AMD Features2=0x7ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS>
> [1] SVM: NP,NAsids=64
> [1] TSC: P-state invariant
>
> As you can see, virtualization support is enabled: "AMD
> Features2=0x7ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS>”
While your processor has SVM, it does not have the NRIP feature which is also required by bhyve. See e.g. http://svnweb.freebsd.org/base?view=revision&revision=272926 . That is why the VMM module wouldn’t load successfully.
See the “SVM” line in your dmesg output above, versus this one from a Phenom II X4 (which is running 10-STABLE with bhyve VMs successfully):
SVM: NP,NRIP,NAsids=64
JN
More information about the freebsd-virtualization
mailing list