From owner-freebsd-stable@freebsd.org Wed Jan 17 21:00:57 2018 Return-Path: Delivered-To: freebsd-stable@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 91F48EB71F2 for ; Wed, 17 Jan 2018 21:00:57 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [IPv6:2607:f3e0:80:80::2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3F99182100; Wed, 17 Jan 2018 21:00:57 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (lava.sentex.ca [IPv6:2607:f3e0:0:5::11]) by smarthost2.sentex.ca (8.15.2/8.15.2) with ESMTPS id w0HL0tQH077751 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 17 Jan 2018 16:00:56 -0500 (EST) (envelope-from mike@sentex.net) Received: from [192.168.43.26] (saphire3.sentex.net [192.168.43.26]) by lava.sentex.ca (8.15.2/8.15.2) with ESMTP id w0HL0rPq020699; Wed, 17 Jan 2018 16:00:53 -0500 (EST) (envelope-from mike@sentex.net) Subject: Re: Ryzen issues on FreeBSD ? To: Don Lewis Cc: Pete French , freebsd-stable@freebsd.org References: <8e842dec-ade7-37d1-6bd8-856ea1a827ca@sentex.net> <3b625072-dfb3-6b4f-494d-7fe1b2fa554c@ingresso.co.uk> <2c6ce4dd-f43c-7c40-abc2-732d6f8996ec@sentex.net> From: Mike Tancsa Organization: Sentex Communications Message-ID: <795dbb79-3c18-d967-98b9-5d09a740dbfe@sentex.net> Date: Wed, 17 Jan 2018 16:00:53 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.78 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2018 21:00:57 -0000 On 1/17/2018 3:39 PM, Don Lewis wrote: > On 17 Jan, Mike Tancsa wrote: >> On 1/17/2018 8:43 AM, Pete French wrote: >>> >>> Are you running the latest STABLE ? There were some patches for Ryzen >>> which went in I belive, and might affect te stability. Specificly the >>> chnages to stop it locking up when executing code in the top page ? >> >> Hi, >> I was testing with RELENG_11 as of 2 days ago. The fix seems to be there >> >> # sysctl -A hw.lower_amd64_sharedpage >> hw.lower_amd64_sharedpage: 1 >> >> Would love to find a class of motherboard that pushes its "You dont need >> to dork around with any BIOS settings. It just works. Oh, and we have a >> hardware watchdog too".... ipmi would be stellar. > > The shared page change fixed the random lockup and silent reboot problem > for me. I've got a 1700X eight core CPU and a Gigabyte X370 Gaming 5. I > did have to RMA my CPU (it was an early one) because it had the problem > with random segfaults that seemed to be triggered by process migration > between CPU cores. I still haven't switched over to using it for > package builds because I see more random fallout than on my older > package builder. I'm not blaming the hardware for that at this point > because I see a lot of the same issues on my older machine, but less > frequently. > > One thing to watch (though it should be less critical with a six core > CPU) is VRM cooling. I removed the stupid plastic shroud over the VRM > sink on my motherboard so that it gets some more airflow. Thanks! I will confirm the cooling. I tried just now looking at the CPU FAN control in the BIOS and up'd it to "turbo" from the default. Does amdtmp.ko work with your chipset ? Nothing on mine unfortunately, so I cant tell from the OS if its running hot. Is there a way to see if your CPU is old and has that bug ? I havent seen any segfaults on the few dozen buildworlds I have done. So far its always been a total lockup and not crash with RELENG11. x86info v1.31pre Found 12 identical CPUs Extended Family: 8 Extended Model: 0 Family: 15 Model: 1 Stepping: 1 CPU Model (x86info's best guess): AMD Zen Series Processor (ZP-B1) Processor name string (BIOS programmed): AMD Ryzen 5 1600 Six-Core Processor Monitor/Mwait: min/max line size 64/64, ecx bit 0 support, enumeration extension SVM: revision 1, 32768 ASIDs, np, lbrVirt, SVMLock, NRIPSave, TscRateMsr, VmcbClean, FlushByAsid, DecodeAssists, PauseFilter, PauseFilterThreshold Address Size: 48 bits virtual, 48 bits physical The physical package has 12 of 16 possible cores implemented. running at an estimated 3.20GHz ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/