From owner-freebsd-current@freebsd.org Fri Jun 12 03:47:15 2020 Return-Path: Delivered-To: freebsd-current@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 6C86A32C0AB 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 49jmrL0Q5Yz3Zgx 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: 49jmrL0Q5Yz3Zgx 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-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current 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)