Note: Fix committed to main for PPC32 SMP

Mark Millard marklmi at yahoo.com
Tue Mar 9 06:59:20 UTC 2021


On 2021-Mar-8, at 21:52, Mark Millard <marklmi at yahoo.com> wrote:

> On 2021-Mar-8, at 16:40, Brandon Bergren <bdragon at FreeBSD.org> wrote:
> 
>> On Mon, Mar 8, 2021, at 5:06 PM, Mark Millard wrote:
>>>> I'm gonna need a hexdump of the contents of the platform-cpu-timebase property on /cpus to get G5 models fixed properly (along with the model property on /)
>>> 
>>> ofwdump -ap on the G5 2-socket/2-cores-each reports:
>>> 
>>>   platform-cpu-timebase:
>>>     ff 99 1d 78 
>>> 
>>> (This may be one of the G5's last acts. Sitting basically
>>> idle is keeping the fan busy.)
>> 
>> Ah, I think I meant platform-do-cpu-timebase -- the one I had you grab looks like a handle.
>> 
>> Also I need the PowerMacX,Y model to go with it.
>> 
>> Really, if you could ofwdump -ap the whole thing and upload that somewhere, I can make sure I have a handle on exactly how it works so I can get it right.
> 
> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=223108 now has a xz of a full ofwdump -ap output for the PowerMac11,2 .

By the way: the only reason I can get ofwdump -ap output
on the PowerMac G5's that I've access to is because of the
extra patches that I run. On a normal FreeBSD build it
crashes in open firmware.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237590

is about the crashes and what caused the problem.

A more direct way to get the crash than ofwdump -ap
is:

ofwdump -Plog /packages/obp-tftp

ofwdump usage that avoids that area should work as I
remember.

>> I posted the G4 timebase sync code at https://reviews.freebsd.org/D29136 and will add G5 code on as I get the platform data for them.
> 
> 
> Other than the PowerMac11,2 and PowerMac7,2 (G5s) and PowerMac3,6 (G4s)
> the rest of the PowerMacs are single socket/single core. One is a G3.
> Two are G4's, but one of which I've never gotten FreeBSD to do more
> than hang during boot attempts. (MacOS and Linux variants that I had
> tried had no problems. I never did figure out much about where or why
> FreeBSD would stop.)
> 
> The PowerMac11,2 gets temperature notices before the login prompt.



===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)



More information about the freebsd-ppc mailing list