From owner-freebsd-current@freebsd.org Fri Jan 12 16:58:33 2018 Return-Path: Delivered-To: freebsd-current@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 19AF2E6FE56 for ; Fri, 12 Jan 2018 16:58:33 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DE1DE7360A for ; Fri, 12 Jan 2018 16:58:32 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from [192.168.0.6] (67-0-236-88.albq.qwest.net [67.0.236.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id C94371928F3; Fri, 12 Jan 2018 08:53:27 +0000 (UTC) Subject: Re: [CFT] AMD cpu microcode update port sysutils/devcpu-data D13832 To: Mike Tancsa , freebsd-current References: <1075465a-ffef-95c7-7750-2d50d7b8a15c@sentex.net> From: Sean Bruno Message-ID: <3ea937fe-bbb1-7f6f-f2e1-8a7d94e7feef@freebsd.org> Date: Fri, 12 Jan 2018 09:58:27 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <1075465a-ffef-95c7-7750-2d50d7b8a15c@sentex.net> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bMeb66K2ywsbyMS49rVIGOU7zKheI3wbJ" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jan 2018 16:58:33 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --bMeb66K2ywsbyMS49rVIGOU7zKheI3wbJ Content-Type: multipart/mixed; boundary="NkxMLKz5zIdWb8qYCjWnGb1aqlDJ1PVcG"; protected-headers="v1" From: Sean Bruno To: Mike Tancsa , freebsd-current Message-ID: <3ea937fe-bbb1-7f6f-f2e1-8a7d94e7feef@freebsd.org> Subject: Re: [CFT] AMD cpu microcode update port sysutils/devcpu-data D13832 References: <1075465a-ffef-95c7-7750-2d50d7b8a15c@sentex.net> In-Reply-To: <1075465a-ffef-95c7-7750-2d50d7b8a15c@sentex.net> --NkxMLKz5zIdWb8qYCjWnGb1aqlDJ1PVcG Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 01/12/18 08:38, Mike Tancsa wrote: > On 1/11/2018 6:03 PM, Sean Bruno wrote: >> https://reviews.freebsd.org/D13832 <--- test this update >> >> I'd like to get some feedback from AMD cpu users on this update. I've= >> restructured and undone a few things that may have been keeping folks >> using this port from getting their runtime cpu microcode updates. > Hi, > I am trying out on RELENG_11 on a Ryzen CPU >=20 > Without kib's commits at >=20 > https://lists.freebsd.org/pipermail/svn-src-stable-11/2018-January/0053= 20.html >=20 > I get >=20 > root@testamd:/usr/ports/sysutils/devcpu-data # > /usr/local/etc/rc.d/microcode_update onestart > Updating CPU Microcode... > Re-evalutation of CPU flags Failed. > root@testamd:/usr/ports/sysutils/devcpu-data # Correct, this is expected. >=20 > with r327597, >=20 > root@testamd:/home/mdtancsa # /usr/local/etc/rc.d/microcode_update ones= tart > Updating CPU Microcode... > Done. > root@testamd:/home/mdtancsa # >=20 >=20 >=20 > running x86info -a also generates this error / warning ? >=20 > CPU0: local APIC error 0x80 >=20 >=20 Probably, update your port of x86info. I pushed an update for this and it might work better for you. > root@testamd:/home/mdtancsa # x86info -a | grep -i microco > Microcode patch level: 0x8001129 > root@testamd:/home/mdtancsa # x86info -a | head -20 > x86info v1.31pre > Unknown CPU family: 0x17 > Unknown CPU family: 0x17 > Unknown CPU family: 0x17 > Unknown CPU family: 0x17 > Unknown CPU family: 0x17 > Unknown CPU family: 0x17 > Unknown CPU family: 0x17 > Unknown CPU family: 0x17 > Unknown CPU family: 0x17 > Unknown CPU family: 0x17 > Unknown CPU family: 0x17 > Unknown CPU family: 0x17 > Found 12 identical CPUs > Extended Family: 8 Extended Model: 0 Family: 15 Model: 1 Stepping: 1 > CPU Model (x86info's best guess): > Processor name string (BIOS programmed): AMD Ryzen 5 1600X Six-Core > Processor >=20 > Number of reporting banks : 7 >=20 > root@testamd:/home/mdtancsa # >=20 >=20 > Also your diff is based on a previous version of the port. There was an= > update since, with new microcode from Intel that gets clobbered in your= > diffs. >=20 >=20 The update to Intel microcode was reverted. So, possibly the tree you are using is out of date? sean --NkxMLKz5zIdWb8qYCjWnGb1aqlDJ1PVcG-- --bMeb66K2ywsbyMS49rVIGOU7zKheI3wbJ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE6MTp+IA1BOHj9Lo0veT1/om1/LYFAlpY6TNfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEU4 QzRFOUY4ODAzNTA0RTFFM0Y0QkEzNEJERTRGNUZFODlCNUZDQjYACgkQveT1/om1 /Lb9/wf/Xyt559DKRQsExuc2YON8Wie5n7dUkv18oi+ZFgHBgTcvfzKV8N1HMcp/ X/J47LMo3WBB70YzBNwP6z4yDJGTa70k54Tbe3GMJUaCPM0kgPDMZa74XZGXCn2v rOJ8tTk/kQDBsjTSG/8+Tv+ESev3/++GY1tmKcxOwxWSxTGHVo/3NAoFNKbQX8mL viQKgnzJx4deeCTcK+7WdlVg1cikQ0loiUoZoJ7BoCTKtmcHFHp6QkU/qyqXiK1u Oz64EqvlaNIZNsECcRGDfFY4XNRjFjRhvO7RYbheJsGqCYl+0ZQ6Pm00NqUspF2F lxgM/Z7y9Bx6Kf4E6fc4bWIfGIBeaA== =P8/h -----END PGP SIGNATURE----- --bMeb66K2ywsbyMS49rVIGOU7zKheI3wbJ--