Question about xserve G5

Nathan Whitehorn nwhitehorn at freebsd.org
Thu Oct 29 14:14:04 UTC 2020


Could you provide your dmesg? It would be nice to do what sensors you have.
-Nathan

On 10/29/20 8:36 AM, Javi Hotmail wrote:
> If I'm not mistake the issue then is how the PPC implementation reads
> the device tree data from open firmware correct?.
>
> I believe this implementation is within:
>
> pcr.c        pmcr.c        pmufreq.c
>
>
> Thanks in advance,
>
> Javi.
>
>
> On 29/10/2020 12:26, Michael Tuexen wrote:
>>> On 29. Oct 2020, at 10:51, Javi Hotmail <volkovdablo at hotmail.com> wrote:
>>>
>>> Hello all,
>>>
>>> I'm new in this mailing list, although I've been going back and forth
>>> with PPC (G4/G5) and FreeBSD since 9.0.
>>>
>>> I have a question that perhaps some of you already stumbled across, but
>>> I wanted to know if there is a way to get it to work before I jump in
>>> the code.
>>>
>>> I have a xserve G5 dual 2.3Ghz, and I installed FreeBSD 12.1. Works
>>> quite well, but I cannot get cpufreq + powerd/powerdxx to work at all.
>>>
>>> I get this:
>>>
>>> # powerdxx
>>> powerd++: (ENOFREQ) cannot access dev.cpu.0.freq, at least the first CPU
>>> core must support frequency updates
>>>
>>>
>>> This is the relevant part of sysctl:
>>> # sysctl dev.cpu
>>> dev.cpu.1.%parent: cpulist0
>>> dev.cpu.1.%pnpinfo: name=PowerPC,G5
>>> dev.cpu.1.%location:
>>> dev.cpu.1.%driver: cpu
>>> dev.cpu.1.%desc: Open Firmware CPU
>>> dev.cpu.0.%parent: cpulist0
>>> dev.cpu.0.%pnpinfo: name=PowerPC,G5
>>> dev.cpu.0.%location:
>>> dev.cpu.0.%driver: cpu
>>> dev.cpu.0.%desc: Open Firmware CPU
>>> dev.cpu.%parent:
>>>
>>> The issue is that after few minutes the fans ramp up to insane levels,
>>> and my goal with this is to use powerd or powerdxx to manage the situation.
>> The fans ramping up is a known issue. One way to work around it is to
>> disable SMP.
>>
>> To disable SMP, put in /boot/loader.conf
>> kern.smp.disabled=1
>>
>> Best regards
>> Michael
>>> Thanks in advance,
>>>
>>> Javi.
>>>
>>> _______________________________________________
>>> freebsd-ppc at freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
>>> To unsubscribe, send any mail to "freebsd-ppc-unsubscribe at freebsd.org"
> _______________________________________________
> freebsd-ppc at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
> To unsubscribe, send any mail to "freebsd-ppc-unsubscribe at freebsd.org"
>



More information about the freebsd-ppc mailing list