From owner-freebsd-virtualization@freebsd.org Tue May 8 05:21:01 2018 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 51B9DFCEE53 for ; Tue, 8 May 2018 05:21:01 +0000 (UTC) (envelope-from frank.ebert@freenet.de) Received: from mout2.freenet.de (mout2.freenet.de [IPv6:2001:748:100:40::2:4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "*.freenet.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DA486845FD for ; Tue, 8 May 2018 05:21:00 +0000 (UTC) (envelope-from frank.ebert@freenet.de) Received: from [195.4.92.140] (helo=mjail0.freenet.de) by mout2.freenet.de with esmtpa (ID frank.ebert@freenet.de) (port 25) (Exim 4.90_1 #2) id 1fFv3a-000767-7q for freebsd-virtualization@freebsd.org; Tue, 08 May 2018 07:20:58 +0200 Received: from [::1] (port=42322 helo=mjail0.freenet.de) by mjail0.freenet.de with esmtpa (ID frank.ebert@freenet.de) (Exim 4.90_1 #2) id 1fFv3a-0003fe-3q for freebsd-virtualization@freebsd.org; Tue, 08 May 2018 07:20:58 +0200 Received: from mx17.freenet.de ([195.4.92.27]:55982) by mjail0.freenet.de with esmtpa (ID frank.ebert@freenet.de) (Exim 4.90_1 #2) id 1fFv1T-0001r9-LP for freebsd-virtualization@freebsd.org; Tue, 08 May 2018 07:18:47 +0200 Received: from hsi-kbw-046-005-251-146.hsi8.kabel-badenwuerttemberg.de ([46.5.251.146]:31793 helo=imap.skynet.domain) by mx17.freenet.de with esmtpsa (ID frank.ebert@freenet.de) (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (port 587) (Exim 4.90_1 #2) id 1fFv1T-0005GK-HO for freebsd-virtualization@freebsd.org; Tue, 08 May 2018 07:18:47 +0200 Received: from mimo (imap [192.168.126.52]) by imap.skynet.domain (Postfix) with ESMTPA id 042ACDA4C7 for ; Tue, 8 May 2018 07:18:47 +0200 (CEST) Date: Tue, 8 May 2018 07:18:46 +0200 From: Frank Ebert To: freebsd-virtualization@freebsd.org Subject: wrmsr to register 0x49(0x1) on vcpu x Message-ID: <20180508071846.18435a99@mimo> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/vem6_de7wbPvr_47rC1cr2o"; protocol="application/pgp-signature" X-Spamscore: -5.7 (-----) X-Spamreport: Action: no action Symbol: RCVD_TLS_LAST(0.00) Symbol: TO_DN_NONE(0.00) Symbol: PREVIOUSLY_DELIVERED(0.00) Symbol: FROM_EQ_ENVFROM(0.00) Symbol: ASN(0.00) Symbol: NEURAL_HAM(-3.00) Symbol: BAYES_HAM(-3.00) Symbol: MIME_GOOD(-0.20) Symbol: RCVD_COUNT_TWO(0.00) Symbol: RCVD_VIA_SMTP_AUTH(0.00) Symbol: MID_RHS_NOT_FQDN(0.50) Symbol: RCPT_COUNT_ONE(0.00) Symbol: TO_MATCH_ENVRCPT_ALL(0.00) Symbol: FROM_HAS_DN(0.00) Message-ID: 20180508071846.18435a99@mimo X-FN-Spambar: X-Originated-At: 46.5.251.146!31793 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.25 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: Tue, 08 May 2018 05:21:01 -0000 --Sig_/vem6_de7wbPvr_47rC1cr2o Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, since the last bios-update (AMD Ryzen Threadripper 1950X on Asus ROG STRIX x399-E) I get the following message when starting a Windows 10 Guest on FreeBSD 11.1/amd64:=20 wrmsr to register 0x49(0x1) on vcpu x wrmsr to register 0x49(0x1) on vcpu x wrmsr to register 0x49(0x1) on vcpu x wrmsr to register 0x49(0x1) on vcpu x The message will be repeated endless (x is the number of the vcpu). Despite this message, the guest is running fine. I don't have any performance issues at the moment. Prior to this bios-update the message appears only once (or twice?) for every vcpu. Attached you find the way I start bhyve: bhyve -c8 -m 16G -H -w \ -s 0,amd_hostbridge \ -s 3,ahci-cd,/home/frank/bhyve/null_dvd.iso \ -s 4,ahci-hd,/dev/zvol/zroot/win10disk0 \ -s 10,virtio-net,tap0 \ -s11,fbuf,tcp=3D0.0.0.0:5900,w=3D1600,h=3D900 \ -s 30,xhci,tablet \ -s31,lpc \ -lbootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd win10 I use "hw.vmm.topology.cores_per_package=3D4" in /boot/loader.conf and a "custom" vmm.ko (https://reviews.freebsd.org/D13780) since January. When starting bhyve without "-w", the guest freezes while booting. But I think this has to do with another issue https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219343 The changelog from Asus says: Update AGESA 1.0.0.5 recommend to keep C-state [enable] Does anyone have an idea how to solve this issue? Thanx Frank --Sig_/vem6_de7wbPvr_47rC1cr2o Content-Type: application/pgp-signature Content-Description: Digitale Signatur von OpenPGP -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSnmuRRu7yN/9fhJZSngGwyW6douQUCWvEzNgAKCRCngGwyW6do uZ8NAKC15rvcl7JTlOQbsourEg0G67lZTwCfcwn0Zmc3GCeSds3ERQTIbOOiDT8= =HyFz -----END PGP SIGNATURE----- --Sig_/vem6_de7wbPvr_47rC1cr2o--