From owner-freebsd-ppc@freebsd.org Thu Oct 29 19:21:25 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3550945B825 for ; Thu, 29 Oct 2020 19:21:25 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CMb050hfmz4F2K; Thu, 29 Oct 2020 19:21:25 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from comporellon.tachypleus.net (unknown [IPv6:2601:405:4a00:acd:603b:49ad:3ff4:7af7]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: nwhitehorn/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id C8FAE25FA8; Thu, 29 Oct 2020 19:21:24 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Subject: Re: Question about xserve G5 To: Javi Hotmail , Michael Tuexen Cc: freebsd-ppc@freebsd.org References: <88d23ee0-765d-1b82-4318-2c8359018b1a@freebsd.org> From: Nathan Whitehorn Message-ID: <468246a6-4a42-29f3-5028-707828ea34d3@freebsd.org> Date: Thu, 29 Oct 2020 15:21:23 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Oct 2020 19:21:25 -0000 Historically, these machines have worked fine and been quiet. I no longer have one, however, but will take a look through here. -Nathan On 10/29/20 3:15 PM, Javi Hotmail wrote: > > Also another issue that (despite the fact that I cleaned the CPUs and > added new thermal paste) they overheat and the system turns off. > > With kern.smp.disabled=1 takes a bit longer, but it also shuts down. > Is this also a known issue? > > > Kind Regards, > > Javi. > > > On 29/10/2020 18:07, Javi Hotmail wrote: >> Here it is. >> >> >> Javi. >> >> >> On 29/10/2020 14:14, Nathan Whitehorn wrote: >>> 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 >>>>>> 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" >>>> >>> >>> _______________________________________________ >>> 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"