Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Sep 2020 11:09:45 -0500
From:      "Brandon Bergren" <bdragon@FreeBSD.org>
To:        "Mark Millard" <marklmi@yahoo.com>
Cc:        "FreeBSD PowerPC ML" <freebsd-ppc@freebsd.org>
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?=
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> <cd9d2b72-219f-4550-a437-4ac3aa1da66d@www.fastmail.com> <AF27169A-00FC-4984-83C2-307EA885D7A1@yahoo.com> <11fe573a-24c3-47be-95ed-c601ec54f168@www.fastmail.com> <E23CF7F6-B69C-44C7-B356-4AB65E011268@yahoo.com> <B4D16405-1B0C-4500-866F-75F32FED235A@yahoo.com> <92f57afb-33cb-4d38-be17-4b8c81cb9c89@www.fastmail.com> <D6DC1C60-E50D-4A12-9F3B-6CEBA6A76748@yahoo.com> <6a0ade9d-26f2-4448-b066-0b06ed3ba5ef@www.fastmail.com> <9D4314E7-92C9-4BDD-B023-8C9BC3DCCAB0@yahoo.com> <E1EEDF91-42B1-4319-9513-7DE6FDE6E5F3@yahoo.com> <F1808C34-3C1A-44DC-BB23-2F0959AC64F5@yahoo.com> <db3de197-eb27-40ef-89ac-433b7fa72fe4@www.fastmail.com> <5E79BB07-D54B-4A8E-B592-F480211D0B92@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 23, 2020, at 3:58 AM, Mark Millard wrote:
> On 2020-Sep-23, at 00:04, Brandon Bergren <bdragon at FreeBSD.org> wrote:
> 
> > On Tue, Sep 22, 2020, at 7:50 PM, Mark Millard wrote:
> >> 
> >> 
> >> On 2020-Sep-22, at 17:18, Mark Millard <marklmi at yahoo.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?88052e3f-4b79-45ca-8ebb-9fc19cbc558b>