Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751303AbdIPM0D (ORCPT ); Sat, 16 Sep 2017 08:26:03 -0400 Received: from mail-it0-f42.google.com ([209.85.214.42]:56710 "EHLO mail-it0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751233AbdIPM0B (ORCPT ); Sat, 16 Sep 2017 08:26:01 -0400 X-Google-Smtp-Source: AOwi7QDGR17wyL6yjGmORQKyBZQcH3BvRFuqVZH4T7ikKulc2RukawUCD1rL3nPtswjbnHJRjRdt7bT3QEPocMZuY94= MIME-Version: 1.0 In-Reply-To: <20170811100704.GA10069@nazgul.tnic> References: <20170811100704.GA10069@nazgul.tnic> From: Satoru Takeuchi Date: Sat, 16 Sep 2017 21:25:59 +0900 Message-ID: Subject: Re: [FYI] GCC segfaults under heavy multithreaded compilation with AMD Ryzen To: Borislav Petkov Cc: LKML , x86@kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1941 Lines: 45 2017-08-11 19:07 GMT+09:00 Borislav Petkov : > On Wed, Jul 26, 2017 at 06:54:01AM +0900, Satoru Takeuchi wrote: >> # I'm a LKML subscriber, but not a x86 list subscriber >> >> I found the following new linux kernel bugzilla about Ryzen related problem. >> Since many developers don't check this bugzilla and I've also >> encountered this problem, >> I decided to introduce this problem here. >> >> https://bugzilla.kernel.org/show_bug.cgi?id=196481: >> > I am running Ubuntu and installed the mainline kernel from the mainline PPA. >> > It seems like the Ryzen processor has some bug that leads to gcc crashing >> > when compiling a very large program under heavy load. This is easily reproduced >> > in my system using the script from >> > >> > https://github.com/suaefar/ryzen-test >> > >> > (It assumes that you are running Ubuntu, maybe Debian also works. Just clone it and run the > script kill_ryzen.sh. It downloads the gcc 7.1 code and start multiple compilations of it. If any >> > compilations fails its warns the user giving the time to detect failure). >> > >> > There is already a bug report about this in the FreeBSD bugzilla >> > (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219399#c89). >> > There is also a thread on the subject in AMD community forum >> > (https://community.amd.com/thread/215773?start=300&tstart=0) >> > and Phoronix (https://www.phoronix.com/forums/forum/hardware/processors-memory/955368-some-ryzen-linux-users-are-facing-issues-with-heavy-compilation-loads). > > Apparently, you can RMA your CPU: > > https://www.phoronix.com/scan.php?page=news_item&px=Ryzen-Segv-Response > Sorry for late reply and thank you for letting me know. I've already RMA'ed my CPU and the new one works fine. I have one more Ryzen which I got for investigating this problem and I'll RMA it soon. Regards, Satoru > -- > Regards/Gruss, > Boris. > > ECO tip #101: Trim your mails when you reply. > --