From owner-freebsd-stable@freebsd.org Fri Jan 19 22:45:43 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 E05E1ECD1B1 for ; Fri, 19 Jan 2018 22:45:43 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from mx2.catspoiler.org (mx2.catspoiler.org [IPv6:2607:f740:16::d18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "amnesiac", Issuer "amnesiac" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B8FCC7A667 for ; Fri, 19 Jan 2018 22:45:43 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from gw.catspoiler.org ([76.212.85.177]) by mx2.catspoiler.org (8.15.2/8.15.2) with ESMTPS id w0JMk6aP080989 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 19 Jan 2018 22:46:07 GMT (envelope-from truckman@FreeBSD.org) Received: from mousie.catspoiler.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.15.2/8.15.2) with ESMTPS id w0JMTNql028743 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 19 Jan 2018 14:45:35 -0800 (PST) (envelope-from truckman@FreeBSD.org) Date: Fri, 19 Jan 2018 14:45:35 -0800 (PST) From: Don Lewis Subject: Re: Ryzen issues on FreeBSD ? To: Mike Tancsa cc: Peter Moody , Nimrod Levy , freebsd-stable@freebsd.org, Pete French In-Reply-To: <79e5c1c0-668c-2a91-73e0-6b2cdd0eac60@sentex.net> Message-ID: References: <8e842dec-ade7-37d1-6bd8-856ea1a827ca@sentex.net> <3b625072-dfb3-6b4f-494d-7fe1b2fa554c@ingresso.co.uk> <2c6ce4dd-f43c-7c40-abc2-732d6f8996ec@sentex.net> <795dbb79-3c18-d967-98b9-5d09a740dbfe@sentex.net> <79e5c1c0-668c-2a91-73e0-6b2cdd0eac60@sentex.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=us-ascii Content-Disposition: INLINE 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: Fri, 19 Jan 2018 22:45:44 -0000 On 19 Jan, Mike Tancsa wrote: > On 1/19/2018 3:48 PM, Peter Moody wrote: >> >> weirdly enough though, with SMT enabled, building net/samba47 would >> always hang (like compilation segfaults). with SMT disabled, no such >> problems. > > wow, thats so strange! I just tried,and the same thing and see it as well. > > [ 442/3804] Generating lib/ldb-samba/ldif_handlers_proto.h > [ 443/3804] Generating source4/lib/registry/tools/common.h > runner /usr/local/bin/perl > "/usr/ports/net/samba47/work/samba-4.7.4/source4/script/mkproto.pl" > --srcdir=.. --builddir=. --public=/dev/null > --private="default/lib/ldb-samba/ldif_handlers_proto.h" > ../lib/ldb-samba/ldif_handlers.c ../lib/ldb-samba/ldb_matching_rules.c > [ 444/3804] Generating source4/lib/registry/tests/proto.h > runner /usr/local/bin/perl > "/usr/ports/net/samba47/work/samba-4.7.4/source4/script/mkproto.pl" > --srcdir=.. --builddir=. --public=/dev/null > --private="default/source4/lib/registry/tools/common.h" > ../source4/lib/registry/tools/common.c > > > And it just hangs there. No segfaults, but it just hangs. > > A ctrl+t shows just shows > > load: 0.16 cmd: python2.7 65754 [usem] 589.51r 10.52u 1.63s 0% 122360k > make: Working in: /usr/ports/net/samba47 I sometimes seen build runaways when using poudriere to build my standard set of packages on my Ryzen machine. I don't think this is a Ryzen-specific issue since I also see the same on older AMD FX-8320E machine, but much less frequently there. It looks like a lost wakeup issue, but I haven't had a chance to dig into it yet. =>> Killing runaway build after 7200 seconds with no output =>> Cleaning up wrkdir ===> Cleaning for doxygen-1.8.13_1,2 =>> Warning: Leftover processes: USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND nobody 55576 0.0 0.0 10556 1528 0 I+J 00:32 0:00.04 /usr/bin/make -C /usr/ports/devel/doxygen build nobody 55625 0.0 0.0 11660 1952 0 I+J 00:32 0:00.00 - /bin/sh -e -c (cd /wrkdirs/usr/ports/devel/dox ygen/work/.build; if ! /usr/bin/env XDG_DATA_HOME=/wrkdirs/usr/ports/devel/doxygen/work XDG_CONFIG_HOME=/wr kdirs/usr/ports/devel/doxygen/work HOME=/wrkdirs/usr/ports/devel/doxygen/work TMPDIR="/tmp" PATH=/wrkdirs/u sr/ports/devel/doxygen/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/nonexistent/b in NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE= /usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-alia sing" CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG" LDFLAGS=" -fstack-protector" LIBS="" CXX="c++" CXXFLAGS="-O2 - pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -DLIBICONV_PLUG" MANPREFIX="/usr/local" BSD_IN STALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 5 55" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" /usr/bin/make -f Makefile all docs; then if [ -n "" ] ; then echo "===> Compilation failed unexpectedly."; (echo "") | /usr/bin/fmt 75 79 ; fi; false; fi) nobody 55636 0.0 0.0 9988 1108 0 I+J 00:32 0:00.01 `-- /usr/bin/make -f Makefile all docs nobody 6734 0.0 0.0 10140 1216 0 I+J 00:42 0:00.00 `-- /usr/bin/make -f CMakeFiles/Makefile2 docs nobody 6764 0.0 0.0 10140 1216 0 I+J 00:42 0:00.01 `-- /usr/bin/make -f CMakeFiles/Makefile2 do c/CMakeFiles/docs.dir/all nobody 7107 0.0 0.0 10512 1536 0 I+J 00:42 0:00.03 `-- /usr/bin/make -f examples/CMakeFiles/e xamples.dir/build.make examples/CMakeFiles/examples.dir/build nobody 12111 0.0 0.0 61468 27060 0 I+J 00:43 0:00.16 `-- ../bin/doxygen diagrams.cfg Killed build of devel/doxygen | doxygen-1.8.13_1,2 ended at Sat Dec 30 18:44:47 PST 2017 build time: 02:14:51 !!! build failure encountered !!!