From owner-freebsd-ppc@freebsd.org Thu Oct 29 12:27:01 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 8DD8C44F2CF for ; Thu, 29 Oct 2020 12:27:01 +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 4CMPnw5hglz4fZW for ; Thu, 29 Oct 2020 12:27:00 +0000 (UTC) (envelope-from Michael.Tuexen@macmic.franken.de) Received: from [IPv6:2a02:8109:1140:c3d:9c1e:e67e:c3bb:e57c] (unknown [IPv6:2a02:8109:1140:c3d:9c1e:e67e:c3bb:e57c]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTPSA id D9006722C80CC; Thu, 29 Oct 2020 13:26:56 +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 13:26:55 +0100 Cc: freebsd-ppc@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: References: 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: 4CMPnw5hglz4fZW 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 [1.25 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-0.20)[-0.197]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[franken.de]; ARC_NA(0.00)[]; AUTH_NA(1.00)[]; NEURAL_SPAM_SHORT(0.32)[0.322]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-0.17)[-0.171]; 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 12:27:01 -0000 > 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"