From owner-freebsd-ppc@freebsd.org Fri Oct 30 13:48:02 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 E920745287B for ; Fri, 30 Oct 2020 13:48:02 +0000 (UTC) (envelope-from bacon4000@gmail.com) Received: from mail-il1-x144.google.com (mail-il1-x144.google.com [IPv6:2607:f8b0:4864:20::144]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CN3Xy10H1z40wy for ; Fri, 30 Oct 2020 13:48:01 +0000 (UTC) (envelope-from bacon4000@gmail.com) Received: by mail-il1-x144.google.com with SMTP id n5so6532565ile.7 for ; Fri, 30 Oct 2020 06:48:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=q5Mf6cNMMiOdx+lHQSOW0AKtXqbF4lXCUHm9Wva4NrI=; b=a9b3x1CcBDMlZr7X47uq4KaUR2khtPp7d2eDSqPreOuDfjI6lDwcse2wcKL0gSBuZK IaUddogDY7HZ7DrXlT3MwTTR/dfXTg0cWFJ600oann0Cjhs26ydx1Mu5DBb35IbLxeXH me0R4vVuwj16pm0RfPenCAUDlt4gd7Y42iDHH4UuaPlRKd5cgDZugRZm8C2aQ9Rm0Qa/ GW4TnAiaH8yzMX1cqTL6E1Ks2xNqZToZxHyeAfnX5hMte4TaJ+d4G69erNIRg9HGtV6L rVBcHY6CRL0WqT0xwGfNND7SeEpYFITaTWJt+tBtVwZGX9sT0MbR/xDwoRtysn5TqAIL Z1rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=q5Mf6cNMMiOdx+lHQSOW0AKtXqbF4lXCUHm9Wva4NrI=; b=S4vgiBrTqx0+w68nuR8nFrDf2H5iMwhxyrPAYaYbWoQCrx+vgqJq9Q+OtSx4AV9GUJ 7O7cv4nWnncyBxj+FJGC+Eqy7j5hIRkuKHYnPd86Mabd6cN4vHZXE1ZXEglrM5N4ix9K +1sNlO2zT8hsLHJIOnPP+JTVw6qbXXT+GL9yRM+86tQOAgHHNQSF7xqsvvIrWGW2t9c0 NRAPPB/HZk5Hvp4kBffeuSwVJSHfkjcDf/vNerarlhmHgHbig6/eE0R5RuO3eVza4x5W chwF37sOcS5+qBQ8skf4JdbtZHH1Ks/Ux0lthHWDpjUOYni/saa0+rUYl04C3hsvCZNa giiA== X-Gm-Message-State: AOAM531DHx0/Rm7KuvnD+nNJP9+ll3xYGWaxUPflQ1+Ou+ydHz2X5G7U 4aF0xe7bd8bcnGUXaG56y+UeTWHu42k= X-Google-Smtp-Source: ABdhPJx4lKREO2VPRYtJbflvYvtTEmzTGjeXzgER4Hmp/mEwFCdcQFotMm29xKDoXRlw7uRADXC7kQ== X-Received: by 2002:a92:9907:: with SMTP id p7mr1948426ili.200.1604065680544; Fri, 30 Oct 2020 06:48:00 -0700 (PDT) Received: from coral.acadix.biz (2603-6000-a40b-4f00-0223-24ff-fe37-c4d7.res6.spectrum.com. [2603:6000:a40b:4f00:223:24ff:fe37:c4d7]) by smtp.gmail.com with ESMTPSA id o72sm5700837ilb.6.2020.10.30.06.47.59 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 30 Oct 2020 06:47:59 -0700 (PDT) Subject: Re: Question about xserve G5 To: freebsd-ppc@freebsd.org References: <88d23ee0-765d-1b82-4318-2c8359018b1a@freebsd.org> From: Jason Bacon Message-ID: <0f4a1ee8-a37f-ea3d-6807-bb2431235a82@gmail.com> Date: Fri, 30 Oct 2020 08:47:58 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.3.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-Rspamd-Queue-Id: 4CN3Xy10H1z40wy X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=a9b3x1Cc; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of bacon4000@gmail.com designates 2607:f8b0:4864:20::144 as permitted sender) smtp.mailfrom=bacon4000@gmail.com X-Spamd-Result: default: False [-3.20 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.16)[-0.158]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.02)[-1.018]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.02)[-1.021]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ppc@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::144:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-ppc] 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 13:48:03 -0000 I don't have any overheating problems on my PowerMac G5, which I think=20 is pretty similar except for the form factor.=C2=A0 Are you sure it's=20 overheating that's causing the shutdown? The wild fan issue in my case oddly seems to be mitigated by having a=20 monitor and keyboard connected during boot.=C2=A0 If I boot headless, the= =20 fans ramp up almost every time.=C2=A0 With monitor and keyboard, it almos= t=20 never happens. On 10/29/20 2: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=3D1 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 read= s >>>> the device tree data from open firmware correct?. >>>> >>>> I believe this implementation is within: >>>> >>>> pcr.c=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 pmcr.c=C2=A0=C2=A0=C2=A0 = =C2=A0=C2=A0=C2=A0 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 fo= rth >>>>>> 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. Work= s >>>>>> 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=3DPowerPC,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=3DPowerPC,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 lev= els, >>>>>> 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=3D1 >>>>> >>>>> 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.or= g" >>>> >>> _______________________________________________ >>> 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" --=20 Earth is a beta site.