From owner-freebsd-virtualization@FreeBSD.ORG Wed Nov 27 14:13:00 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 56E64F7 for ; Wed, 27 Nov 2013 14:13:00 +0000 (UTC) Received: from mail-forward5.uio.no (mail-forward5.uio.no [IPv6:2001:700:100:10::37]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D078622C0 for ; Wed, 27 Nov 2013 14:12:59 +0000 (UTC) Received: from exim by mail-out5.uio.no with local-bsmtp (Exim 4.80.1) (envelope-from ) id 1VlfrM-0001tt-02 for freebsd-virtualization@freebsd.org; Wed, 27 Nov 2013 15:12:56 +0100 Received: from mail-mx3.uio.no ([129.240.10.44]) by mail-out5.uio.no with esmtp (Exim 4.80.1) (envelope-from ) id 1VlfrL-0001tp-V8; Wed, 27 Nov 2013 15:12:55 +0100 Received: from shiva.uio.no ([129.240.203.14]) by mail-mx3.uio.no with esmtp (Exim 4.80) (envelope-from ) id 1VlfrL-0000Ku-Gt; Wed, 27 Nov 2013 15:12:55 +0100 Message-ID: <5295FDE6.4060307@thanelange.no> Date: Wed, 27 Nov 2013 15:12:54 +0100 From: Gyrd Thane Lange User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131028 Thunderbird/17.0.10 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: Running bhyve on a AMD 1075T Phenom References: <5256D59A.20904@digiware.nl> <5256DD29.6090007@freebsd.org> <14A565E7-7D26-4C32-B73A-F5FAA16BC837@digiware.nl> <9A4BF6B0-91F1-43C5-B5D5-90486123336D@digiware.nl> <525738CE.9000708@freebsd.org> <525C837E.7060302@freebsd.org> <525CF0A1.6060600@digiware.nl> In-Reply-To: <525CF0A1.6060600@digiware.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-UiO-Spam-info: not spam, SpamAssassin (score=-5.0, required=5.0, autolearn=disabled, UIO_MAIL_IS_INTERNAL=-5, uiobl=NO, uiouri=NO) X-UiO-Scanned: 8EB866751F52E03CD7EE21271BBDF51905712CE7 X-UiO-SPAM-Test: remote_host: 129.240.203.14 spam_score: -49 maxlevel 80 minaction 2 bait 0 mail/h: 1 total 49 max/h 6 blacklist 0 greylist 0 ratelimit 0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.16 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, 27 Nov 2013 14:13:00 -0000 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@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 Features2=0x1e98220b AMDFeatures=0x2e500800 AMDFeatures2=0x1c9bfff # 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