From owner-freebsd-ppc@freebsd.org Mon Jan 28 05:57:13 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 6A5171488414 for ; Mon, 28 Jan 2019 05:57:13 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic308-10.consmr.mail.gq1.yahoo.com (sonic308-10.consmr.mail.gq1.yahoo.com [98.137.68.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 5A7397208E for ; Mon, 28 Jan 2019 05:57:12 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: 4CEi9qEVM1kPnrgnfzhbbCWluh_dTaUI4ixM_mlbb351qyPdX945ivR0qm0RsVY oqqnB_DnDlWWFa.1XB.WlVU177mXdmUjylZMIenVfJiX6HRIObtmPCc7YH77QgC.TD1_kTBspdlC 9BvEmpVRsgBaF64iefPppqQKjpJmuLayVEEI_z3_kOy14p9gttY9U01BfupFB15bmzZAvHNLUTtz RP3JfyH4lTdNLLi596c5c._ncFSWC06qrLQAqcQJy..cIz9TnoyxotD3eT8Sya8zdOisi7xVhzeJ Fc0rm0On068oi17BKeCfzqbC6RJlG_ThLaevpgosTDyKzfaGJHVPvtXhXPJ90ns5sGxpfmEeVtd8 CuXSrjQFJtd5T3mArL6n8c2dn3f.IpnWQVlweGp95s1Lmz8.cy0f3ZT7pc2fQ3J.jOMV7Gog2DKm SHJudPAlwMEGARVScRT34ksBSAr0MdXjsv4qpVtb4YtKdesgxspcEBbjiZRRcuuwZR9XYVz2r3pq UYdg8_cQX.owYgxrB5ie.20C43Am2GX223xFF7L31yEBSYq1wkpcrecpXsrpTEH3ndMWs5WYg.Sj AZKDyUvuyxQ4yUnlWLjmfhaYKLFB.eF1Vkpze19NZTVZ6WmyEfJNGmPnAtap.L8uklCzBJQx0WbM o.YBOZqIoCE01BAFVWbdW97nRGjOmfTe8DQIAWSTuuSdZLZFbCMPcKo652_HNfMVcvRxmvYZ.lET XT6Kiv8rZ1qNh5faj00vpm32vEgQN4tprSKuXWGQPYDLEDNPFMNPGhqOMPoMlLlKlCtsVTc7cyIC U.u.W8vMdgtG84qS2.RZGUeHUIBysn58d.rtAR5mUfkgQrhf1GqDJGosHuXbQ3JEMJWLm0_zshZP 61YQ2GByt0GtfLGHqGs6k7RuU9oBDAiUxYqK5Nf.NE5LqDmKvehLQJCYG34r92lrPFl04lY9dD57 iAJ6GhelvqFep.vc9acLLhALIY5AKie6xwJJ9nEcKbCxPPMgwk.pt.q3w4dRe7WE2bIxZjVUIsNY MmwiRNoeEtmd.Yozviixq7ZIIqelUaD26cib3FicokPc79lJ0SEVRo_6H8SfapIUGD0GU Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.gq1.yahoo.com with HTTP; Mon, 28 Jan 2019 05:57:10 +0000 Received: from c-67-170-167-181.hsd1.or.comcast.net (EHLO [192.168.1.113]) ([67.170.167.181]) by smtp404.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 1a6b7a8b234fa3e553d0bf08f18d8f10; Mon, 28 Jan 2019 05:57:09 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: Booting and Installing Release 12 on PowerMac G5 "Quad Core" From: Mark Millard In-Reply-To: <283c5d11-7363-f9e3-48cc-42bd6d036236@gmail.com> Date: Sun, 27 Jan 2019 21:57:08 -0800 Cc: freebsd-ppc@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <283c5d11-7363-f9e3-48cc-42bd6d036236@gmail.com> To: Curtis Hamilton X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: 5A7397208E X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.37 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(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]; 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.18)[-0.181,0]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; 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: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.92)[-0.921,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.997,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.24)[ipnet: 98.137.64.0/21(0.71), asn: 36647(0.57), country: US(-0.08)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[34.68.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: Mon, 28 Jan 2019 05:57:13 -0000 On 2019-Jan-27, at 16:05, Curtis Hamilton = wrote: > Is there a recommended solution to booting/installing Release 12 on = the PowerMac G5 "Quad Core"? >=20 > I've read through all the threads in this mailing list, but have yet = to find a solution that works on my Mac. Many of the referenced = snapshot kernels could not be located. Building from source yielded the = same results as down loaded pre-built images. >=20 > Any tips or hits would be appreciated. A specific change was made for powerpc64 that lead to this G5 boot = problem. However, it appears to just have exposed some previously unknown problem = rather than the change itself being wrong. I'm not aware of anyone having = figured out the underlying problem --or even of having figured out a way to = figure it out. I know I've not come up with any ideas so far. So far as I know, = only old PowerMacs show such odd behavior with the change. So for now I base my builds on reverting the change in question. (I = normally use head, including 12 back when it was head.) . . ./sys/powerpc/include/vmparam.h has a definition of = VM_MAX_KERNEL_ADDRESS . I reverted the: #define VM_MAX_KERNEL_ADDRESS 0xe0000007ffffffffUL to be: #define VM_MAX_KERNEL_ADDRESS 0xe0000001c7ffffffUL instead. But, again, I expect that this is a way of sidestepping another problem that has not been found: a hack/workaround instead of a valid, general fix. Disabling smp via the following at the loader prompt seems to avoid the problem without such a change to to VM_MAX_KERNEL_ADDRESS : set kern.smp.disabled=3D1 Nothing else has to be set to my knowledge. But using a single CPU/core has other consequences that may be of note depending on what one wants to do with the G5. [For the following: I believe it only applies to head , not even stable/12: The fix so that usefdt would work at all ( -r341614 ) is for . . ./sys/powerpc/powermac/macgpio.c and has not been merged to stable/12 ( and, so, not to release/12.0.0 ).] As far as I know the following by itself at the loader prompt does not side step the VM_MAX_KERNEL_ADDRESS related problem: set usefdt=3D1 However, usefdt should avoid other issues with mixing use of Apple's OpenFirmware with FreeBSD execution. (It does swap which Ethernet port is 0 vs. 1 as seen in FreeBSD.) So once stable/12 has the update to sys/powerpc/powermac/macgpio.c then usefdt=3D1 would likely be recommended for stable/12 as well. (It will be a while before it shows up in a release/12.?.? .) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)