From owner-freebsd-ppc@freebsd.org Thu Oct 29 20:06:46 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 D8FCA45CB58 for ; Thu, 29 Oct 2020 20:06:46 +0000 (UTC) (envelope-from Michael.Tuexen@macmic.franken.de) Received: from drew.franken.de (mail-n.franken.de [193.175.24.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CMc0P5GqRz4HpL; Thu, 29 Oct 2020 20:06:45 +0000 (UTC) (envelope-from Michael.Tuexen@macmic.franken.de) Received: from [IPv6:2a02:8109:1140:c3d:7cd8:323b:fee1:e325] (unknown [IPv6:2a02:8109:1140:c3d:7cd8:323b:fee1:e325]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTPSA id 6EFD9722C80CE; Thu, 29 Oct 2020 21:06:41 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: Question about xserve G5 From: Michael Tuexen In-Reply-To: Date: Thu, 29 Oct 2020 21:06:38 +0100 Cc: Nathan Whitehorn , freebsd-ppc@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <42F3CECB-B919-473B-98C7-1B24585D7AB7@macmic.franken.de> References: <88d23ee0-765d-1b82-4318-2c8359018b1a@freebsd.org> To: Javi Hotmail X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-Rspamd-Queue-Id: 4CMc0P5GqRz4HpL X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of Michael.Tuexen@macmic.franken.de has no SPF policy when checking 193.175.24.27) smtp.mailfrom=Michael.Tuexen@macmic.franken.de X-Spamd-Result: default: False [-0.40 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-0.34)[-0.342]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[franken.de]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.50)[-0.498]; NEURAL_HAM_MEDIUM(-0.86)[-0.855]; R_SPF_NA(0.00)[no SPF record]; FREEMAIL_TO(0.00)[hotmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:680, ipnet:193.174.0.0/15, country:DE]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-ppc]; RCVD_IN_DNSWL_LOW(-0.10)[193.175.24.27:from] 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 20:06:46 -0000 > On 29. Oct 2020, at 20:15, 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? No. It only works around a bug which results is the fans getting loud without this being needed. Best regards Michael > > > 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" > _______________________________________________ > 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"