From owner-freebsd-virtualization@freebsd.org Wed Sep 30 17:35:54 2015 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D7B67A0B7E9 for ; Wed, 30 Sep 2015 17:35:54 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:1900:2254:206a::19:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx2.freebsd.org", Issuer "Gandi Standard SSL CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C4DEC1F2B for ; Wed, 30 Sep 2015 17:35:54 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from hammer.pct.niksun.com (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx2.freebsd.org (Postfix) with ESMTP id 6BC9B13C6; Wed, 30 Sep 2015 17:35:54 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Subject: Re: Re: AMD processors supported under bhyve To: "C. L. Martinez" , "freebsd-virtualization@freebsd.org" References: From: Jung-uk Kim Message-ID: <560C1D7A.4040104@FreeBSD.org> Date: Wed, 30 Sep 2015 13:35:54 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2015 17:35:55 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 09/30/2015 13:22, C. L. Martinez wrote: > On Wed, Sep 30, 2015 at 4:54 PM, C. L. Martinez > wrote: >> On Tue, Sep 29, 2015 at 11:03 AM, C. L. Martinez >> wrote: >>> On Tue, Sep 29, 2015 at 10:43 AM, Jason Tubnor >>> wrote: >>>> On 29 September 2015 at 20:07, C. L. Martinez >>>> 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?? >> >> Thanks. > > > Uhmm .. It seems it doesn't works. When I try to launch a FreeBSD > guest install with vmrun.sh script: > > root@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@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 > > [1] Features2=0x802009 > [1] AMD > Features=0xee500800 > > [1] AMD Features2=0x7ff > [1] SVM: NP,NAsids=64 [1] TSC: P-state invariant > > As you can see, virtualization support is enabled: "AMD > Features2=0x7ff" > > Maybe the problem is with zvol used to install this guest?? Sorry, you don't have NRIP feature. SVM: NP,NAsids=64 Jung-uk Kim -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWDB12AAoJEHyflib82/FG1YoH/0SN4H2ochtR8D3f/p+h/bNt g3n8ey/jWV2E9WOqrFRrmeWVOO5KQWVk0C53JF3rodByyEXHVLQ5mKea+0mABiJJ TEZsL8wWRN9gYcSelvcUCV3PXbcQetABbQF4nO9DQRKQhWYwKiZSSQFmw3lY+wXH SMVDFfzPJXVyA2EWpWkvz4o7h5Mh/1tjWW49MYoGmAkzWAEuRFdI4krVyC8+yw5n 4Dl5IafVD/5dCSZra4syg3J6uuWV7m5pfMTyLrDEaerf8+Ia6FQSxK9IEeMxGcyR xNZXtD5jm+Y+VxBNpTYk0N16X4VDkZMGrRNaDOeLvQYbjtR/LxAjvQ8zkjyk+PU= =VIia -----END PGP SIGNATURE-----