From owner-freebsd-ppc@freebsd.org Wed Oct 10 10:01:55 2018 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9600110CE82E for ; Wed, 10 Oct 2018 10:01:55 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic302-21.consmr.mail.gq1.yahoo.com (sonic302-21.consmr.mail.gq1.yahoo.com [98.137.68.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 1E1AA7723F for ; Wed, 10 Oct 2018 10:01:55 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: sk5lRoMVM1lmdNmRUmNh8ajLSxErcD_EPG24_jvhcQdhbGImJt3SCIgGAib0se3 cY_eFe5XmEa0CdhAc6n0pZ.Z7kAC6YoIuZQhDQUlcJmnOghUMm_gBfhBWkUkR021e5Q3Z0s5HGIL 3Fv1x3HCHv8MzHb3bAQOhvLM_wia6CuNbjlUdry8_3Vb0f8cJWYJhYaKT5uK2F14LTpk76kcLceK we52uXLCAaieiMT.wgI7GB4WshAe.mlwm4cghvb.KY3ZB6qCrFpMwFzAcQsqmHUWRN7nSQwfyJXj EoA2Bi8uJ5x6lRk4A.hPWlDehA2h2zy3li2URmI9K9uybfU8hFa29MLCVTJcgjXJ7dIkUXTaVGhB hJhb_vibWsQWwKdYvvnbR_ys38MbtB4xavGd0urZgVkNn5reOkTqeRuL.tkI6CSbsco4oqTP03sx VWKAW0IQ2qetLQkrr3pTBioXysWu5_XXW2.o6WappstHUfVHAl4WgRPlfBT2AQpw2U7Beo3zZkOM myVRCJVH9CNtLPOO99S_yseHEPD7Fvv7_o7LgAOTQut7Z0dkedUXyTzTMuflblBmmEGzVQz06MxB R.CJwBsHeeDtFYH67paVAEFjjY3g7sTwXbXw_mLZ12y4WR2qDJRvBDzP8gb5hb90d3Ye3nE6ifKr 7rpxEeBc.4niqXinz7NPTBdgEl.mt.ATEh92d9ILSP92wQZ8RLX.8OBNZptz1oayQizeqtpa70MQ QMmOE.3Tx1tJ74yFZZ.5Ffvwy2UTBC2N2K0Im7LvOC22yCCu3qDiGT7xkfyYh7ffZhmKhRI5b.ZV aRSxlVe9vC2B4wMx6ucOzJpNi4i4DYF35sshM9dqbsbVsCVYiz6NxJbi5pEt8AKLd0ndHCnag5dB pzWgXll1n1V54QZz6tgb4hCj7B4nsXeNteOapeqL5DGWqIHLMv1IOn65UCiaWlVdN4kFLlViKd47 FmaqABSo36EZZu4f30R0jouZSyj1TniC.e61tFu0vUszVaszjFETccOsNI43EL4pmTJH94TvBh1i ukgToc6OY.EczJKV6xa2sritJCUWW1CwnTodyU1yrN77Ewx.UcFko2tjJbPPW1Dc7kWS97sXzM7I bycvV6y17 Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.gq1.yahoo.com with HTTP; Wed, 10 Oct 2018 10:01:47 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.101]) ([76.115.7.162]) by smtp402.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID f88d48a05e4bcbf61ee9481aa4ef8840; Wed, 10 Oct 2018 10:01:44 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: Failed attempt to boot a (non-debug) head -r339076 on an old PowerMac G5 "Quad Core" (built via devel/powerpc64-gcc): Waking up CPU 1 From: Mark Millard In-Reply-To: <4E2CE5AF-BBE7-4C60-A983-3B0F8B3AAA21@yahoo.com> Date: Wed, 10 Oct 2018 03:01:43 -0700 Cc: Justin Hibbits , FreeBSD PowerPC ML Content-Transfer-Encoding: quoted-printable Message-Id: <85228EEA-5BCC-4201-B9F2-0B772A9FBE65@yahoo.com> References: <0E6DB192-37A3-45EC-87E9-C5AA1C9397AE@yahoo.com> <785D268A-2612-459F-BD1F-A650D9ECCA28@fh-muenster.de> <3DCB6910-6F08-408A-B3D1-70A7EB5A55BC@yahoo.com> <037e3dd6-cc0c-a39f-f074-bce01887156c@blastwave.org> <20181008152746.1aba4221@ralga.knownspace> <031407DB-57AD-4E09-9A22-A0D4A347576E@yahoo.com> <937E631B-929D-4F2B-8AA2-A7D1154EADFD@fh-muenster.de> <4E2CE5AF-BBE7-4C60-A983-3B0F8B3AAA21@yahoo.com> To: Michael Tuexen X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Oct 2018 10:01:55 -0000 On 2018-Oct-9, at 2:28 PM, Mark Millard wrote: > On 2018-Oct-9, at 1:40 PM, Michael Tuexen = wrote: >=20 >>> On 9. Oct 2018, at 22:35, Mark Millard wrote: >>>=20 >>> [Reverting head -r334498 in my head -r339076 context was enough to = get >>> the G5 so-called "Quad Core" to boot just fine as a variant of >>> -r339076 .] >>>=20 >>> On 2018-Oct-9, at 12:54 PM, Mark Millard = wrote: >>>=20 >>>> On 2018-Oct-9, at 8:20 AM, Mark Millard = wrote: >>>>=20 >>>>> [The stable/head mix seems to be a wrong idea: 11.2 gets past >>>>> the SMP: messages just fine on the so-called G5 "Quad Core".] >>>>>=20 >>>>> On 2018-Oct-8, at 5:14 PM, Mark Millard = wrote: >>>>>=20 >>>>>> On 2018-Oct-8, at 1:27 PM, Justin Hibbits wrote: >>>>>>=20 >>>>>>>> . . . >>>>>>>=20 >>>>>>> It would be helpful to know the last known-good SVN revision, = both for >>>>>>> Head and 11.x, as well as the oldest failing one. Since my G5 = bit the >>>>>>> dust, I can't check locally. >>>>>>=20 >>>>> . . . >>>>=20 >>>> There are examples of head's kernels that sometimes >>>> fail to get to the "SMP:" messages and sometimes work >>>> for getting there (and beyond). So: >>>>=20 >>>> My reporting any example failure is a solid indicator >>>> of the "does not reach "SMP:" problem in that build. >>>> (All tries reached the waking message on at least cpu >>>> 1.) >>>>=20 >>>> My reporting "worked" for a revision might be a >>>> misclassification. (This makes for a messier >>>> "binary-like search".) >>>>=20 >>>> That said, the summary of the later detail is: >>>>=20 >>>> head -r334494 kernel worked >>>> head -r334528 kernel failed >>>>=20 >>>> (There is nothing between those for: >>>>=20 >>>> = https://artifact.ci.freebsd.org/snapshot/head/r*/powerpc/powerpc64/kernel.= txz >>>>=20 >>>> so getting a smaller range requires builds. >>>> I've not attempted that.) >>>>=20 >>>> The only machine-dependent powerpc64 change between >>>> those 2 that I see is: >>>>=20 >>>> Author: jhibbits >>>> Date: Fri Jun 1 21:37:20 2018 >>>> New Revision: 334498 >>>> URL:=20 >>>> https://svnweb.freebsd.org/changeset/base/334498 >>>>=20 >>>>=20 >>>> Log: >>>> Increase powerpc64 KVA from ~7.25GB to 32GB >>>> . . . >>>>=20 >>>> . . . >>>=20 >>> In my -r339076 build context I reverted -r334498, did a >>> buildkernel, installed it, and rebooted into -r339076. >>>=20 >>> The result booted just fine. >>>=20 >>> It does appear that, for head, -r334498 makes the difference >>> for some reason. >> Are you saying that head with reverting r334498 runs stable with SMP? >>=20 >=20 > So far no problems. I'll later be doing more extensive activity, such > as buildworld buildkernel and poudriere-based port builds. So the > quality of evidence will improve and I'll report on how it went. >=20 So far I've done -j4 buildworld buildkernel twice, both have worked fine. The examples were: Once via using devel/powerpc64-gcc and devel/powerpc64-binutils (or devel/binutils). Once via using system-clang and devel/powerpc64-binutils (or devel/binutils), not that one would normally want to install and try to boot and use the result. It will be a while before I get around to starting poudriere-devel based port builds. Note: Since 2014 or so when I started FreeBSD activity on old PowerMac's (including some with multiple sockets from the start), I've never before disabled smp, even temporarily. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)