From owner-freebsd-ppc@freebsd.org Fri Oct 30 14:54:51 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 ECCBA453ED6 for ; Fri, 30 Oct 2020 14:54:51 +0000 (UTC) (envelope-from bdragon@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 4CN5235v8yz44Z8 for ; Fri, 30 Oct 2020 14:54:51 +0000 (UTC) (envelope-from bdragon@FreeBSD.org) Received: from auth2-smtp.messagingengine.com (auth2-smtp.messagingengine.com [66.111.4.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bdragon/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id A951C2F4CE for ; Fri, 30 Oct 2020 14:54:51 +0000 (UTC) (envelope-from bdragon@FreeBSD.org) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailauth.nyi.internal (Postfix) with ESMTP id 381CF27C0058 for ; Fri, 30 Oct 2020 10:54:51 -0400 (EDT) Received: from imap1 ([10.202.2.51]) by compute3.internal (MEProxy); Fri, 30 Oct 2020 10:54:51 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrleehgdeihecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecufghrlhcuvffnffculddutddmnecujfgurhepofgfgg fkjghffffhvffutgesthdtredtreertdenucfhrhhomhepfdeurhgrnhguohhnuceuvghr ghhrvghnfdcuoegsughrrghgohhnsefhrhgvvgeuufffrdhorhhgqeenucggtffrrghtth gvrhhnpeetteelffduvddttdeuvdfhfeehjedvvdfgvdekvdeftefhgeekvdekleevuedv udenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegsug hrrghgohhnodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqddutdegvdefheek ieegqddukedutdekheduqdgsughrrghgohhnpeephfhrvggvuefuffdrohhrghesihhmrg hprdgttg X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id E76D6C200A6; Fri, 30 Oct 2020 10:54:50 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-530-g8da6958-fm-20201021.003-g69105b13-v35 Mime-Version: 1.0 Message-Id: In-Reply-To: References: <88d23ee0-765d-1b82-4318-2c8359018b1a@freebsd.org> <0f4a1ee8-a37f-ea3d-6807-bb2431235a82@gmail.com> Date: Fri, 30 Oct 2020 09:54:31 -0500 From: "Brandon Bergren" To: "FreeBSD PowerPC ML" Subject: Re: Question about xserve G5 Content-Type: text/plain 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: Fri, 30 Oct 2020 14:54:52 -0000 Part of the problem is that our cpufreq stuff is pretty patchy because we don't have the ability to run platform functions from the device tree, so the frequency scaling is dependent on a per-cpu-model implementation being present in the code (instead of being able to execute the system-provided sequences that Mac99-compatible machines provide) What exact model is your CPU reported as? On Fri, Oct 30, 2020, at 9:31 AM, Javi Hotmail wrote: > I also have a PowerMac G5 (Dual Core 2.3 Ghz) and it really works like a > charm. But the heatsink in literally four times the size of the Xserve. > And to be honest I don't know what they were thinking when Apple was > designing the airflow of the case, because is less than optimal in many > ways. > > I know that is an overheating issue because the FreeBSD kernel start > spitting a message saying (CPU Diode is 134C, and maximum temperature > allowed is 90C). > > After that the blowers got to maximum speed for few second. Sometime it > can actually regulate the temperature and it won't shut down. But if it > continues to print the same message for 5 seconds the kernel will > initiate shutdown automatically. > > I really want to get cpufreq + powerd working because if this happens > you can also underclock the cpu to balance out the heat issue. But it > really seems to me that the implementation for G5 in cpufreq is a mess. > So I guess that I'll need to jump into that. > > I've never used the kernel debugger (DDB) on a powerpc (my idea is to > use it via serial port). If anybody has any tips in this regard I'm all > ears. > > Javi. > -- Brandon Bergren bdragon@FreeBSD.org