Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Oct 2020 10:14:01 -0400
From:      Nathan Whitehorn <nwhitehorn@freebsd.org>
To:        Javi Hotmail <volkovdablo@hotmail.com>, Michael Tuexen <Michael.Tuexen@macmic.franken.de>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: Question about xserve G5
Message-ID:  <88d23ee0-765d-1b82-4318-2c8359018b1a@freebsd.org>
In-Reply-To: <DB8PR04MB6860543600F2C6FDEDF32BD8AC140@DB8PR04MB6860.eurprd04.prod.outlook.com>
References:  <DB8PR04MB68602F9341DEED4BA6808046AC140@DB8PR04MB6860.eurprd04.prod.outlook.com> <B20755EC-8EA1-4326-B4D8-EF657ACF73ED@macmic.franken.de> <DB8PR04MB6860543600F2C6FDEDF32BD8AC140@DB8PR04MB6860.eurprd04.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
>>> To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org"
> _______________________________________________
> freebsd-ppc@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
> To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org"
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?88d23ee0-765d-1b82-4318-2c8359018b1a>