From owner-freebsd-ppc@freebsd.org Tue Jun 9 14:01:35 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1B1C532E407 for ; Tue, 9 Jun 2020 14:01:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49hBcZ72zLz4fTR for ; Tue, 9 Jun 2020 14:01:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id F1CA332E2B7; Tue, 9 Jun 2020 14:01:34 +0000 (UTC) Delivered-To: ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F193A32E328 for ; Tue, 9 Jun 2020 14:01:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49hBcZ66pGz4fFX for ; Tue, 9 Jun 2020 14:01:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CD6BD16B46 for ; Tue, 9 Jun 2020 14:01:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 059E1Ym7027520 for ; Tue, 9 Jun 2020 14:01:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 059E1Y4E027517 for ppc@FreeBSD.org; Tue, 9 Jun 2020 14:01:34 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ppc@FreeBSD.org Subject: [Bug 241111] Powermac G5: "kldload radeonkms" crashes the system Date: Tue, 09 Jun 2020 14:01:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ppc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jun 2020 14:01:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241111 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markj@FreeBSD.org --- Comment #1 from Mark Johnston --- Does it happen with the latest stable/12 or HEAD? Can you provide a backtr= ace and panic message? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-ppc@freebsd.org Tue Jun 9 17:04:21 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 57E71335108 for ; Tue, 9 Jun 2020 17:04:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49hGgT1jXLz472K for ; Tue, 9 Jun 2020 17:04:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 2938E151B5; Tue, 9 Jun 2020 17:04:21 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 24FE915226 for ; Tue, 9 Jun 2020 17:04:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49hGgS6rrQz47CT for ; Tue, 9 Jun 2020 17:04:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E3B4A18D5B for ; Tue, 9 Jun 2020 17:04:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 059H4Klt056201 for ; Tue, 9 Jun 2020 17:04:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 059H4KDZ056200 for powerpc@FreeBSD.org; Tue, 9 Jun 2020 17:04:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 247118] mark www/firefox broken on powerpc64-12 Date: Tue, 09 Jun 2020 17:04:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gecko@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jun 2020 17:04:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247118 Bug ID: 247118 Summary: mark www/firefox broken on powerpc64-12 Product: Ports & Packages Version: Latest Hardware: powerpc OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: gecko@FreeBSD.org Reporter: linimon@FreeBSD.org CC: powerpc@FreeBSD.org CC: powerpc@FreeBSD.org Assignee: gecko@FreeBSD.org Flags: maintainer-feedback?(gecko@FreeBSD.org) Created attachment 215399 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D215399&action= =3Dedit patch to www/firefox/Makefile The good news is that even without patches, Firefox now builds on powerpc64= -13. The bad news is that it does not on powerpc64-12. The worse news is that even though the error mentioned in this patch can actually be fixed by some further work (patch on request), it is still insufficient. That underlying failure is the following: /usr/local/bin/ld: cannot find -lc++ and that flag is provided from somewhere deep in the Rust build glue. IMHO this is not worth chasing down. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Thu Jun 11 01:57:05 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CFD8F3446FC for ; Thu, 11 Jun 2020 01:57:05 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-25.consmr.mail.gq1.yahoo.com (sonic312-25.consmr.mail.gq1.yahoo.com [98.137.69.206]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49j6Rh5Qnrz3b0m for ; Thu, 11 Jun 2020 01:57:04 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: EcYWCd8VM1mhPmWkBvPeNWsfCnelVPAeJfxYido6r5Q_2soHJB4lG8t0wILngZk ye9pqxVUx9zwz09dyfJ3P9EYJGgc4ytH4BceyfHk4hwnAyyKxQWlM2yIg96z4D0F8a01rykHKiog KMLdIfZHurDZCWn_Pjsej.VOidxZfTQoy_1Bt6hk8rZ62bB2h41cus_xwAsVHv664fshMWlw0Qbq d8KtbdMdRbN3BolSLp6P1ZecRM212r7w_SEKqRbW3yoZ1HQnk8FHZsxJXjsDJYFmd4eA1ZhMTKpA ZnmZAepncte_uEMMLk2J.qtE.zOwiwTrlt2ZRBB_gNBy2pAw9YEYif2wq25ZfXJi9fSNKn0rLHfi s7H9Suy89bm8VmUSliw03WBBHipLMy0ozMXnV9qkG7wksCFvLSlWClwcqh.GHk6UCt9m5ODJ.VAV tntWg3cXR1zR6wiXtnz2ttSjUTZuM5lA2GYzfOTDeX2rN6F70YtXUhrSiRrEX4njbgO3uz0nxxKe BWSNcJbUD7r80K7oKtbVsOL8AcKAHiJ_f3_EhtXseajEk0OaTeM9jKoQXjglsI6d..LmdZKhZ7S4 4oVLU5QgRrL._176furakeDlbcIOKcPUSBJkf82HsuD5jLKLANz4qyBz8wS5e6S1qHGhP_46O.rG w3GnF1VWLXvvp3uNnDeRDddCxWib9KFJDatOALRf7whI2vu6yql8yBYQZwBE0hddqCRZyONQ8JDc x8BTvZWw.9FS.RF5hfm_EyucxbUS9YNEkPWUiz2iEtCyv5xtmhvT222pZsbB7JT1wv6h9S5zMY8x atG6MSvNDkzrWdZK7SX4PzJRvegFWoabyVG3KOdoH.z_1hSlz3dgFZI7v.fc4yePdIq.126N77Y2 VzmsaYm3azMxU3YppO1eiXCx5_0IpQ0WCmX42JGrA6XTUHQDz0Hf_0ATHakqWQ8ZJfE4IYVueD.L zmD__lR3va3Lbzy_dRQ61eHByN7PvntVjeXpcrcjMmdUVIYS4Fk7H_FPrJnpYFGnr3CuOMWdO9wL divaKmYUKDx36okSLvbsvGMb_JmJn08ueU6xtdcwAl6WqCKxA6Nlfh7QT.zmJFK14Ho2lTHcW70C sNXZhA5YFQjpLTz.Xzrj9HH278ZzTpmHpVhvgwAV7T3kMCpHgyScn9REMhJX89W0brsKcoBZuCGo pmhULcAv6pLS7NXyYtKl_Tnvke4LoJKehtBYe9Va.sLAnkn_bTtn7k33Utg_KJJuSkOy5T66d0uQ SPgTROrzIbUcCPaYBfmZc4VEp0B86uw2czQCX_Zdds0lmzLYdqE3MjhZJZRdgMOeyPZvTVQ2zRbH 40W83C7fag4tqceICToJATPPi5he3fidNPxh13roTdt70kCcZB4LnJKLCAs95BiK9SgTvtq4snzT 2zbv6Tl_osVCl6VH.VQ-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Thu, 11 Jun 2020 01:57:01 +0000 Received: by smtp419.mail.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 54c6ff5e13356fd16977b52c6a38d5c8; Thu, 11 Jun 2020 01:56:58 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: svn commit: r360233 - in head: contrib/jemalloc . . . : This partially breaks a 2-socket 32-bit powerpc (old PowerMac G4) based on head -r360311 From: Mark Millard In-Reply-To: <20200513105632.06db9e21@titan.knownspace> Date: Wed, 10 Jun 2020 18:56:57 -0700 Cc: "vangyzen@freebsd.org" , svn-src-head@freebsd.org, FreeBSD Current , FreeBSD Hackers , FreeBSD PowerPC ML , Brandon Bergren Content-Transfer-Encoding: quoted-printable Message-Id: References: <8479DD58-44F6-446A-9CA5-D01F0F7C1B38@yahoo.com> <17ACDA02-D7EF-4F26-874A-BB3E935CD072@yahoo.com> <695E6836-F860-4557-B7DE-CC1EDB347F18@yahoo.com> <121B9B09-141B-4DC3-918B-1E7CFB99E779@yahoo.com> <8AAB0462-3FA8-490C-8D8D-7C15B1C9E2DE@yahoo.com> <18E62746-80DB-4195-977D-4FF32D0129EE@yahoo.com> <9562EEE4-62EF-4164-91C0-948CC0432984@yahoo.com> <9B68839B-AEC8-43EE-B3B6-B696A4A57DAE@yahoo.com> <359C9C7D-4106-42B5-AAB5-08EF995B8100@yahoo.com> <20200513105632.06db9e21@titan.knownspace> To: Justin Hibbits X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 49j6Rh5Qnrz3b0m X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.02 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCPT_COUNT_SEVEN(0.00)[7]; NEURAL_HAM_SHORT(-0.47)[-0.466]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.06)[-1.064]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.985]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.206:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.206:from]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2020 01:57:05 -0000 On 2020-May-13, at 08:56, Justin Hibbits wrote: > Hi Mark, Hello Justin. > On Wed, 13 May 2020 01:43:23 -0700 > Mark Millard wrote: >=20 >> [I'm adding a reference to an old arm64/aarch64 bug that had >> pages turning to zero, in case this 32-bit powerpc issue is >> somewhat analogous.] >>=20 >>> . . . > ... >> . . . >>=20 >> (Note: dsl-only.net closed down, so the E-mail >> address reference is no longer valid.) >>=20 >> Author: kib >> Date: Mon Apr 10 15:32:26 2017 >> New Revision: 316679 >> URL:=20 >> https://svnweb.freebsd.org/changeset/base/316679 >>=20 >>=20 >> Log: >> Do not lose dirty bits for removing PROT_WRITE on arm64. >>=20 >> Arm64 pmap interprets accessed writable ptes as modified, since >> ARMv8.0 does not track Dirty Bit Modifier in hardware. If writable >> bit is removed, page must be marked as dirty for MI VM. >>=20 >> This change is most important for COW, where fork caused losing >> content of the dirty pages which were not yet scanned by pagedaemon. >>=20 >> Reviewed by: alc, andrew >> Reported and tested by: Mark Millard >> PR: 217138, 217239 >> Sponsored by: The FreeBSD Foundation >> MFC after: 2 weeks >>=20 >> Modified: >> head/sys/arm64/arm64/pmap.c >>=20 >> Modified: head/sys/arm64/arm64/pmap.c >> = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D >> --- head/sys/arm64/arm64/pmap.c Mon Apr 10 12:35:58 >> 2017 (r316678) +++ head/sys/arm64/arm64/pmap.c Mon Apr >> 10 15:32:26 2017 (r316679) @@ -2481,6 +2481,11 @@ >> pmap_protect(pmap_t pmap, vm_offset_t sv sva +=3D L3_SIZE) { >> l3 =3D pmap_load(l3p); >> if (pmap_l3_valid(l3)) { >> + if ((l3 & ATTR_SW_MANAGED) && >> + pmap_page_dirty(l3)) { >> + >> vm_page_dirty(PHYS_TO_VM_PAGE(l3 & >> + ~ATTR_MASK)); >> + } >> pmap_set(l3p, ATTR_AP(ATTR_AP_RO)); >> PTE_SYNC(l3p); >> /* XXX: Use pmap_invalidate_range */ >>=20 >> . . . >>=20 >=20 > Thanks for this reference. I took a quick look at the 3 pmap > implementations we have (haven't check the new radix pmap yet), and it > looks like only mmu_oea.c (32-bit AIM pmap, for G3 and G4) is missing > vm_page_dirty() calls in its pmap_protect() implementation, analogous > to the change you posted right above. Given this, I think it's safe to > say that this missing piece is necessary. We'll work on a fix for > this; looking at moea64_protect(), there may be additional work needed > to support this as well, so it may take a few days. Ping? Any clue when the above might happen? I've been avoiding the old PowerMacs and leaving them at head -r360311 , pending an update that would avoid the kernel zeroing pages that it should not zero. But I've seen that you were busy with more modern contexts this last about a month. And, clearly, my own context has left pending (for much longer) other more involved activities (compared to just periodically updating to more recent FreeBSD vintages). =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Thu Jun 11 12:43:44 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DFC7232E8BC for ; Thu, 11 Jun 2020 12:43:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49jNnr5fl2z4XXr for ; Thu, 11 Jun 2020 12:43:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id B01111AA8B; Thu, 11 Jun 2020 12:43:44 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 83CB11A9A7 for ; Thu, 11 Jun 2020 12:43:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49jNnr2bRSz4XkS for ; Thu, 11 Jun 2020 12:43:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 547FE18711 for ; Thu, 11 Jun 2020 12:43:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 05BChi7E091392 for ; Thu, 11 Jun 2020 12:43:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 05BChikB091385 for powerpc@FreeBSD.org; Thu, 11 Jun 2020 12:43:44 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 247167] lang/racket still fails to build on powerpc64 (referening jit) Date: Thu, 11 Jun 2020 12:43:40 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: olgeni@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2020 12:43:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247167 Bug ID: 247167 Summary: lang/racket still fails to build on powerpc64 (referening jit) Product: Ports & Packages Version: Latest Hardware: powerpc OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: olgeni@FreeBSD.org Reporter: linimon@FreeBSD.org CC: powerpc@FreeBSD.org Assignee: olgeni@FreeBSD.org Flags: maintainer-feedback?(olgeni@FreeBSD.org) CC: powerpc@FreeBSD.org In theory, rXXX disabled JIT for all !x86 archs. In practice, this still s= eems to fail. I took a look at the config stuff, but was unable to come up with a quick solution. Perhaps the maintainer can more easily spot what's wrong in ther= e. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -I./.. -I./../include -I./../../rk= tio -I../../rktio -DLIBICONV_PLUG -isystem /usr/local/include -pthread=20 -DUSE_SENORA_GC -c ./future.c -o future.o In file included from ./future.c:260: In file included from ./jit.h:95: ./lightning/lightning.h:81:2: error: GNU lightning does not support the cur= rent target #error GNU lightning does not support the current target --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Thu Jun 11 12:44:42 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C455832EC96 for ; Thu, 11 Jun 2020 12:44:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49jNpy4sScz4Xms for ; Thu, 11 Jun 2020 12:44:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 8F0CE1A8CD; Thu, 11 Jun 2020 12:44:42 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 8AD971A7F0 for ; Thu, 11 Jun 2020 12:44:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49jNpy2jv8z4Xy2 for ; Thu, 11 Jun 2020 12:44:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 58CAE184A6 for ; Thu, 11 Jun 2020 12:44:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 05BCigIi026522 for ; Thu, 11 Jun 2020 12:44:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 05BCigJ2026512 for powerpc@FreeBSD.org; Thu, 11 Jun 2020 12:44:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 247167] lang/racket still fails to build on powerpc64 (referening jit) Date: Thu, 11 Jun 2020 12:44:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: olgeni@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_file_loc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2020 12:44:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247167 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |http://pylon.nyi.freebsd.or | |g/data/head-powerpc64-defau | |lt/p536541_s361492/logs/err | |ors/racket-7.7.log --- Comment #1 from Mark Linimon --- Errorlog attched as URL field. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Thu Jun 11 14:09:14 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 89348332652 for ; Thu, 11 Jun 2020 14:09:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49jQhV37lpz3Sfx for ; Thu, 11 Jun 2020 14:09:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 63E311CDA7; Thu, 11 Jun 2020 14:09:14 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 610241CE8C for ; Thu, 11 Jun 2020 14:09:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49jQhV1cW1z3Sm5 for ; Thu, 11 Jun 2020 14:09:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3280A1949E for ; Thu, 11 Jun 2020 14:09:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 05BE9EeV050250 for ; Thu, 11 Jun 2020 14:09:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 05BE9Ewm050249 for powerpc@FreeBSD.org; Thu, 11 Jun 2020 14:09:14 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 247170] x11-toolkits/swt: fix build on powerpc64 Date: Thu, 11 Jun 2020 14:09:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pkubaj@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: makc@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2020 14:09:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247170 Bug ID: 247170 Summary: x11-toolkits/swt: fix build on powerpc64 Product: Ports & Packages Version: Latest Hardware: powerpc OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: makc@FreeBSD.org Reporter: pkubaj@FreeBSD.org CC: powerpc@FreeBSD.org CC: powerpc@FreeBSD.org Assignee: makc@FreeBSD.org Flags: maintainer-feedback?(makc@FreeBSD.org) Created attachment 215447 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D215447&action= =3Dedit patch build.sh misses some powerpc64 conditionals. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Thu Jun 11 14:09:27 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0887333217F for ; Thu, 11 Jun 2020 14:09:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49jQhk6XwYz3Sp8 for ; Thu, 11 Jun 2020 14:09:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id D8CA01CE24; Thu, 11 Jun 2020 14:09:26 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id D65C81CF10 for ; Thu, 11 Jun 2020 14:09:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49jQhk53Psz3Srr for ; Thu, 11 Jun 2020 14:09:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A8D17195B1 for ; Thu, 11 Jun 2020 14:09:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 05BE9QDi050519 for ; Thu, 11 Jun 2020 14:09:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 05BE9QB3050518 for powerpc@FreeBSD.org; Thu, 11 Jun 2020 14:09:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 247170] x11-toolkits/swt: fix build on powerpc64 Date: Thu, 11 Jun 2020 14:09:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pkubaj@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: makc@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2020 14:09:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247170 Piotr Kubaj changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |makc@FreeBSD.org Attachment #215447| |maintainer-approval?(makc@F Flags| |reeBSD.org) --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Thu Jun 11 15:32:21 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DB7DD3365F8 for ; Thu, 11 Jun 2020 15:32:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49jSXP5bpWz3dHR for ; Thu, 11 Jun 2020 15:32:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id AD6FF1F595; Thu, 11 Jun 2020 15:32:21 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id AA7DC1F542 for ; Thu, 11 Jun 2020 15:32:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49jSXP3pdXz3dBw for ; Thu, 11 Jun 2020 15:32:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7C3C21A4E3 for ; Thu, 11 Jun 2020 15:32:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 05BFWLGL074080 for ; Thu, 11 Jun 2020 15:32:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 05BFWL12074072 for powerpc@FreeBSD.org; Thu, 11 Jun 2020 15:32:21 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 247167] lang/racket still fails to build on powerpc64 (referening jit) Date: Thu, 11 Jun 2020 15:32:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: olgeni@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2020 15:32:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247167 --- Comment #2 from Mark Linimon --- Bah. I meant to type: In theory, r483669 disabled JIT for all !x86 archs. In practice, this still seems to fail. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Thu Jun 11 19:16:06 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4B00533E4E1 for ; Thu, 11 Jun 2020 19:16:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49jYVZ1K4lz4Ghy for ; Thu, 11 Jun 2020 19:16:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 25E564AE9; Thu, 11 Jun 2020 19:16:06 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 22CDF4C8C for ; Thu, 11 Jun 2020 19:16:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49jYVY6s19z4GWG for ; Thu, 11 Jun 2020 19:16:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E6E021D230 for ; Thu, 11 Jun 2020 19:16:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 05BJG5AZ013760 for ; Thu, 11 Jun 2020 19:16:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 05BJG5kZ013759 for powerpc@FreeBSD.org; Thu, 11 Jun 2020 19:16:05 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 247170] x11-toolkits/swt: fix build on powerpc64 Date: Thu, 11 Jun 2020 19:16:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: makc@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: makc@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2020 19:16:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247170 Max Brazhnikov changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|maintainer-feedback?(makc@F |maintainer-feedback+ |reeBSD.org) | --- Comment #1 from Max Brazhnikov --- Thanks for the fix! Please commit. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Thu Jun 11 19:26:26 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7B58A33ED4B for ; Thu, 11 Jun 2020 19:26:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49jYkV1twDz4HGC for ; Thu, 11 Jun 2020 19:26:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 2B2774CE5; Thu, 11 Jun 2020 19:26:26 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 26F594ED0 for ; Thu, 11 Jun 2020 19:26:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49jYkS6lFmz4HT3 for ; Thu, 11 Jun 2020 19:26:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B2E301D1CD for ; Thu, 11 Jun 2020 19:26:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 05BJQNjN013357 for ; Thu, 11 Jun 2020 19:26:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 05BJQN8x013335 for powerpc@FreeBSD.org; Thu, 11 Jun 2020 19:26:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 247170] x11-toolkits/swt: fix build on powerpc64 Date: Thu, 11 Jun 2020 19:26:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pkubaj@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: makc@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2020 19:26:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247170 Piotr Kubaj changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |FIXED --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Thu Jun 11 19:26:42 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6A7C033EEB8 for ; Thu, 11 Jun 2020 19:26:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49jYkp2JSxz4HGP for ; Thu, 11 Jun 2020 19:26:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 3BFE54FB2; Thu, 11 Jun 2020 19:26:42 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 390A4501E for ; Thu, 11 Jun 2020 19:26:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49jYkp0QDWz4HWY for ; Thu, 11 Jun 2020 19:26:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 09B3C1D607 for ; Thu, 11 Jun 2020 19:26:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 05BJQfUE033962 for ; Thu, 11 Jun 2020 19:26:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 05BJQft6033947 for powerpc@FreeBSD.org; Thu, 11 Jun 2020 19:26:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 247170] x11-toolkits/swt: fix build on powerpc64 Date: Thu, 11 Jun 2020 19:26:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: makc@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2020 19:26:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247170 --- Comment #2 from commit-hook@freebsd.org --- A commit references this bug: Author: pkubaj Date: Thu Jun 11 19:26:14 UTC 2020 New revision: 538531 URL: https://svnweb.freebsd.org/changeset/ports/538531 Log: x11-toolkits/swt: fix build on powerpc64 build.sh misses some powerpc64 conditionals. PR: 247170 Approved by: makc (maintainer) Changes: head/x11-toolkits/swt/files/patch-build.sh --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Thu Jun 11 20:56:01 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 054D4340CF5; Thu, 11 Jun 2020 20:56:01 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-io1-xd41.google.com (mail-io1-xd41.google.com [IPv6:2607:f8b0:4864:20::d41]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49jbjr0Mb4z4Nfn; Thu, 11 Jun 2020 20:55:59 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-io1-xd41.google.com with SMTP id c8so7970466iob.6; Thu, 11 Jun 2020 13:55:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version; bh=keyeyM4kG1OEfKs3d6DzefAiWrcGKQrXfh+FtAGgIjk=; b=Ieg83xZAoGOPMGS0W9kCIi3+TcO1PVB5Lqkix0SB/elVUfRNm/HG4Ie8wl4uRZEgKL fvJ6ZYuHBdP8AqAJjHFwRNERi6tr3t1o4GDOqwo8H8TrJWM5/SqbSBNSpBEI5qzIv7FN 9sn3LRSZuh9RB/KAR+bWo9M7IHoydAtPwIwgGHQllC3dbqGwwcaBowqiwt1r7IXpvdaX aGmN25Nd9E/XPB3yzwtxZPT+ssiIYtPxdvuvzBOVXCCxW/xLxVlzRrtD2zanzmsq+LXN 1x9df0Suah3ZjDOzpSj60khNVCL7sb8Tp8r95ySPj6wHSVxQ0cv0qPYJE8nJe3F6nvrW mY2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version; bh=keyeyM4kG1OEfKs3d6DzefAiWrcGKQrXfh+FtAGgIjk=; b=hoF2AiHzME9++nn3QZYyRkCdTLVLQJeCX7XaX7z8+CoNdP6//5XyUr+Jcx+jBc8cD0 0pxCWAXREvqfzpg627XKEzzFrzVQKvvQpFzpJBK+lsTNnKfwflQPcJgfItBH+VuQNJ2w CDjtOvwZZ7NQXrEabVyMEoHNRc39jata79br4FFnFKbEzw+v3QYfBVruBzYvUq1H74Ie kr/8gi6RQ1YihcbUmxRJGhfwVRt8+2evk5kn8Jesa+k/CGAm3C8UeqGsM519ccYCFFl4 UVRNFyRK1BAaw6LA0alU9r3HUwWTel4g+D4TbiwVY36wzAnhuflYt4MGqoY9cFjZz9+T 7aTw== X-Gm-Message-State: AOAM532XCwJuRasPJWwKzHyDZDcFDUFyFlGj5AX3G6JQaWKTGllkbTbs TEnbvinFOggvUWmaHDj1SOA= X-Google-Smtp-Source: ABdhPJy/N4VMpPWQhKFabxzTNaduxTtVilWVNnty4PX/V3KDPYGaCWJ9jOaU8QLIZl7QNP4yJua1rg== X-Received: by 2002:a02:c6a7:: with SMTP id o7mr4910815jan.67.1591908957179; Thu, 11 Jun 2020 13:55:57 -0700 (PDT) Received: from ralga.knownspace (173-19-125-130.client.mchsi.com. [173.19.125.130]) by smtp.gmail.com with ESMTPSA id c20sm1959805iot.33.2020.06.11.13.55.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 13:55:56 -0700 (PDT) Date: Thu, 11 Jun 2020 15:55:45 -0500 From: Justin Hibbits To: Mark Millard Cc: "vangyzen@freebsd.org" , svn-src-head@freebsd.org, FreeBSD Current , FreeBSD Hackers , FreeBSD PowerPC ML , Brandon Bergren Subject: Re: svn commit: r360233 - in head: contrib/jemalloc . . . : This partially breaks a 2-socket 32-bit powerpc (old PowerMac G4) based on head -r360311 Message-ID: <20200611155545.55526f7c@ralga.knownspace> In-Reply-To: References: <8479DD58-44F6-446A-9CA5-D01F0F7C1B38@yahoo.com> <17ACDA02-D7EF-4F26-874A-BB3E935CD072@yahoo.com> <695E6836-F860-4557-B7DE-CC1EDB347F18@yahoo.com> <121B9B09-141B-4DC3-918B-1E7CFB99E779@yahoo.com> <8AAB0462-3FA8-490C-8D8D-7C15B1C9E2DE@yahoo.com> <18E62746-80DB-4195-977D-4FF32D0129EE@yahoo.com> <9562EEE4-62EF-4164-91C0-948CC0432984@yahoo.com> <9B68839B-AEC8-43EE-B3B6-B696A4A57DAE@yahoo.com> <359C9C7D-4106-42B5-AAB5-08EF995B8100@yahoo.com> <20200513105632.06db9e21@titan.knownspace> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; powerpc64-portbld-freebsd13.0) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/K=rH3L.wMYzt5iz2sACaWQM" X-Rspamd-Queue-Id: 49jbjr0Mb4z4Nfn X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Ieg83xZA; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of chmeeedalf@gmail.com designates 2607:f8b0:4864:20::d41 as permitted sender) smtp.mailfrom=chmeeedalf@gmail.com X-Spamd-Result: default: False [-3.41 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; HAS_ATTACHMENT(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCPT_COUNT_SEVEN(0.00)[7]; NEURAL_HAM_SHORT(-0.44)[-0.439]; FREEMAIL_TO(0.00)[yahoo.com]; RECEIVED_SPAMHAUS_PBL(0.00)[173.19.125.130:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.96)[-0.961]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.01)[-1.006]; MIME_GOOD(-0.10)[multipart/mixed,text/plain,text/x-patch]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d41:from]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2020 20:56:01 -0000 --MP_/K=rH3L.wMYzt5iz2sACaWQM Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline On Wed, 10 Jun 2020 18:56:57 -0700 Mark Millard wrote: > On 2020-May-13, at 08:56, Justin Hibbits wrote: > > > Hi Mark, > > Hello Justin. Hi Mark, > > > On Wed, 13 May 2020 01:43:23 -0700 > > Mark Millard wrote: > > > >> [I'm adding a reference to an old arm64/aarch64 bug that had > >> pages turning to zero, in case this 32-bit powerpc issue is > >> somewhat analogous.] > >> > >>> . . . > > ... > >> . . . > >> > >> (Note: dsl-only.net closed down, so the E-mail > >> address reference is no longer valid.) > >> > >> Author: kib > >> Date: Mon Apr 10 15:32:26 2017 > >> New Revision: 316679 > >> URL: > >> https://svnweb.freebsd.org/changeset/base/316679 > >> > >> > >> Log: > >> Do not lose dirty bits for removing PROT_WRITE on arm64. > >> > >> Arm64 pmap interprets accessed writable ptes as modified, since > >> ARMv8.0 does not track Dirty Bit Modifier in hardware. If writable > >> bit is removed, page must be marked as dirty for MI VM. > >> > >> This change is most important for COW, where fork caused losing > >> content of the dirty pages which were not yet scanned by > >> pagedaemon. > >> > >> Reviewed by: alc, andrew > >> Reported and tested by: Mark Millard >> dsl-only.net> PR: 217138, 217239 > >> Sponsored by: The FreeBSD Foundation > >> MFC after: 2 weeks > >> > >> Modified: > >> head/sys/arm64/arm64/pmap.c > >> > >> Modified: head/sys/arm64/arm64/pmap.c > >> ============================================================================== > >> --- head/sys/arm64/arm64/pmap.c Mon Apr 10 12:35:58 > >> 2017 (r316678) +++ head/sys/arm64/arm64/pmap.c Mon > >> Apr 10 15:32:26 2017 (r316679) @@ -2481,6 +2481,11 @@ > >> pmap_protect(pmap_t pmap, vm_offset_t sv sva += L3_SIZE) { > >> l3 = pmap_load(l3p); > >> if (pmap_l3_valid(l3)) { > >> + if ((l3 & ATTR_SW_MANAGED) && > >> + pmap_page_dirty(l3)) { > >> + > >> vm_page_dirty(PHYS_TO_VM_PAGE(l3 & > >> + ~ATTR_MASK)); > >> + } > >> pmap_set(l3p, ATTR_AP(ATTR_AP_RO)); > >> PTE_SYNC(l3p); > >> /* XXX: Use pmap_invalidate_range > >> */ > >> > >> . . . > >> > > > > Thanks for this reference. I took a quick look at the 3 pmap > > implementations we have (haven't check the new radix pmap yet), and > > it looks like only mmu_oea.c (32-bit AIM pmap, for G3 and G4) is > > missing vm_page_dirty() calls in its pmap_protect() implementation, > > analogous to the change you posted right above. Given this, I think > > it's safe to say that this missing piece is necessary. We'll work > > on a fix for this; looking at moea64_protect(), there may be > > additional work needed to support this as well, so it may take a > > few days. > > Ping? Any clue when the above might happen? > > I've been avoiding the old PowerMacs and leaving > them at head -r360311 , pending an update that > would avoid the kernel zeroing pages that it > should not zero. But I've seen that you were busy > with more modern contexts this last about a month. > > And, clearly, my own context has left pending > (for much longer) other more involved activities > (compared to just periodically updating to > more recent FreeBSD vintages). > > === > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) > Sorry for the delay, I got sidetracked with a bunch of other development. I did install a newer FreeBSD on my dual G4 and couldn't see the problem. That said, the attached patch effectively copies what's done in OEA6464 into OEA pmap. Can you test it? - Justin --MP_/K=rH3L.wMYzt5iz2sACaWQM Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=moea_protect.diff diff --git a/sys/powerpc/aim/mmu_oea.c b/sys/powerpc/aim/mmu_oea.c index c5b0b048a41..2f1422b36c4 100644 --- a/sys/powerpc/aim/mmu_oea.c +++ b/sys/powerpc/aim/mmu_oea.c @@ -1776,6 +1776,9 @@ moea_protect(pmap_t pm, vm_offset_t sva, vm_offset_t eva, { struct pvo_entry *pvo, *tpvo, key; struct pte *pt; + struct pte old_pte; + vm_page_t m; + int32_t refchg; KASSERT(pm == &curproc->p_vmspace->vm_pmap || pm == kernel_pmap, ("moea_protect: non current pmap")); @@ -1803,12 +1806,31 @@ moea_protect(pmap_t pm, vm_offset_t sva, vm_offset_t eva, pvo->pvo_pte.pte.pte_lo &= ~PTE_PP; pvo->pvo_pte.pte.pte_lo |= PTE_BR; + old_pte = *pt; + /* * If the PVO is in the page table, update that pte as well. */ if (pt != NULL) { moea_pte_change(pt, &pvo->pvo_pte.pte, pvo->pvo_vaddr); + if (pm != kernel_pmap && m != NULL && + (m->a.flags & PGA_EXECUTABLE) == 0 && + (pvo->pvo_pte.pa & (PTE_I | PTE_G)) == 0) { + if ((m->oflags & VPO_UNMANAGED) == 0) + vm_page_aflag_set(m, PGA_EXECUTABLE); + moea_syncicache(pvo->pvo_pte.pa & PTE_RPGN, + PAGE_SIZE); + } mtx_unlock(&moea_table_mutex); + if ((pvo->pvo_vaddr & PVO_MANAGED) && + (pvo->pvo_pte.prot & VM_PROT_WRITE)) { + m = PHYS_TO_VM_PAGE(old_pte.pte_lo & PTE_RPGN); + refchg = atomic_readandclear_32(&m->md.mdpg_attrs); + if (refchg & PTE_CHG) + vm_page_dirty(m); + if (refchg & PTE_REF) + vm_page_aflag_set(m, PGA_REFERENCED); + } } } rw_wunlock(&pvh_global_lock); --MP_/K=rH3L.wMYzt5iz2sACaWQM-- From owner-freebsd-ppc@freebsd.org Thu Jun 11 21:36:47 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AD0593420D8 for ; Thu, 11 Jun 2020 21:36:47 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic303-25.consmr.mail.gq1.yahoo.com (sonic303-25.consmr.mail.gq1.yahoo.com [98.137.64.206]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49jcct57ZVz4Ql2 for ; Thu, 11 Jun 2020 21:36:46 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: oMlrzEkVM1n0fQy94q7okPpe3jwvUEdPQCVGTq7two5lUxYwGoA00PDhSFfvZEV fL8tTKl9DnO7erx4D7Fk1gCOyvv_Wlar7eaZKlyH2.1fPy2P1f1RxnI_O1H2L_7q5H_MiUU4o1by fS31gZjNhXHLCtFStH9Yu2Zua59G7ZOQp9KILYuPKO2HfQSwrkjDxe0HxHhrWQXLkyAEpGOCrdPB tixhqaTKEZJTJYpRRVxzlNHj6hU.lx5GpPxCP4Oa.GRJi1oPYz.3ue_gxDTcoOACRZUkcj5h1E25 _yYhxJH02JqlneJC0kybfKXMRh9UllX36TUV7CZKrWluqLOTFjDRk8cDjhymRxbQJaid6I9abfPf hWVKGITG5XAj.91xH9jldjCL1vvlhfQQBiA7nCJOF59VJUImr6qle1Ly0f0Df8BIV5hcOg8hQ1bd dYsWynkfcP7n0bgMzflkQ823.oFjZ9X6WJhk.Do6h6E06NEF0uiQrTwPvQD0icPV6Byvdix14tOY mtuKVe6joAOd74Cu0eX6pjytREg5P94kRhZAOxrWclD7xM026vi3l05ZiW7F1rde.njtwd5MojU_ wBZC_eCI4jIMWwB_bbNjSFccu3Nki.XCLMhqO0kVyK0sQKjn.ZXSDDGQ.q1M1f34hbarWwA0na.P vK.S0ueW6.gnOQVGwOtwR184YGzhhFDD889cZ9PCnSWDdQMr83zS8tdKkrDPKZ4v1kxBNYjko6qH Misr0ln9ygcAPQEYGY0ynssLLaWq0hKMU3.ZzrPThigjvl2ZoT9qG1vo6ot_WitUm_j_whd1O3AE qsMXZyTN__NPXURKQeRTc1AuYZITSWHKbw0D8IzA1AH0Ku49oBP6icue5oBwwR5uZHSK22.n6Sg7 jDZ9udIgpEwjEwKqvMp84Kr9iMnKuFV0W5xp9_.2AnLlYsGj8J0sLA8QaPckzgpPw.L6r6ixTS8K r1WgMPWRdafAtd.65Sk3TEFhhcIjTnWtcgaPFDjykQ42Y.r8oxsFKV4fWdeUjfzYCEYvZdSAHiCw ICEvnScN9bvsplu_dIdhEbp2rAE5Da1uMQ1eWosMR9_caBjSWYcEq9iyR9EC4LWS6HRzShR_JJdk 5ZC_V05t70_9.JmxQ84i1WsLpKlNQ0KKp3Ioyyp2rmkcitmx8U8A72yasgWp1KaPCthHPqQCQKgu gc4cN1PxG1DGEQim.1x_YEbVT271OE17aoUZjqlah6ityZ_5r3s7BGWyBIf0RjNSdBekz2ylv4DT FD1fuoMYK747RPLTFgM4lUeunGOx_yYZ86MEFBSi5EGyJIwTwLXzNoKCJJ5mfnp2EM6JaQ5GzKa0 zsCYCLnj3rXizkTfIe8BYkvnUpAAW5js27jYX7MmCgKMfMazh4p8K4fWKkKuvat3sqQjlk8kGSFb wyi2uqxZeUebZ4YaDKpN57AKWO5TN Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.gq1.yahoo.com with HTTP; Thu, 11 Jun 2020 21:36:44 +0000 Received: by smtp416.mail.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID fdfd3dccc9714f1e32d72e6a803eab89; Thu, 11 Jun 2020 21:36:39 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: svn commit: r360233 - in head: contrib/jemalloc . . . : This partially breaks a 2-socket 32-bit powerpc (old PowerMac G4) based on head -r360311 From: Mark Millard In-Reply-To: <20200611155545.55526f7c@ralga.knownspace> Date: Thu, 11 Jun 2020 14:36:37 -0700 Cc: "vangyzen@freebsd.org" , svn-src-head@freebsd.org, FreeBSD Current , FreeBSD Hackers , FreeBSD PowerPC ML , Brandon Bergren Content-Transfer-Encoding: quoted-printable Message-Id: <5542B85D-1C3A-41D8-98CE-3C02E990C3EB@yahoo.com> References: <8479DD58-44F6-446A-9CA5-D01F0F7C1B38@yahoo.com> <17ACDA02-D7EF-4F26-874A-BB3E935CD072@yahoo.com> <695E6836-F860-4557-B7DE-CC1EDB347F18@yahoo.com> <121B9B09-141B-4DC3-918B-1E7CFB99E779@yahoo.com> <8AAB0462-3FA8-490C-8D8D-7C15B1C9E2DE@yahoo.com> <18E62746-80DB-4195-977D-4FF32D0129EE@yahoo.com> <9562EEE4-62EF-4164-91C0-948CC0432984@yahoo.com> <9B68839B-AEC8-43EE-B3B6-B696A4A57DAE@yahoo.com> <359C9C7D-4106-42B5-AAB5-08EF995B8100@yahoo.com> <20200513105632.06db9e21@titan.knownspace> <20200611155545.55526f7c@ralga.knownspace> To: Justin Hibbits X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 49jcct57ZVz4Ql2 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.14 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCPT_COUNT_SEVEN(0.00)[7]; NEURAL_HAM_SHORT(-0.63)[-0.635]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.01)[-1.013]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.992]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.206:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.206:from]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2020 21:36:47 -0000 On 2020-Jun-11, at 13:55, Justin Hibbits = wrote: > On Wed, 10 Jun 2020 18:56:57 -0700 > Mark Millard wrote: >=20 >> On 2020-May-13, at 08:56, Justin Hibbits = wrote: >>=20 >>> Hi Mark, =20 >>=20 >> Hello Justin. >=20 > Hi Mark, Hello again, Justin. >>=20 >>> On Wed, 13 May 2020 01:43:23 -0700 >>> Mark Millard wrote: >>>=20 >>>> [I'm adding a reference to an old arm64/aarch64 bug that had >>>> pages turning to zero, in case this 32-bit powerpc issue is >>>> somewhat analogous.] >>>>=20 >>>>> . . . =20 >>> ... =20 >>>> . . . >>>>=20 >>>> (Note: dsl-only.net closed down, so the E-mail >>>> address reference is no longer valid.) >>>>=20 >>>> Author: kib >>>> Date: Mon Apr 10 15:32:26 2017 >>>> New Revision: 316679 >>>> URL:=20 >>>> https://svnweb.freebsd.org/changeset/base/316679 >>>>=20 >>>>=20 >>>> Log: >>>> Do not lose dirty bits for removing PROT_WRITE on arm64. >>>>=20 >>>> Arm64 pmap interprets accessed writable ptes as modified, since >>>> ARMv8.0 does not track Dirty Bit Modifier in hardware. If writable >>>> bit is removed, page must be marked as dirty for MI VM. >>>>=20 >>>> This change is most important for COW, where fork caused losing >>>> content of the dirty pages which were not yet scanned by >>>> pagedaemon. >>>>=20 >>>> Reviewed by: alc, andrew >>>> Reported and tested by: Mark Millard >>> dsl-only.net> PR: 217138, 217239 >>>> Sponsored by: The FreeBSD Foundation >>>> MFC after: 2 weeks >>>>=20 >>>> Modified: >>>> head/sys/arm64/arm64/pmap.c >>>>=20 >>>> Modified: head/sys/arm64/arm64/pmap.c >>>> = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D >>>> --- head/sys/arm64/arm64/pmap.c Mon Apr 10 12:35:58 >>>> 2017 (r316678) +++ head/sys/arm64/arm64/pmap.c Mon >>>> Apr 10 15:32:26 2017 (r316679) @@ -2481,6 +2481,11 @@ >>>> pmap_protect(pmap_t pmap, vm_offset_t sv sva +=3D L3_SIZE) { >>>> l3 =3D pmap_load(l3p); >>>> if (pmap_l3_valid(l3)) { >>>> + if ((l3 & ATTR_SW_MANAGED) && >>>> + pmap_page_dirty(l3)) { >>>> + >>>> vm_page_dirty(PHYS_TO_VM_PAGE(l3 & >>>> + ~ATTR_MASK)); >>>> + } >>>> pmap_set(l3p, ATTR_AP(ATTR_AP_RO)); >>>> PTE_SYNC(l3p); >>>> /* XXX: Use pmap_invalidate_range >>>> */ >>>>=20 >>>> . . . >>>>=20 >>>=20 >>> Thanks for this reference. I took a quick look at the 3 pmap >>> implementations we have (haven't check the new radix pmap yet), and >>> it looks like only mmu_oea.c (32-bit AIM pmap, for G3 and G4) is >>> missing vm_page_dirty() calls in its pmap_protect() implementation, >>> analogous to the change you posted right above. Given this, I think >>> it's safe to say that this missing piece is necessary. We'll work >>> on a fix for this; looking at moea64_protect(), there may be >>> additional work needed to support this as well, so it may take a >>> few days. =20 >>=20 >> Ping? Any clue when the above might happen? >>=20 >> I've been avoiding the old PowerMacs and leaving >> them at head -r360311 , pending an update that >> would avoid the kernel zeroing pages that it >> should not zero. But I've seen that you were busy >> with more modern contexts this last about a month. >>=20 >> And, clearly, my own context has left pending >> (for much longer) other more involved activities >> (compared to just periodically updating to >> more recent FreeBSD vintages). >>=20 >> . . . >>=20 >=20 > Sorry for the delay, I got sidetracked with a bunch of other > development. > I did install a newer FreeBSD on my dual G4 and couldn't > see the problem. How did you test? In my context it was far easier to see the problem with builds that did not use MALLOC_PRODUCTION. In other words: jemalloc having its asserts tested. The easiest way I found to get the asserts to fail was to do (multiple processes (-m) and totaling to more than enough to force paging/swapping): stress -m 2 --vm-bytes 1700M & (Possibly setting up some shells first to potentially later exit.) Normally stress itself would hit jemalloc asserts. Apparently the asserts did not stop the code and it ran until a failure occurred (via dtv=3D0x0). I never had to manually stop the stress processes. If no failures during, then exit shells that likely were swapped out or partially paged out during the stress run. They hit jemalloc asserts during their cleanup activity in my testing. > That said, the attached patch effectively copies > what's done in OEA6464 into OEA pmap. Can you test it? I'll try it once I get a chance, probably later today. I gather from what I see that moea64_protect did not need the changes that you originally thought might be required? I only see moea_protect changes in the patch. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Thu Jun 11 21:42:20 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AA7563423F6; Thu, 11 Jun 2020 21:42:20 +0000 (UTC) (envelope-from bdragon@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49jclJ45plz4RQl; Thu, 11 Jun 2020 21:42:20 +0000 (UTC) (envelope-from bdragon@FreeBSD.org) Received: from auth2-smtp.messagingengine.com (auth2-smtp.messagingengine.com [66.111.4.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bdragon/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 823D91F74B; Thu, 11 Jun 2020 21:42:20 +0000 (UTC) (envelope-from bdragon@FreeBSD.org) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id 0D19A27C0054; Thu, 11 Jun 2020 17:42:20 -0400 (EDT) Received: from imap1 ([10.202.2.51]) by compute4.internal (MEProxy); Thu, 11 Jun 2020 17:42:20 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudeitddgtddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdluddtmdenucfjughrpefofgggkfgjfhffhffvufgtsehttdertder reejnecuhfhrohhmpedfuehrrghnughonhcuuegvrhhgrhgvnhdfuceosggurhgrghhonh eshfhrvggvuefuffdrohhrgheqnecuggftrfgrthhtvghrnhepteefveelueekieeltedv jeeuuedutdfgtddviefhgeekhfeuledtteelvdffffetnecuffhomhgrihhnpegushhlqd honhhlhidrnhgvthenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhl fhhrohhmpegsughrrghgohhnodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqd dutdegvdefheekieegqddukedutdekheduqdgsughrrghgohhnpeephfhrvggvuefuffdr ohhrghesihhmrghprdgttg X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id D5332C200A6; Thu, 11 Jun 2020 17:42:19 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-dev0-525-ge8fa799-fm-20200609.001-ge8fa7990 Mime-Version: 1.0 Message-Id: <8bf74674-4ccf-4f97-bbc5-fa5131209b66@www.fastmail.com> In-Reply-To: <5542B85D-1C3A-41D8-98CE-3C02E990C3EB@yahoo.com> References: <8479DD58-44F6-446A-9CA5-D01F0F7C1B38@yahoo.com> <17ACDA02-D7EF-4F26-874A-BB3E935CD072@yahoo.com> <695E6836-F860-4557-B7DE-CC1EDB347F18@yahoo.com> <121B9B09-141B-4DC3-918B-1E7CFB99E779@yahoo.com> <8AAB0462-3FA8-490C-8D8D-7C15B1C9E2DE@yahoo.com> <18E62746-80DB-4195-977D-4FF32D0129EE@yahoo.com> <9562EEE4-62EF-4164-91C0-948CC0432984@yahoo.com> <9B68839B-AEC8-43EE-B3B6-B696A4A57DAE@yahoo.com> <359C9C7D-4106-42B5-AAB5-08EF995B8100@yahoo.com> <20200513105632.06db9e21@titan.knownspace> <20200611155545.55526f7c@ralga.knownspace> <5542B85D-1C3A-41D8-98CE-3C02E990C3EB@yahoo.com> Date: Thu, 11 Jun 2020 16:41:59 -0500 From: "Brandon Bergren" To: "Mark Millard" , "Justin Hibbits" Cc: "Eric van Gyzen" , svn-src-head@freebsd.org, "FreeBSD Current" , "FreeBSD Hackers" , "FreeBSD PowerPC ML" Subject: =?UTF-8?Q?Re:_svn_commit:_r360233_-_in_head:_contrib/jemalloc_._._._:_Th?= =?UTF-8?Q?is_partially_breaks_a_2-socket_32-bit_powerpc_(old_PowerMac_G?= =?UTF-8?Q?4)_based_on_head_-r360311?= Content-Type: text/plain X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2020 21:42:20 -0000 An update from my end: I now have the ability to test dual processor G4 as well, now that mine is up and running. On Thu, Jun 11, 2020, at 4:36 PM, Mark Millard wrote: > > How did you test? > > In my context it was far easier to see the problem > with builds that did not use MALLOC_PRODUCTION. In > other words: jemalloc having its asserts tested. > > The easiest way I found to get the asserts to fail > was to do (multiple processes (-m) and totaling to > more than enough to force paging/swapping): > > stress -m 2 --vm-bytes 1700M & > > (Possibly setting up some shells first > to potentially later exit.) > > Normally stress itself would hit jemalloc > asserts. Apparently the asserts did not > stop the code and it ran until a failure > occurred (via dtv=0x0). I never had to > manually stop the stress processes. > > If no failures during, then exit shells > that likely were swapped out or partially > paged out during the stress run. They > hit jemalloc asserts during their cleanup > activity in my testing. > > > > That said, the attached patch effectively copies > > what's done in OEA6464 into OEA pmap. Can you test it? > > I'll try it once I get a chance, probably later > today. > > I gather from what I see that moea64_protect did not > need the changes that you originally thought might > be required? I only see moea_protect changes in the > patch. > > === > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) > > -- Brandon Bergren bdragon@FreeBSD.org From owner-freebsd-ppc@freebsd.org Thu Jun 11 21:42:22 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 886B33425B8; Thu, 11 Jun 2020 21:42:22 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49jclK2TzTz4RNj; Thu, 11 Jun 2020 21:42:21 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-io1-xd29.google.com with SMTP id d5so8068128ios.9; Thu, 11 Jun 2020 14:42:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=F8tO4WMoZCGEG/J2fntZPL6ciLwZVHM1ZtZyBw/IUoI=; b=D9/iB+EvZm38xYksenfGSSKo+ldU8mnZfRT6w+jPa7x4AS+b1gqPByrn6viNtSkgTY Yi+91CmPvNUpsn4C5/7UhIUvR152JneaiUe8Ck1wY/q2zzwS1q8FmkAtVKFGq4W9kd4V NZ0CGLmfBxY4kCQN/02hi7NT2nKfAnIot3uN6gIPB/KxVYqE2morCC6AEkez63ZkvrOA axL6OvFX+Vd6qhdCidGLdsYCJMYVBrzJcsf4guPKFQ+3sNZ/72xBnOg3UejOIU3HpfBe 6SY10QCyLyoXcXvOtygRHuCztIafY52DKqHL8mfv/0FXjpUUEP3VZQW3DhRwDxFThzr6 fflg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=F8tO4WMoZCGEG/J2fntZPL6ciLwZVHM1ZtZyBw/IUoI=; b=VJGGv7Ix+azrEwYrSBY5TSQr9cFbSaH06OJepPhUNcNaKqIUT217iwGaKZRpltMLmA 2oymZiItOvlfvwTjxewisb3OMpNxfxs+nwe1ecHUv47gU1Txw97qqZAv9GHC4gnpes7S U8pQt3cjOrn+kSWqQoJo6Yt1vshN+i2xiJZKMSNDriBUWLXT+O+Ao8OdtgSv8dOcL3za Y71Gsj8VCe5ig579M9ortFyqPkVfJQ4BgMuAxRLSk5mOGESJL4Nb6WrWaLojzjHEygbl dFamxJYfGp6ppjeaVWWx9m+njlpkEsecIEMf2GYHEfrrXnmUBUHa+C71ArUCHRXKUqXp UByg== X-Gm-Message-State: AOAM533uz8lsomFdWOhZDeRMT3PT0cdw3COZijLKiDCD3ZVCMMHjk4OS 6PgkGwRViLthlgniW+EDTBk= X-Google-Smtp-Source: ABdhPJyLJpawxmcomszvME2wth+iKAOiXtxZXHM5Te35vdZ3Itj+F/v/xFjrHARPgE4okQ5M2dqUjQ== X-Received: by 2002:a02:a518:: with SMTP id e24mr5066004jam.72.1591911740213; Thu, 11 Jun 2020 14:42:20 -0700 (PDT) Received: from ralga.knownspace (173-19-125-130.client.mchsi.com. [173.19.125.130]) by smtp.gmail.com with ESMTPSA id z12sm2061069iol.15.2020.06.11.14.42.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 14:42:20 -0700 (PDT) Date: Thu, 11 Jun 2020 16:42:16 -0500 From: Justin Hibbits To: Mark Millard Cc: "vangyzen@freebsd.org" , svn-src-head@freebsd.org, FreeBSD Current , FreeBSD Hackers , FreeBSD PowerPC ML , Brandon Bergren Subject: Re: svn commit: r360233 - in head: contrib/jemalloc . . . : This partially breaks a 2-socket 32-bit powerpc (old PowerMac G4) based on head -r360311 Message-ID: <20200611164216.47f82775@ralga.knownspace> In-Reply-To: <5542B85D-1C3A-41D8-98CE-3C02E990C3EB@yahoo.com> References: <8479DD58-44F6-446A-9CA5-D01F0F7C1B38@yahoo.com> <17ACDA02-D7EF-4F26-874A-BB3E935CD072@yahoo.com> <695E6836-F860-4557-B7DE-CC1EDB347F18@yahoo.com> <121B9B09-141B-4DC3-918B-1E7CFB99E779@yahoo.com> <8AAB0462-3FA8-490C-8D8D-7C15B1C9E2DE@yahoo.com> <18E62746-80DB-4195-977D-4FF32D0129EE@yahoo.com> <9562EEE4-62EF-4164-91C0-948CC0432984@yahoo.com> <9B68839B-AEC8-43EE-B3B6-B696A4A57DAE@yahoo.com> <359C9C7D-4106-42B5-AAB5-08EF995B8100@yahoo.com> <20200513105632.06db9e21@titan.knownspace> <20200611155545.55526f7c@ralga.knownspace> <5542B85D-1C3A-41D8-98CE-3C02E990C3EB@yahoo.com> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; powerpc64-portbld-freebsd13.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49jclK2TzTz4RNj X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=D9/iB+Ev; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of chmeeedalf@gmail.com designates 2607:f8b0:4864:20::d29 as permitted sender) smtp.mailfrom=chmeeedalf@gmail.com X-Spamd-Result: default: False [-3.48 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCPT_COUNT_SEVEN(0.00)[7]; NEURAL_HAM_SHORT(-0.56)[-0.562]; FREEMAIL_TO(0.00)[yahoo.com]; RECEIVED_SPAMHAUS_PBL(0.00)[173.19.125.130:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.91)[-0.914]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.004]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d29:from]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2020 21:42:22 -0000 On Thu, 11 Jun 2020 14:36:37 -0700 Mark Millard wrote: > On 2020-Jun-11, at 13:55, Justin Hibbits > wrote: > > > On Wed, 10 Jun 2020 18:56:57 -0700 > > Mark Millard wrote: > > > >> On 2020-May-13, at 08:56, Justin Hibbits > >> wrote: > >>> Hi Mark, > >> > >> Hello Justin. > > > > Hi Mark, > > Hello again, Justin. > > >> > >> I've been avoiding the old PowerMacs and leaving > >> them at head -r360311 , pending an update that > >> would avoid the kernel zeroing pages that it > >> should not zero. But I've seen that you were busy > >> with more modern contexts this last about a month. > >> > >> And, clearly, my own context has left pending > >> (for much longer) other more involved activities > >> (compared to just periodically updating to > >> more recent FreeBSD vintages). > >> > >> . . . > >> > > > > Sorry for the delay, I got sidetracked with a bunch of other > > development. > > > I did install a newer FreeBSD on my dual G4 and couldn't > > see the problem. > > How did you test? > > In my context it was far easier to see the problem > with builds that did not use MALLOC_PRODUCTION. In > other words: jemalloc having its asserts tested. > > The easiest way I found to get the asserts to fail > was to do (multiple processes (-m) and totaling to > more than enough to force paging/swapping): > > stress -m 2 --vm-bytes 1700M & > > (Possibly setting up some shells first > to potentially later exit.) > > Normally stress itself would hit jemalloc > asserts. Apparently the asserts did not > stop the code and it ran until a failure > occurred (via dtv=0x0). I never had to > manually stop the stress processes. > > If no failures during, then exit shells > that likely were swapped out or partially > paged out during the stress run. They > hit jemalloc asserts during their cleanup > activity in my testing. My testing was only with a WITNESS kernel, and wasn't an exhaustive test, so obviously is not a straight apples-to-apples comparison. Unfortunately, my backlog of other work got in the way of doing a meaningful extensive test. > > > > That said, the attached patch effectively copies > > what's done in OEA6464 into OEA pmap. Can you test it? > > I'll try it once I get a chance, probably later > today. > > I gather from what I see that moea64_protect did not > need the changes that you originally thought might > be required? I only see moea_protect changes in the > patch. The wording was a little ambiguous. I had meant to convey that I was looking at mmu_oea64.c for inspiration for what's missing in mmu_oea.c. > > === > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) > - Justin From owner-freebsd-ppc@freebsd.org Thu Jun 11 22:04:19 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 38A18343502 for ; Thu, 11 Jun 2020 22:04:19 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic302-22.consmr.mail.gq1.yahoo.com (sonic302-22.consmr.mail.gq1.yahoo.com [98.137.68.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49jdDf0t0Mz4TG2 for ; Thu, 11 Jun 2020 22:04:17 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: 3oKnKC4VM1lYGbS2O.u1wktRLDRU3MpiMqXIjh4dvuwHa6Xa31BcqeOaAnYEkna KgaMLTs5p9sqvgW.RjjxXYAYJV_6iypseBy49dFp5GhbRsJCpQNNmO6YvGDG41HQIOfEPglmyPik aV4UMifLCBUIWxL6u_K6BACbAvvUnI5FsjDAz.wZTX.UYeDMA65WgzCdP3KmvJvecdk_9BPZbL4J mGIz95E8oulC1mmypm9MPQOPMUyRpgJ3CQZepvvRYWc28Z_yc9XFZ70dUerzNBB0PEFmKt3th.1t AUIAfE9QRVhuyWUcFAg5OHE6ub.5SKbZEectpOWSMO4PxpfT6kUO6cwEtUADP3zoD24aq1elLkGm 7z9XAvXtjo0IPiCmScio_QcE46rCvDuY2zWVIdSJwy3GOYTcV63i6CvQ0uMZKLdEa.y4A5T7vxLg K0m_lWVTOuf4NTVp07JeWzKHcD9CIgYpDZMj1eO.6wusSnDxL0vG6tp1MVbRIBjAIWw2PRfluS0M YaMDNeLEPu8If2Mq92x422oajBAuVtitunhITSCS9cUsbtOTPTBTPgPwJ40xc1sSlX9TCRskvSls Ko6LYt15MmaKXGzsLpXleHQE9391B3kVamWO7pzKKW3K79M3fLuvZp6NWyYKViZ3br0WsroLmcHI lPIKMFw2co1lj5kTWm6UCL3eIOZTWaJCtxH7yWLBrFx0GwveGXUuMYZom7W6XGPZMAJl.vgpLEpa zdhgmRcRvIsJuLoi6yKRwc62vdsJgvJEJu2.NvybfLEXllq5iezyQNYAXJVew6Wud__D59KRIPUr z2fF3ntD_L6CdOlgn3yDFfSYgSUdWCd3gSDIifrlPLY72tojn5yKkleN0rCeoUcCvKL3fI6JErgA 7qAvxDqcuT9HtREMplYj1uRNxej2jSgGz2NRLe7C2v8aAHmzOlh7.e.afuna8QU9T3Z2hiicPK7x v3OA7SUBXV71ysDnoMLMsrLycD_WeezneyBGFCUtq33kTL4WKcAYIv2eHqqeQtLb1.2XNYRtzoQM jCWRSrLxc0m_OWrBOsnai9aTrl6x3pK6HJraAhw_0CWflO5EnDZxw64JsoO3A00aSBMFhy94i5M3 nCvT2U217s0mXtCnMIsr6OiX0gFvwcvPgeJN1_WtBmNtnCl7eCqJu9TbdKTjCLbRdW3DGeZDlU_3 G9u_Z8oYXa6YgMiChWbUGP1M.IrpCOUpICayDRBMnzOfYDY1nxdI.yJ9_ctCVhE9m6yVPxXHrRcN um9MK9xGsfG3ZT6sS3_Bdyu21nRRLoUTXiX5DBqczNXCzakA4Koo6h7OffWPbUBjSZulgijSVXqy VPZEVSM9_Ii3tcYldBKKGe3Z8DT_SY3YtQW40Xc95WejaRKf.cheiyChw7Amdyt1S6XXP7VfHF6a aAN46ixpzMEYRDMHsAO.LXwUGvYaY1h9QhYNyFSq6stWEDUv_UC6vuodWu7lC5XOwGQ-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.gq1.yahoo.com with HTTP; Thu, 11 Jun 2020 22:04:16 +0000 Received: by smtp425.mail.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 172ccf42c5eb921977547f6477b474b1; Thu, 11 Jun 2020 22:04:12 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: svn commit: r360233 - in head: contrib/jemalloc . . . : This partially breaks a 2-socket 32-bit powerpc (old PowerMac G4) based on head -r360311 From: Mark Millard In-Reply-To: <8bf74674-4ccf-4f97-bbc5-fa5131209b66@www.fastmail.com> Date: Thu, 11 Jun 2020 15:04:11 -0700 Cc: Justin Hibbits , Eric van Gyzen , svn-src-head@freebsd.org, FreeBSD Current , FreeBSD Hackers , FreeBSD PowerPC ML Content-Transfer-Encoding: quoted-printable Message-Id: <1C6209E6-E980-407B-B635-B76C5F192E8C@yahoo.com> References: <8479DD58-44F6-446A-9CA5-D01F0F7C1B38@yahoo.com> <17ACDA02-D7EF-4F26-874A-BB3E935CD072@yahoo.com> <695E6836-F860-4557-B7DE-CC1EDB347F18@yahoo.com> <121B9B09-141B-4DC3-918B-1E7CFB99E779@yahoo.com> <8AAB0462-3FA8-490C-8D8D-7C15B1C9E2DE@yahoo.com> <18E62746-80DB-4195-977D-4FF32D0129EE@yahoo.com> <9562EEE4-62EF-4164-91C0-948CC0432984@yahoo.com> <9B68839B-AEC8-43EE-B3B6-B696A4A57DAE@yahoo.com> <359C9C7D-4106-42B5-AAB5-08EF995B8100@yahoo.com> <20200513105632.06db9e21@titan.knownspace> <20200611155545.55526f7c@ralga.knownspace> <5542B85D-1C3A-41D8-98CE-3C02E990C3EB@yahoo.com> <8bf74674-4ccf-4f97-bbc5-fa5131209b66@www.fastmail.com> To: Brandon Bergren X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 49jdDf0t0Mz4TG2 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.15 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCPT_COUNT_SEVEN(0.00)[7]; NEURAL_HAM_SHORT(-0.65)[-0.654]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.004]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.992]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.148:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.68.148:from]; FREEMAIL_CC(0.00)[gmail.com,FreeBSD.org,freebsd.org]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2020 22:04:19 -0000 On 2020-Jun-11, at 14:41, Brandon Bergren = wrote: > An update from my end: I now have the ability to test dual processor = G4 as well, now that mine is up and running. Cool. FYI: Dual processors are not required for the problem to happen: the stress based testing showed the problem just as easily on the single-socket/single-core contexts that I tried. > On Thu, Jun 11, 2020, at 4:36 PM, Mark Millard wrote: >>=20 >> How did you test? >>=20 >> In my context it was far easier to see the problem >> with builds that did not use MALLOC_PRODUCTION. In >> other words: jemalloc having its asserts tested. >>=20 >> The easiest way I found to get the asserts to fail >> was to do (multiple processes (-m) and totaling to >> more than enough to force paging/swapping): >>=20 >> stress -m 2 --vm-bytes 1700M & >>=20 >> (Possibly setting up some shells first >> to potentially later exit.) >>=20 >> Normally stress itself would hit jemalloc >> asserts. Apparently the asserts did not >> stop the code and it ran until a failure >> occurred (via dtv=3D0x0). I never had to >> manually stop the stress processes. >>=20 >> If no failures during, then exit shells >> that likely were swapped out or partially >> paged out during the stress run. They >> hit jemalloc asserts during their cleanup >> activity in my testing. >>=20 >>=20 >>> That said, the attached patch effectively copies >>> what's done in OEA6464 into OEA pmap. Can you test it? >>=20 >> I'll try it once I get a chance, probably later >> today. >>=20 >> I gather from what I see that moea64_protect did not >> need the changes that you originally thought might >> be required? I only see moea_protect changes in the >> patch. >=20 =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Thu Jun 11 23:49:41 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2C1EE34507C for ; Thu, 11 Jun 2020 23:49:41 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic317-21.consmr.mail.gq1.yahoo.com (sonic317-21.consmr.mail.gq1.yahoo.com [98.137.66.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49jgZC3xrSz4Zj6 for ; Thu, 11 Jun 2020 23:49:39 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: He.9TQYVM1mhX3UkSY6ZD9dDWgF8Cb3EkBYcNWmoOYnkr2J0VxnM.NrbIt48x9_ SivTGNX3zV7_7jctFE3O9SBDJbjeEjKMUkQi76qUKYddzTXLfVsKezxBNssv53H_rFA5amXS7ZcU LeLY7Mrj9CH00.MdgeklKnRO8R0OfZvWyUGFYNzQt7rb.ZUlggoFSQ5LCFYoDbgu36l0pKNx5dvh cK3CYPJ_LdUesq3HNe.AVBt8TzeMoetTJ0Sxdu9qeYVO1qN2LApYrgcjZTjP4P0D5Kh9sKwGhW7w pQ2C7aGfkLPFBRP3qsihLU8kKmgqV4gHmj3nblp4RqPNcN9sSX2xbPKK6t3gMnKkflHr.8JrMpju kMOhLNIHumgjlx2zA3y7JSKK39UD44WbG8P_mTNN7jAG0jypjx77wvcZz3Wd22Md6lhV9zQuSSB3 U48dNnN7e0oKRmpPwpxiqaNG3kNDCJf29YSp9vZWfvtLRFip8LRi.zawSGyNnsoYxNLB3ZD536vb Pd7HwhY84OoEp2DFX5sbESp9JK7sswE0vhSvhHSar6jLs1cXSWkIWbe7R5AUlTJjsFMq3jXgATU9 3rpEFGZwjBEVtN7UaiFtg6M50LK.pxOxChhwpVIKn9SRCMDrn2EWbC6UMH6KWvM7FJI0AbTrJeSY UEMwWyfpYLiezxi7JR5I4EFZDBJyvgVG0Wq2UhdEQQJaW67r0nVNeQqmOX7XLTEKqOmIoxXDK3K. h4uJpJD6MYASclWLIwtFMUQlMRPfEVU5.CbpbekJFFXM.vakt1qpxzijCWFL4TYlcEWlK97Kg8qK KH28Sp1d1VCk56bxE4dM.FBtJneMbRDRfae2t9OcTwO3LkT05.VkV27DQVsXo68KxNs8YW09cazj uJKbrsJtq0iN1XAEoOsM2vf26ULRFRgQ4DSFD6s04SiT_n_FmkXTfI.uvsshkQhgFZz5_BYovfZy T4YWfEVIDUZ5NSoKefweuuFtqMdoauYbvziRtwzfpGRvgHfD34PJTtY9X2F6XMl3ijx9N_HnrfZY nlXZiDsJ2zj9TvX0l5H09yt_A_lLsRdb0SP3UwV7A_vebgJI8X3IaZ.S9y2q7kAS.VUNkcVaIyth FYRMVwkyr3pmIYHddSl9AuqVRWIM33VKSdJsS804vEiradp7PBEN5UMrCboOp5HbhFbo9YHst_5o ZbpTcjGQJkIG0s8m70ZkiZVsoFT.DUjmxg1W6k15ffA3.ZlApvTcxQ5hEKQiqwYpZKfp6jVCvpCj QdBWPWGQ0fVOLVFCnZOFeNa.wqe0YogvXmHyz.JHKZs_ZoQZ52S_4ppYFzuBbsS97IqLEuBG2PnX FWJ1xzVLZ6g9M58_lqH.S0hGL7Cok6sZ9UA7EOh43jDsqBmr7JV6PnY.wEsUjfWLj9Kjwhjxh9lX ySgJWtVMr_xzfRL.1h0VZi.hkN1io2cg- Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.gq1.yahoo.com with HTTP; Thu, 11 Jun 2020 23:49:37 +0000 Received: by smtp404.mail.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 7a484c8b324b68c03576f32441dbcc44; Thu, 11 Jun 2020 23:49:36 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: svn commit: r360233 - in head: contrib/jemalloc . . . : This partially breaks a 2-socket 32-bit powerpc (old PowerMac G4) based on head -r360311 From: Mark Millard In-Reply-To: <20200611164216.47f82775@ralga.knownspace> Date: Thu, 11 Jun 2020 16:49:33 -0700 Cc: "vangyzen@freebsd.org" , svn-src-head@freebsd.org, FreeBSD Current , FreeBSD Hackers , FreeBSD PowerPC ML , Brandon Bergren Content-Transfer-Encoding: quoted-printable Message-Id: References: <8479DD58-44F6-446A-9CA5-D01F0F7C1B38@yahoo.com> <17ACDA02-D7EF-4F26-874A-BB3E935CD072@yahoo.com> <695E6836-F860-4557-B7DE-CC1EDB347F18@yahoo.com> <121B9B09-141B-4DC3-918B-1E7CFB99E779@yahoo.com> <8AAB0462-3FA8-490C-8D8D-7C15B1C9E2DE@yahoo.com> <18E62746-80DB-4195-977D-4FF32D0129EE@yahoo.com> <9562EEE4-62EF-4164-91C0-948CC0432984@yahoo.com> <9B68839B-AEC8-43EE-B3B6-B696A4A57DAE@yahoo.com> <359C9C7D-4106-42B5-AAB5-08EF995B8100@yahoo.com> <20200513105632.06db9e21@titan.knownspace> <20200611155545.55526f7c@ralga.knownspace> <5542B85D-1C3A-41D8-98CE-3C02E990C3EB@yahoo.com> <20200611164216.47f82775@ralga.knownspace> To: Justin Hibbits X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 49jgZC3xrSz4Zj6 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.40 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCPT_COUNT_SEVEN(0.00)[7]; NEURAL_HAM_SHORT(-0.89)[-0.892]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.01)[-1.013]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.992]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.66.147:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.66.147:from]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2020 23:49:41 -0000 On 2020-Jun-11, at 14:42, Justin Hibbits = wrote: On Thu, 11 Jun 2020 14:36:37 -0700 Mark Millard wrote: > On 2020-Jun-11, at 13:55, Justin Hibbits > wrote: >=20 >> On Wed, 10 Jun 2020 18:56:57 -0700 >> Mark Millard wrote: . . . >=20 >=20 >> That said, the attached patch effectively copies >> what's done in OEA6464 into OEA pmap. Can you test it? =20 >=20 > I'll try it once I get a chance, probably later > today. > . . . No luck at the change being a fix, I'm afraid. I verified that the build ended up with 00926cb0 bl 008e8dc8 00926cb4 mr r27,r3 00926cb8 addi r3,r3,36 00926cbc hwsync 00926cc0 lwarx r25,0,r3 00926cc4 li r4,0 00926cc8 stwcx. r4,0,r3 00926ccc bne- 00926cc0 00926cd0 andi. r3,r25,128 00926cd4 beq 00926ce0 00926cd8 mr r3,r27 00926cdc bl 008e9874 in the installed kernel. So I doubt a mis-build would be involved. It is a head -r360311 based context still. World is without MALLOC_PRODUCTION so that jemalloc code executes its asserts, catching more and earlier than otherwise. First test . . . The only thing that the witness kernel reported was: Jun 11 15:58:16 FBSDG4S2 kernel: lock order reversal: Jun 11 15:58:16 FBSDG4S2 kernel: 1st 0x216fb00 Mountpoints (UMA zone) @ = /usr/src/sys/vm/uma_core.c:4387 Jun 11 15:58:16 FBSDG4S2 kernel: 2nd 0x1192d2c kernelpmap (kernelpmap) = @ /usr/src/sys/powerpc/aim/mmu_oea.c:1524 Jun 11 15:58:16 FBSDG4S2 kernel: stack backtrace: Jun 11 15:58:16 FBSDG4S2 kernel: #0 0x5ec164 at witness_debugger+0x94 Jun 11 15:58:16 FBSDG4S2 kernel: #1 0x5ebe3c at witness_checkorder+0xb50 Jun 11 15:58:16 FBSDG4S2 kernel: #2 0x536d5c at __mtx_lock_flags+0xcc Jun 11 15:58:16 FBSDG4S2 kernel: #3 0x92636c at moea_kextract+0x5c Jun 11 15:58:16 FBSDG4S2 kernel: #4 0x965d30 at pmap_kextract+0x98 Jun 11 15:58:16 FBSDG4S2 kernel: #5 0x8bfdbc at zone_release+0xf0 Jun 11 15:58:16 FBSDG4S2 kernel: #6 0x8c7854 at bucket_drain+0x2f0 Jun 11 15:58:16 FBSDG4S2 kernel: #7 0x8c728c at bucket_free+0x54 Jun 11 15:58:16 FBSDG4S2 kernel: #8 0x8c74fc at = bucket_cache_reclaim+0x1bc Jun 11 15:58:16 FBSDG4S2 kernel: #9 0x8c7004 at zone_reclaim+0x128 Jun 11 15:58:16 FBSDG4S2 kernel: #10 0x8c3a40 at uma_reclaim+0x170 Jun 11 15:58:16 FBSDG4S2 kernel: #11 0x8c3f70 at uma_reclaim_worker+0x68 Jun 11 15:58:16 FBSDG4S2 kernel: #12 0x50fbac at fork_exit+0xb0 Jun 11 15:58:16 FBSDG4S2 kernel: #13 0x9684ac at fork_trampoline+0xc The processes that were hit were listed as: Jun 11 15:59:11 FBSDG4S2 kernel: pid 971 (cron), jid 0, uid 0: exited on = signal 11 (core dumped) Jun 11 16:02:59 FBSDG4S2 kernel: pid 1111 (stress), jid 0, uid 0: exited = on signal 6 (core dumped) Jun 11 16:03:27 FBSDG4S2 kernel: pid 871 (mountd), jid 0, uid 0: exited = on signal 6 (core dumped) Jun 11 16:03:40 FBSDG4S2 kernel: pid 1065 (su), jid 0, uid 0: exited on = signal 6 Jun 11 16:04:13 FBSDG4S2 kernel: pid 1088 (su), jid 0, uid 0: exited on = signal 6 Jun 11 16:04:28 FBSDG4S2 kernel: pid 968 (sshd), jid 0, uid 0: exited on = signal 6 Jun 11 16:05:42 FBSDG4S2 kernel: pid 1028 (login), jid 0, uid 0: exited = on signal 6 Jun 11 16:05:46 FBSDG4S2 kernel: pid 873 (nfsd), jid 0, uid 0: exited on = signal 6 (core dumped) Rebooting and rerunning and showing the stress output and such (I did not capture copies during the first test, but the first test had similar messages at the same sort of points): Second test . . . # stress -m 2 --vm-bytes 1700M stress: info: [1166] dispatching hogs: 0 cpu, 0 io, 2 vm, 0 hdd : = /usr/src/contrib/jemalloc/include/jemalloc/internal/arena_inlines_b.h:258:= Failed assertion: "slab =3D=3D extent_slab_get(extent)" : = /usr/src/contrib/jemalloc/include/jemalloc/internal/arena_inlines_b.h:258:= Failed assertion: "slab =3D=3D extent_slab_get(extent)" ^C # exit : = /usr/src/contrib/jemalloc/include/jemalloc/internal/sz.h:200: Failed = assertion: "ret =3D=3D sz_index2size_compute(index)" Abort trap The other stuff was similar to to first test, not repeated here. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Fri Jun 12 00:30:29 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BBD5C346960 for ; Fri, 12 Jun 2020 00:30:29 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic303-25.consmr.mail.gq1.yahoo.com (sonic303-25.consmr.mail.gq1.yahoo.com [98.137.64.206]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49jhTJ1F5bz4dR2 for ; Fri, 12 Jun 2020 00:30:27 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: YRjKgZ8VM1nz1gmprGN5LHFr7c2ibc7p8GI71NzCZGXTHdzsyZR0vQwHLwPa7AB bYghn03LipAom3UDNW_Q2cQuWn9XgM5DnTGlgCTXl2Wa3Z9HFd3DmIOY2_ysSmEQ.Oeh8ar4wjSt H2ECt..1MXRVRKV5aAQGLl_a.JINY9SQfnYzg5WLKFewIALgETnCy5290ACMFykqHsY8Ti0GxePq PcfnZEM7kMNRE.yR_K6TY6tiqEh2NHuCrLSguIly.fag_GtIkgVTOQ2eRHGUhSEbAtT9.6GSZ6i_ X00wrvE3HjBUUTPCT8BuBemZVigBjsSx33dX98JsihM_WtJLiNYwUgwaxBQknJ2Z_8iugFOrM2OH Irqz9jLGoV4xO_loLjzF4gaAmzcVNXHePPHLnIEdflC4EPSU7.S15xl8E0_q.J4urQjWiqswcxi_ UZ62T_qN2IURrmbceorIo8QZVBJOwehjwrgFKK4V7dXoWDkPySCWqvXxVXl5n3k_SSljrYAxYumf 9GYlPpS7OXSMhdQ2.wHhU4WrmMSfudpJpEv5xgzv.aS2eNVpKSacc21_AjFVz6YBSjLBLbq1swN7 P4sepPNBuDUJ28VuwHcsiWGZK27cl7KLQMdUv1ZHx88SscE1lffueNxy.WHwktmECdU3iqJEFif9 9X1226AOzW5ZJfBtwPm9dqqWtPE7r3qD4_k4Ux_R99OJiAoHjg8IRFsvIP3ic_pJGpmmX3SlgrMA 6rRANDypWVdvWy9h_RMqg20fdyRyQHBh8S5QHF0Q8ZIkRq4aaEn3k8auG4U7lf3_qEIXDLLYw5Zv PMoDFlv5x77KhYdcn7B7ptwLgGg.kXiKxE0CqotkRJS5GAJEFZZwROi0lAGUE9125jdCUMVQptkt mfM9iDyhBnN1tI3pRo3.O6kAA5jtPVQ0Z2M3DYU2qtVFbnloS8JNT1vCpRwbBVZ_C2RK7F8he6oU O.2y9n0Kgm_I5LSOhpG_kvURahhRNtNuPV.Ly0XTd4pZMjcgMVxbOmOAxjdUzMdPCIpOnM1kS8bA FD980GhZofJlwaWY.e7lI.WfOrOHckJovI8suv3y7FUCInGlUshHE8c5q.P72NLynSb0mfBEPjCE j4jZmFFatRjR.iBK.j5ccgpv10lj6fz66U.iKRDvIXS.KmErysrhKzCMT1qpq2p996qCpKcRLk4s 9jlwaUo_7_mspyx_2Hv01lcg1NIBS4fCgtPsNMi3OH7px84.i6QtDFLzQlQ0HAr_AGIiu4oqNXl8 ZBlRXjH0HLu2EnYM_KYkF_A6lIomSaIJpmoVG8Lge8Ub82MeNtvZQWVj860vD0a2JzYKEWZA6REQ Tr_vabjuSf.kKWZQAGGBJc8WLl1q0CjfIVr23Ffus4_7KsuEpDGW3NHvyRljmCp7ZK._23uKIrmr dWSew1eFYyurdVlR32tWiWaXDTAPeIIHBYzIDTB7X4uz8MDzwQHiUPByJ9Q-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.gq1.yahoo.com with HTTP; Fri, 12 Jun 2020 00:30:26 +0000 Received: by smtp428.mail.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 1f421ce3a9c01e05f91777c49cc0466a; Fri, 12 Jun 2020 00:30:25 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: svn commit: r360233 - in head: contrib/jemalloc . . . : This partially breaks a 2-socket 32-bit powerpc (old PowerMac G4) based on head -r360311 From: Mark Millard In-Reply-To: Date: Thu, 11 Jun 2020 17:30:24 -0700 Cc: "vangyzen@freebsd.org" , svn-src-head@freebsd.org, FreeBSD Current , FreeBSD Hackers , FreeBSD PowerPC ML , Brandon Bergren Content-Transfer-Encoding: quoted-printable Message-Id: References: <8479DD58-44F6-446A-9CA5-D01F0F7C1B38@yahoo.com> <17ACDA02-D7EF-4F26-874A-BB3E935CD072@yahoo.com> <695E6836-F860-4557-B7DE-CC1EDB347F18@yahoo.com> <121B9B09-141B-4DC3-918B-1E7CFB99E779@yahoo.com> <8AAB0462-3FA8-490C-8D8D-7C15B1C9E2DE@yahoo.com> <18E62746-80DB-4195-977D-4FF32D0129EE@yahoo.com> <9562EEE4-62EF-4164-91C0-948CC0432984@yahoo.com> <9B68839B-AEC8-43EE-B3B6-B696A4A57DAE@yahoo.com> <359C9C7D-4106-42B5-AAB5-08EF995B8100@yahoo.com> <20200513105632.06db9e21@titan.knownspace> <20200611155545.55526f7c@ralga.knownspace> <5542B85D-1C3A-41D8-98CE-3C02E990C3EB@yahoo.com> <20200611164216.47f82775@ralga.knownspace> To: Justin Hibbits X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 49jhTJ1F5bz4dR2 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.12 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCPT_COUNT_SEVEN(0.00)[7]; NEURAL_HAM_SHORT(-0.61)[-0.614]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.01)[-1.014]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.994]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.206:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.206:from]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2020 00:30:29 -0000 On 2020-Jun-11, at 16:49, Mark Millard wrote: > On 2020-Jun-11, at 14:42, Justin Hibbits = wrote: >=20 > On Thu, 11 Jun 2020 14:36:37 -0700 > Mark Millard wrote: >=20 >> On 2020-Jun-11, at 13:55, Justin Hibbits >> wrote: >>=20 >>> On Wed, 10 Jun 2020 18:56:57 -0700 >>> Mark Millard wrote: > . . . >>=20 >>=20 >>> That said, the attached patch effectively copies >>> what's done in OEA6464 into OEA pmap. Can you test it? =20 >>=20 >> I'll try it once I get a chance, probably later >> today. >> . . . >=20 > No luck at the change being a fix, I'm afraid. >=20 > I verified that the build ended up with >=20 > 00926cb0 bl 008e8dc8 > 00926cb4 mr r27,r3 > 00926cb8 addi r3,r3,36 > 00926cbc hwsync > 00926cc0 lwarx r25,0,r3 > 00926cc4 li r4,0 > 00926cc8 stwcx. r4,0,r3 > 00926ccc bne- 00926cc0 > 00926cd0 andi. r3,r25,128 > 00926cd4 beq 00926ce0 > 00926cd8 mr r3,r27 > 00926cdc bl 008e9874 >=20 > in the installed kernel. So I doubt a > mis-build would be involved. It is a > head -r360311 based context still. World is > without MALLOC_PRODUCTION so that jemalloc > code executes its asserts, catching more > and earlier than otherwise. >=20 > First test . . . >=20 > The only thing that the witness kernel reported was: >=20 > Jun 11 15:58:16 FBSDG4S2 kernel: lock order reversal: > Jun 11 15:58:16 FBSDG4S2 kernel: 1st 0x216fb00 Mountpoints (UMA zone) = @ /usr/src/sys/vm/uma_core.c:4387 > Jun 11 15:58:16 FBSDG4S2 kernel: 2nd 0x1192d2c kernelpmap = (kernelpmap) @ /usr/src/sys/powerpc/aim/mmu_oea.c:1524 > Jun 11 15:58:16 FBSDG4S2 kernel: stack backtrace: > Jun 11 15:58:16 FBSDG4S2 kernel: #0 0x5ec164 at witness_debugger+0x94 > Jun 11 15:58:16 FBSDG4S2 kernel: #1 0x5ebe3c at = witness_checkorder+0xb50 > Jun 11 15:58:16 FBSDG4S2 kernel: #2 0x536d5c at __mtx_lock_flags+0xcc > Jun 11 15:58:16 FBSDG4S2 kernel: #3 0x92636c at moea_kextract+0x5c > Jun 11 15:58:16 FBSDG4S2 kernel: #4 0x965d30 at pmap_kextract+0x98 > Jun 11 15:58:16 FBSDG4S2 kernel: #5 0x8bfdbc at zone_release+0xf0 > Jun 11 15:58:16 FBSDG4S2 kernel: #6 0x8c7854 at bucket_drain+0x2f0 > Jun 11 15:58:16 FBSDG4S2 kernel: #7 0x8c728c at bucket_free+0x54 > Jun 11 15:58:16 FBSDG4S2 kernel: #8 0x8c74fc at = bucket_cache_reclaim+0x1bc > Jun 11 15:58:16 FBSDG4S2 kernel: #9 0x8c7004 at zone_reclaim+0x128 > Jun 11 15:58:16 FBSDG4S2 kernel: #10 0x8c3a40 at uma_reclaim+0x170 > Jun 11 15:58:16 FBSDG4S2 kernel: #11 0x8c3f70 at = uma_reclaim_worker+0x68 > Jun 11 15:58:16 FBSDG4S2 kernel: #12 0x50fbac at fork_exit+0xb0 > Jun 11 15:58:16 FBSDG4S2 kernel: #13 0x9684ac at fork_trampoline+0xc >=20 > The processes that were hit were listed as: >=20 > Jun 11 15:59:11 FBSDG4S2 kernel: pid 971 (cron), jid 0, uid 0: exited = on signal 11 (core dumped) > Jun 11 16:02:59 FBSDG4S2 kernel: pid 1111 (stress), jid 0, uid 0: = exited on signal 6 (core dumped) > Jun 11 16:03:27 FBSDG4S2 kernel: pid 871 (mountd), jid 0, uid 0: = exited on signal 6 (core dumped) > Jun 11 16:03:40 FBSDG4S2 kernel: pid 1065 (su), jid 0, uid 0: exited = on signal 6 > Jun 11 16:04:13 FBSDG4S2 kernel: pid 1088 (su), jid 0, uid 0: exited = on signal 6 > Jun 11 16:04:28 FBSDG4S2 kernel: pid 968 (sshd), jid 0, uid 0: exited = on signal 6 >=20 > Jun 11 16:05:42 FBSDG4S2 kernel: pid 1028 (login), jid 0, uid 0: = exited on signal 6 >=20 > Jun 11 16:05:46 FBSDG4S2 kernel: pid 873 (nfsd), jid 0, uid 0: exited = on signal 6 (core dumped) >=20 >=20 > Rebooting and rerunning and showing the stress output and such > (I did not capture copies during the first test, but the first > test had similar messages at the same sort of points): >=20 > Second test . . . >=20 > # stress -m 2 --vm-bytes 1700M > stress: info: [1166] dispatching hogs: 0 cpu, 0 io, 2 vm, 0 hdd > : = /usr/src/contrib/jemalloc/include/jemalloc/internal/arena_inlines_b.h:258:= Failed assertion: "slab =3D=3D extent_slab_get(extent)" > : = /usr/src/contrib/jemalloc/include/jemalloc/internal/arena_inlines_b.h:258:= Failed assertion: "slab =3D=3D extent_slab_get(extent)" > ^C >=20 > # exit > : = /usr/src/contrib/jemalloc/include/jemalloc/internal/sz.h:200: Failed = assertion: "ret =3D=3D sz_index2size_compute(index)" > Abort trap >=20 > The other stuff was similar to to first test, not repeated here. The updated code looks odd to me for how "m" is handled (part of a egrep to ensure I show all the usage of m): moea_protect(mmu_t mmu, pmap_t pm, vm_offset_t sva, vm_offset_t eva, vm_page_t m; if (pm !=3D kernel_pmap && m !=3D NULL && (m->a.flags & PGA_EXECUTABLE) =3D=3D 0 && if ((m->oflags & VPO_UNMANAGED) =3D=3D = 0) vm_page_aflag_set(m, = PGA_EXECUTABLE); m =3D PHYS_TO_VM_PAGE(old_pte.pte_lo & = PTE_RPGN); refchg =3D = atomic_readandclear_32(&m->md.mdpg_attrs); vm_page_dirty(m); vm_page_aflag_set(m, = PGA_REFERENCED); Or more completely, with notes mixed in: void=20 moea_protect(mmu_t mmu, pmap_t pm, vm_offset_t sva, vm_offset_t eva, vm_prot_t prot) { . . . vm_page_t m; . . . for (pvo =3D RB_NFIND(pvo_tree, &pm->pmap_pvo, &key); pvo !=3D NULL && PVO_VADDR(pvo) < eva; pvo =3D tpvo) { . . . if (pt !=3D NULL) { . . . if (pm !=3D kernel_pmap && m !=3D NULL && NOTE: m seems to be uninitialized but tested for being NULL above. (m->a.flags & PGA_EXECUTABLE) =3D=3D 0 && Note: This looks to potentially be using a random, non-NULL value for m during evaluation of m->a.flags . . . . if ((pvo->pvo_vaddr & PVO_MANAGED) && (pvo->pvo_pte.prot & VM_PROT_WRITE)) { m =3D PHYS_TO_VM_PAGE(old_pte.pte_lo & = PTE_RPGN); Note: m finally is potentially initialized(/set). refchg =3D = atomic_readandclear_32(&m->md.mdpg_attrs); if (refchg & PTE_CHG) vm_page_dirty(m); if (refchg & PTE_REF) vm_page_aflag_set(m, = PGA_REFERENCED); . . . Note: So, if m is set above, then the next loop iteration(s) would use this then-old value instead of an initialized value. It looks to me like at least one assignment to m is missing. moea64_pvo_protect has pg that seems analogous to m and has: pg =3D PHYS_TO_VM_PAGE(pvo->pvo_pte.pa & LPTE_RPGN); . . . if (pm !=3D kernel_pmap && pg !=3D NULL && (pg->a.flags & PGA_EXECUTABLE) =3D=3D 0 && (pvo->pvo_pte.pa & (LPTE_I | LPTE_G | LPTE_NOEXEC)) =3D=3D = 0) { if ((pg->oflags & VPO_UNMANAGED) =3D=3D 0) vm_page_aflag_set(pg, PGA_EXECUTABLE); . . . if (pg !=3D NULL && (pvo->pvo_vaddr & PVO_MANAGED) && (oldprot & VM_PROT_WRITE)) { refchg |=3D atomic_readandclear_32(&pg->md.mdpg_attrs); if (refchg & LPTE_CHG) vm_page_dirty(pg); if (refchg & LPTE_REF) vm_page_aflag_set(pg, PGA_REFERENCED); This might suggest some about what is missing. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Fri Jun 12 02:25:36 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EC62032A1E1; Fri, 12 Jun 2020 02:25:36 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-io1-xd43.google.com (mail-io1-xd43.google.com [IPv6:2607:f8b0:4864:20::d43]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49jl280mR7z3Vw6; Fri, 12 Jun 2020 02:25:35 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-io1-xd43.google.com with SMTP id r2so8713343ioo.4; Thu, 11 Jun 2020 19:25:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=NqRsFyli/EmHyKWWTtEHVl2EkHZ2InLe+Tuh08JVv20=; b=UAc04+/a/WE0qz8CjqspFyeoyonPvtB6JscXKU8xg1S6dGaeL2/gIZgu3AB2kiK4t2 k3G1JgOJK8rOtC+tNtoiBXRmjQ780PBGt1gYqxuyIJVbZ1mwiqXX7xmL7ogHvvzpgp+d ndgTm3kBlDCtHswtcWIiQ8/wf70q2KU9gq5+hMnDPad/Ogf1H6NZ6AG/NBxI4G56GaS6 EBJxrV9Jgx0ippbu8AKeHYRS2bSgEzYDaDs7Dib66xB4HigsmNiHViaWGoTaFF2LTDIU jYvsJHtTN3X2h+QQ/infV0xEuDiAZ3W7+hRUoA8m6QpWTD0G41qdrLWx9ZrL9ACiz66l VJbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NqRsFyli/EmHyKWWTtEHVl2EkHZ2InLe+Tuh08JVv20=; b=NPi+5Ho0N1kx5yumsdP9e2CAsJpqtHyhyXTawc/eOtZ2VAuhgLtCbfO1W7OpKDezc0 I91ZUrUyQYRaZBOxhLUs1lCCRZf37bJ3ymaGP/IFSHRo2IHvytFFj3bYQCEDwHEPzk85 hRpEpT5/d22shaCyTN0Yn0rxkMI/Ilkyl/M2ICM5F91YzfSnHBTNLgZL1iv+kT6CNJqu kKW83t0uqyUv6CnL8MaLwEFSX+hmn9kpjtP6anYxouR15YZvZgR0nmQaX8Xz0/2MGlMW 1Ma7snnhaCRl2Z8CNHoPcbRhb03gcf75q7+arJNDkDgx2I/hxPFoB9pmEbW1erqmnPip d4ng== X-Gm-Message-State: AOAM533PghpVNqDO46Naz+/ylCPa3MOUET9y69nvwp5zxKh6zoXbD/+1 gY8bPYrCcD/JbC+3C/DCrN8= X-Google-Smtp-Source: ABdhPJyIdbT++t1G2DOKg8+XsiLgA1xmUy7M4yUQz3SthqO7rERv/fSULjiDtHhgXODBYjJSZ2nTIg== X-Received: by 2002:a6b:8dd0:: with SMTP id p199mr11176492iod.7.1591928735054; Thu, 11 Jun 2020 19:25:35 -0700 (PDT) Received: from ralga.knownspace (173-19-125-130.client.mchsi.com. [173.19.125.130]) by smtp.gmail.com with ESMTPSA id r18sm2443337ilt.43.2020.06.11.19.25.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 19:25:34 -0700 (PDT) Date: Thu, 11 Jun 2020 21:25:32 -0500 From: Justin Hibbits To: Mark Millard Cc: "vangyzen@freebsd.org" , svn-src-head@freebsd.org, FreeBSD Current , FreeBSD Hackers , FreeBSD PowerPC ML , Brandon Bergren Subject: Re: svn commit: r360233 - in head: contrib/jemalloc . . . : This partially breaks a 2-socket 32-bit powerpc (old PowerMac G4) based on head -r360311 Message-ID: <20200611212532.59f677be@ralga.knownspace> In-Reply-To: References: <695E6836-F860-4557-B7DE-CC1EDB347F18@yahoo.com> <121B9B09-141B-4DC3-918B-1E7CFB99E779@yahoo.com> <8AAB0462-3FA8-490C-8D8D-7C15B1C9E2DE@yahoo.com> <18E62746-80DB-4195-977D-4FF32D0129EE@yahoo.com> <9562EEE4-62EF-4164-91C0-948CC0432984@yahoo.com> <9B68839B-AEC8-43EE-B3B6-B696A4A57DAE@yahoo.com> <359C9C7D-4106-42B5-AAB5-08EF995B8100@yahoo.com> <20200513105632.06db9e21@titan.knownspace> <20200611155545.55526f7c@ralga.knownspace> <5542B85D-1C3A-41D8-98CE-3C02E990C3EB@yahoo.com> <20200611164216.47f82775@ralga.knownspace> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; powerpc64-portbld-freebsd13.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49jl280mR7z3Vw6 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=UAc04+/a; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of chmeeedalf@gmail.com designates 2607:f8b0:4864:20::d43 as permitted sender) smtp.mailfrom=chmeeedalf@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCPT_COUNT_SEVEN(0.00)[7]; NEURAL_HAM_SHORT(-1.01)[-1.010]; FREEMAIL_TO(0.00)[yahoo.com]; RECEIVED_SPAMHAUS_PBL(0.00)[173.19.125.130:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.978]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.01)[-1.008]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d43:from]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2020 02:25:37 -0000 On Thu, 11 Jun 2020 17:30:24 -0700 Mark Millard wrote: > On 2020-Jun-11, at 16:49, Mark Millard wrote: > > > On 2020-Jun-11, at 14:42, Justin Hibbits > > wrote: > > > > On Thu, 11 Jun 2020 14:36:37 -0700 > > Mark Millard wrote: > > > >> On 2020-Jun-11, at 13:55, Justin Hibbits > >> wrote: > >> > >>> On Wed, 10 Jun 2020 18:56:57 -0700 > >>> Mark Millard wrote: > > . . . > >> > >> > >>> That said, the attached patch effectively copies > >>> what's done in OEA6464 into OEA pmap. Can you test it? > >> > >> I'll try it once I get a chance, probably later > >> today. > >> . . . > > > > No luck at the change being a fix, I'm afraid. > > > > I verified that the build ended up with > > > > 00926cb0 bl 008e8dc8 > > 00926cb4 mr r27,r3 > > 00926cb8 addi r3,r3,36 > > 00926cbc hwsync > > 00926cc0 lwarx r25,0,r3 > > 00926cc4 li r4,0 > > 00926cc8 stwcx. r4,0,r3 > > 00926ccc bne- 00926cc0 > > 00926cd0 andi. r3,r25,128 > > 00926cd4 beq 00926ce0 > > 00926cd8 mr r3,r27 > > 00926cdc bl 008e9874 > > > > in the installed kernel. So I doubt a > > mis-build would be involved. It is a > > head -r360311 based context still. World is > > without MALLOC_PRODUCTION so that jemalloc > > code executes its asserts, catching more > > and earlier than otherwise. > > > > First test . . . > > > > The only thing that the witness kernel reported was: > > > > Jun 11 15:58:16 FBSDG4S2 kernel: lock order reversal: > > Jun 11 15:58:16 FBSDG4S2 kernel: 1st 0x216fb00 Mountpoints (UMA > > zone) @ /usr/src/sys/vm/uma_core.c:4387 Jun 11 15:58:16 FBSDG4S2 > > kernel: 2nd 0x1192d2c kernelpmap (kernelpmap) @ > > /usr/src/sys/powerpc/aim/mmu_oea.c:1524 Jun 11 15:58:16 FBSDG4S2 > > kernel: stack backtrace: Jun 11 15:58:16 FBSDG4S2 kernel: #0 > > 0x5ec164 at witness_debugger+0x94 Jun 11 15:58:16 FBSDG4S2 kernel: > > #1 0x5ebe3c at witness_checkorder+0xb50 Jun 11 15:58:16 FBSDG4S2 > > kernel: #2 0x536d5c at __mtx_lock_flags+0xcc Jun 11 15:58:16 > > FBSDG4S2 kernel: #3 0x92636c at moea_kextract+0x5c Jun 11 15:58:16 > > FBSDG4S2 kernel: #4 0x965d30 at pmap_kextract+0x98 Jun 11 15:58:16 > > FBSDG4S2 kernel: #5 0x8bfdbc at zone_release+0xf0 Jun 11 15:58:16 > > FBSDG4S2 kernel: #6 0x8c7854 at bucket_drain+0x2f0 Jun 11 15:58:16 > > FBSDG4S2 kernel: #7 0x8c728c at bucket_free+0x54 Jun 11 15:58:16 > > FBSDG4S2 kernel: #8 0x8c74fc at bucket_cache_reclaim+0x1bc Jun 11 > > 15:58:16 FBSDG4S2 kernel: #9 0x8c7004 at zone_reclaim+0x128 Jun 11 > > 15:58:16 FBSDG4S2 kernel: #10 0x8c3a40 at uma_reclaim+0x170 Jun 11 > > 15:58:16 FBSDG4S2 kernel: #11 0x8c3f70 at uma_reclaim_worker+0x68 > > Jun 11 15:58:16 FBSDG4S2 kernel: #12 0x50fbac at fork_exit+0xb0 Jun > > 11 15:58:16 FBSDG4S2 kernel: #13 0x9684ac at fork_trampoline+0xc > > > > The processes that were hit were listed as: > > > > Jun 11 15:59:11 FBSDG4S2 kernel: pid 971 (cron), jid 0, uid 0: > > exited on signal 11 (core dumped) Jun 11 16:02:59 FBSDG4S2 kernel: > > pid 1111 (stress), jid 0, uid 0: exited on signal 6 (core dumped) > > Jun 11 16:03:27 FBSDG4S2 kernel: pid 871 (mountd), jid 0, uid 0: > > exited on signal 6 (core dumped) Jun 11 16:03:40 FBSDG4S2 kernel: > > pid 1065 (su), jid 0, uid 0: exited on signal 6 Jun 11 16:04:13 > > FBSDG4S2 kernel: pid 1088 (su), jid 0, uid 0: exited on signal 6 > > Jun 11 16:04:28 FBSDG4S2 kernel: pid 968 (sshd), jid 0, uid 0: > > exited on signal 6 > > > > Jun 11 16:05:42 FBSDG4S2 kernel: pid 1028 (login), jid 0, uid 0: > > exited on signal 6 > > > > Jun 11 16:05:46 FBSDG4S2 kernel: pid 873 (nfsd), jid 0, uid 0: > > exited on signal 6 (core dumped) > > > > > > Rebooting and rerunning and showing the stress output and such > > (I did not capture copies during the first test, but the first > > test had similar messages at the same sort of points): > > > > Second test . . . > > > > # stress -m 2 --vm-bytes 1700M > > stress: info: [1166] dispatching hogs: 0 cpu, 0 io, 2 vm, 0 hdd > > : > > /usr/src/contrib/jemalloc/include/jemalloc/internal/arena_inlines_b.h:258: > > Failed assertion: "slab == extent_slab_get(extent)" : > > /usr/src/contrib/jemalloc/include/jemalloc/internal/arena_inlines_b.h:258: > > Failed assertion: "slab == extent_slab_get(extent)" ^C > > > > # exit > > : > > /usr/src/contrib/jemalloc/include/jemalloc/internal/sz.h:200: > > Failed assertion: "ret == sz_index2size_compute(index)" Abort trap > > > > The other stuff was similar to to first test, not repeated here. > > The updated code looks odd to me for how "m" is > handled (part of a egrep to ensure I show all the > usage of m): > > moea_protect(mmu_t mmu, pmap_t pm, vm_offset_t sva, vm_offset_t eva, > vm_page_t m; > if (pm != kernel_pmap && m != NULL && > (m->a.flags & PGA_EXECUTABLE) == 0 && > if ((m->oflags & VPO_UNMANAGED) == 0) > vm_page_aflag_set(m, > PGA_EXECUTABLE); m = PHYS_TO_VM_PAGE(old_pte.pte_lo & PTE_RPGN); > refchg = > atomic_readandclear_32(&m->md.mdpg_attrs); vm_page_dirty(m); > vm_page_aflag_set(m, > PGA_REFERENCED); > > Or more completely, with notes mixed in: > > void > moea_protect(mmu_t mmu, pmap_t pm, vm_offset_t sva, vm_offset_t eva, > vm_prot_t prot) > { > . . . > vm_page_t m; > . . . > for (pvo = RB_NFIND(pvo_tree, &pm->pmap_pvo, &key); > pvo != NULL && PVO_VADDR(pvo) < eva; pvo = tpvo) { > . . . > if (pt != NULL) { > . . . > if (pm != kernel_pmap && m != NULL && > > NOTE: m seems to be uninitialized but tested for being NULL > above. > > (m->a.flags & PGA_EXECUTABLE) == 0 && > > Note: This looks to potentially be using a random, non-NULL > value for m during evaluation of m->a.flags . > > . . . > > if ((pvo->pvo_vaddr & PVO_MANAGED) && > (pvo->pvo_pte.prot & VM_PROT_WRITE)) { > m = PHYS_TO_VM_PAGE(old_pte.pte_lo & > PTE_RPGN); > > Note: m finally is potentially initialized(/set). > > refchg = > atomic_readandclear_32(&m->md.mdpg_attrs); if (refchg & PTE_CHG) > vm_page_dirty(m); > if (refchg & PTE_REF) > vm_page_aflag_set(m, > PGA_REFERENCED); . . . > > Note: So, if m is set above, then the next loop > iteration(s) would use this then-old value > instead of an initialized value. > > It looks to me like at least one assignment > to m is missing. > > moea64_pvo_protect has pg that seems analogous to > m and has: > > pg = PHYS_TO_VM_PAGE(pvo->pvo_pte.pa & LPTE_RPGN); > . . . > if (pm != kernel_pmap && pg != NULL && > (pg->a.flags & PGA_EXECUTABLE) == 0 && > (pvo->pvo_pte.pa & (LPTE_I | LPTE_G | LPTE_NOEXEC)) == 0) > { if ((pg->oflags & VPO_UNMANAGED) == 0) > vm_page_aflag_set(pg, PGA_EXECUTABLE); > > . . . > if (pg != NULL && (pvo->pvo_vaddr & PVO_MANAGED) && > (oldprot & VM_PROT_WRITE)) { > refchg |= atomic_readandclear_32(&pg->md.mdpg_attrs); > if (refchg & LPTE_CHG) > vm_page_dirty(pg); > if (refchg & LPTE_REF) > vm_page_aflag_set(pg, PGA_REFERENCED); > > > This might suggest some about what is missing. Can you try moving the assignment to 'm' to right below the moea_pte_change() call? - Justin > > > === > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) > From owner-freebsd-ppc@freebsd.org Fri Jun 12 03:29:33 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EE5E432B90A for ; Fri, 12 Jun 2020 03:29:33 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic313-10.consmr.mail.ne1.yahoo.com (sonic313-10.consmr.mail.ne1.yahoo.com [66.163.185.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49jmRw3711z3YnK for ; Fri, 12 Jun 2020 03:29:32 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: f8ur2nAVM1m_2H7cyU1MzUgF3KAIM1WV9RIwy495A7JUs_f2kG86V7QDw.UGX2u Zs2FYpQfMWE2vLt4BLOwdnusUnk1P3HGLPB1fD2Ujatby5P115DdBvJyZm79CAKKkOfzEGNRz3MF 15S8lAO7EvAoxUieBTPufwYXRInFQxS9Vnd3FiQKESMJDvQFbiF6qFF6QFMDdBNpKv8gz9kR8GY_ TDsNzcdDzUrS9ivQiOXqeTqYMCDKso._fKfjjystBqtTtIPRnDQZUQhfwbtpi5Q1nktybJW12z_k Uk4A1ntCuGpTbNxBtyrl.ewbvPq92LCyCjFpLolXc3kUU5Uo81957z0yzIZ1yr39RqHzpyqWaxHM bPEu9WrZ8QYtZ3LlO7tbfsd_.PAROwY0WfoNfDkKo24TKRz58cbim6XQUTXJNCd9OImNy2cnM9DU krqWisdtMs.3jA5_cWTJ_hDOAgkxJd4CYK2t1V1zR546k1b6cw5hkwynBDDzEb0M5FWkKEgYslMH SVgBYOFxTq5c6NWB1XaPkNu414gZo87EEuU_3.uLD98X4eUgVeuVWW0J1Axat1LnQwlDi.K0Dr0W mAecKZWRGpnbkXEGbrWH343XNkH4TSGBqPiv8m6jSaJtGcs.TNo_Lc5Dfl4xXwU7xk8sjIW7.iRd tmMtpEQY9P2rfznZuGl3YMmifMuw3Jom7vmKO8e8d9s1Ay0g.YCROAoJmMZjBJTs9MCN92OHc8PS 5zlhJrVfduYb3zJ2LTJemaHyXznsUnS.zH_6P8jzIvEJ3U5rukPWtU.AU5AfHyYiGbnpC4q7wnih J.ce.HqC0tWufUnhjGcGyfUgkB25g5pLnx0iOY4wNXC9XnwJnWixy1vD5BArhrDmnlevUB0BBSyv 1a83C.XbKMsBjOZkQEJX2mvWSRC_H4qwqKhzsjnYv2KF9CKLk4yvuciZxaaIagEC7hEaTtNGFlzz FxinOZ9nU2uHJe_PvpvIg._DzMtPTrIvBZ2yrNmFBAEPuKZu6xpfKnX0xiq86H4GOJYihdl7Ixqp 6jed_F1jwsH3231kw_u.RvmDxlYz2g1oN4wSgyhWuTFYN1tJ29fycE9VS1aj8onIbSlnmqljT_M. ieT3MUq52XmsnQldGItsXadv8utSiQ.lqzwMA1GryAHhB3FiMH8hypIvPtXMMMIDTrAcJBioP5y. q0WjPfK2xKYcCyXmx1Bpm_tjUFl2jQ42X8TXCfCzEpFcZNB4lb7kzrs0mBS1aLGQs_4Usr6O6wqz DoLpuLSxAa1WjWmkZiaVRczypLuWlQ2CsHRQGTwkhcsT01wVIiqmvXHxQ05x8WfZm5xFo9brLmO4 gRaFKuE41nPFHcBo72g.UjmtpqzTQT8Zu7I9hiN.WQ2hWnZQH49fZXW9VKtzTyFvLqERbL1W8yLT Qb9LZGZS_tcAg0LDUC1cb Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ne1.yahoo.com with HTTP; Fri, 12 Jun 2020 03:29:30 +0000 Received: by smtp424.mail.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 7e9a213763a55615b6663cd901b748e3; Fri, 12 Jun 2020 03:29:29 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: svn commit: r360233 - in head: contrib/jemalloc . . . : This partially breaks a 2-socket 32-bit powerpc (old PowerMac G4) based on head -r360311 From: Mark Millard In-Reply-To: <20200611212532.59f677be@ralga.knownspace> Date: Thu, 11 Jun 2020 20:29:27 -0700 Cc: "vangyzen@freebsd.org" , svn-src-head@freebsd.org, FreeBSD Current , FreeBSD Hackers , FreeBSD PowerPC ML , Brandon Bergren Content-Transfer-Encoding: quoted-printable Message-Id: <1EDCA498-0B67-4374-B7CA-1ECDA8EE32AD@yahoo.com> References: <695E6836-F860-4557-B7DE-CC1EDB347F18@yahoo.com> <121B9B09-141B-4DC3-918B-1E7CFB99E779@yahoo.com> <8AAB0462-3FA8-490C-8D8D-7C15B1C9E2DE@yahoo.com> <18E62746-80DB-4195-977D-4FF32D0129EE@yahoo.com> <9562EEE4-62EF-4164-91C0-948CC0432984@yahoo.com> <9B68839B-AEC8-43EE-B3B6-B696A4A57DAE@yahoo.com> <359C9C7D-4106-42B5-AAB5-08EF995B8100@yahoo.com> <20200513105632.06db9e21@titan.knownspace> <20200611155545.55526f7c@ralga.knownspace> <5542B85D-1C3A-41D8-98CE-3C02E990C3EB@yahoo.com> <20200611164216.47f82775@ralga.knownspace> <20200611212532.59f677be@ralga.knownspace> To: Justin Hibbits X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 49jmRw3711z3YnK X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.33 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCPT_COUNT_SEVEN(0.00)[7]; NEURAL_HAM_SHORT(-0.82)[-0.819]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.01)[-1.013]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.992]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[66.163.185.33:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.163.185.33:from]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2020 03:29:34 -0000 On 2020-Jun-11, at 19:25, Justin Hibbits = wrote: > On Thu, 11 Jun 2020 17:30:24 -0700 > Mark Millard wrote: >=20 >> On 2020-Jun-11, at 16:49, Mark Millard wrote: >>=20 >>> On 2020-Jun-11, at 14:42, Justin Hibbits >>> wrote: >>>=20 >>> On Thu, 11 Jun 2020 14:36:37 -0700 >>> Mark Millard wrote: >>>=20 >>>> On 2020-Jun-11, at 13:55, Justin Hibbits >>>> wrote: >>>>=20 >>>>> On Wed, 10 Jun 2020 18:56:57 -0700 >>>>> Mark Millard wrote: =20 >>> . . . =20 >>>>=20 >>>>=20 >>>>> That said, the attached patch effectively copies >>>>> what's done in OEA6464 into OEA pmap. Can you test it? =20 >>>>=20 >>>> I'll try it once I get a chance, probably later >>>> today. >>>> . . . =20 >>>=20 >>> No luck at the change being a fix, I'm afraid. >>>=20 >>> I verified that the build ended up with >>>=20 >>> 00926cb0 bl 008e8dc8 >>> 00926cb4 mr r27,r3 >>> 00926cb8 addi r3,r3,36 >>> 00926cbc hwsync >>> 00926cc0 lwarx r25,0,r3 >>> 00926cc4 li r4,0 >>> 00926cc8 stwcx. r4,0,r3 >>> 00926ccc bne- 00926cc0 >>> 00926cd0 andi. r3,r25,128 >>> 00926cd4 beq 00926ce0 >>> 00926cd8 mr r3,r27 >>> 00926cdc bl 008e9874 >>>=20 >>> in the installed kernel. So I doubt a >>> mis-build would be involved. It is a >>> head -r360311 based context still. World is >>> without MALLOC_PRODUCTION so that jemalloc >>> code executes its asserts, catching more >>> and earlier than otherwise. >>>=20 >>> First test . . . >>>=20 >>> The only thing that the witness kernel reported was: >>>=20 >>> Jun 11 15:58:16 FBSDG4S2 kernel: lock order reversal: >>> Jun 11 15:58:16 FBSDG4S2 kernel: 1st 0x216fb00 Mountpoints (UMA >>> zone) @ /usr/src/sys/vm/uma_core.c:4387 Jun 11 15:58:16 FBSDG4S2 >>> kernel: 2nd 0x1192d2c kernelpmap (kernelpmap) @ >>> /usr/src/sys/powerpc/aim/mmu_oea.c:1524 Jun 11 15:58:16 FBSDG4S2 >>> kernel: stack backtrace: Jun 11 15:58:16 FBSDG4S2 kernel: #0 >>> 0x5ec164 at witness_debugger+0x94 Jun 11 15:58:16 FBSDG4S2 kernel: >>> #1 0x5ebe3c at witness_checkorder+0xb50 Jun 11 15:58:16 FBSDG4S2 >>> kernel: #2 0x536d5c at __mtx_lock_flags+0xcc Jun 11 15:58:16 >>> FBSDG4S2 kernel: #3 0x92636c at moea_kextract+0x5c Jun 11 15:58:16 >>> FBSDG4S2 kernel: #4 0x965d30 at pmap_kextract+0x98 Jun 11 15:58:16 >>> FBSDG4S2 kernel: #5 0x8bfdbc at zone_release+0xf0 Jun 11 15:58:16 >>> FBSDG4S2 kernel: #6 0x8c7854 at bucket_drain+0x2f0 Jun 11 15:58:16 >>> FBSDG4S2 kernel: #7 0x8c728c at bucket_free+0x54 Jun 11 15:58:16 >>> FBSDG4S2 kernel: #8 0x8c74fc at bucket_cache_reclaim+0x1bc Jun 11 >>> 15:58:16 FBSDG4S2 kernel: #9 0x8c7004 at zone_reclaim+0x128 Jun 11 >>> 15:58:16 FBSDG4S2 kernel: #10 0x8c3a40 at uma_reclaim+0x170 Jun 11 >>> 15:58:16 FBSDG4S2 kernel: #11 0x8c3f70 at uma_reclaim_worker+0x68 >>> Jun 11 15:58:16 FBSDG4S2 kernel: #12 0x50fbac at fork_exit+0xb0 Jun >>> 11 15:58:16 FBSDG4S2 kernel: #13 0x9684ac at fork_trampoline+0xc >>>=20 >>> The processes that were hit were listed as: >>>=20 >>> Jun 11 15:59:11 FBSDG4S2 kernel: pid 971 (cron), jid 0, uid 0: >>> exited on signal 11 (core dumped) Jun 11 16:02:59 FBSDG4S2 kernel: >>> pid 1111 (stress), jid 0, uid 0: exited on signal 6 (core dumped) >>> Jun 11 16:03:27 FBSDG4S2 kernel: pid 871 (mountd), jid 0, uid 0: >>> exited on signal 6 (core dumped) Jun 11 16:03:40 FBSDG4S2 kernel: >>> pid 1065 (su), jid 0, uid 0: exited on signal 6 Jun 11 16:04:13 >>> FBSDG4S2 kernel: pid 1088 (su), jid 0, uid 0: exited on signal 6 >>> Jun 11 16:04:28 FBSDG4S2 kernel: pid 968 (sshd), jid 0, uid 0: >>> exited on signal 6 >>>=20 >>> Jun 11 16:05:42 FBSDG4S2 kernel: pid 1028 (login), jid 0, uid 0: >>> exited on signal 6 >>>=20 >>> Jun 11 16:05:46 FBSDG4S2 kernel: pid 873 (nfsd), jid 0, uid 0: >>> exited on signal 6 (core dumped) >>>=20 >>>=20 >>> Rebooting and rerunning and showing the stress output and such >>> (I did not capture copies during the first test, but the first >>> test had similar messages at the same sort of points): >>>=20 >>> Second test . . . >>>=20 >>> # stress -m 2 --vm-bytes 1700M >>> stress: info: [1166] dispatching hogs: 0 cpu, 0 io, 2 vm, 0 hdd >>> : >>> = /usr/src/contrib/jemalloc/include/jemalloc/internal/arena_inlines_b.h:258:= >>> Failed assertion: "slab =3D=3D extent_slab_get(extent)" : >>> = /usr/src/contrib/jemalloc/include/jemalloc/internal/arena_inlines_b.h:258:= >>> Failed assertion: "slab =3D=3D extent_slab_get(extent)" ^C >>>=20 >>> # exit >>> : >>> /usr/src/contrib/jemalloc/include/jemalloc/internal/sz.h:200: >>> Failed assertion: "ret =3D=3D sz_index2size_compute(index)" Abort = trap >>>=20 >>> The other stuff was similar to to first test, not repeated here. =20 >>=20 >> The updated code looks odd to me for how "m" is >> handled (part of a egrep to ensure I show all the >> usage of m): >>=20 >> moea_protect(mmu_t mmu, pmap_t pm, vm_offset_t sva, vm_offset_t eva, >> vm_page_t m; >> if (pm !=3D kernel_pmap && m !=3D NULL && >> (m->a.flags & PGA_EXECUTABLE) =3D=3D 0 && >> if ((m->oflags & VPO_UNMANAGED) =3D=3D = 0) >> vm_page_aflag_set(m, >> PGA_EXECUTABLE); m =3D PHYS_TO_VM_PAGE(old_pte.pte_lo & PTE_RPGN); >> refchg =3D >> atomic_readandclear_32(&m->md.mdpg_attrs); vm_page_dirty(m); >> vm_page_aflag_set(m, >> PGA_REFERENCED); >>=20 >> Or more completely, with notes mixed in: >>=20 >> void=20 >> moea_protect(mmu_t mmu, pmap_t pm, vm_offset_t sva, vm_offset_t eva, >> vm_prot_t prot) >> { >> . . . >> vm_page_t m; >> . . . >> for (pvo =3D RB_NFIND(pvo_tree, &pm->pmap_pvo, &key); >> pvo !=3D NULL && PVO_VADDR(pvo) < eva; pvo =3D tpvo) { >> . . . >> if (pt !=3D NULL) { >> . . . >> if (pm !=3D kernel_pmap && m !=3D NULL && >>=20 >> NOTE: m seems to be uninitialized but tested for being NULL >> above. >>=20 >> (m->a.flags & PGA_EXECUTABLE) =3D=3D 0 && >>=20 >> Note: This looks to potentially be using a random, non-NULL >> value for m during evaluation of m->a.flags . >>=20 >> . . . >>=20 >> if ((pvo->pvo_vaddr & PVO_MANAGED) && >> (pvo->pvo_pte.prot & VM_PROT_WRITE)) { >> m =3D PHYS_TO_VM_PAGE(old_pte.pte_lo & >> PTE_RPGN); >>=20 >> Note: m finally is potentially initialized(/set). >>=20 >> refchg =3D >> atomic_readandclear_32(&m->md.mdpg_attrs); if (refchg & PTE_CHG) >> vm_page_dirty(m); >> if (refchg & PTE_REF) >> vm_page_aflag_set(m, >> PGA_REFERENCED); . . . >>=20 >> Note: So, if m is set above, then the next loop >> iteration(s) would use this then-old value >> instead of an initialized value. >>=20 >> It looks to me like at least one assignment >> to m is missing. >>=20 >> moea64_pvo_protect has pg that seems analogous to >> m and has: >>=20 >> pg =3D PHYS_TO_VM_PAGE(pvo->pvo_pte.pa & LPTE_RPGN); >> . . . >> if (pm !=3D kernel_pmap && pg !=3D NULL && >> (pg->a.flags & PGA_EXECUTABLE) =3D=3D 0 && >> (pvo->pvo_pte.pa & (LPTE_I | LPTE_G | LPTE_NOEXEC)) =3D=3D = 0) >> { if ((pg->oflags & VPO_UNMANAGED) =3D=3D 0) >> vm_page_aflag_set(pg, PGA_EXECUTABLE); >>=20 >> . . . >> if (pg !=3D NULL && (pvo->pvo_vaddr & PVO_MANAGED) && >> (oldprot & VM_PROT_WRITE)) { >> refchg |=3D = atomic_readandclear_32(&pg->md.mdpg_attrs); >> if (refchg & LPTE_CHG) >> vm_page_dirty(pg); >> if (refchg & LPTE_REF) >> vm_page_aflag_set(pg, PGA_REFERENCED); >>=20 >>=20 >> This might suggest some about what is missing. >=20 > Can you try moving the assignment to 'm' to right below the > moea_pte_change() call? Panics during boot. svnlite diff shown later. That change got me a panic just after the lines about ada0 and cd0 details. (Unknown what internal stage.) Hand translated from a picture of the screen: panic: vm_page_free_prep: mapping flags set in page 0xd032a078 . . . panic vm_page_free_prep vm_page_free_toq vm_page_free vm_object_collapse vm_object_deallocate vm_map_process_deferred vm_map_remove exec_new_vmspace exec_elf32_imgact kern_execve sys_execve trap powerpc_interrupt user SC trap by 0x100d7af8 . . . # svnlite diff /usr/src/sys/powerpc/aim/mmu_oea.c Index: /usr/src/sys/powerpc/aim/mmu_oea.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- /usr/src/sys/powerpc/aim/mmu_oea.c (revision 360322) +++ /usr/src/sys/powerpc/aim/mmu_oea.c (working copy) @@ -1773,6 +1773,9 @@ { struct pvo_entry *pvo, *tpvo, key; struct pte *pt; + struct pte old_pte; + vm_page_t m; + int32_t refchg; =20 KASSERT(pm =3D=3D &curproc->p_vmspace->vm_pmap || pm =3D=3D = kernel_pmap, ("moea_protect: non current pmap")); @@ -1800,12 +1803,31 @@ pvo->pvo_pte.pte.pte_lo &=3D ~PTE_PP; pvo->pvo_pte.pte.pte_lo |=3D PTE_BR; =20 + old_pte =3D *pt; + /* * If the PVO is in the page table, update that pte as = well. */ if (pt !=3D NULL) { moea_pte_change(pt, &pvo->pvo_pte.pte, = pvo->pvo_vaddr); + m =3D PHYS_TO_VM_PAGE(old_pte.pte_lo & = PTE_RPGN); + if (pm !=3D kernel_pmap && m !=3D NULL && + (m->a.flags & PGA_EXECUTABLE) =3D=3D 0 && + (pvo->pvo_pte.pa & (PTE_I | PTE_G)) =3D=3D = 0) { + if ((m->oflags & VPO_UNMANAGED) =3D=3D = 0) + vm_page_aflag_set(m, = PGA_EXECUTABLE); + moea_syncicache(pvo->pvo_pte.pa & = PTE_RPGN, + PAGE_SIZE); + } mtx_unlock(&moea_table_mutex); + if ((pvo->pvo_vaddr & PVO_MANAGED) && + (pvo->pvo_pte.prot & VM_PROT_WRITE)) { + refchg =3D = atomic_readandclear_32(&m->md.mdpg_attrs); + if (refchg & PTE_CHG) + vm_page_dirty(m); + if (refchg & PTE_REF) + vm_page_aflag_set(m, = PGA_REFERENCED); + } } } rw_wunlock(&pvh_global_lock); =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Fri Jun 12 03:47:15 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6D1B332BE7B for ; Fri, 12 Jun 2020 03:47:15 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic302-20.consmr.mail.ne1.yahoo.com (sonic302-20.consmr.mail.ne1.yahoo.com [66.163.186.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49jmrL0Q7Fz3b15 for ; Fri, 12 Jun 2020 03:47:13 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: VMi9fyQVM1mE6ZiSNMccaR6.dVkr_bGJqiszfpVppTjGBCw4T7ZMPM80goz6P08 aBe_MWPh33ykPTsF4vzvbVtsGD_esUF2BTDWlQbu3fbUGoLW24hT9PTecARP68wsQHPFqA.atDAa C0VhWX3Ygh2DjaYa_b_lVyMnHw3nRHP3YWra81EKp6l6tz4MxW.vkN_uqdlVZPYMAHqAukViyMKT odzhD6lX32m9nK2zNgzDBZ0jjmvpMjKkbunW24fLlF5HYA5U3T0EfSu89I08wGMjruwE_xwUsL8Z LdRAS5627Y2_LI4ac6e4E2RDW8MEFRA24Cm6oVLE3UPOl36MkzgCmrYL2MYBBuyYK_FtqBQM9PGl zEVo7fJUxa2FCneRVCvn4oRE4R3_iatkFW5zDH2_z4BMmrd5y.Tea.WqdIby.8zkAtkBg.3jGor7 OGpzHo4rcRau1kacAA1KaC9J73UUym96m9FP3lCtKWcPyFPcvrOfkEoRZcJ.EP0GFPBuaREJEWCA bKDGn8BFg426VNayqWCkxBJ1faO3vARuxIZmgkvTJ3M_20d5DdSW__dIslwYb7et2OoIcghymzvZ GpoS3Yf_au9qrQNqYFrQOqGa9e59_3RIYT4sczohV4VNL3FiiV193u9xqoNMdVr5CtjiMBsrVk7v JsSGNgeaMzmMB5rbHMCxZOEukhyNLuGkXPzQ8XqrNXH_ca7ynJYOJpD7tXCXwWXeoJ7YG1eRKqYu 1BCSEOKE6w5BJyO3EhiGzQ0Cd9ji6vLOdywBXMJZgT3IQYKarV.0gb_wmbwH8f2bzD505lk5MWwJ hVz81QnBKU01P7CjwPLg8NCXmXkWuxly4XQso1ZuCdex0B1ztiVHrPs4__ddhBV.KV98qm1vEoA1 0yNLHgQegAS2ROstl9na1IQy8dOJ8hLCQYLbKVADF2vvc5yYURZKm3ECmSuLAr64BlwWM16Mx9Kt 5zfb29WLzTjRfHJlaq2qEQF3blgKe_gloF3v5uBTPaQwwi6k28wCIQ6a0yo8xjHvocgFVPHfk7_C hdN6HfLRwJUVBcS8rBhWQYwl_gtC0oTZz8tQBeVp.QO6rfLEbKzc9AT7Rd1UM12aQ110eHQPNv.3 _KwJaTfSWnRGm6wJSVdiBolXzBeR0QOVKc.Vdc_WOxfbxiPjQH.AnAsfEhkWbV2s_jHvg1uq_G2O RzIbePz.Vi6UAMWSjtMbtdNTuz_kBsucTTEXG6pDzKG1Frr8k157uX8cZd6XvANXgrbJ0H5Z45.3 J6zfS2MjXHPxNiP1347osKzhrLE7TsKaGzXn1ocHm4saJ3RqLNMudq_2rXpvnPxs_G49xvBdAgkV It8rkio8l6PyS88bHlIZ3_KGqYm2KLUKrr3FFGeKcFFAAyy84e2CokJck3xmhj5wJDRZf6csW0gr Yg_GbUJ0GBz19BRDMmU2nSuC6ajc5hJ716NWsVEhXOZON67b5755Kx_CnQcdvY7Lf Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ne1.yahoo.com with HTTP; Fri, 12 Jun 2020 03:47:12 +0000 Received: by smtp402.mail.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID e174646f2964b434d05b418bca707b84; Fri, 12 Jun 2020 03:47:08 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: svn commit: r360233 - in head: contrib/jemalloc . . . : This partially breaks a 2-socket 32-bit powerpc (old PowerMac G4) based on head -r360311 From: Mark Millard In-Reply-To: <1EDCA498-0B67-4374-B7CA-1ECDA8EE32AD@yahoo.com> Date: Thu, 11 Jun 2020 20:47:06 -0700 Cc: "vangyzen@freebsd.org" , svn-src-head@freebsd.org, FreeBSD Current , FreeBSD Hackers , FreeBSD PowerPC ML , Brandon Bergren Content-Transfer-Encoding: quoted-printable Message-Id: <3605089E-7B5D-4FBA-B0D1-14B789BDF09B@yahoo.com> References: <695E6836-F860-4557-B7DE-CC1EDB347F18@yahoo.com> <121B9B09-141B-4DC3-918B-1E7CFB99E779@yahoo.com> <8AAB0462-3FA8-490C-8D8D-7C15B1C9E2DE@yahoo.com> <18E62746-80DB-4195-977D-4FF32D0129EE@yahoo.com> <9562EEE4-62EF-4164-91C0-948CC0432984@yahoo.com> <9B68839B-AEC8-43EE-B3B6-B696A4A57DAE@yahoo.com> <359C9C7D-4106-42B5-AAB5-08EF995B8100@yahoo.com> <20200513105632.06db9e21@titan.knownspace> <20200611155545.55526f7c@ralga.knownspace> <5542B85D-1C3A-41D8-98CE-3C02E990C3EB@yahoo.com> <20200611164216.47f82775@ralga.knownspace> <20200611212532.59f677be@ralga.knownspace> <1EDCA498-0B67-4374-B7CA-1ECDA8EE32AD@yahoo.com> To: Justin Hibbits X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 49jmrL0Q7Fz3b15 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.32 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCPT_COUNT_SEVEN(0.00)[7]; NEURAL_HAM_SHORT(-0.82)[-0.817]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.01)[-1.012]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.992]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[66.163.186.146:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.163.186.146:from]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2020 03:47:15 -0000 [Just a better panic backtrace text copy.] On 2020-Jun-11, at 20:29, Mark Millard wrote: > On 2020-Jun-11, at 19:25, Justin Hibbits = wrote: >=20 >> On Thu, 11 Jun 2020 17:30:24 -0700 >> Mark Millard wrote: >>=20 >>> On 2020-Jun-11, at 16:49, Mark Millard wrote: >>>=20 >>>> On 2020-Jun-11, at 14:42, Justin Hibbits >>>> wrote: >>>> . . . >>=20 >> Can you try moving the assignment to 'm' to right below the >> moea_pte_change() call? >=20 > Panics during boot. svnlite diff shown later. >=20 > That change got me a panic just after the lines about ada0 > and cd0 details. (Unknown what internal stage.) Hand > translated from a picture of the screen: >=20 > panic: . . . I forgot that 32-bit powerpc dump does partially work for PowerMacs (or at least my context). After booting with a non-debug kernel I've kept around, looking at /var/crash/vmcore.3 shows: panic: vm_page_free_prep: mapping flags set in page 0xd032a078 cpuid =3D 1 time =3D 1591931757 KDB: stack backtrace: 0xd2dc4340: at kdb_backtrace+0x64 0xd2dc43a0: at vpanic+0x208 0xd2dc4410: at panic+0x64 0xd2dc4450: at vm_page_free_prep+0x348 0xd2dc4470: at vm_page_free_toq+0x3c 0xd2dc4490: at vm_page_free+0x20 0xd2dc44a0: at vm_object_collapse+0x4ac 0xd2dc4510: at vm_object_deallocate+0x430 0xd2dc4550: at vm_map_process_deferred+0xec 0xd2dc4570: at vm_map_remove+0x12c 0xd2dc4590: at exec_new_vmspace+0x20c 0xd2dc45f0: at exec_elf32_imgact+0xa70 0xd2dc46a0: at kern_execve+0x600 0xd2dc4910: at sys_execve+0x84 0xd2dc4970: at trap+0x748 0xd2dc4a10: at powerpc_interrupt+0x178 0xd2dc4a40: user SC trap by 0x100d71f8: srr1=3D0xf032 r1=3D0xffffd810 cr=3D0x82000280 xer=3D0 ctr=3D0x10173810 = frame=3D0xd2dc4a48 KDB: enter: panic /wrkdirs/usr/ports/devel/gdb/work-py37/gdb-9.1/gdb/inferior.c:283: = internal-error: struct inferior *find_inferior_pid(int): Assertion `pid = !=3D 0' failed. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Fri Jun 12 04:05:12 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 532A632CBE8 for ; Fri, 12 Jun 2020 04:05:12 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic316-22.consmr.mail.ne1.yahoo.com (sonic316-22.consmr.mail.ne1.yahoo.com [66.163.187.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49jnF264J8z3c6R for ; Fri, 12 Jun 2020 04:05:10 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: RIz_r6oVM1mh2YDU5fSHnOV11dkFFlKXYKeUXZ62oOzYXahDytlmC.xSwAVg3wA QiEltkaATCG4emFY7AyqBVbOucyG_IXQmO8hg8oVJ6ZesW1LHmSK7yZKloOk7yog9Kx2fS3cSQEF gvl_UpGR8OIrJlgC80brpj9OwEFhVa3MthmWYk0Q0raEBMkZJt16f3zzYkZSJuXJk6hlxTguV6Qe SYYtYol7o70vrk07ZPvuXPxuEmV6hdQgWrIIE8gmB7aAKQHBeTDc3vzI0KhNSagy1T_BIu39gj6n lOsYAbyTOusvKWmQG3j9qgNBrL6mPYo4jwPB5bmLOP0CtIh0bWTqVbANwlwqJf0_ZA3tISULbtUn g7xaUjasIgkEvV6j8kjJJJabRWPav6D_73iOousAq11qdsDDcVJ_9KU_.QdtGo8rMdUGPn2GOw.p nyNjOj.RupxX9tLclA6BKcLlYXHIvH..5ZXgdDrRUG2Ue3Ds.XvYreNgFyq6I4JMIbgvBP6dh9hJ mr4IxLXhxcOMIgRFspMYt4UFazL0xwovRsUoQgfobi.IaCxFSraJtq0FY4B5RB5aqPLqyhgTIM.S 67B0LqhgiJ1T74mL2hAhY9nrhVJyoXPlGhnPeuE9Ud8aRt1X77Dtw8t18lRe.gVmhyjLrivvjsdn yzeoTQvG1ePbN_kDlNOMWFTGe0kQpVYy9MWGGRngV1rgTn0JtI2I4s7hDwV_vpgmlOU07ZXwClzg fmSpeK4iFoakrEaN6CYpwdDW_mTxmKcOXZODQ6gCXgGHNfgDSbiH7ce1z2lKu2Oby_L0cIH0Ar8t w0Bm3bFgMdjQb5yy9qWR5NKzGIb1PCwk_XHM4MtXHgN5OOPaBOS1GlDv3vRTcgVIVWhvcKFUogf5 NbdlwAlGgGMxuFf3dVZp6Dbhrj_VMuYmlgcyPFuyQ3IOIO2UJbUgb7iV_dT4a0h.XRWV0p4Q.fDD 1k_0R25mrHhFw_UCU4L01yMKGpHpMXwLhEHadDRD0v.XKP_7cGFT1r2LShvkw2GZRBimEBO6a5i7 BF_wzKdkcCiqBlUrSsCWenivEeJpdBlaeyfhvTPvx.xwg06Ab4lvFYoA2FSMUy4niG2.XhouaYgS oEo2hhlxAfMA5fgtO31ID2GPTyjngJ7M2tPp4IfAGXf66dnIx0iYbTQOvMZ4TWhyI6O_YQt6MNSd aOAo.OUaZB6hf0klxPfkPmXCB9vR88v8MvPgiOiBR6AcdsK4ykcXQH6ZgqJNx.R.DJ6kQfFJvb_C UgexVyKXYYxknujXPrkFPR8xn40fRVYopaSL3Gq4uzPtIuZLXE9OD.RxIe1clnkDBK28T6arPK1L jN_pxyeyRZg_x5a152g4NC2mX.JX596JBKSCbb43QeolEnu6fizP4B1yzhoWVk2Ee6bctONqfNlt wCNvzuCOu20hMj513MrTHmf6Lpnqr26D. Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.ne1.yahoo.com with HTTP; Fri, 12 Jun 2020 04:05:09 +0000 Received: by smtp420.mail.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 9598ca0db01bbcc2708f2559938fbab6; Fri, 12 Jun 2020 04:05:06 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: svn commit: r360233 - in head: contrib/jemalloc . . . : This partially breaks a 2-socket 32-bit powerpc (old PowerMac G4) based on head -r360311 From: Mark Millard In-Reply-To: <3605089E-7B5D-4FBA-B0D1-14B789BDF09B@yahoo.com> Date: Thu, 11 Jun 2020 21:05:05 -0700 Cc: "vangyzen@freebsd.org" , svn-src-head@freebsd.org, FreeBSD Current , FreeBSD Hackers , FreeBSD PowerPC ML , Brandon Bergren Content-Transfer-Encoding: 7bit Message-Id: References: <695E6836-F860-4557-B7DE-CC1EDB347F18@yahoo.com> <121B9B09-141B-4DC3-918B-1E7CFB99E779@yahoo.com> <8AAB0462-3FA8-490C-8D8D-7C15B1C9E2DE@yahoo.com> <18E62746-80DB-4195-977D-4FF32D0129EE@yahoo.com> <9562EEE4-62EF-4164-91C0-948CC0432984@yahoo.com> <9B68839B-AEC8-43EE-B3B6-B696A4A57DAE@yahoo.com> <359C9C7D-4106-42B5-AAB5-08EF995B8100@yahoo.com> <20200513105632.06db9e21@titan.knownspace> <20200611155545.55526f7c@ralga.knownspace> <5542B85D-1C3A-41D8-98CE-3C02E990C3EB@yahoo.com> <20200611164216.47f82775@ralga.knownspace> <20200611212532.59f677be@ralga.knownspace> <1EDCA498-0B67-4374-B7CA-1ECDA8EE32AD@yahoo.com> <3605089E-7B5D-4FBA-B0D1-14B789BDF09B@yahoo.com> To: Justin Hibbits X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 49jnF264J8z3c6R X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.33 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCPT_COUNT_SEVEN(0.00)[7]; NEURAL_HAM_SHORT(-0.82)[-0.824]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.01)[-1.014]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.995]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[66.163.187.148:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.163.187.148:from]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2020 04:05:12 -0000 There is another oddity in the code structure, in that if pt was ever NULL the code would misuse the NULL before the test for non-NULL is made: pt = moea_pvo_to_pte(pvo, -1); . . . old_pte = *pt; /* * If the PVO is in the page table, update that pte as well. */ if (pt != NULL) { (I'm not claiming that this explains the panic.) === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Fri Jun 12 04:33:29 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6058832D719 for ; Fri, 12 Jun 2020 04:33:29 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic306-22.consmr.mail.ne1.yahoo.com (sonic306-22.consmr.mail.ne1.yahoo.com [66.163.189.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49jnsg4gwTz3dby for ; Fri, 12 Jun 2020 04:33:27 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: 333vDqQVM1mnfuANn.3JatGMHevXN6svbO_nGtDOnwK6QhB.2zk_ix0iMr_cEnX aUdUyc1BuvvzDniVL7NDHgW9kRX6zjpkXFQW6tjOrHQTNQPafAqB8SezrSF6o8us1ihCZrFxvvU2 Oz5em88XvXJX85bHi0fxMOS9rUtnHx5B6WpFCRAIRR8eoXcIWYng.LG7bzrOjYj6QX5t5zX62NVR yo82FAyR0_orLiLduf_EPBeMg_fK9I0Oj4vbghMO6NjTVLLZYjG9O7of5BS_Fid8NkrEwmjKuxdw NnUCDysBykoAj_g_ogNFik.YWbQ_WJNhAzeeqg0j7XmBWzf1ypE5mWCN3HwCs49k1gLL0Q68dtcp MvjID8mNuhODZCscVPXEqYEMMKDtyLlIIGoYpVQ8WDLF_LgOrDpRQG25VwCUrtVxX5lc3ln3p1i_ ikTRiMT6vXZ7wtfaZ4B.PwyA61s2L7etexhHiKOMahxd.811eP.KTcvxvkg8tbC6yRBzb22QBZTu JFtjeabVZyaQfqhNHLr6tBcYYFuQfvb6_ZMyRa_92k11iohwP3kAbY46O1GSn2NrtBBInjrO2td5 FuYyfgBKqfByLFDkuAycpWvHigjtoyKRupoEtN6Kc6fZCseLTWQMDOjwPVhLdLfyXiAAzOgsRoZF LoBFmM9tBrzJ7h6rVYLM0oqiqZ6.pcB33EdEqJz13N_C0xx6ptcI7cAGGWhjSTH_u7FBKpOfMi1C nbcDiiYiPu5bWfQxFeT3cSZqTQxU5f7sqvNO59XaXA6WDx9Esl_m1kVAT92SGNaBOrypDVrj7.qq VeMMTFHwCNSLXtU0D0u7qAR7F8NBg3iwrIhsAn0bcrlHfo7VCX7MNez4eHGeZT2JGGdAfrXeu_3X KspgMn12NeleG7xcVX49cg0BInsM2h7ARk5lgotUi6UZ5DVCWuuoTK_KUY_fa.bEjkxDA7PjLVvs TUY5sdE9gJNkithpGRQZphmaRFZNNJFBOm1RA0FQ6Xq8mCWjXbInmdFZp0.c.20afoamh0XvKt6s skk.x3rHMSg9hP0VgNHDJR8FjDFCDFyABmgj7.5707XY.riXBR71RYfiXpz0T1KaN.R7gyXCjsO4 K4Fnizin.mwbQ20Ntvoqr3LwnSU0i4DA.aOvcnG.G7DkuyjoaRs2RtYg3uJZmvcw5WwiEN7tAO5X 4z8N0fatFxhM4S1aa6QTOotAzuazoJLZTUGGY5Gq3j9hV1xTTetV6s0KZymkcmrRnTOkQXOwXFfl 9auh8uiL2kgDFE39qsqnW6PdY22fJW1p6xeaecJj.RkdZZ4c_AwXi9BicjHKu2j5Pa2AvE.rPTab kzjCmzQf7wp8nP.7igXYobTh13PMl636ulWhJAuYaPEAgqXXytf067jdC.9Nh2hn3ogfcFJVD_x7 DVldBNZbRzbV7q1_nLpx6hSOC7UmdxeZO6tAnRywOdNHecSRm0skUB_Sk5ZBJkPQJE2o- Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ne1.yahoo.com with HTTP; Fri, 12 Jun 2020 04:33:25 +0000 Received: by smtp416.mail.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 2f34606d33939f3e61488b33bfac734b; Fri, 12 Jun 2020 04:33:22 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: svn commit: r360233 - in head: contrib/jemalloc . . . : This partially breaks a 2-socket 32-bit powerpc (old PowerMac G4) based on head -r360311 From: Mark Millard In-Reply-To: Date: Thu, 11 Jun 2020 21:33:20 -0700 Cc: "vangyzen@freebsd.org" , svn-src-head@freebsd.org, FreeBSD Current , FreeBSD Hackers , FreeBSD PowerPC ML , Brandon Bergren Content-Transfer-Encoding: quoted-printable Message-Id: References: <695E6836-F860-4557-B7DE-CC1EDB347F18@yahoo.com> <121B9B09-141B-4DC3-918B-1E7CFB99E779@yahoo.com> <8AAB0462-3FA8-490C-8D8D-7C15B1C9E2DE@yahoo.com> <18E62746-80DB-4195-977D-4FF32D0129EE@yahoo.com> <9562EEE4-62EF-4164-91C0-948CC0432984@yahoo.com> <9B68839B-AEC8-43EE-B3B6-B696A4A57DAE@yahoo.com> <359C9C7D-4106-42B5-AAB5-08EF995B8100@yahoo.com> <20200513105632.06db9e21@titan.knownspace> <20200611155545.55526f7c@ralga.knownspace> <5542B85D-1C3A-41D8-98CE-3C02E990C3EB@yahoo.com> <20200611164216.47f82775@ralga.knownspace> <20200611212532.59f677be@ralga.knownspace> <1EDCA498-0B67-4374-B7CA-1ECDA8EE32AD@yahoo.com> <3605089E-7B5D-4FBA-B0D1-14B789BDF09B@yahoo.com> To: Justin Hibbits X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 49jnsg4gwTz3dby X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.38 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCPT_COUNT_SEVEN(0.00)[7]; NEURAL_HAM_SHORT(-0.87)[-0.866]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.02)[-1.016]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.996]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[66.163.189.84:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.163.189.84:from]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2020 04:33:29 -0000 [Yet another oddity.] On 2020-Jun-11, at 21:05, Mark Millard wrote: >=20 > There is another oddity in the code structure, in > that if pt was ever NULL the code would misuse the > NULL before the test for non-NULL is made: >=20 > pt =3D moea_pvo_to_pte(pvo, -1); > . . . > old_pte =3D *pt; >=20 > /* > * If the PVO is in the page table, update that pte as = well. > */ > if (pt !=3D NULL) { >=20 > (I'm not claiming that this explains the panic.) There is another NULL handling oddity that the 64-bit code does not have. I'll show 64 relevant bit code first: pg =3D PHYS_TO_VM_PAGE(pvo->pvo_pte.pa & LPTE_RPGN); =20 . . . =20 if (. . .&& pg !=3D NULL && (pg->a.flags & PGA_EXECUTABLE) =3D=3D 0 && . . .) { if ((pg->oflags & VPO_UNMANAGED) =3D=3D 0) vm_page_aflag_set(pg, PGA_EXECUTABLE); . . . } . . . if (pg !=3D NULL && . . .) { refchg |=3D atomic_readandclear_32(&pg->md.mdpg_attrs); if (refchg & LPTE_CHG) vm_page_dirty(pg); if (refchg & LPTE_REF) vm_page_aflag_set(pg, PGA_REFERENCED); } Note: the 2nd outer-if tests for pg !=3D NULL, just like the first outer-if above does. It avoids potential abuse-of-NULL activity. This is not true of the 32-bit code for "m": m =3D PHYS_TO_VM_PAGE(old_pte.pte_lo & = PTE_RPGN); if (. . . && m !=3D NULL && (m->a.flags & PGA_EXECUTABLE) =3D=3D 0 && . . .) { if ((m->oflags & VPO_UNMANAGED) =3D=3D = 0) vm_page_aflag_set(m, = PGA_EXECUTABLE); moea_syncicache(pvo->pvo_pte.pa & = PTE_RPGN, PAGE_SIZE); } . . . if ((pvo->pvo_vaddr & PVO_MANAGED) && (pvo->pvo_pte.prot & VM_PROT_WRITE)) { refchg =3D = atomic_readandclear_32(&m->md.mdpg_attrs); if (refchg & PTE_CHG) vm_page_dirty(m); if (refchg & PTE_REF) vm_page_aflag_set(m, = PGA_REFERENCED); } The &m->md.mdpg_attrs use apparently could be based on m being NULL because there is no test for m !=3D NULL in the 2nd outer-if. Similarly for the other uses of m in that code block. My guess that that the 2nd outer-if should test something like: . . . if (m !=3D NULL && (pvo->pvo_vaddr & PVO_MANAGED) && (pvo->pvo_pte.prot & VM_PROT_WRITE)) { . . . (Presumes that the pre-existing m !=3D NULL tests are necessary, something that I do not know.) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Fri Jun 12 06:58:19 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BB9B1331058 for ; Fri, 12 Jun 2020 06:58:19 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ultimatedns.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49js4q0Brfz43Q2 for ; Fri, 12 Jun 2020 06:58:18 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: from udns.ultimatedns.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by udns.ultimatedns.net (8.15.2/8.15.2) with ESMTPS id 05C6wB6S063377 (version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Thu, 11 Jun 2020 23:58:17 -0700 (PDT) (envelope-from bsd-lists@BSDforge.com) X-Mailer: Cypht MIME-Version: 1.0 From: Chris Reply-To: bsd-lists@BSDforge.com To: freebsd-ppc Subject: PowerPC, or PowerPC64? Date: Thu, 11 Jun 2020 23:58:17 -0700 Message-Id: <3424aac16934486dc4fcf699a8393567@udns.ultimatedns.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 49js4q0Brfz43Q2 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US]; local_wl_ip(0.00)[24.113.41.81] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2020 06:58:19 -0000 Apologies for my ignorance=2E But I attempted to install FreeBSD on a dual G4 I have a couple years ago=2E But was unsuccessful=2E I'd like to make another attempt in hopes all the work Mark has been doing will improve my experience=2E But I'm not clear whether I should choose the PPC or PPC64 (install) image=2E The hardware doc[1] only indicates PowerPC -- that is; powerpc will install on any powerpc with USB ports=2E Thank you in advance for any insight into this, and sorry for my ignorance=2E [1] https://www=2Efreebsd=2Eorg/releases/11=2E4R/hardware=2Ehtml --Chris From owner-freebsd-ppc@freebsd.org Fri Jun 12 07:23:39 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 405DA331CB5 for ; Fri, 12 Jun 2020 07:23:39 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ultimatedns.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49jsf30Jrjz44r3 for ; Fri, 12 Jun 2020 07:23:38 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: from udns.ultimatedns.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by udns.ultimatedns.net (8.15.2/8.15.2) with ESMTPS id 05C7NVYb064077 (version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Fri, 12 Jun 2020 00:23:37 -0700 (PDT) (envelope-from bsd-lists@BSDforge.com) X-Mailer: Cypht MIME-Version: 1.0 In-Reply-To: <3424aac16934486dc4fcf699a8393567@udns.ultimatedns.net> From: Chris Reply-To: bsd-lists@BSDforge.com To: freebsd-ppc Subject: Re: PowerPC, or PowerPC64? Date: Fri, 12 Jun 2020 00:23:37 -0700 Message-Id: <2303438c8ff0596513fa5abd5795998f@udns.ultimatedns.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 49jsf30Jrjz44r3 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US]; local_wl_ip(0.00)[24.113.41.81] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2020 07:23:39 -0000 On Thu, 11 Jun 2020 23:58:17 -0700 bsd-lists@BSDforge=2Ecom said > Apologies for my ignorance=2E But I attempted to install > FreeBSD on a dual G4 I have a couple years ago=2E But was > unsuccessful=2E I'd like to make another attempt in hopes > all the work Mark has been doing will improve my experience=2E > But I'm not clear whether I should choose the PPC or PPC64 > (install) image=2E The hardware doc[1] only indicates PowerPC -- > that is; powerpc will install on any powerpc with USB ports=2E >=20 > Thank you in advance for any insight into this, and sorry for > my ignorance=2E >=20 > [1] https://www=2Efreebsd=2Eorg/releases/11=2E4R/hardware=2Ehtml Sorry for the noise=2E I was able to find the answer here[2] Looks like I'm 32bits, and need the PowerPC install image=2E [2] https://www=2Efreebsd=2Eorg/platforms/ppc=2Ehtml --Chris >=20 > --Chris From owner-freebsd-ppc@freebsd.org Fri Jun 12 15:38:16 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 142CD33DB45 for ; Fri, 12 Jun 2020 15:38:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49k4cl6mrkz4fml for ; Fri, 12 Jun 2020 15:38:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id D74C916D5D; Fri, 12 Jun 2020 15:38:15 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id D5AB716CD2 for ; Fri, 12 Jun 2020 15:38:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49k4cl51Xcz4fpQ for ; Fri, 12 Jun 2020 15:38:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A6459B9DE for ; Fri, 12 Jun 2020 15:38:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 05CFcFAl010051 for ; Fri, 12 Jun 2020 15:38:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 05CFcFT5010046 for powerpc@FreeBSD.org; Fri, 12 Jun 2020 15:38:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 247167] lang/racket still fails to build on powerpc64 (referencing jit) Date: Fri, 12 Jun 2020 15:38:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: olgeni@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2020 15:38:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247167 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|lang/racket still fails to |lang/racket still fails to |build on powerpc64 |build on powerpc64 |(referening jit) |(referencing jit) --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Sat Jun 13 15:18:52 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8A98733B24E for ; Sat, 13 Jun 2020 15:18:52 +0000 (UTC) (envelope-from bounce_716335020+a.197c800470071764_11699e4c0f5f593_vn1@mail10.psnd.zcsend.net) Received: from sender-153.psu3.zcsend.net (sender-153.psu3.zcsend.net [135.84.81.153]) (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 49kh7v4fzWz4BDM for ; Sat, 13 Jun 2020 15:18:51 +0000 (UTC) (envelope-from bounce_716335020+a.197c800470071764_11699e4c0f5f593_vn1@mail10.psnd.zcsend.net) Received: from 172.30.236.27 (172.30.236.27) by sender-153.psu3.zcsend.net id hsjn5m22174o for ; Sat, 13 Jun 2020 08:18:47 -0700 (envelope-from ) DKIM-Signature: a=rsa-sha1; b=CEC6gqE4x0hzrrW5H6jt9sirwf0S77Xbu3Y5ZEuoOtqGxW555Py5P5mODjayDt8Cn9HyNmbGWXXfbSNULa/U/cP+WW0epbprrmeAFKOmKIcbR20btSl28cTFu4XdnCH8bZslzZ7UVAN++AXk9jBXdi+c+uYHUpm/QKtuPZ26wWM=; c=simple/simple; s=k1; d=mail10.psnd.zcsend.net; v=1; bh=0iFkRT8MHN731cpt2tPeeMLkk2M=; h=date:from:reply-to:to:message-id:subject:mime-version:content-type; Date: Sat, 13 Jun 2020 08:18:47 -0700 (PDT) From: "P. I. Dia" Reply-To: pidia@suitedjob.com To: freebsd-ppc@freebsd.org Message-ID: Subject: Use Your Soft Skills To Survive The Crisis MIME-Version: 1.0 Feedback-ID: 12ab267ac:12ab267ac.197c80046ff721c2:US:ZohoCampaigns X-JID: 27218d28c96aa859ed1bc1980fcb2708e1185630859ca1fd0.197c80046ff721c2 X-campaignid: zohocampaigns.27218d28c96aa859ed1bc1980fcb2708e1185630859ca1fd0.zcb.197c800470071764.11699e4c0f5f593 X-Zoho-RID: zohocampaigns.27218d28c96aa859ed1bc1980fcb2708e1185630859ca1fd0.zcb.197c800470071764.11699e4c0f5f593 X-Mailer: Zoho Campaigns List-Unsubscribe-Post: List-Unsubscribe=One-Click X-Report-Abuse: , X-Rspamd-Queue-Id: 49kh7v4fzWz4BDM X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=mail10.psnd.zcsend.net header.s=k1 header.b=CEC6gqE4; dmarc=none; spf=pass (mx1.freebsd.org: domain of bounce_716335020@mail10.psnd.zcsend.net designates 135.84.81.153 as permitted sender) smtp.mailfrom=bounce_716335020@mail10.psnd.zcsend.net X-Spamd-Result: default: False [0.74 / 15.00]; HAS_REPLYTO(0.00)[pidia@suitedjob.com]; XM_UA_NO_VERSION(0.01)[]; R_SPF_ALLOW(-0.20)[+ip4:135.84.81.0/24:c]; ZERO_FONT(0.10)[1]; REPLYTO_ADDR_EQ_FROM(0.00)[]; TO_DN_NONE(0.00)[]; URI_COUNT_ODD(1.00)[41]; DKIM_TRACE(0.00)[mail10.psnd.zcsend.net:+]; NEURAL_HAM_SHORT(-0.18)[-0.175]; FORGED_SENDER(0.30)[pidia@suitedjob.com,bounce_716335020@mail10.psnd.zcsend.net]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:2639, ipnet:135.84.81.0/24, country:US]; TAGGED_FROM(0.00)[a.197c800470071764_11699e4c0f5f593_vn1]; FROM_NEQ_ENVFROM(0.00)[pidia@suitedjob.com,bounce_716335020@mail10.psnd.zcsend.net]; PHISHING(1.73)[allbusiness->maillist-manage,monster->maillist-manage]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.01)[-1.010]; R_DKIM_ALLOW(-0.20)[mail10.psnd.zcsend.net:s=k1]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.998]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ppc@freebsd.org]; DMARC_NA(0.00)[suitedjob.com]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; MANY_INVISIBLE_PARTS(0.30)[4]; RCVD_IN_DNSWL_NONE(0.00)[135.84.81.153:from]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain;charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Jun 2020 15:18:53 -0000 =20 =20 =20 =20 =20 =20 =20 =20 =C2=A0 https://360gap.com =20 =C2=A0 =20 =20 =20 How to stand out from the crowd ? =20 =20 =20 =20 =20 =20 =20 =20 =C2=A0 https://360gap.com =20 =20 =20 =20 =20 =20 We hope that you and your loved ones are safe and healthy during these tryi= ng times; we are facing not only a health emergency but also an economic an= d jobs crisis. =20 For most people today, this period is the biggest challenge we have ever ha= d to confront. =20 Here at https://360gap.com 360GAP [ https://360gap.com ], we believe our = tool can help you optimize yourself to ensure that you are competitive in a= world where jobs may be scarce and competition fierce. =20 =C2=A0 =20 As most of you will know, often the only things separating candidates for a= role or a promotion are their soft skills. Things like leadership, problem= solving, communication and teamwork are only going to become more importan= t. =20 The challenge that many of us face is that understanding our strengths and = weaknesses in these areas is difficult, quite often what we think are our s= trengths may be perceived as weaknesses by colleagues and peers. =20 =C2=A0 =20 https://360gap.com 360GAP [ https://360gap.com ]is the ideal tool to help= identify your strengths and weaknesses and then start the journey on growi= ng and improving. We first ask you to https://360gap.com/soft-skills/selec= t take five minutes to evaluate yourself [ https://360gap.com/soft-skills/= select ]and then you can easily share a link which allows others to evaluat= e you in exactly the same way, all anonymously. =20 So you end up with honest feedback and insights which you'd never normally = be able to access through conversations and reviews. =20 =C2=A0 =20 https://360gap.com 360GAP [ https://360gap.com ]also acts as a self-impro= vement tool by allowing you to create objectives and then view and track yo= ur evolution and improvement over time. =20 =20 =20 =20 =20 =20 =20 =20 =20 It is completely https://360gap.com/soft-skills/select free [ https://360= gap.com/soft-skills/select ]! =20 =C2=A0 =20 =20 =20 =20 https://360gap.com/soft-skills/select Start now by evaluating yourself = =20 =20 =20 =20 =20 =20 =20 =20 =20 Here are a few articles to start improving your soft skills=C2=A0 : =20 * https://www.glassdoor.com/blog/guide/develop-soft-skills/#How_to_improv= e_your_soft_skills Glassdoor have some great tips on how to improve [ http= s://www.glassdoor.com/blog/guide/develop-soft-skills/#How_to_improve_your_s= oft_skills ]=20 * https://www.allbusiness.com/successfully-develop-improve-soft-skills-190= 95-1.html Allbusiness.com look at some key soft skills and how to learn mo= re about improvement [ https://www.allbusiness.com/successfully-develop-imp= rove-soft-skills-19095-1.html ]=20 * https://www.mckinsey.com/business-functions/organization/our-insights/th= e-organization-blog/how-to-develop-soft-skills McKinsey & Co discuss what = organizations can do to improve their worker=E2=80=99s soft skills [ https:= //www.mckinsey.com/business-functions/organization/our-insights/the-organiz= ation-blog/how-to-develop-soft-skills ]=20 * https://www.monster.com/career-advice/article/soft-skills-you-need Mons= ter.com explains why certain soft skills are needed [ https://www.monster.c= om/career-advice/article/soft-skills-you-need ] =20 We look forward to helping you improve your soft skills and stand out from = the crowd! =20 =C2=A0 =20 https://360gap.com The 360GAP Team [ https://360gap.com ] =20 =20 =20 =20 =20 =20 =20 ---------------------------------------------------------------------- This email was sent by pidia@suitedjob.com to freebsd-ppc@freebsd.org Not interested?Unsubscribe - https://ghbl.maillist-manage.com/ua/optout?od= =3D27218d28c96aa859ed1bc1980fcb2708e1185630859ca1fd0&rd=3D197c800470071764&= sd=3D197c800470054da3&n=3D11699e4c0f5f593 Update profile - https://ghbl.maillist-manage.com/ua/upc?upd=3D197c80046ff= e48fe&r=3D197c800470071764&n=3D11699e4c0f5f593&od=3D27218d28c96aa859ed1bc19= 80fcb2708e1185630859ca1fd0&r=3D197c800470071764&n=3D11699e4c0f5f593&od=3D27= 218d28c96aa859ed1bc1980fcb2708e1185630859ca1fd0 =20 360Gap | 1 Place Ville Marie Entr=C3=A9e, Montreal, Quebec H3B 4S6, Canada= =20 Our Privacy Policy [ ] and Terms of Use. [ ]=20 From owner-freebsd-ppc@freebsd.org Sat Jun 13 17:24:03 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2DD1A33E30D for ; Sat, 13 Jun 2020 17:24:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49kkwM0WZCz4JR8 for ; Sat, 13 Jun 2020 17:24:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id EE13B8EB5; Sat, 13 Jun 2020 17:24:02 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id E7EA08EB4 for ; Sat, 13 Jun 2020 17:24:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49kkwL5T5Lz4Jff for ; Sat, 13 Jun 2020 17:24:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B71ED1E7C1 for ; Sat, 13 Jun 2020 17:24:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 05DHO21X006597 for ; Sat, 13 Jun 2020 17:24:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 05DHO2jY006596 for powerpc@FreeBSD.org; Sat, 13 Jun 2020 17:24:02 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 243180] security/afl: fix build on powerpc64 elfv2 Date: Sat, 13 Jun 2020 17:24:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tobik@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tobik@freebsd.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Jun 2020 17:24:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243180 Tobias Kortkamp changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |Works As Intended --- Comment #3 from Tobias Kortkamp --- There is no reason to remove afl and surprise existing users. It can be removed alongside llvm80 when the time comes. There are no existing users of afl on powerpc64 since it is currently not packaged. There is also no reason to spend time to package it correctly on= =20 powerpc64 since there is afl++ instead. --=20 You are receiving this mail because: You are on the CC list for the bug.=