From nobody Wed Jan 05 14:47:16 2022 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 104A4193C9EF for ; Wed, 5 Jan 2022 14:47:28 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4JTXQ66r71z3vpc for ; Wed, 5 Jan 2022 14:47:26 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 247F83200D30 for ; Wed, 5 Jan 2022 09:47:19 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 05 Jan 2022 09:47:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=vBF6p7y4/uQ3fUjFtjUKoSiwFON w4qQvm8DDXpiReqM=; b=fqOrq9vLNllFVcDcjGWWdVuwFvKSED5GtzV6yZIH4Vv yFSZWVtI7vg2CrYLFHDM9J5jW3bAhFCqbku0IRyYKcMAFygO8STZKTzUwWerRgRC 7IbA1eSXoCVpfqGNCbgGhO7p/Na+BScMh9J9AIOI9nrDI5WU708qthOecnop7Pxd q6fSIkEieGLwmvWd2acanby2jvRR9fqSH7qO/jJY47r+7K3IRWTVrafzsaPxzEV0 vS6Z0pzpGLRTK6LSHDHy+3VVOilopJoHXSzbqNyUuS2FOxEd2DcwU5PDgcVGKvZ6 xKa9ULu8zG1QHJ9CQpd8cLs6NVOLZkcLg3WkddJ5ttg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=vBF6p7 y4/uQ3fUjFtjUKoSiwFONw4qQvm8DDXpiReqM=; b=oHhADrQNdimfTfNQNdy5Li Q4zstudDb299CA3nVifsNhwRRZYlqvv2GnV+KeRJujM+wk8N45O8suPmHnx2Ks+S +FWD/Dj0UkfFoyNQJN0IbzSn2sHv4ewyyFTTKquk0WF5uXQJYN4Xd8eRU+jPbqIe /A2JK8vl2kbQiRUuVDNVltIGVT/CzqjaF7ZwNcO+AQ9mr7yEKCb3xV749EyPFujJ 719BK/OSG6BtdaxTlRoF+VLh9PCIvpcx/aciIl3pL2lmaivmSM/F4Pl2f9GoOFJI 4cj8y/BpPyKJIGjL1qBYfCnmFSbVwmIX7obrBH/8CTG1gr01HnmmntItPBSp+KbQ == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrudefiedgfeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesghdtre ertddtvdenucfhrhhomhepthgvtghhqdhlihhsthhsuceothgvtghhqdhlihhsthhsseii hiigshhtrdhnvghtqeenucggtffrrghtthgvrhhnpeettddtudeugfeggefhkeekteekje elfeffleehjeffgffftdeffedtjeegueeiffenucffohhmrghinhepfhhrvggvsghsugdr ohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe htvggthhdqlhhishhtshesiiihgihsthdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Wed, 5 Jan 2022 09:47:18 -0500 (EST) Date: Wed, 5 Jan 2022 14:47:16 +0000 From: tech-lists To: freebsd-hackers@freebsd.org Subject: Re: strange compiling problems on AMD Ryzen 5 5600G with freebsd-current Message-ID: Mail-Followup-To: freebsd-hackers@freebsd.org References: List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="C35ve0XOQSXWkWrO" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4JTXQ66r71z3vpc X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm1 header.b=fqOrq9vL; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=oHhADrQN; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 64.147.123.24 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-6.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm1,messagingengine.com:s=fm1]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[64.147.123.24:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.24]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; RCVD_COUNT_THREE(0.00)[4]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_NA(0.00)[zyxst.net]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:29838, ipnet:64.147.123.0/24, country:US]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.24:from] X-ThisMailContainsUnwantedMimeParts: N --C35ve0XOQSXWkWrO Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 05, 2022 at 06:55:38PM +1100, Peter Jeremy wrote: >On 2022-Jan-05 00:09:14 +0000, tech-lists wrote: >>Are there known issues with Ryzen 5600G and freebsd-current? > >This might be better off on freebsd-current, rather than hackers. Yeah I was confused about that. Is it a cpu/compiler problem?=20 (hackers@) or is it a -current problem? I raised a thread earlier in -current: https://lists.freebsd.org/archives/freebsd-current/2022-January/001358.html Context has changed a bit since then. >>In particular with building *some* ports. perl5.32 and llvm13 >>fail to build, perl5.32 failed to build because DTRACE was enabled in its config and for whatever reason the system didn't like it. It builds and=20 installs without it. As DTRACE is enabled by default, I've raised=20 a PR at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260947 llvm13 is still failing with a ninja error. I'll try again when the system is rebuilt. >I can't answer your question but I have a number of questions for you: >0) What is the exact version of -current that you're running? It *was* 14.0-CURRENT #0 main-n252210-3a9688f8bc4: Tue Jan 4 19:50:00 GMT = 2022=20 it's in the middle of a buildworld rn generic *everything*. Although the ab= ove build was vanilla it still had a src.conf and a make.conf for ccache. This = new=20 build has neither. >1) Can you share more details on "fails to build". Are you in a position > to share a build log. yes I'll do so as soon as it's done this completely generic build. >2) Are you using ECC RAM? Have you run memtest86 or similar? I don't know. The machine is remote. Need to see if memtest is in ports. This is the output from dmidecode: Memory Device Array Handle: 0x0010 Error Information Handle: 0x0018 Total Width: 64 bits Data Width: 64 bits Size: 16 GB Form Factor: DIMM Set: None Locator: DIMM 1 Bank Locator: P0 CHANNEL A Type: DDR4 Type Detail: Synchronous Unbuffered (Unregistered) Speed: 3200 MT/s Manufacturer: Unknown Serial Number: 00000000 Asset Tag: Not Specified Part Number: CMK32GX4M2D3200C16 =20 Rank: 2 Configured Memory Speed: 3200 MT/s Minimum Voltage: 1.2 V Maximum Voltage: 1.2 V Configured Voltage: 1.2 V Memory Technology: DRAM Memory Operating Mode Capability: Volatile memory Firmware Version: Unknown Module Manufacturer ID: Bank 3, Hex 0x9E Module Product ID: Unknown Memory Subsystem Controller Manufacturer ID: Unknown Memory Subsystem Controller Product ID: Unknown Non-Volatile Size: None Volatile Size: 16 GB Cache Size: None Logical Size: None >3) Have you tried (eg) FreeBSD-13 instead of -current? No not yet, that would be my next step after this build and if possible, memtest >I presume that means a previous kernel/world could build/install world. >4) Have you tried a buildworld with your problematic install? this is running right now >>I'm wondering if there's something like a sysctl I need to >>tweak for this cpu. > >Any CPU-specific tweaks would be in the kernel. it's been suggested in various places in other contexts but with=20 ryzen to add kern.sched.steal_thresh=3D0 in /etc/sysctl.conf and=20 machdep.idle=3Dspin machdep.hyperthreading_allowed=3D0 to /boot/loader.conf >(FTR, I have an AMD 5600X that's happily/stably running 13-stable). Have you clocked it in the bios? Which motherboard do you use? Does it have any special settings in sysctl or loader.conf? This system: Base Board Information Manufacturer: ASRock Product Name: B450 Steel Legend --=20 J. --C35ve0XOQSXWkWrO Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAmHVr2kACgkQs8o7QhFz NAU3Ew//QiA+OmDZPnr1rC4Eat8GE0iLlJM1l/ntnUZNs7k44c1fw13yfoiesThK up5nhOZxkpSnt+mBG5PIxfzfh/1KlolHjr9gS1JbVNh2UmGeLFSxeqI3TVUMi6tF qu6T83h9FmHb8O1b0R9SoTh54eUeagvVdcPRAvn2NQkhmO0GKlSIOBUIdO+QMBEB fHx+JWQyoNxxv87wjlqa/j8GgWGkhGnFM28hxNztAhXvq6zWq+yJQrszs8ZzubmT JIhvPtq5GnB461t+2yFMQwJCznk0y/bMxWHEukwLuApC+T3zOrn8gKJNskcH81d/ xja+POHML5V75XM2PtXakKGIkPP8iV69p8vyd3yIipq/kNaXLOdtAflOtUbMikwr 9CvviJQ/EIdEM+Tf1RiSqUWJkX1zbMqZ5Qh796ERrs9GDeRkPO+iswArvIegyD7T 4F/xmJuV/JWJLtYwBR84fD3ql3MdxKCM7N5hBfy+TuqDdWOjEwyrtZkJtKJDkL4G bhFDTwLwONotN5nrQZ67CsVmPb3yITWLbXT1Bx1phB286NgERoELGQfi7hrDpMLP BF5QwfQ+rSVH4kJMIJjWa4D5qXynRVeXAU6CLJUA9oGhAfYDGTwsT7kihVibnnbd PgMSovwj/KBpd0eOMqmjvTMlQqE3sC4g+b0oCFzExDVToGfyBUc= =N8f9 -----END PGP SIGNATURE----- --C35ve0XOQSXWkWrO--