Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Oct 2020 15:02:38 +0000
From:      Javi Hotmail <volkovdablo@hotmail.com>
To:        Brandon Bergren <bdragon@FreeBSD.org>, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   Re: Question about xserve G5
Message-ID:  <DB8PR04MB68608DF3EF55DE81641673C3AC150@DB8PR04MB6860.eurprd04.prod.outlook.com>
In-Reply-To: <de558c8e-f31c-482b-83ec-a8bef521c224@www.fastmail.com>
References:  <DB8PR04MB68602F9341DEED4BA6808046AC140@DB8PR04MB6860.eurprd04.prod.outlook.com> <B20755EC-8EA1-4326-B4D8-EF657ACF73ED@macmic.franken.de> <DB8PR04MB6860543600F2C6FDEDF32BD8AC140@DB8PR04MB6860.eurprd04.prod.outlook.com> <88d23ee0-765d-1b82-4318-2c8359018b1a@freebsd.org> <DB8PR04MB6860BC2392B1637417EF8977AC140@DB8PR04MB6860.eurprd04.prod.outlook.com> <DB8PR04MB686092F96B5AEE44D82A1A97AC140@DB8PR04MB6860.eurprd04.prod.outlook.com> <0f4a1ee8-a37f-ea3d-6807-bb2431235a82@gmail.com> <DB8PR04MB6860FB3DE5056A919EFDB71CAC150@DB8PR04MB6860.eurprd04.prod.outlook.com> <de558c8e-f31c-482b-83ec-a8bef521c224@www.fastmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Is there any documentation that I could read about this? Also why is not
possible from the kernel to run functions from the DT?. I just started
looking at the code now; It seems to me that depends on some sort of
openfirmware functionality. Why is this?

Regards,

Javi.

On 30/10/2020 14:54, Brandon Bergren wrote:
> Part of the problem is that our cpufreq stuff is pretty patchy because we don't have the ability to run platform functions from the device tree, so the frequency scaling is dependent on a per-cpu-model implementation being present in the code (instead of being able to execute the system-provided sequences that Mac99-compatible machines provide)
>
> What exact model is your CPU reported as?
>
> On Fri, Oct 30, 2020, at 9:31 AM, Javi Hotmail wrote:
>> I also have a PowerMac G5 (Dual Core 2.3 Ghz) and it really works like a
>> charm. But the heatsink in literally four times the size of the Xserve.
>> And to be honest I don't know what they were thinking when Apple was
>> designing the airflow of the case, because is less than optimal in many
>> ways.
>>
>> I know that is an overheating issue because the FreeBSD kernel start
>> spitting a message saying (CPU Diode is 134C, and maximum temperature
>> allowed is 90C).
>>
>> After that the blowers got to maximum speed for few second. Sometime it
>> can actually regulate the temperature and it won't shut down. But if it
>> continues to print the same message for 5 seconds the kernel will
>> initiate shutdown automatically.
>>
>> I really want to get cpufreq + powerd working because if this happens
>> you can also underclock the cpu to balance out the heat issue. But it
>> really seems to me that the implementation for G5 in cpufreq is a mess.
>> So I guess that I'll need to jump into that.
>>
>> I've never used the kernel debugger (DDB) on a powerpc (my idea is to
>> use it via serial port). If anybody has any tips in this regard I'm all
>> ears.
>>
>> Javi.
>>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DB8PR04MB68608DF3EF55DE81641673C3AC150>