From owner-freebsd-ppc@freebsd.org Wed Sep 23 16:10:06 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4B9433FDD98 for ; Wed, 23 Sep 2020 16:10:06 +0000 (UTC) (envelope-from bdragon@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BxNRy1FDrz3XWQ; Wed, 23 Sep 2020 16:10:06 +0000 (UTC) (envelope-from bdragon@FreeBSD.org) Received: from auth1-smtp.messagingengine.com (auth1-smtp.messagingengine.com [66.111.4.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bdragon/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 082992777B; Wed, 23 Sep 2020 16:10:06 +0000 (UTC) (envelope-from bdragon@FreeBSD.org) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id 7CCE927C0054; Wed, 23 Sep 2020 12:10:05 -0400 (EDT) Received: from imap1 ([10.202.2.51]) by compute4.internal (MEProxy); Wed, 23 Sep 2020 12:10:05 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudeigdelkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculddutddmnecujfgurhepofgfggfkjghffffhvffutgesthdtredtreer jeenucfhrhhomhepfdeurhgrnhguohhnuceuvghrghhrvghnfdcuoegsughrrghgohhnse fhrhgvvgeuufffrdhorhhgqeenucggtffrrghtthgvrhhnpefgueeujeeihedvfeeftedt iefgleeuteefheffudfhhfdvvddtfeetgfetfffhvdenucffohhmrghinhepfhhrvggvsg hsugdrohhrghdpughslhdqohhnlhihrdhnvghtnecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehmrghilhhfrhhomhepsggurhgrghhonhdomhgvshhmthhprghuthhhph gvrhhsohhnrghlihhthidquddtgedvfeehkeeigedqudekuddtkeehuddqsggurhgrghho nheppefhrhgvvgeuufffrdhorhhgsehimhgrphdrtggt X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 43578C200A6; Wed, 23 Sep 2020 12:10:05 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-355-g3ece53b-fm-20200922.004-g3ece53b9 Mime-Version: 1.0 Message-Id: <88052e3f-4b79-45ca-8ebb-9fc19cbc558b@www.fastmail.com> In-Reply-To: <5E79BB07-D54B-4A8E-B592-F480211D0B92@yahoo.com> References: <52783D16-5DCA-45BC-9238-2518326454A1@yahoo.com> <6E99EE39-D2B8-415A-A5BF-823C0F0C22D6@yahoo.com> <11fe573a-24c3-47be-95ed-c601ec54f168@www.fastmail.com> <92f57afb-33cb-4d38-be17-4b8c81cb9c89@www.fastmail.com> <6a0ade9d-26f2-4448-b066-0b06ed3ba5ef@www.fastmail.com> <9D4314E7-92C9-4BDD-B023-8C9BC3DCCAB0@yahoo.com> <5E79BB07-D54B-4A8E-B592-F480211D0B92@yahoo.com> Date: Wed, 23 Sep 2020 11:09:45 -0500 From: "Brandon Bergren" To: "Mark Millard" Cc: "FreeBSD PowerPC ML" Subject: =?UTF-8?Q?Re:_head_-r365932_on_PowerMac_G5_(2_dual-core_sockets):_Crashe?= =?UTF-8?Q?s_before_login_prompt_if_powerd_is_enabled_in_/etc/rc.conf?= Content-Type: text/plain X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Sep 2020 16:10:06 -0000 On Wed, Sep 23, 2020, at 3:58 AM, Mark Millard wrote: > On 2020-Sep-23, at 00:04, Brandon Bergren wrote: > > > On Tue, Sep 22, 2020, at 7:50 PM, Mark Millard wrote: > >> > >> > >> On 2020-Sep-22, at 17:18, Mark Millard wrote: > >>> By "immediately" I mean I do not even get close to > >>> seeing the loader prompt. The display still shows > >>> OpenFirmware content: it has not been cleared yet. > >>> > >> > >> Just to be explicit: the dual socket G4 is the only type > >> of G3/G4 that does make it to the loader prompt (and a > >> little beyond). The G5 2 dual-core sockets is the only > >> context that I've tried that gets very far past the > >> loader prompt. > > > > This is strange. Loader works just fine on all of my G4 equipment. > > > > Are you making sure to use the "dev /memory@0 100000 1000 do-unmap" trick on 4.8.7f1 devices? > > I know nothing about that and have never had to do such a thing > historically. I've never had to identify "4.8.7f1 devices". There is a bug in some versions of the PowerMac BootROM where a memory page at 0x100000 would remain mapped without being properly listed in the mmu properties (likely due to the way Open Firmware was initialized) that breaks bootloaders that touch that page. It is known to be a thing on at least 4.8.7f1 BootROM, but may also affect other versions. You can see the BootROM version on the OpenFirmware screen when the machine turns on. On affected devices, the bug can be permanently repaired using nvedit to execute the workaround automatically, or it can be typed in by hand every time. This is described on https://wiki.freebsd.org/powerpc > > > How are you starting loader? > > Turn the PowerMac on with the SSD already plugged onto the > IDE adapter that I have in place. (The G3 is configured > such that I also have to type mac-boot to OpenFirmware.) > > It is the same SSD being moved between the 2 dual-core socket G5, > 2 socket G4, 1 socket G4, and the G3. So it is significant that > the 2 socket G4/G5 do get to the loader prompt but the others > do not. > > 1-socket G4/G3 example lines: > > QUOTE > ofw_close: devh=0x0 > > >> FreeBSD/powerpc Open Firmware boot block > Boot path: /pci@f2000000/mac-io@17/ata-4@1f000/@0: > Boot loader: /boot/loader > Boot volume: /pci@f2000000/mac-io@17/ata-4@1f000/@0:3 > END QUOTE How was this SSD set up? When was the last time you reinstalled boot1.hfs? You aren't trying to use memstick.img, correct? That's known to be be broken currently. > > No more shows up for the 1 socket PowerMacs. > > > Is this on cdrom, network, or usb? > > SSD hanging off the IDE bus via an adapter. > > > To confirm, it doesn't get as far as the kernel loading spinner? > > It does not. See above. > > === > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) > > -- Brandon Bergren bdragon@FreeBSD.org