From owner-freebsd-ppc@freebsd.org Tue Oct 9 20:05:20 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 847A410BA93F for ; Tue, 9 Oct 2018 20:05:20 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic313-11.consmr.mail.ne1.yahoo.com (sonic313-11.consmr.mail.ne1.yahoo.com [66.163.185.34]) (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 1D0867A5F5 for ; Tue, 9 Oct 2018 20:05:20 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: fufnzKAVM1kJ7cr9GDsWNXi0_sWqgJNZHev6VVPXFJAE82bnASP2201bu.LPGxz Hyn5LTZppkxieBsKkS4ZilFkMclz_W9wzDwQo9H08hSi6FuuQVZfID4E7p5Rw8.9uYuTKxwgZvTr v9IWqIWSswKSY_lXOnFhjTcb0iTFiH6BSJpQeVbDC1sNmTnRVvmsCTDrWqQ1MTQRAUI3a4QsKzEf Mo2okM7Op.AIbnqfl8s3WtSxzeqvHW1P2gBCbm2gqaWUZ68h9X7LaCt4UiiocHXiXbeK_HCxzxck WLmQaD7m5CH6vZhz1hYvO1QcmmZoX1JRHhalqsDOyddG.MfAYjPvI4b97u.N6LGu_7YRKQVXlW84 qFpi5tnoHx8QMXg8fQ1EtkAltExZm_469ZbE5KV06zfcjlnc5Je9M70s0GqtuPMZLYC41Kk28nn5 C4LuzcTAOSE_JyKeWfSmYtRZrdCvEtr7yy28zvlIJTsvcnPbyFoTOQ3Ln5Gfzy0Cs88N9rCyXwal ijkVdQgsJf3IOnMreEAUwlosHVBWYwdBn._A00EHnQlaTEMSALkwWT0gsfLTEkB58shPLLAKKBv4 mOlY9q9psldruBd7PPmAqqB0x4tgahQoivF9bJj4O3l9h9ofVEo4zL_4wC6G6bvrZTNZhsmLUV8n cQrN0mRyp_PFJF0AeYmkPJsdITzjqOtiEGp9x0iFh5l8Sw569cm1odAIPA7iGBPpe9zeRss9qhC4 s4dM8ZiU_DBcPKylN5pabJM.5X9m_Zqprhw8fdiwtJB9pogffGWxqGTMTEbWDSM25DQLiphAP4FK luTIdcOK5lecxGmtAZOZLz85E4AMQhcWPRHKaLLxkRr6wM9TOOoSitNl8rsvhG0mxpunXQtih7dF fESHmKhtaEXLf8Ab8sr8O3hKd0UiEHhx4PEHNYw9pL5K5w5L_RpmJsNOF9k2sXURbOaZK8N9rNxQ swxKk8DmY1dUcDyrEqEFmaVb_CoVni51Rm4uw5XReoDaChjzBSI7JnEQ4288ZBFBts4g4GVvf2z5 M8mAShWXssQQj.WO4X_IqXgiqLte46UuJrYuZkejFeIO3gW0K9qhiRc_sZA2JANYWWE6bh_Nk8t9 7rxycuFkHI9NMy7Mi49Y- Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ne1.yahoo.com with HTTP; Tue, 9 Oct 2018 20:05:18 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.101]) ([76.115.7.162]) by smtp405.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID e4a4e4bdbef454d38c40986bba8f8f44; Tue, 09 Oct 2018 19:54:54 +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: <031407DB-57AD-4E09-9A22-A0D4A347576E@yahoo.com> Date: Tue, 9 Oct 2018 12:54:52 -0700 Cc: FreeBSD PowerPC ML Content-Transfer-Encoding: 7bit Message-Id: 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> To: Michael Tuexen , Justin Hibbits 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: Tue, 09 Oct 2018 20:05:20 -0000 On 2018-Oct-9, at 8:20 AM, Mark Millard wrote: > [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".] > > On 2018-Oct-8, at 5:14 PM, Mark Millard wrote: > >> On 2018-Oct-8, at 1:27 PM, Justin Hibbits wrote: >> >>>> . . . >>> >>> 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. >> > . . . 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: 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.) My reporting "worked" for a revision might be a misclassification. (This makes for a messier "binary-like search".) That said, the summary of the later detail is: head -r334494 kernel worked head -r334528 kernel failed (There is nothing between those for: https://artifact.ci.freebsd.org/snapshot/head/r*/powerpc/powerpc64/kernel.txz so getting a smaller range requires builds. I've not attempted that.) The only machine-dependent powerpc64 change between those 2 that I see is: Author: jhibbits Date: Fri Jun 1 21:37:20 2018 New Revision: 334498 URL: https://svnweb.freebsd.org/changeset/base/334498 Log: Increase powerpc64 KVA from ~7.25GB to 32GB . . . More detail for the test sequence follows, if you care. Otherwise skip it. The following was complicated by the discovery that for some(?) kernels, a kernel that worked one time could in a later try fail. (It is almost like it is using some uninitialized RAM and getting varying behavior, possibly depending on unload->load sequences in the loader.) I noticed because of using unload and load after a failure to (try) boot a previously working kernel to set up the next test. Stated based on: head -r333594 kernel always has worked head -r339076 kernel failed Searching: head -r336706 kernel failed head -r335006 kernel sometimes worked, later: sometimes failed head -r335852 kernel sometimes worked, later: sometimes failed head -r334298 kernel worked head -r334644 kernel failed head -r334474 kernel worked head -r334554 kernel sometimes worked, later: sometimes failed head -r334594 kernel failed head -r334494 kernel worked head -r334528 kernel failed If 334494 ever fails, explore: 334474 (repeated to check: keeps working?) 334484 (the only archived powerpc64 build between 338474 and 338494) === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)