From owner-freebsd-ppc@freebsd.org Wed Apr 10 02:44:41 2019 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 C627B157588E for ; Wed, 10 Apr 2019 02:44:41 +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 280188BF15 for ; Wed, 10 Apr 2019 02:44:39 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: zo4xekAVM1n7eXiFuDyiRSeUreIxa3zG1dtzUEpN33y1Kg.Dd0eGqOnlPRLgRAx I7sH..ocmKESkHWbQd.79sWa0hnrgWa_iN4ekH1.1Ie8RmYyTtrtRyCOSBCOmLeFsumUPE3KWOiE X1zLDPvNYbEVAbygkGMyW3vn.WtTzhwOKT2S6CmX.4itBlv4izvFMyUNI5iQApve1OJ8SEVZZOlJ HSur.wJ7RJyRz0AUbB5RWh6k823SQkPixzZUCj4JCWxrKuN0xr41.yF0_J_ubr3LN6VUlPfHosvB YsJufn7ggPqr1o.QsxeJorojiJFafmgvcKkAtqlxF8uxwVcpRrRjwuVfaFouWBfWhSukl3M3jBqO etzhUtqLc_FGoeOCcygMweIVD9h6GQConZGi8TqePhZHfPzHGDZjGlTv1Zq0BevW24RAeomlcrJD rqne5peP2YgCUi0jL7ThOFlEEbsJqQCsVyawcRqLefrJm8C7Yv.63uzwg3U96Yz4L5TFX1YHDmen 3lO7qKv1Neo8ME2pExESUBCCiPqR9c86zM1X5xZ8nMW8kwPeH6YjtRMbDAblY06Wp1X7fMjd.hfi 2uFnMtuW9TMIfkzO0IUNk.DpfKBdiyjCts7AUyIsyYJdnXBt5fGF64jEUijYqrtOnfEEvu8RYcav sC_41tbiPKlKu7RJuL8lD6fyhdvT56Z8miTn6mJvuooGkQTbpCEVol2O54sw__sFYum9tuboKBTN TijeUK8b7tm0WvGqszIOxNPml084R4rKIzMzADKT45I.v1vpYgFe3b19t5r1u94P63sFM8o3TSTJ RCqw0NwhDJhgvn5AqiwWaBUt7j4m3JhViqDSDFICCdBAtxdms3zo0h4.S4HoEmxlT3SZJO9bTkLv U.bgdP9wGwcSRAZsoBK2Gv781QmQdFpNhb3zNyvQIXA40ViOmYDYkK4Szqk0Ed04n3p2cxPVSrp0 1klC4FCzeSPydKUsGy4zpuFGMr6AWHhtc_1_0fQmad_lvGOrbkcuMMy3CBUVkafeSYRxSa1PWtB7 tl8aUXV5aTGHi5c3drID5rAc2CD1wxCYSu1QIRQ2BGRvWi2QDzo8fAnhU4M1mV4sTVYshBptuYQ- - Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Wed, 10 Apr 2019 02:44:30 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.103]) ([76.115.7.162]) by smtp422.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 299c9a4182a471d5543d0a6c07c98708; Wed, 10 Apr 2019 02:44:26 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: Re: head -r345758: usefdt=1 style boot fails on PowerMac7,2 G5 (1 core per socket): Error -2 adding node /cpus/PowerpC,970 [G4 failures too, problem identified] Date: Tue, 9 Apr 2019 19:44:25 -0700 References: <98A19824-3C07-4ED6-A848-5A634F95E1CF@yahoo.com> <9A2F72B7-A25C-478C-B1AD-0661278F0B46@yahoo.com> <88C954A4-6D5A-4AB9-AA26-0ACD6D298605@yahoo.com> To: FreeBSD PowerPC ML , Justin Hibbits In-Reply-To: <88C954A4-6D5A-4AB9-AA26-0ACD6D298605@yahoo.com> Message-Id: <5A26E6F0-13FB-4177-B284-45DA6FBED78E@yahoo.com> X-Mailer: Apple Mail (2.3445.104.8) X-Rspamd-Queue-Id: 280188BF15 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.11 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.08)[-0.084,0]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; 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.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.86)[-0.856,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.988,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.33)[ipnet: 98.137.64.0/21(0.94), asn: 36647(0.76), country: US(-0.06)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[206.69.137.98.list.dnswl.org : 127.0.5.0] 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: Wed, 10 Apr 2019 02:44:42 -0000 [Turns out that PowerMac11,2 G5 (2 socket, 2 cores per) usefdt style booting skips a node and any subordinates, but not any CPUs.] On 2019-Apr-7, at 18:20, Mark Millard wrote: > [I produced a ofwdump -ap output from the old SSD > booting the PowerMac11,2 . It produces a (somewhat) > larger output than is produced under usefdt=3D1 > style handling, suggesting mismatches or incompletenesses > for usefdt=3D1 .] >=20 > On 2019-Apr-7, at 16:31, Mark Millard wrote: >=20 >>=20 >> On 2019-Apr-7, at 15:46, Mark Millard wrote: >>=20 >>> . . . >>=20 >>>=20 >>> I'll see about diff'ing the good vs. bad PowerMac3,6 >>> ofwdump -ap output when I have a chance. >>>=20 >>=20 >> The outputs are not such that a diff is all that useful, >> a extensively different output ordering appears to be=20 >> involved. >>=20 >> For reference: >>=20 >> # ls -lTd ~/ofwdump_*.txt >> -rw-r--r-- 1 root wheel 166008 Apr 7 16:21:33 2019 = /root/ofwdump_11,2_usefdt1.txt >> -rw-r--r-- 1 root wheel 93713 Apr 7 13:11:21 2019 = /root/ofwdump_3,6_bad.txt >> -rw-r--r-- 1 root wheel 162390 Apr 7 15:40:23 2019 = /root/ofwdump_3,6_good.txt >> -rw-r--r-- 1 root wheel 818400 Apr 7 15:15:03 2019 = /root/ofwdump_7,2_good.txt >>=20 >> ( *3,6_bad.txt was under usefdt=3D1 and based on far more modern head = code than the >> matching *3,6_good.txt file was. *7,2_good.txt is from the old = version of head as >> well. ) >>=20 >> ofwdump_3,6_bad.txt seems to be missing a lot, based on the size = difference vs. >> ofwdump_3,6_good.txt . >=20 > So, showing the older context's ofwdump -ap output file size as well: >=20 > # ls -lTd ~/ofwdump_*.txt > -rw-r--r-- 1 root wheel 192603 Apr 7 17:48:15 2019 = /root/ofwdump_11,2_old.txt > -rw-r--r-- 1 root wheel 166008 Apr 7 16:21:33 2019 = /root/ofwdump_11,2_usefdt1.txt > -rw-r--r-- 1 root wheel 93713 Apr 7 13:11:21 2019 = /root/ofwdump_3,6_bad.txt > -rw-r--r-- 1 root wheel 162390 Apr 7 15:40:23 2019 = /root/ofwdump_3,6_good.txt > -rw-r--r-- 1 root wheel 818400 Apr 7 15:15:03 2019 = /root/ofwdump_7,2_good.txt >=20 > Again, the ordering differences and such make a diff > not all that useful. >=20 > I have no clue why ofwdump_7,2_good.txt is so much larger than all the > others. >=20 > It would be easier to compare old vs. usefdt=3D1 style if usefdt=3D1 = style > managed to preserve the ordering of what ofwdump -ap outputs for old, = there > by allowing vastly fewer differences (despite magic node number = differences > and such). I've no clue how to validate the usefdt=3D1 style as things = are. >=20 > I do not ever have access to other types of G5's. I do sometimes have > access to some single-socket/single-processor/single-core G4s and one > G3. But I'm not intending to do any exploring for these for now. >=20 > Let me know if you want a bugzilla submittal with the ofwdump_*,*.txt = files > as attachments. I caught a picture of a PowerMac11,2 G5 (2 socket, 2 cores per) booting, usefdt style, that showed: Error -2 adding node /ht@0,f2000000/pci@8/mac-io@7/i2c@18000/i2c-bus@0 = (i2c-bus@0), skipping (The screen clears quickly after that so I'd not noticed before.) That was the only such message. Still, it is enough to explain having a notable different size of ofwdump -ap output text between usefdt style modern and non-usefdt style older for the same machine (both 32-bit powerpc FreeBSD variants). (powerpc64 FreeBSD crashes/gets-stuck for the likes of ofwdump -ap for a non-usefdt style boot on the same machine, apparently going back to at least -r333594 . I've sent a separate note to the list for this issue.) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)