From owner-freebsd-ppc@freebsd.org Sun May 3 01:47: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 529942CD2A9 for ; Sun, 3 May 2020 01:47:03 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic306-21.consmr.mail.gq1.yahoo.com (sonic306-21.consmr.mail.gq1.yahoo.com [98.137.68.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 49F8445ggCz41Q2 for ; Sun, 3 May 2020 01:47:00 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: Je91.JsVM1ltv_HQv7RPo8lTpTRycFoqzySPqqjE0TqqPJDSgl2wrD6oF6S1XVs d1qDmWaJAJehOqk8oe.7Ipt.G7QV8bj.otr9HeKeoxY2i5BWR4tTNwKYEVkkvLLomHdk27efm6Pn R00XHn8DwOcJpZsJ.K63G8ou5VoF5N840cQH2ECzAu18TZoFJFO3yZBfIdd23ZkPtQk9U98ePpvo Rdewpte3qUgIQoRa7ibTgDLHZtmiCjkRn45qZHjVRPFo65PUvXl1xZxuRpV7fohA9OIuaw6gqIa. RzT7hvdDspYdvyLSm2pG.0POTWCOJh7JtGSSX6scZrgppN1K1HWhjmMQGOrS8makSIKlyFFo7Gyx G8ACMe0g2kmOofKxrsYEPrBPqu6e_bXh8L7WsXYRwzxlYkQvxgejllkIkG8icHcLEkAhZ2fJ21jY IwEoZBmPhGealeVUAciF68JwoODAXlT5eMujt6urX.ptkVKQGYcaMsKzlhE4Aopu6oTMXAWsCKrn RNtox1Of1er_ZrrMhwJujCSbC48QrR6cal7pPri0tYqaEclSot_R.ndWW5.UlfIShYhdlb0hfqkJ zxM1DDhm4_3CA5bKElKA29U9353rr9ocAZE0hm2DEEWSTQllqJ3cCtcKjeoOr0E8UFwi6x4VIpV4 NS7Nb_563U_i9oEJE7ucID4iR2xxtKa_2UH_8a82ghVwjHJ9tdJnJRZ3xdCM6LekhPYq73d7wNbZ Fd__aMIl021gr6mVGd90tMjS5iu.yz.6B0EYbg065Bax3qFoKebJqDVixns.yM9APzXBcJv2.1bN Us2D6BahOo_CxHox.K7QbC.VU7jJUA0FVvVpYn3tIW3Bs4Ihtf7VHULYqni9KFTirOFbsRVM9Tz6 RjNvJO_8RIZXK2ucjENimeYuleDtYo6g0YcDWQBWvsFD6SUDhXX36dqA.J88kFY_etlq9t2AIJly FSwRZl02XU3ZscxsQLI1cH218SEN4S0rxYZp7hZV4alwjcU5YZ6uAPCSD4_e6MEXPQLZN6nBZC6y sqgfH1_H22IYxg7JDYi6AM0Tk1lcg8nKLE0g9AqOM9KYda17o4etBzK_AmwvWzcU2.lRXvtzrLjD vreHvtRlU3Estnhwm1EC96Jx1PGCOcDoBb5ahcHt7xB9h1uREAQKbA.D6iE1Rh.d5yHtHuGr20xw eKsnCfOmv_im7NjHv_7KT0PBl1EFj_bRLqhFmH.3Ypwei7v1tlZBTw7HxVrzU.eyR72_J.de5DLb EcTawSkW5s5UbhYSyhggiFdFE4U4jY8P1wG0sECxjDA3g7GwLf0acgyS36BDTRwv4SiNEd7QIl4j 7eASqnwbMs6RYDXdeY8_Hr10Cyw9EdS6gszJpJY.EVt3A4YlwotCB._0TC1UgLUKTjrPdKR153_L sgW7Fkw9v30nrOIIO0jUTZJTakaPjkvjpOS3ctPXxXB6ZhS.N5nt33jqzor0- Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.gq1.yahoo.com with HTTP; Sun, 3 May 2020 01:46:58 +0000 Received: by smtp427.mail.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID bd44885a1276e2c9781055283e56c150; Sun, 03 May 2020 01:46:55 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 Message-Id: Date: Sat, 2 May 2020 18:46:54 -0700 To: "vangyzen@freebsd.org " , svn-src-head@freebsd.org, FreeBSD Current , FreeBSD Hackers , FreeBSD PowerPC ML X-Mailer: Apple Mail (2.3608.80.23.2.2) References: X-Rspamd-Queue-Id: 49F8445ggCz41Q2 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.28 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; RCPT_COUNT_FIVE(0.00)[5]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; 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.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.87)[-0.873,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.91)[-0.909,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (5.87), ipnet: 98.137.64.0/21(0.83), asn: 36647(0.66), country: US(-0.05)]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[84.68.137.98.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[84.68.137.98.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 May 2020 01:47:03 -0000 [I'm only claiming the new jemalloc is involved and that reverting avoids the problem.] I've been reporting to some lists problems with: dhclient sendmail rpcbind mountd nfsd getting SIGSEGV (signal 11) crashes and some core dumps on the old 2-socket (1 core per socket) 32-bit PowerMac G4 running head -r360311. Mika=C3=ABl Urankar sent a note suggesting that I try testing reverting head -r360233 for my head -r360311 context. He got it right . . . Context: The problem was noticed by an inability to have other machines do a: mount -onoatime,soft OLDPOWERMAC-LOCAL-IP:/... /mnt sort of operation and to have succeed. By contrast, on the old PowerMac G4 I could initiate mounts against other machines just fine. I do not see any such problems on any of (all based on head -r360311): powerpc64 (old PowerMac G5 2-sockets with 2 cores each) armv7 (OrangePi+ 2ed) aarch64 (Rock64, RPi4, RPi3, OverDrive 1000, Macchiatobin Double Shot) amd64 (ThreadRipper 1950X) So I expect something 32-bit powerpc specific is somehow involved, even if jemalloc is only using whatever it is. (A kyua run with a debug kernel did not find other unexpected signal 11 sources on the 32-bit PowerMac compared to past kyua runs, at least that I noticed. There were a few lock order reversals that I do not know if they are expected or known-safe or not. I've reported those reversals to the lists as well.) Recent experiments based on the suggestion: Doing the buildworld, buildkernel and installing just the new kernel and rebooting made no difference. But then installing the new world and rebooting did make things work again: I no longer get core files for the likes of (old cores from before the update): # find / -name "*.core" -print /var/spool/clientmqueue/sendmail.core /rpcbind.core /mountd.core /nfsd.core Nor do I see the various notices for sendmail signal 11's that did not leave behind a core file --or for dhclient (no core file left behind). And I can mount the old PowerMac's drive from other machines just fine. Other notes: I do not actively use sendmail but it was left to do its default things, partially to test if such default things are working. Unfortunately, PowerMacs have a problematical status under FreeBSD and my context has my historical experiments with avoiding various problems. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)