From owner-freebsd-ppc@freebsd.org Sat Nov 26 04:25:17 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 50E1CC55194 for ; Sat, 26 Nov 2016 04:25:17 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-34.reflexion.net [208.70.210.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 02CB099C for ; Sat, 26 Nov 2016 04:25:16 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 31622 invoked from network); 26 Nov 2016 04:24:56 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 26 Nov 2016 04:24:56 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.20.0) with SMTP; Fri, 25 Nov 2016 23:25:16 -0500 (EST) Received: (qmail 18402 invoked from network); 26 Nov 2016 04:25:16 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 26 Nov 2016 04:25:16 -0000 Received: from [192.168.1.106] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id F13B2EC9024; Fri, 25 Nov 2016 20:25:08 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: Re: I think I found why the iMac G3 that I have access to has not booted FreeBSD vintages: 2015-Mar+ . . . [Yep: booted!] From: Mark Millard In-Reply-To: <5E0BDD50-FA00-4AF3-B2DF-F0C058AE4835@dsl-only.net> Date: Fri, 25 Nov 2016 20:25:08 -0800 Cc: Nathan Whitehorn , FreeBSD PowerPC ML Content-Transfer-Encoding: quoted-printable Message-Id: <2A19F1AE-7F98-47DF-AFE5-2D6EEF6637CC@dsl-only.net> References: <8915A2F8-0C75-4B8B-BCC1-7252EA02D292@dsl-only.net> <53724219-2378-45E0-B521-8F3EFA85CE41@dsl-only.net> <5E0BDD50-FA00-4AF3-B2DF-F0C058AE4835@dsl-only.net> To: Justin Hibbits X-Mailer: Apple Mail (2.3251) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Nov 2016 04:25:17 -0000 On 2016-Nov-25, at 2:12 PM, Mark Millard wrote: > On 2016-Nov-25, at 11:37 AM, Justin Hibbits = wrote: >=20 >> Hi Mark, >>=20 >> Nice legwork on this. I just committed r309167 which should fix this = bug. Can you update and test? >>=20 >> - Justin Works fine in my testing. I took my head -r308874 environments for powerpc and powerpc64 and . . . A) Used: "svnlite revert" on my change for the issue. B) Used: "svnlite update -r309167 = /usr/src/sys/powerpc/include/cpufunc.h" C) Rebuilt kernels for TARGET_ARCH=3Dpowerpc and TARGET_ARCH=3Dpowerpc64 D) Installed them. E) Used "objdump -d" to confirm the mtsrin-then-isync sequences in the kernels. F) For TARGET_ARCH=3Dpowerpc: F.1) Booted the iMac G3 F.2) Booted a couple of PowerMac G4s F.3) Booted a couple of PowerMac G5s G) For TARGET_ARCH=3Dpowerpc64: G.1) Booted a couple of PowerMac G5s All worked fine with your code update. This sequence avoided getting the clang 3.9.0 update involved, separating the testing concerns. [I avoided one PowerMac G4 that no version of FreeBSD that I've tried in it has ever managed to finish booting: the attempts hang when normally the next normal message would be the first about finding the usb keyboard. Same boot SSD and keyboard work everyplace else each time that I've tried, various keyboards tried. Mac OS X and Ubuntu variants that I've tried boot and operate the odd PowerMac just fine. I've never made any progress on figuring this issue out.] =3D=3D=3D Mark Millard markmi at dsl-only.net