From owner-freebsd-stable@freebsd.org Fri Jul 27 11:01:11 2018 Return-Path: Delivered-To: freebsd-stable@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 E631E10467F3 for ; Fri, 27 Jul 2018 11:01:10 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: from constantine.ingresso.co.uk (unknown [IPv6:2a02:b90:3002:411::3]) (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 8A2E08F95A; Fri, 27 Jul 2018 11:01:10 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: from dilbert.london-internal.ingresso.co.uk ([10.64.50.6]) by constantine.ingresso.co.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89 (FreeBSD)) (envelope-from ) id 1fj0Uf-0005MX-4I; Fri, 27 Jul 2018 11:01:09 +0000 Subject: Re: Ryzen issues on FreeBSD ? (with sort of workaround) To: Konstantin Belousov Cc: avg@freebsd.org, eric@vangyzen.net, freebsd-stable@freebsd.org, freebsd@hda3.com, truckman@FreeBSD.org References: <20180705133542.GG5562@kib.kiev.ua> <20180705145130.GH5562@kib.kiev.ua> From: Pete French Message-ID: <548b493e-6a51-32ca-b3c1-216cac037e8b@ingresso.co.uk> Date: Fri, 27 Jul 2018 12:01:09 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <20180705145130.GH5562@kib.kiev.ua> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2018 11:01:11 -0000 So, I have been running the patched kernel for quiet a while now, and it works fine for me, but last night I did hit a surprising issue - the Linux emulator does not work on Ryzen / Epyc. I tried this on two machines (both with the patches) and it coredumps when simply running bash on both of them. I copied the OS over to an Intel machine, and that works fine. I have not tried running with an unpatched kernel on the Ryzen machine (I dont have one to hand) but I did try applying the sysctls to the Intel box to see if that wuld cause the Linux binaries to crash. It didn't. -pete.