From owner-freebsd-ppc@freebsd.org Sun Jan 19 08:38:26 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 BDB0D1F152C for ; Sun, 19 Jan 2020 08:38:26 +0000 (UTC) (envelope-from oggy@farscape.co.uk) Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) 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 480p9F5fWgz41M7 for ; Sun, 19 Jan 2020 08:38:25 +0000 (UTC) (envelope-from oggy@farscape.co.uk) Received: by mail-lj1-x231.google.com with SMTP id j26so30703040ljc.12 for ; Sun, 19 Jan 2020 00:38:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=farscape-co-uk.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=J96jrn+itT1mJGaw6/PH6IiPwDIRhdrZXr7giWr4lBI=; b=A7dwdJW6xCpkNlnYuNdD2P176lZpNuQQ98jeUAPTzSVLOKzVvpJ7oT9UGPHQ4PTuqz fK1KA3tvHTK5xNCtkwZS/UUT8U0SgFYzTXTdFz0vzi+SEQC/cT52EJ3F5+aN3FIcaYHc ZfmgPSSOBkObQlIQzbSVXboDNEbYWCeLMmJ/ssL1plWbjy1iR40AJyGp1WozISUH93+9 QmHu3B1Z8R60AxgNCyjulGxHakyYBNf/Hlgr5Zc0Ni5ZnMsctkD0CCa2crOAdj9+7oqg BMItcuzh/ot9AQsvUfgk8GXtJ3OTgJiVjGI4zNSv2DpCEZ6WntP0ZP/ZnJfIIRNyt9r3 8oQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=J96jrn+itT1mJGaw6/PH6IiPwDIRhdrZXr7giWr4lBI=; b=jZNMzlFyBs1qnD6AA0fwHzfIZ++2U7+F1tcW0rQNg0kPqLPaZYaZdZYxJqJ7r0qoE/ 0btTlCX8Zf0c6xMIBS8ycTsBfxxXme+AnuHWaz0TThiU21ptnxNy59G/3tpl5kuL1QiG Eqgf7gXYXq6Xa8YgUQmCn/NkGfnKKdmLazeQ40RkRW+4Wc7zoREOQ1f6mVOwROTvpV7Q c+n3o8UfSjOewyy5mccHYAmBDIOa1QP10lZOzwsmayYQstSQmFyCbnbeM/xE2L7RWt2Y tTlIQ3TJcougXAiWAUuPzXD5jeBwOaWCxQcqxBLDZba9G/pMcNvkc230jVHPJuKy0gJd vf0Q== X-Gm-Message-State: APjAAAVaomgEAPMx/+r9QrOxlffrmA6UiKviqy5C2bu6/yxVquGly+BK iIJ0KrmlRzWJVoeud1EFDQx8jvqUNuqKKURzQNxfCX+u X-Google-Smtp-Source: APXvYqyu558nE1KCyTlb5ISmvEFMLPqR4IzOZYC4/h3txMGMGUd3tsUoY5wfoi4f2tHdb4KnAwSSsTULXAi5pSlnheE= X-Received: by 2002:a2e:9705:: with SMTP id r5mr10334138lji.114.1579423102865; Sun, 19 Jan 2020 00:38:22 -0800 (PST) MIME-Version: 1.0 From: Francis Little Date: Sun, 19 Jan 2020 08:38:10 +0000 Message-ID: Subject: G5 Quad Fans full speed after 1 min To: FreeBSD PowerPC ML X-Rspamd-Queue-Id: 480p9F5fWgz41M7 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=farscape-co-uk.20150623.gappssmtp.com header.s=20150623 header.b=A7dwdJW6; dmarc=none; spf=pass (mx1.freebsd.org: domain of oggy@farscape.co.uk designates 2a00:1450:4864:20::231 as permitted sender) smtp.mailfrom=oggy@farscape.co.uk X-Spamd-Result: default: False [-5.26 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[farscape-co-uk.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ppc@freebsd.org]; DMARC_NA(0.00)[farscape.co.uk]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[farscape-co-uk.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[1.3.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-2.76)[ip: (-9.31), ipnet: 2a00:1450::/32(-2.59), asn: 15169(-1.83), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2020 08:38:26 -0000 Hi, My G5 Quad is running current from a few days ago, but this issue has been happening for a long time. After about 1 min of uptime, the fans go full speed. As soon as I query anything like CPU temp or fan rpm with sysctl, the fans return to a normal speed. 1 min later the fans go full speed again. I've been working round this for some time with a cron job that runs sysctl with one of the cpu temp sensors to calm the system. If I boot to OS X 10.5 and load the system, the fans are stable. Does anyone else get this? Regards From owner-freebsd-ppc@freebsd.org Sun Jan 19 10:16:19 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 14F1E1F44AD for ; Sun, 19 Jan 2020 10:16:19 +0000 (UTC) (envelope-from tuexen@freebsd.org) 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 "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 480rLB5K7Tz45pX for ; Sun, 19 Jan 2020 10:16:18 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from [IPv6:2a02:8109:1140:c3d:10ea:6d02:32e4:4b54] (unknown [IPv6:2a02:8109:1140:c3d:10ea:6d02:32e4:4b54]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTPSA id 10092721E280D; Sun, 19 Jan 2020 11:16:15 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: G5 Quad Fans full speed after 1 min From: Michael Tuexen In-Reply-To: Date: Sun, 19 Jan 2020 11:16:14 +0100 Cc: FreeBSD PowerPC ML Content-Transfer-Encoding: 7bit Message-Id: <9A615A24-8099-46CE-B224-F55FF07EEFAF@freebsd.org> References: To: Francis Little X-Mailer: Apple Mail (2.3608.40.2.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: 480rLB5K7Tz45pX X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-0.74 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.87)[-0.867,0]; NEURAL_SPAM_LONG(0.12)[0.123,0]; ASN(0.00)[asn:680, ipnet:193.174.0.0/15, country:DE] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2020 10:16:19 -0000 > On 19. Jan 2020, at 09:38, Francis Little wrote: > > Hi, > > My G5 Quad is running current from a few days ago, but this issue has been > happening for a long time. > > After about 1 min of uptime, the fans go full speed. > > As soon as I query anything like CPU temp or fan rpm with sysctl, the fans > return to a normal speed. > > 1 min later the fans go full speed again. > > I've been working round this for some time with a cron job that runs sysctl > with one of the cpu temp sensors to calm the system. > > If I boot to OS X 10.5 and load the system, the fans are stable. > > Does anyone else get this? Yepp, this happens for a long time now. Disabling SMP works around it. To disable SMP, put in /boot/loader.conf kern.smp.disabled=1 Best regards Michael > > Regards > _______________________________________________ > 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" From owner-freebsd-ppc@freebsd.org Sun Jan 19 11:13:11 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 CDE021F6672 for ; Sun, 19 Jan 2020 11:13:11 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic303-24.consmr.mail.gq1.yahoo.com (sonic303-24.consmr.mail.gq1.yahoo.com [98.137.64.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 480sbp6dw9z4CnZ for ; Sun, 19 Jan 2020 11:13:10 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: kM96ygcVM1me0SK2xNIovU8QmKW6_RcP9mN30LIEQLxqtHODWnBPZd4D3gmyyCk ap4ip50DU3J7jIFVEfoZXMmko.D._tkkR7m1TOhHD1ujzD1MBy_BRjoNcu465lN_hw9HRjFSDakt YxQSEGRFqCuXngNvk1QjRcatnQMhGOn_mhL.MglnPPH.OTHr9AKH.XYSht8a2RJQTocuFUHSl_bz fom5BErGVWHDc_z5B.6m8u3Th_f4Wko0EPJP3P59aCpfuVw2r5l9FpR7AqTqM9yxjd3siGhy3F_E FgvZ5vUrU3BsmaaX3QN.CBDjLvB6i0STd_tZuuHrlG0p0izy8rZ.xIw6rGkB7pB8H8aXsHy25fre 53gUrjsFPQGrwxApkPuV7Ci5RHEilxLCs5gxo8vXwuMDFvtg8T2nUo_G3AYVnipxx9aHToEAn.Ux WQZgl818npu0UAZ1uGIVwWvafMh3t6YkunkkA1JmrSWmEUB03DW5WA0wAL4aTOFRqssIQabDb_6g cMYftfFpkfUduudpe9QZfqu_gL.UE1GBruATRFH3Zzgy574SYcrGJ_UcF18oKqScx8O_r55v59Im GJTX6D4OPuMDk0rHY0_bM6vgj8q75pun9FGTgUdbGsnDUScJha.Tz3tCQ329FhuPenieGlob9Xr5 Tn9_XFAQVX5MPzdj0yen8vZrw669Y4DqMKjmsFYSaHx6borc8ixT42XKARuWWieykGW.9JzA18t_ hupuPL.wtcxsI6O7nqJrshbkDzIOPu5C9ETevs8ozbkNl5_ahs1vQHSEVuJMIlqk4g4eTgLkgUmR D9wlex3mASPYSEHlIUNdXjHXTpcUrsKZqYKAKl.WKqxcQUkFTeJUyL57d_a9EaVjC32ZzvSSIdPV sMiH8dFZOHZ7tA8aFzzDClLEhI57bEh3fce5bcYolNrTuTlTSV4VcpQMoW9Zsh.kPG4g8ZPvA7vp 3F0v8g.nCZeoIamUtEMkIp_V4OKh677aZde1Y1pEW0.s0tGvdVeN6_DwOSGq8VimnC_NsW1qRgbV TcnFUi9d8yzM2ZiZSHw5yuSQ.ZmfXNXJXnqfuIlGDDqGySZRSZOGvZ4JF8Y2W7DEQ2dP44MF6kcU Dk2mzivXfgeswflwxGDKN_JN2FlbrSaDYobvaaI0QfvLuwHvqRs00bhFz7b5FnsUwNskeKk6GnKH mKXWnGLpr1sapXsiPQGrswARdZF92vcR8Wcfb_TFNHWAE1g9PHJJ8f4eAWP5U_TWAShBROmIhoAH MH0T1b8AH0K98AV_FXs9GGbCQONddG2sEujx6PEuKAqf81.zFUEWo0_wKJCoNfQ3Y1YEEPXL_QKy QuUOUewVS_DL.vtDHoLbrX8M8S0Flsfutb.SktaQHVnOgG.mbUxbXByVZAzdGU8ysVP2x5j3zir2 h73VNLY1eMU.KfCBTs9MiDgobeZIUPk6VctV5ToUGnrTjLUT5eFKkomzFtFDWBSts Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.gq1.yahoo.com with HTTP; Sun, 19 Jan 2020 11:13:08 +0000 Received: by smtp403.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID e3b76516b47278df8fe455b5ca1a401d; Sun, 19 Jan 2020 11:13:06 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: G5 Quad Fans full speed after 1 min From: Mark Millard In-Reply-To: Date: Sun, 19 Jan 2020 03:13:06 -0800 Cc: FreeBSD PowerPC ML Content-Transfer-Encoding: 7bit Message-Id: <21533290-667C-472E-89F7-D1E7DE773193@yahoo.com> References: To: Francis Little X-Mailer: Apple Mail (2.3608.40.2.2.4) X-Rspamd-Queue-Id: 480sbp6dw9z4CnZ X-Spamd-Bar: / X-Spamd-Result: default: False [0.30 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MIME_GOOD(-0.10)[text/plain]; MV_CASE(0.50)[]; NEURAL_SPAM_MEDIUM(0.63)[0.632,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[205.64.137.98.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_LONG(0.17)[0.170,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.00)[ip: (5.16), ipnet: 98.137.64.0/21(0.85), asn: 36647(0.68), country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2020 11:13:11 -0000 On 2020-Jan-19, at 00:38, Francis Little wrote: > Hi, > > My G5 Quad is running current from a few days ago, but this issue has been > happening for a long time. > > After about 1 min of uptime, the fans go full speed. > > As soon as I query anything like CPU temp or fan rpm with sysctl, the fans > return to a normal speed. > > 1 min later the fans go full speed again. > > I've been working round this for some time with a cron job that runs sysctl > with one of the cpu temp sensors to calm the system. QUOTING an old message: The mftb figures on the various cores can be so far apart that threads can end-up stuck sleeping, such as syncr, pmac_thermal, and buf*deamon* threads. (This can really mess things up by not updating the storage correctly.) Such is still true of the ELFv2 context. (Most folks notice this via shutdown timeouts and the fans going fast unnecessarily. But it is involved earlier as well.) END QUOTE Nothing in the boot sequence is forcing the CPUs/Cores to see any particular time relationship to each other and on the multi-socket PowerMacs it can vary widely (G4 and G5). Sometimes it will happen to end up okay, other times not. (I've no access to a single-socket, multi-core PowerMac, so I just do not know for that kind of context.) I run with patched boot-code that has cross-cpu/core time observations and adjustments to non-bsp time to see the bsp time as between the start and end of a round trip to the bsp from each non-bsp to get the bsp's time. It is based on the mid-point of the start and end times for the non-bsp's round trip vs. the bsp's returned time. With at most 4 cores, each non-bsp is done in sequence. The code only does this on PowerMacs, having no access to other types of PowerPC examples to test. I've not seen this type of problem since mid 2019-May on any of: 1 G5 with 2 sockets, 1 core each 2 G5's, 2 sockets, 2 cores each 2 G4's, 2 sockets, 1 core each (The mid-May time frame is when I adjusted the code to deal with the faster time increment on the slower 32-bit processors for the model that I have access to. I had to be more careful to avoid biasing the approximate symmetry to be less symmetric. On the G5's its been longer since I've seen this problem, based on earlier source code.) Unfortunately the "lab" the machines are in is powered down currently. FYI: Prior to this technique, I had a pure hack that was observed to avoid the problem. But it changed code used all the time --code that I did not want to have any hack's in if I could avoid it. FYI: I also run with other PowerMac related patches. Generally this mftb() time adjustment is one of the newest patches, possibly the newest. So my test context may be biased by the other patches. > If I boot to OS X 10.5 and load the system, the fans are stable. I've not done any investigation of the issue for the older contexts. But, if I remember right, I did see the problem on occasion back in that time frame. > Does anyone else get this? My understanding is everyone booting a fairly modern standard FreeBSD gets this sometimes for the kind of context that you specified. (I'm not sure of the variability if the frequency of the problem happening for that kind of context.) I certainly saw it before I investigated avoiding it. === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Sun Jan 19 14:16:10 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 9EF2C1FB021 for ; Sun, 19 Jan 2020 14:16:10 +0000 (UTC) (envelope-from bacon4000@gmail.com) Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) 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 480xfx4HHvz4LHc for ; Sun, 19 Jan 2020 14:16:09 +0000 (UTC) (envelope-from bacon4000@gmail.com) Received: by mail-yb1-xb2b.google.com with SMTP id w9so7943873ybs.3 for ; Sun, 19 Jan 2020 06:16:09 -0800 (PST) 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=vgjsygcarfoihtOz9fWHqpoU1K73NObL17RlC4YLA3U=; b=BG8RU7dlRt8oJs+Dx1FEW6r0HK8yV7/BjWx3OL+5ntqzLftHOxurd9EAonfi63GMw+ LpO6WQ+RvcQcTeHSTQBUCBSibtpw/lU00sAWMNtLcSM+YywJUfBMEmkwe8haiXpBrNuf oz1UypFfGTZ9Y0jkUafXR/PbHp5HLUy2sa4Gx1jS6GnFcTWlvrVerD0RxWpANqvQ+WhP 5z4zApTHtBB0aSIp+e4m3jDLQY7LORcIYO3C28vEirAGr9jQ0AM/ZXh2sQQo1/hzu1TQ zgQdomSqnj7NNrc70H/gmFWun9mTkIT81UfD6sGVImQBscD/0D/oTn9GbdhAjlwkSfHs kWKA== 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=vgjsygcarfoihtOz9fWHqpoU1K73NObL17RlC4YLA3U=; b=ePV6XPhj22J4X/j1H5PSo3fVDxAYfAwc93nEZ5sI+H/70jdZGOXY1WUVqTTjuos4Wf ZVHU4diSr79L2FSEdJaxOLACmy+qtqaXCjuJ0JOr1vwwHmU8jmdyBY1Vq7oWoJdcQmWD Ky+DNHxPuTzwkXSPTUiLuThge/Lon1tV/pkMskUWsx3sGLn+uuKaZWRg7BaCZqOJND9S GdJyFat4GCLRnAghTIVbllVRE5JAFzJXY+X46OkVrkktdY2NAG3P1k1NUSPMBGwkWDoF KuOiW+6Qcn7JEjGDRPOLWzYUF2cEgiTk/MpjIUQrXXykkHBAlt87MV/t/fw8kdYIqXJL FFJw== X-Gm-Message-State: APjAAAU+9tjnrKjDokmSDA8wNYoaZcFJez5AKbYbA3Qs714q3ts/gSH/ 0H/U8VMuCvlyT1oCOI4SIWQ6ndt2 X-Google-Smtp-Source: APXvYqzmLjghqriGkDk3QoRF5ZqElaWWPt+43mpG9kJZhw2YUG19HA7qdZoKnZt49lNW3wGp0Gl8uA== X-Received: by 2002:a25:7082:: with SMTP id l124mr33821977ybc.397.1579443368165; Sun, 19 Jan 2020 06:16:08 -0800 (PST) Received: from orca.acadix.biz (2603-6000-a446-9100-0224-d2ff-fe27-bb80.res6.spectrum.com. [2603:6000:a446:9100:224:d2ff:fe27:bb80]) by smtp.gmail.com with ESMTPSA id o205sm14155216ywb.58.2020.01.19.06.16.07 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 19 Jan 2020 06:16:07 -0800 (PST) Subject: Re: G5 Quad Fans full speed after 1 min To: freebsd-ppc@freebsd.org References: From: Jason Bacon Message-ID: <10549ee3-0cd4-f2b3-7f71-3d330bcd50de@gmail.com> Date: Sun, 19 Jan 2020 08:16:06 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 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: 480xfx4HHvz4LHc X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=BG8RU7dl; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of bacon4000@gmail.com designates 2607:f8b0:4864:20::b2b as permitted sender) smtp.mailfrom=bacon4000@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; 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]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-9.53), ipnet: 2607:f8b0::/32(-2.08), asn: 15169(-1.82), country: US(-0.05)]; 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.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ppc@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[b.2.b.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2020 14:16:10 -0000 On 2020-01-19 02:38, Francis Little wrote: > Hi, > > My G5 Quad is running current from a few days ago, but this issue has b= een > happening for a long time. > > After about 1 min of uptime, the fans go full speed. > > As soon as I query anything like CPU temp or fan rpm with sysctl, the f= ans > return to a normal speed. > > 1 min later the fans go full speed again. > > I've been working round this for some time with a cron job that runs sy= sctl > with one of the cpu temp sensors to calm the system. > > If I boot to OS X 10.5 and load the system, the fans are stable. > > Does anyone else get this? > > Regards > _______________________________________________ > 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" Yes, the problem is intermittent with respect to boot-up.=C2=A0 If I rebo= ot a=20 few times, eventually the problem does not return and the system will be = stable until the next reboot. Hoping an upgrade to a 13 snapshot might solve it. =C2=A0=C2=A0=C2=A0 JB --=20 Earth is a beta site. From owner-freebsd-ppc@freebsd.org Sun Jan 19 14:53:09 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 051A91FBF27 for ; Sun, 19 Jan 2020 14:53:09 +0000 (UTC) (envelope-from oggy@farscape.co.uk) Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) 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 480yTc0KF1z4MqV for ; Sun, 19 Jan 2020 14:53:07 +0000 (UTC) (envelope-from oggy@farscape.co.uk) Received: by mail-lf1-x135.google.com with SMTP id z26so1311586lfg.13 for ; Sun, 19 Jan 2020 06:53:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=farscape-co-uk.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:cc; bh=dtAQahdA5kUlTXtF90/zi9EzjNgQqx0/T8XakGD5WJY=; b=AqU7E5tfyVTLPkTgf0hig0DTARrT2bfrlO+2xKWNtztF+cdAZNhji/Uxz19YwJpLP6 0huqTCfGS5C4q/ksggfvIOyU9LLfM9kl/GO0dB+1yfvO8SQ42D+L/YcTAiVnYZ3ziUPp uw8KGv2MIV3E//z/qULz7lIBpFY9MVwmyappKIll1HMXRhYVp98oBzvhX/DQCLWo9i9y DetAqDWo2oIR9fSvjZigsIm9WsS8Zz/kRhgO/bm/tULs+5fGAwP9dxIA3DOIuSpPlZa2 nDGPDKKKHbhPoQKNDOILrATw96gZW/g9qiCci2FWf1gI99Zngfj5Ul/jEWY74YKruMpI wntA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:cc; bh=dtAQahdA5kUlTXtF90/zi9EzjNgQqx0/T8XakGD5WJY=; b=ptrdZc6Eki5lEL3BLmuxpbAjJicv/0Q87OKziyFXRTgq/e11+D5p+KbvfQNjbIvfDt UjB+xDERSuqFIFts0gWHwLWjfejQl1u3JKQJikpH4B0IZFTny3SXewuhmrn2hiZ4rW8g pwWDq/TcZmRHw6hmaHyi9hc17cWlUq4prxdv2oNj/qrV1UJpcznjTPsUxJMw/+1uA8fX sMXRMNNr/VCabQc1ZTEyitXK6Dx2J9HrMKvtDVmyAFrBcBi25jmHRnq075J6I7zmTXcD D/fpQaLdh0ce0na0YRA9wMZus6maIjO+8PR3WMEHtTpaZLKGQ6STlfHj2hidcxa779E0 s3bg== X-Gm-Message-State: APjAAAWqxd3mnkF6MHLTHV0UCu+/Oux1USFebnt2LYFtRcxqW0LwqSUZ FDkFZoS8sFje8zda/NfUSjn1Gh1zGVmryKPT9ybLapGT X-Google-Smtp-Source: APXvYqwblAKUXtB+YZ9YyBc3RxDvjydl0PZgeRWDkb3TfqJ0Iehr0aTe4tOSmTrrcxKZQFG0BhkM3h1j0uaBn5mVrBU= X-Received: by 2002:a19:4208:: with SMTP id p8mr10804851lfa.160.1579445584816; Sun, 19 Jan 2020 06:53:04 -0800 (PST) MIME-Version: 1.0 References: <10549ee3-0cd4-f2b3-7f71-3d330bcd50de@gmail.com> In-Reply-To: <10549ee3-0cd4-f2b3-7f71-3d330bcd50de@gmail.com> From: Francis Little Date: Sun, 19 Jan 2020 14:52:54 +0000 Message-ID: Subject: Re: G5 Quad Fans full speed after 1 min Cc: FreeBSD PowerPC ML X-Rspamd-Queue-Id: 480yTc0KF1z4MqV X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=farscape-co-uk.20150623.gappssmtp.com header.s=20150623 header.b=AqU7E5tf; dmarc=none; spf=pass (mx1.freebsd.org: domain of oggy@farscape.co.uk designates 2a00:1450:4864:20::135 as permitted sender) smtp.mailfrom=oggy@farscape.co.uk X-Spamd-Result: default: False [-3.26 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[farscape-co-uk.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ppc@freebsd.org]; DMARC_NA(0.00)[farscape.co.uk]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[farscape-co-uk.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[5.3.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; MISSING_TO(2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-2.76)[ip: (-9.31), ipnet: 2a00:1450::/32(-2.59), asn: 15169(-1.82), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2020 14:53:09 -0000 Booting with smp disabled, and now about an hour in to a buildworld... It seems to be keeping it's calm. It's a shame to lose 3/4 of its horses! On Sun, 19 Jan 2020 at 14:16, Jason Bacon wrote: > On 2020-01-19 02:38, Francis Little wrote: > > Hi, > > > > My G5 Quad is running current from a few days ago, but this issue has > been > > happening for a long time. > > > > After about 1 min of uptime, the fans go full speed. > > > > As soon as I query anything like CPU temp or fan rpm with sysctl, the > fans > > return to a normal speed. > > > > 1 min later the fans go full speed again. > > > > I've been working round this for some time with a cron job that runs > sysctl > > with one of the cpu temp sensors to calm the system. > > > > If I boot to OS X 10.5 and load the system, the fans are stable. > > > > Does anyone else get this? > > > > Regards > > _______________________________________________ > > 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" > Yes, the problem is intermittent with respect to boot-up. If I reboot a > few times, eventually the problem does not return and the system will be > stable until the next reboot. > > Hoping an upgrade to a 13 snapshot might solve it. > > JB > > -- > Earth is a beta site. > > > _______________________________________________ > 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" > From owner-freebsd-ppc@freebsd.org Sun Jan 19 21:01: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 038B8224776 for ; Sun, 19 Jan 2020 21:01:02 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic304-25.consmr.mail.gq1.yahoo.com (sonic304-25.consmr.mail.gq1.yahoo.com [98.137.68.206]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4816f50d3nz3Dn6 for ; Sun, 19 Jan 2020 21:01:00 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: tyv8zzoVM1kzsFfaAUMLDGXmPGW6IrmfNLqvK52NPgZAL0wX6omXZss5ZhH5yCS ewNDTK5niLa_KsD_Bc7jtT7HnYNIFdNQWa2Ytoqntz3mbmrbMBhA2eMK5iUUXbTPwdzRsVB50Tup wNE3mVZQsYaE1SYBroEIdaCJBs3rrFEq5Ak6MWIUCRDVaPMmDcsmpBsmTvXPz7pdbrVm_9Hd9N5w Tlk4aekwC_th24RMXjZN1PPJw6hfRbRgRKnxMj5hzF4A2d9wDdyqwbn5qpzPTRKVppxglnG1up47 xKa7D5W0dn_u73bSGm45URA3pzYyCE.E7B6IYmksfgdtyLhLDroCxaVJqwH3hY5G7rpszXDUw3GH r.yxAjxSEQfYonMN2oAaRx1tR5yfnpGubHyS9215E5F5eRMcvyoLckY4Jbfs8zTvQZa_hIAVUXxh 2jHBNBXQ9ii3yq59HoJEpnJ2IVLJyVv1XQt8eDfV7DFViaH2xbZathxMQGsmcAyzZ.DZkF98FdGM uY1ByqVfp7inBlue1sAiW3bvmTyyblb9qb4P_rSX8QHDSBAJ6t71NTJ8FGAd.oLR0iHXLNRPr3Ms wHGsJWGe5dI8pWAprqi0L3u4aN2sW7k4DYoha5SRAQyQ0oxb2q2iDJqBw0kl.SMsnIaJ8oMt5Z4h xOlrQhHWy_eNKt6A.4B0yC9EaPXpxFYD3RU9cTaEMZv5GkO_qYoxIraANQMNuLg5mrnbSoZSmz1L VXvi2tWY_9u0B33gyPn_W4aZfaxNSP0QWukSNreaBVtVUu81TJHQvsagPHJSNvXFR9Zm99xTCMDO PNeiD5fgptfvD3Clrvjhd5KfQuUutK3m9ipjrs6i25mH0UuTW4_CPoQCPn81UVTw2ssChKIKF7AR eTlZD_yLv0Ok7koUAD.Kc2SvMYTNsw6etmDOmUNyWqBzzsfmBQN75UH7pVTsRiFJi5Vg9_iCI_sN 8YoDPJUCw0pm6XgDaGYItVGubAnIDBmzPc.heEDZaT7P_UE37n0eHZrj8.9WZ2bIBFxGrM03cMMF umZm5hvoXF3RRrLzrSnCJ8sC.wjdkPl1fmPLh3184kxeQPI2L.uhaADfkhirvnt86uAedtvKAtvh EDnRXXJX8FHEZU4KMhTWGLmzB1M2g5lnSGCVdCwSQbI5foSLrERb7xzXVcOn_XaqDZqp2cNFTHkg QgLuz1hCq2Oq.gde4OyX9YPd0uD2SSG1scwAQZ6lXCn4F2rZ8jhhmL8bUyiN3gtcrWxicW.8YwDW GksR.5Hzfb6aM8F1qkz2CvL9.0WNHGhIPHtoRSG580wnm7YmRbNHoXvHimfc2uQz2pgqj.jzpqpa IjdQF0oG7HqnOF0mjxmVT0IWfAfyPM_HRRFLiZRP.JHZWw_qYLcvqSiIKvKm.kijCwVmUilkSauQ UybViMsD3gc2rHFtiCFn28WmuW_zJy4eTyypWzA-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.gq1.yahoo.com with HTTP; Sun, 19 Jan 2020 21:00:59 +0000 Received: by smtp431.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID aecd103da87aae804ba1224bca508c16; Sun, 19 Jan 2020 21:00:54 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: G5 Quad Fans full speed after 1 min From: Mark Millard In-Reply-To: <21533290-667C-472E-89F7-D1E7DE773193@yahoo.com> Date: Sun, 19 Jan 2020 13:00:54 -0800 Cc: FreeBSD PowerPC ML Content-Transfer-Encoding: quoted-printable Message-Id: References: <21533290-667C-472E-89F7-D1E7DE773193@yahoo.com> To: Francis Little X-Mailer: Apple Mail (2.3608.40.2.2.4) X-Rspamd-Queue-Id: 4816f50d3nz3Dn6 X-Spamd-Bar: - X-Spamd-Result: default: False [-1.84 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.44)[-0.442,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MIME_GOOD(-0.10)[text/plain]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-0.90)[-0.901,0]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[206.68.137.98.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.00)[ip: (1.49), ipnet: 98.137.64.0/21(0.85), asn: 36647(0.68), country: US(-0.05)]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2020 21:01:02 -0000 On 2020-Jan-19, at 03:13, Mark Millard wrote: >=20 > On 2020-Jan-19, at 00:38, Francis Little = wrote: >=20 >> Hi, >>=20 >> My G5 Quad is running current from a few days ago, but this issue has = been >> happening for a long time. >>=20 >> After about 1 min of uptime, the fans go full speed. >>=20 >> As soon as I query anything like CPU temp or fan rpm with sysctl, the = fans >> return to a normal speed. >>=20 >> 1 min later the fans go full speed again. >>=20 >> I've been working round this for some time with a cron job that runs = sysctl >> with one of the cpu temp sensors to calm the system. >=20 > QUOTING an old message: > The mftb figures on the various cores can be so far apart that > threads can end-up stuck sleeping, such as syncr, pmac_thermal, > and buf*deamon* threads. (This can really mess things up by > not updating the storage correctly.) Such is still true of the=20 > ELFv2 context. >=20 > (Most folks notice this via shutdown timeouts and the fans > going fast unnecessarily. But it is involved earlier as well.) > END QUOTE >=20 > Nothing in the boot sequence is forcing the CPUs/Cores to > see any particular time relationship to each other and on > the multi-socket PowerMacs it can vary widely (G4 and G5). > Sometimes it will happen to end up okay, other times not. >=20 > (I've no access to a single-socket, multi-core PowerMac, > so I just do not know for that kind of context.) >=20 > I run with patched boot-code that has cross-cpu/core time > observations and adjustments to non-bsp time to see the > bsp time as between the start and end of a round trip to > the bsp from each non-bsp to get the bsp's time. It is > based on the mid-point of the start and end times for > the non-bsp's round trip vs. the bsp's returned time. > With at most 4 cores, each non-bsp is done in sequence. > The code only does this on PowerMacs, having no access > to other types of PowerPC examples to test. >=20 > I've not seen this type of problem since mid 2019-May on > any of: >=20 > 1 G5 with 2 sockets, 1 core each > 2 G5's, 2 sockets, 2 cores each > 2 G4's, 2 sockets, 1 core each >=20 > (The mid-May time frame is when I adjusted the code to > deal with the faster time increment on the slower > 32-bit processors for the model that I have access to. > I had to be more careful to avoid biasing the approximate > symmetry to be less symmetric. On the G5's its been > longer since I've seen this problem, based on earlier > source code.) >=20 > Unfortunately the "lab" the machines are in is powered > down currently. >=20 > FYI: Prior to this technique, I had a pure hack that > was observed to avoid the problem. But it changed code > used all the time --code that I did not want to have > any hack's in if I could avoid it. >=20 > FYI: I also run with other PowerMac related patches. > Generally this mftb() time adjustment is one of the > newest patches, possibly the newest. So my test > context may be biased by the other patches. >=20 >> If I boot to OS X 10.5 and load the system, the fans are stable. >=20 > I've not done any investigation of the issue for the > older contexts. But, if I remember right, I did see > the problem on occasion back in that time frame. >=20 >> Does anyone else get this? >=20 > My understanding is everyone booting a fairly modern > standard FreeBSD gets this sometimes for the kind of > context that you specified. (I'm not sure of the > variability if the frequency of the problem happening > for that kind of context.) >=20 > I certainly saw it before I investigated avoiding it. I got access to the sources with the patches. I'll cover both 32-bit and 64-bit for how I have avoided the thread-stuck-sleeping problems, including for pmac_thermal. In the following you likely want to avoid my use of ap_pcpu being volatile (not a pointer to something volatile). I use volatile to document that I do not want the code generation to avoid storing or accessing RAM for what is volatile. -extern void *ap_pcpu; +extern void * volatile ap_pcpu; There is one example of this in the diff's that I show. I also put powerpc_sync(); soon after any ap_pcpu =3D ... assignment. I do not show here such declarations or powerpc_sync() use that are not in the sources tied to the mftb related time measurements and adjustments at boot time. (ap_pcpu is sometimes not alone in being a variable that an added powerpc_sync() is for. An example will occur below.) The additional powerpc_sync() use is for gathering evidence that a sufficient context exists, not trying to be an example of a minimalist sufficient implementation. isync() use and possibly more have a similar status here. First: I'm paranoid about interrupts messing up times, so I use a modified mttb(...): (whitespace may not be well preserved) Index: /usr/src/sys/powerpc/include/cpufunc.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- /usr/src/sys/powerpc/include/cpufunc.h (revision 356426) +++ /usr/src/sys/powerpc/include/cpufunc.h (working copy) @@ -155,15 +155,8 @@ return (tb); } -static __inline void -mttb(u_quad_t time) -{ +// mttb is listed after intr_disable and intr_restore. =20 - mtspr(TBR_TBWL, 0); - mtspr(TBR_TBWU, (uint32_t)(time >> 32)); - mtspr(TBR_TBWL, (uint32_t)(time & 0xffffffff)); -} - static __inline void eieio(void) { @@ -202,6 +195,19 @@ mtmsr(msr); } =20 +static __inline void +mttb(u_quad_t time) +{ + const uint32_t high=3D time>>32; + const uint32_t low=3D time&0xffffffffu; + =20 + const register_t predisable_msr=3D intr_disable(); + mtspr(TBR_TBWL, 0); + mtspr(TBR_TBWU, high); + mtspr(TBR_TBWL, low); + intr_restore(predisable_msr); +} + static __inline struct pcpu * get_pcpu(void) { I have platform_powermac.c enable what I call alternate_timebase_sync_style. I have no place else doing so: PowerMac's are my only PowerPC test environment. Be WARNED this code is one of various places involved in changing ap_pcpu to be volatile (not point to volatile). You likely do not want that --and, if you use it, various other places would need to track. Still, I show my code as it is here. Index: /usr/src/sys/powerpc/powermac/platform_powermac.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- /usr/src/sys/powerpc/powermac/platform_powermac.c (revision = 356426) +++ /usr/src/sys/powerpc/powermac/platform_powermac.c (working copy) @@ -55,7 +55,7 @@ #include "platform_if.h" -extern void *ap_pcpu; +extern void * volatile ap_pcpu; static int powermac_probe(platform_t); static int powermac_attach(platform_t); @@ -333,6 +333,9 @@ return (powermac_smp_fill_cpuref(cpuref, bsp)); } +// platform_powermac.c is implicitly an AIM context: no explicit AIM = test. +extern volatile int alternate_timebase_sync_style; // 0 indicates old = style; 1 indicates new style + static int powermac_smp_start_cpu(platform_t plat, struct pcpu *pc) { @@ -367,6 +370,13 @@ ap_pcpu =3D pc; + // platform_powermac.c is implicitly an AIM context: no explicit = AIM test. + // Part of: Attempt a better-than-historical approximately + // equal timebase value for ap vs. bsp + alternate_timebase_sync_style=3D 1; // So: new style for = PowerMacs + + powerpc_sync(); // for ap_pcpu and alternate_timebase_sync_style + if (rstvec_virtbase =3D=3D NULL) rstvec_virtbase =3D pmap_mapdev(0x80000000, PAGE_SIZE); There is more use of intr_disable() in the code directly targeting measuring and adjusting time: some of the code in mp_machdep.c . The protocol for going back and forth with the bsp here is based on memory flags. machdep_ap_bootstrap and cpu_mp_unleash have comments about the protocol and its use. In setting this up I had to be careful to make code that avoided optimizations from calculating various things earlier than appropriate. There is a comment about that in machdep_ap_bootstrap. Index: /usr/src/sys/powerpc/powerpc/mp_machdep.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- /usr/src/sys/powerpc/powerpc/mp_machdep.c (revision 356426) +++ /usr/src/sys/powerpc/powerpc/mp_machdep.c (working copy) @@ -69,6 +69,88 @@ static struct mtx ap_boot_mtx; struct pcb stoppcbs[MAXCPU]; +#if defined(AIM) +// Part of: Attempt a better-than-historical approximately +// equal timebase value for ap vs. bsp + +volatile int alternate_timebase_sync_style=3D 0; // 0 indicates old = style; 1 indicates new style. +volatile uint64_t bsp_timebase_sample=3D 0u; + +volatile unsigned int from_bsp_status_flag=3D 0u; +// stages: 0u, 1u (bsp ready to start), 2u (bsp tbr value available to = ap) + +volatile unsigned int from_ap_status_flag=3D 0u; +// stages: 0u, 1u (ap ready for bsp tbr value to be found and sent) +#endif + +static __inline uint64_t +mftb_with_no_pointer_use(void) +{ +#ifdef __powerpc64__ + uint64_t tb; // not used for 32-bit powerpc + __asm __volatile ("mftb %0" : "=3Dr"(tb)); + return tb; +#else + uint32_t tbu; // not pointer into tb + uint32_t tbl; // not pointer into tb + + do { + tbu=3D mfspr(TBR_TBU); + tbl=3D mfspr(TBR_TBL); + } while (tbu !=3D mfspr(TBR_TBU)); + + // The construction of the unint64_t value does bias the mttb = some + // for the round-trip-start side of things. + // + // The pointers into tb technique would involve a pair of memory + // writes and a pair of memory reads instead, the writes being + // in the loop. + return ((uint64_t)tbu<<32) | tbl; +#endif +} + +static __inline uint64_t +mftb_plus_delta(volatile uint64_t* bsp_tbr, int64_t ap_midpoint) + // The return value is used in the mttb as the argument. +{ =20 +#ifdef __powerpc64__ + uint64_t tb; // not used for 32-bit powerpc + __asm __volatile ("mftb %0" : "=3Dr"(tb)); + // The construction of the unint64_t value does bias the mttb = some: + // it assignes an earlier time than hoped for, given these later + // calculations. + return tb + ((int64_t)*bsp_tbr - ap_midpoint); +#else + // Establishes delta_for_approx_match_to_bsp_tbr_values such = that: + // = ap_midpoint+delta_for_approx_match_to_bsp_tbr_values=3D=3D*bsp_tbr + int64_t delta_for_approx_match_to_bsp_tbr_values; + uint32_t tbu; // not pointer into tb + uint32_t tbl; // not pointer into tb + + do { + // The below in-loop style is for avoiding the loop + // vs. ap_midpoint's calculation being reversed in + // the code generated: volatile is is being put to + // use here. + delta_for_approx_match_to_bsp_tbr_values=3D = (int64_t)*bsp_tbr-ap_midpoint; + + tbu=3D mfspr(TBR_TBU); + tbl=3D mfspr(TBR_TBL); + } while (tbu !=3D mfspr(TBR_TBU)); + + // The construction of the unint64_t value does bias the mttb = some: + // it assignes an earlier time than hoped for, given these later + // calculations. Easily observable on the example 7455 based = PowerMac + // G4. (Faster than G5 tbr increment rate but a slower = processor,) + // But the overall process is still an improvement. + // + // The pointers into tb technique would involve a pair of memory + // writes and a pair of memory reads instead, the writes being + // in the loop. The "+ . . ." would still be involved. + return ( ((uint64_t)tbu<<32) | tbl ) + = delta_for_approx_match_to_bsp_tbr_values; +#endif +} + void machdep_ap_bootstrap(void) { @@ -76,19 +158,76 @@ PCPU_SET(awake, 1); __asm __volatile("msync; isync"); +#if defined(AIM) + powerpc_sync(); + isync(); + if (1=3D=3Dalternate_timebase_sync_style) + { + // Part of: Attempt a better-than-historical = approximately + // equal timebase value for ap vs. bsp + + // No claim to deal with overflow/wraparound of tbr, or = even + // of the upper bit being on. + + register_t oldmsr=3D intr_disable(); + + while (1u!=3Dfrom_bsp_status_flag) + ; // spin waiting for bsp to flag that its ready = to start. + + // Start to measure a round trip:: to the bsp and back. + + isync(); // Be sure below mftb() result is not from = earlier speculative execution. + uint64_t const start_round_trip_time_on_ap=3D = mftb_with_no_pointer_use(); + atomic_store_rel_int(&from_ap_status_flag, 1u); // bsp = waits for such before its mftb(). + + while (2u!=3Dfrom_bsp_status_flag) + ; // spin waiting for bsp's tbr value + + // Mid-point of ap round trip and the bsp timebase value = should be approximately equal + // when the tbr's are well matched, absent interruptions = on both sides. + + isync(); // Be sure below mftb() result is not from = earlier speculative execution. + uint64_t const end_round_trip_time_on_ap=3D = mftb_with_no_pointer_use(); + isync(); // Be sure above mftb() result is not from = overlapping with the following. + + int64_t const approx_round_trip_tbr_delta_on_ap + =3D (int64_t)end_round_trip_time_on_ap - = (int64_t)start_round_trip_time_on_ap; + int64_t const ap_midpoint_value + =3D (int64_t)start_round_trip_time_on_ap = + approx_round_trip_tbr_delta_on_ap/2; + + // The mftb_plus_delta use is for helping to the control = the code order relative + // to tbr access. Such issues are notable for the 7455 = based 2-socket PowerMacs, + // for example. Faster tbr increment rate than the G5's = but slower processors + // and such. Still, overall this definitely helps such = contexts compared to the + // historical style of timebase synchronization. + isync(); // Be sure below mftb() result is not from = earlier speculative execution. + = mttb(mftb_plus_delta(&bsp_timebase_sample,ap_midpoint_value)); + + atomic_store_rel_int(&from_bsp_status_flag, 0u); // Get = ready for next ap in bsp loop + atomic_store_rel_int(&from_ap_status_flag, 0u); // Flag = bsp that this ap is done + + mtmsr(oldmsr); + } +#endif + while (ap_letgo =3D=3D 0) nop_prio_vlow(); nop_prio_medium(); - /* - * Set timebase as soon as possible to meet an implicit = rendezvous - * from cpu_mp_unleash(), which sets ap_letgo and then = immediately - * sets timebase. - * - * Note that this is instrinsically racy and is only relevant on - * platforms that do not support better mechanisms. - */ - platform_smp_timebase_sync(ap_timebase, 1); +#if defined(AIM) + if (0=3D=3Dalternate_timebase_sync_style) +#endif + { + /* + * Set timebase as soon as possible to meet an implicit = rendezvous + * from cpu_mp_unleash(), which sets ap_letgo and then = immediately + * sets timebase. + * + * Note that this is instrinsically racy and is only = relevant on + * platforms that do not support better mechanisms. + */ + platform_smp_timebase_sync(ap_timebase, 1); + } /* Give platform code a chance to do anything else necessary */ platform_smp_ap_init(); @@ -261,6 +400,34 @@ pc->pc_cpuid, = (uintmax_t)pc->pc_hwref, pc->pc_awake); smp_cpus++; + +#if defined(AIM) + // Part of: Attempt a better-than-historical = approximately + // equal timebase value for ap vs. bsp + powerpc_sync(); + isync(); + if (1=3D=3Dalternate_timebase_sync_style) + { + register_t oldmsr=3D intr_disable(); + + = atomic_store_rel_int(&from_bsp_status_flag, 1u); // bsp ready to start. + + while (1u!=3Dfrom_ap_status_flag) + ; // spin waiting for ap to = flag: time to send a tbr. + + isync(); // Be sure below mftb() result = is not from earlier. + bsp_timebase_sample=3D = mftb_with_no_pointer_use(); + = atomic_store_rel_int(&from_bsp_status_flag, 2u); // bsp tbr available. + + // Most of the rest of the usage is in = machdep_ap_bootstrap, + // other than controling = alternate_timebase_sync_style value. + + while (0u!=3Dfrom_ap_status_flag) + ; // spin waiting for ap to be = done with the sample. + + mtmsr(oldmsr); + } +#endif } else CPU_SET(pc->pc_cpuid, &stopped_cpus); } @@ -267,14 +434,22 @@ ap_awake =3D 1; - /* Provide our current DEC and TB values for APs */ - ap_timebase =3D mftb() + 10; - __asm __volatile("msync; isync"); +#if defined(AIM) + if (0=3D=3Dalternate_timebase_sync_style) +#endif + { + /* Provide our current DEC and TB values for APs */ + ap_timebase =3D mftb() + 10; + __asm __volatile("msync; isync"); + } /* Let APs continue */ atomic_store_rel_int(&ap_letgo, 1); - platform_smp_timebase_sync(ap_timebase, 0); +#if defined(AIM) + if (0=3D=3Dalternate_timebase_sync_style) +#endif + platform_smp_timebase_sync(ap_timebase, 0); while (ap_awake < smp_cpus) ; =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Sun Jan 19 22:22:30 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 6BA98226AC2 for ; Sun, 19 Jan 2020 22:22:30 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-24.consmr.mail.gq1.yahoo.com (sonic312-24.consmr.mail.gq1.yahoo.com [98.137.69.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4818S52fD5z3KGB for ; Sun, 19 Jan 2020 22:22:29 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: VEcVs6IVM1ky8Eaa.oViX_Gb.CN7Xi9keie7G43YsVvSckg6FuNb7470XBsXI9I VT1nlZ7.LpmR8S4rzCUe4nLxlN_WSbAvJW35JY.eNbcnwI4aJQ8kJrucG0N4wLKk7bZ0FZx9yEsY xdAE3QSJ1loyQUNQJjziE857XfL1Q9BXkiCuPhHfcDiXBzVgtNE06NHjAGQoRUmZ6fUUuQPHzmtS wEfNugVW7U_lg43U.oQeGc5n5A18GBaoaxwGoDY7SKfpEsHT_I8jQUyNaGNrUIM8dW1sFu5sObTg oyK7g941Gtp2bmzptgnGbzon0KcjJ6LuYWUqb1IlgwvrrwHnCnFyOf_cyg7KEyNOhSnnpx2LlaSv 7r.aWfQfajZhjY3Ab0xYeBSyyQ8k2E5jiZpFUnuPQQncydU7Ta7M6BYMTbgETV5R.aCPFOsCS9o1 FMk8lhBwdHG8YXqq6S2nCmrxHUu8zSTq_O53yGr5larXlVewuDoSQW_Ya_plf9VO.IUl9QFcmKuu 45mx7u064WhDz2.dEmeHyKa19vuS.SQOq6k16CWQbsSyn6VxsReFLKJcU6js8s3zrBVuAcitoyp5 36kWeWjYU94oElZajGySMrFN8jS.fc4_KVE7_ecICmZxS1F8H51thlBT5B_tKTghFvp9rJFDhzm3 VGu4qipHUnP7CRINiba2oMTV6VAPoZLJyKv5C_Ry.ePnwhcOeq8lAax1ssg.QOxiKfyTSYfY2bmA 5vRHLi5kzgtYicPGSfzy.K72yG3Z8OzWookfWlmSiPfIVzc4cfOeQQOeH903M5uHXwPoWRq5hRah 1n5sWbMWnjNPHjMISgmp0rTkoimcVbQzPTExnlXz8pbv8LdKliNyxoW7dppSLjvvgUltK7HY5VFu PYXNww5rBVq_6WJA8YjiijMmyleFNjcnhYyIv0AG1icFDPSMXuSVLVe_0iPTzVqEkMZHN4T2bds2 _hwDIDYVJvXVAbb_JLrO6VpMixLI7Cqry.lKuJbWOgjA9.xquX9j4ZXiEz5Z7VKsVgGLe6JhDJpY 8zGewlNARzSYhEvuZ6TRwQtX2hAko6CMBS2w1Hg98dovciPGAjIB8AzasdJDdEDpM5rfVO6kVla2 3MFlrX1eZ86wef__Ycs32sz9U7e_4u16tzCdcMRYYFN1x5SlmfaYNNSTognIgWeWKosumLJ9IQ53 fjHOOWZZVfgTH474kDu3rUj3TqJpeLcL91ld2896NObV5bcwBlIQzUgM52X7QNAEwh7yCZ7JggmO 70Pz1hzYZth_ynkeC6IAW_ItgkV4jLRTAHY5b8RsrcIyqK.jGO0WnwJ.sfXQm15BF29aBlnU.3aa bGzIwWF4AHzw5S3FZm8RRCOwabHcpq2qt_O0waJP7CGLNNY1japKkd5_tC5Zhtu8AJ5NxmoUZH2l foi_PKcMx_alm0GPCKqwYg02p3.mGjl6Q Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Sun, 19 Jan 2020 22:22:26 +0000 Received: by smtp424.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 8624d029cc32e9759bafc0fabc032508; Sun, 19 Jan 2020 22:22:23 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: G5 Quad Fans full speed after 1 min From: Mark Millard In-Reply-To: Date: Sun, 19 Jan 2020 14:22:21 -0800 Cc: FreeBSD PowerPC ML Content-Transfer-Encoding: quoted-printable Message-Id: References: <21533290-667C-472E-89F7-D1E7DE773193@yahoo.com> To: Francis Little X-Mailer: Apple Mail (2.3608.40.2.2.4) X-Rspamd-Queue-Id: 4818S52fD5z3KGB X-Spamd-Bar: / X-Spamd-Result: default: False [-0.02 / 15.00]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.03)[-0.035,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (4.34), ipnet: 98.137.64.0/21(0.85), asn: 36647(0.68), country: US(-0.05)]; NEURAL_SPAM_MEDIUM(0.51)[0.514,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[205.69.137.98.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[205.69.137.98.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2020 22:22:30 -0000 [I forgot to include something for the patches involved. Added this time.] On 2020-Jan-19, at 13:00, Mark Millard wrote: > On 2020-Jan-19, at 03:13, Mark Millard wrote: >>=20 >> On 2020-Jan-19, at 00:38, Francis Little = wrote: >>=20 >>> Hi, >>>=20 >>> My G5 Quad is running current from a few days ago, but this issue = has been >>> happening for a long time. >>>=20 >>> After about 1 min of uptime, the fans go full speed. >>>=20 >>> As soon as I query anything like CPU temp or fan rpm with sysctl, = the fans >>> return to a normal speed. >>>=20 >>> 1 min later the fans go full speed again. >>>=20 >>> I've been working round this for some time with a cron job that runs = sysctl >>> with one of the cpu temp sensors to calm the system. >>=20 >> QUOTING an old message: >> The mftb figures on the various cores can be so far apart that >> threads can end-up stuck sleeping, such as syncr, pmac_thermal, >> and buf*deamon* threads. (This can really mess things up by >> not updating the storage correctly.) Such is still true of the=20 >> ELFv2 context. >>=20 >> (Most folks notice this via shutdown timeouts and the fans >> going fast unnecessarily. But it is involved earlier as well.) >> END QUOTE >>=20 >> Nothing in the boot sequence is forcing the CPUs/Cores to >> see any particular time relationship to each other and on >> the multi-socket PowerMacs it can vary widely (G4 and G5). >> Sometimes it will happen to end up okay, other times not. >>=20 >> (I've no access to a single-socket, multi-core PowerMac, >> so I just do not know for that kind of context.) >>=20 >> I run with patched boot-code that has cross-cpu/core time >> observations and adjustments to non-bsp time to see the >> bsp time as between the start and end of a round trip to >> the bsp from each non-bsp to get the bsp's time. It is >> based on the mid-point of the start and end times for >> the non-bsp's round trip vs. the bsp's returned time. >> With at most 4 cores, each non-bsp is done in sequence. >> The code only does this on PowerMacs, having no access >> to other types of PowerPC examples to test. >>=20 >> I've not seen this type of problem since mid 2019-May on >> any of: >>=20 >> 1 G5 with 2 sockets, 1 core each >> 2 G5's, 2 sockets, 2 cores each >> 2 G4's, 2 sockets, 1 core each >>=20 >> (The mid-May time frame is when I adjusted the code to >> deal with the faster time increment on the slower >> 32-bit processors for the model that I have access to. >> I had to be more careful to avoid biasing the approximate >> symmetry to be less symmetric. On the G5's its been >> longer since I've seen this problem, based on earlier >> source code.) >>=20 >> Unfortunately the "lab" the machines are in is powered >> down currently. >>=20 >> FYI: Prior to this technique, I had a pure hack that >> was observed to avoid the problem. But it changed code >> used all the time --code that I did not want to have >> any hack's in if I could avoid it. >>=20 >> FYI: I also run with other PowerMac related patches. >> Generally this mftb() time adjustment is one of the >> newest patches, possibly the newest. So my test >> context may be biased by the other patches. >>=20 >>> If I boot to OS X 10.5 and load the system, the fans are stable. >>=20 >> I've not done any investigation of the issue for the >> older contexts. But, if I remember right, I did see >> the problem on occasion back in that time frame. >>=20 >>> Does anyone else get this? >>=20 >> My understanding is everyone booting a fairly modern >> standard FreeBSD gets this sometimes for the kind of >> context that you specified. (I'm not sure of the >> variability if the frequency of the problem happening >> for that kind of context.) >>=20 >> I certainly saw it before I investigated avoiding it. >=20 > I got access to the sources with the patches. > I'll cover both 32-bit and 64-bit for how I > have avoided the thread-stuck-sleeping problems, > including for pmac_thermal. >=20 >=20 > In the following you likely want to avoid my > use of ap_pcpu being volatile (not a pointer > to something volatile). I use volatile to > document that I do not want the code > generation to avoid storing or accessing > RAM for what is volatile. >=20 > -extern void *ap_pcpu; > +extern void * volatile ap_pcpu; >=20 > There is one example of this in the diff's > that I show. >=20 > I also put powerpc_sync(); soon after any > ap_pcpu =3D ... assignment. I do not show > here such declarations or powerpc_sync() > use that are not in the sources tied to > the mftb related time measurements and > adjustments at boot time. (ap_pcpu is > sometimes not alone in being a variable > that an added powerpc_sync() is for. An > example will occur below.) >=20 > The additional powerpc_sync() use is for > gathering evidence that a sufficient context > exists, not trying to be an example of a > minimalist sufficient implementation. isync() > use and possibly more have a similar status > here. >=20 >=20 > First: I'm paranoid about interrupts messing > up times, so I use a modified mttb(...): > (whitespace may not be well preserved) >=20 > Index: /usr/src/sys/powerpc/include/cpufunc.h > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- /usr/src/sys/powerpc/include/cpufunc.h (revision 356426) > +++ /usr/src/sys/powerpc/include/cpufunc.h (working copy) > @@ -155,15 +155,8 @@ > return (tb); > } >=20 > -static __inline void > -mttb(u_quad_t time) > -{ > +// mttb is listed after intr_disable and intr_restore. >=20 > - mtspr(TBR_TBWL, 0); > - mtspr(TBR_TBWU, (uint32_t)(time >> 32)); > - mtspr(TBR_TBWL, (uint32_t)(time & 0xffffffff)); > -} > - > static __inline void > eieio(void) > { > @@ -202,6 +195,19 @@ > mtmsr(msr); > } >=20 > +static __inline void > +mttb(u_quad_t time) > +{ > + const uint32_t high=3D time>>32; > + const uint32_t low=3D time&0xffffffffu; > + =20 > + const register_t predisable_msr=3D intr_disable(); > + mtspr(TBR_TBWL, 0); > + mtspr(TBR_TBWU, high); > + mtspr(TBR_TBWL, low); > + intr_restore(predisable_msr); > +} > + > static __inline struct pcpu * > get_pcpu(void) > { >=20 >=20 > I have platform_powermac.c enable what I call > alternate_timebase_sync_style. I have no place > else doing so: PowerMac's are my only PowerPC > test environment. >=20 > Be WARNED this code is one of various places > involved in changing ap_pcpu to be volatile > (not point to volatile). You likely do not want > that --and, if you use it, various other places > would need to track. Still, I show my code as > it is here. >=20 > Index: /usr/src/sys/powerpc/powermac/platform_powermac.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- /usr/src/sys/powerpc/powermac/platform_powermac.c (revision = 356426) > +++ /usr/src/sys/powerpc/powermac/platform_powermac.c (working copy) > @@ -55,7 +55,7 @@ >=20 > #include "platform_if.h" >=20 > -extern void *ap_pcpu; > +extern void * volatile ap_pcpu; >=20 > static int powermac_probe(platform_t); > static int powermac_attach(platform_t); > @@ -333,6 +333,9 @@ > return (powermac_smp_fill_cpuref(cpuref, bsp)); > } >=20 > +// platform_powermac.c is implicitly an AIM context: no explicit AIM = test. > +extern volatile int alternate_timebase_sync_style; // 0 indicates old = style; 1 indicates new style > + > static int > powermac_smp_start_cpu(platform_t plat, struct pcpu *pc) > { > @@ -367,6 +370,13 @@ >=20 > ap_pcpu =3D pc; >=20 > + // platform_powermac.c is implicitly an AIM context: no = explicit AIM test. > + // Part of: Attempt a better-than-historical approximately > + // equal timebase value for ap vs. bsp > + alternate_timebase_sync_style=3D 1; // So: new style for = PowerMacs > + > + powerpc_sync(); // for ap_pcpu and = alternate_timebase_sync_style > + > if (rstvec_virtbase =3D=3D NULL) > rstvec_virtbase =3D pmap_mapdev(0x80000000, PAGE_SIZE); >=20 >=20 >=20 > There is more use of intr_disable() in the code directly > targeting measuring and adjusting time: some of the > code in mp_machdep.c . The protocol for going back and > forth with the bsp here is based on memory flags. > machdep_ap_bootstrap and cpu_mp_unleash have comments > about the protocol and its use. >=20 > In setting this up I had to be careful to make code that > avoided optimizations from calculating various things > earlier than appropriate. There is a comment about that > in machdep_ap_bootstrap. >=20 > Index: /usr/src/sys/powerpc/powerpc/mp_machdep.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- /usr/src/sys/powerpc/powerpc/mp_machdep.c (revision 356426) > +++ /usr/src/sys/powerpc/powerpc/mp_machdep.c (working copy) > @@ -69,6 +69,88 @@ > static struct mtx ap_boot_mtx; > struct pcb stoppcbs[MAXCPU]; >=20 > +#if defined(AIM) > +// Part of: Attempt a better-than-historical approximately > +// equal timebase value for ap vs. bsp > + > +volatile int alternate_timebase_sync_style=3D 0; // 0 indicates old = style; 1 indicates new style. > +volatile uint64_t bsp_timebase_sample=3D 0u; > + > +volatile unsigned int from_bsp_status_flag=3D 0u; > +// stages: 0u, 1u (bsp ready to start), 2u (bsp tbr value available = to ap) > + > +volatile unsigned int from_ap_status_flag=3D 0u; > +// stages: 0u, 1u (ap ready for bsp tbr value to be found and sent) > +#endif > + > +static __inline uint64_t > +mftb_with_no_pointer_use(void) > +{ > +#ifdef __powerpc64__ > + uint64_t tb; // not used for 32-bit powerpc > + __asm __volatile ("mftb %0" : "=3Dr"(tb)); > + return tb; > +#else > + uint32_t tbu; // not pointer into tb > + uint32_t tbl; // not pointer into tb > + > + do { > + tbu=3D mfspr(TBR_TBU); > + tbl=3D mfspr(TBR_TBL); > + } while (tbu !=3D mfspr(TBR_TBU)); > + > + // The construction of the unint64_t value does bias the mttb = some > + // for the round-trip-start side of things. > + // > + // The pointers into tb technique would involve a pair of = memory > + // writes and a pair of memory reads instead, the writes being > + // in the loop. > + return ((uint64_t)tbu<<32) | tbl; > +#endif > +} > + > +static __inline uint64_t > +mftb_plus_delta(volatile uint64_t* bsp_tbr, int64_t ap_midpoint) > + // The return value is used in the mttb as the argument. > +{ =20 > +#ifdef __powerpc64__ > + uint64_t tb; // not used for 32-bit powerpc > + __asm __volatile ("mftb %0" : "=3Dr"(tb)); > + // The construction of the unint64_t value does bias the mttb = some: > + // it assignes an earlier time than hoped for, given these = later > + // calculations. > + return tb + ((int64_t)*bsp_tbr - ap_midpoint); > +#else > + // Establishes delta_for_approx_match_to_bsp_tbr_values such = that: > + // = ap_midpoint+delta_for_approx_match_to_bsp_tbr_values=3D=3D*bsp_tbr > + int64_t delta_for_approx_match_to_bsp_tbr_values; > + uint32_t tbu; // not pointer into tb > + uint32_t tbl; // not pointer into tb > + > + do { > + // The below in-loop style is for avoiding the loop > + // vs. ap_midpoint's calculation being reversed in > + // the code generated: volatile is is being put to > + // use here. > + delta_for_approx_match_to_bsp_tbr_values=3D = (int64_t)*bsp_tbr-ap_midpoint; > + > + tbu=3D mfspr(TBR_TBU); > + tbl=3D mfspr(TBR_TBL); > + } while (tbu !=3D mfspr(TBR_TBU)); > + > + // The construction of the unint64_t value does bias the mttb = some: > + // it assignes an earlier time than hoped for, given these = later > + // calculations. Easily observable on the example 7455 based = PowerMac > + // G4. (Faster than G5 tbr increment rate but a slower = processor,) > + // But the overall process is still an improvement. > + // > + // The pointers into tb technique would involve a pair of = memory > + // writes and a pair of memory reads instead, the writes being > + // in the loop. The "+ . . ." would still be involved. > + return ( ((uint64_t)tbu<<32) | tbl ) + = delta_for_approx_match_to_bsp_tbr_values; > +#endif > +} > + > void > machdep_ap_bootstrap(void) > { > @@ -76,19 +158,76 @@ > PCPU_SET(awake, 1); > __asm __volatile("msync; isync"); >=20 > +#if defined(AIM) > + powerpc_sync(); > + isync(); > + if (1=3D=3Dalternate_timebase_sync_style) > + { > + // Part of: Attempt a better-than-historical = approximately > + // equal timebase value for ap vs. bsp > + > + // No claim to deal with overflow/wraparound of tbr, = or even > + // of the upper bit being on. > + > + register_t oldmsr=3D intr_disable(); > + > + while (1u!=3Dfrom_bsp_status_flag) > + ; // spin waiting for bsp to flag that its = ready to start. > + > + // Start to measure a round trip:: to the bsp and = back. > + > + isync(); // Be sure below mftb() result is not from = earlier speculative execution. > + uint64_t const start_round_trip_time_on_ap=3D = mftb_with_no_pointer_use(); > + atomic_store_rel_int(&from_ap_status_flag, 1u); // bsp = waits for such before its mftb(). > + > + while (2u!=3Dfrom_bsp_status_flag) > + ; // spin waiting for bsp's tbr value > + > + // Mid-point of ap round trip and the bsp timebase = value should be approximately equal > + // when the tbr's are well matched, absent = interruptions on both sides. > + > + isync(); // Be sure below mftb() result is not from = earlier speculative execution. > + uint64_t const end_round_trip_time_on_ap=3D = mftb_with_no_pointer_use(); > + isync(); // Be sure above mftb() result is not from = overlapping with the following. > + > + int64_t const approx_round_trip_tbr_delta_on_ap > + =3D (int64_t)end_round_trip_time_on_ap = - (int64_t)start_round_trip_time_on_ap; > + int64_t const ap_midpoint_value > + =3D = (int64_t)start_round_trip_time_on_ap + = approx_round_trip_tbr_delta_on_ap/2; > + > + // The mftb_plus_delta use is for helping to the = control the code order relative > + // to tbr access. Such issues are notable for the 7455 = based 2-socket PowerMacs, > + // for example. Faster tbr increment rate than the = G5's but slower processors > + // and such. Still, overall this definitely helps such = contexts compared to the > + // historical style of timebase synchronization. > + isync(); // Be sure below mftb() result is not from = earlier speculative execution. > + = mttb(mftb_plus_delta(&bsp_timebase_sample,ap_midpoint_value)); > + > + atomic_store_rel_int(&from_bsp_status_flag, 0u); // = Get ready for next ap in bsp loop > + atomic_store_rel_int(&from_ap_status_flag, 0u); // = Flag bsp that this ap is done > + > + mtmsr(oldmsr); > + } > +#endif > + > while (ap_letgo =3D=3D 0) > nop_prio_vlow(); > nop_prio_medium(); >=20 > - /* > - * Set timebase as soon as possible to meet an implicit = rendezvous > - * from cpu_mp_unleash(), which sets ap_letgo and then = immediately > - * sets timebase. > - * > - * Note that this is instrinsically racy and is only relevant = on > - * platforms that do not support better mechanisms. > - */ > - platform_smp_timebase_sync(ap_timebase, 1); > +#if defined(AIM) > + if (0=3D=3Dalternate_timebase_sync_style) > +#endif > + { > + /* > + * Set timebase as soon as possible to meet an = implicit rendezvous > + * from cpu_mp_unleash(), which sets ap_letgo and then = immediately > + * sets timebase. > + * > + * Note that this is instrinsically racy and is only = relevant on > + * platforms that do not support better mechanisms. > + */ > + platform_smp_timebase_sync(ap_timebase, 1); > + } >=20 > /* Give platform code a chance to do anything else necessary */ > platform_smp_ap_init(); > @@ -261,6 +400,34 @@ > pc->pc_cpuid, = (uintmax_t)pc->pc_hwref, > pc->pc_awake); > smp_cpus++; > + > +#if defined(AIM) > + // Part of: Attempt a better-than-historical = approximately > + // equal timebase value for ap vs. = bsp > + powerpc_sync(); > + isync(); > + if (1=3D=3Dalternate_timebase_sync_style) > + { > + register_t oldmsr=3D intr_disable(); > + > + = atomic_store_rel_int(&from_bsp_status_flag, 1u); // bsp ready to start. > + > + while (1u!=3Dfrom_ap_status_flag) > + ; // spin waiting for ap to = flag: time to send a tbr. > + > + isync(); // Be sure below mftb() = result is not from earlier. > + bsp_timebase_sample=3D = mftb_with_no_pointer_use(); > + = atomic_store_rel_int(&from_bsp_status_flag, 2u); // bsp tbr available. > + > + // Most of the rest of the usage is in = machdep_ap_bootstrap, > + // other than controling = alternate_timebase_sync_style value. > + > + while (0u!=3Dfrom_ap_status_flag) > + ; // spin waiting for ap to be = done with the sample. > + > + mtmsr(oldmsr); > + } > +#endif > } else > CPU_SET(pc->pc_cpuid, &stopped_cpus); > } > @@ -267,14 +434,22 @@ >=20 > ap_awake =3D 1; >=20 > - /* Provide our current DEC and TB values for APs */ > - ap_timebase =3D mftb() + 10; > - __asm __volatile("msync; isync"); > +#if defined(AIM) > + if (0=3D=3Dalternate_timebase_sync_style) > +#endif > + { > + /* Provide our current DEC and TB values for APs */ > + ap_timebase =3D mftb() + 10; > + __asm __volatile("msync; isync"); > + } >=20 > /* Let APs continue */ > atomic_store_rel_int(&ap_letgo, 1); >=20 > - platform_smp_timebase_sync(ap_timebase, 0); > +#if defined(AIM) > + if (0=3D=3Dalternate_timebase_sync_style) > +#endif > + platform_smp_timebase_sync(ap_timebase, 0); >=20 > while (ap_awake < smp_cpus) > ; >=20 I forgot to include a patch that was tied to some PowerPC reference material's notes about the TB register for at least some PowerPC family members: "The TB is a volatile resource and must be initialized during reset." Note: Here the ap_cpu was simply deleted because it was not used anywhere in the file. Index: /usr/src/sys/powerpc/powerpc/machdep.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- /usr/src/sys/powerpc/powerpc/machdep.c (revision 356426) +++ /usr/src/sys/powerpc/powerpc/machdep.c (working copy) @@ -142,8 +142,6 @@ extern vm_paddr_t kernload; #endif =20 -extern void *ap_pcpu; - struct pcpu __pcpu[MAXCPU]; static char init_kenv[2048]; @@ -283,9 +281,12 @@ cpu_feature_setup(); #ifdef AIM + // May restart the kernel at __start and get back here again. aim_early_init(fdt, toc, ofentry, mdp, mdp_cookie); #endif + mttb(0); // "The TB is a volatile resource and must be = initialized during reset." + /* * Parse metadata if present and fetch parameters. Must be done * before console is inited so cninit gets the right value of =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Sun Jan 19 23:24:33 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 2B034227B7F for ; Sun, 19 Jan 2020 23:24:33 +0000 (UTC) (envelope-from bacon4000@gmail.com) Received: from mail-yw1-xc42.google.com (mail-yw1-xc42.google.com [IPv6:2607:f8b0:4864:20::c42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) 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 4819qh3FrJz3MMb for ; Sun, 19 Jan 2020 23:24:32 +0000 (UTC) (envelope-from bacon4000@gmail.com) Received: by mail-yw1-xc42.google.com with SMTP id i190so17142636ywc.2 for ; Sun, 19 Jan 2020 15:24:32 -0800 (PST) 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=bd5O0NI9o80RvtvsX90GHjANaSieqx1HXLyh1sWsR3g=; b=hhqmlifPlNjUgMvKLkNJXZfG138QLpvuHZdI4J2crTVm9OIDAbsGWTwvWSamfZjgHO bSMc3OL3szUkvXVAk7Z43ixUUlcSfuAXlA6KKeZ5x6MZ4JdCQIb09QAYc1IltV9pvqiA gjxH3Xp+Ex1QUWZmbzNmHPZyzP0IQn6FGnfV7OkXrliRCq1mMmiNqPJkESHXZf/MjM+d vXY97AdgqoaW0hpNnUJgghXTV21FfnlSXD5xuVZFKVHgPxOW2IiggJUnc6ei4mm6DlBb GmKV/CsvvBN0smWxpqkV6e+Ul7UJ+0G5DfkgVTELYhp/LEo8bFNT16oUopyufP5DRVO/ 5N2g== 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=bd5O0NI9o80RvtvsX90GHjANaSieqx1HXLyh1sWsR3g=; b=NX24CTGCYr4lAQih3ninB3wyfAibCzn95+j+N7Pu7YDOqZvUUpxkPTuNPqDcsmcjAW NewBNXdfle7SW3/nwKEMxVBQJK5TqEqjGeehUa4sQxaZv1OyQkz1yaf7Pv9MxFQvQBBo db46yLkPIzRSJZjkGjnuU8YM9tMfPBB+jMLK+6WERNnco3o88C7F89+lUGGVlWHjZsOQ o+VdeTg/HnEaEmwrbjgv2syXLrpPdKEczl7Q5qo+mxQUidggyTirD8eVkxVw30hAR6Ra B8p78JYMdMDBn4OPq+HrO4wLes3KvuuiiZxZ/gsT40iWjeqt9cekk3v3U7PYfcghn4Ni CCwA== X-Gm-Message-State: APjAAAVMrXQQ7+Xf0fBLEt40iEtCmEjckHVZXJp8ECBbPBp93UnOuleM IFN89u3xSUzwacwLVCtPj0jLzI0n X-Google-Smtp-Source: APXvYqxCF9dpTglEDHj9sa0Isxv6g9xHoSWf92/jh6JqHRaL35jessBI9+AsT41PWBzCCRVVqWFB6g== X-Received: by 2002:a81:780b:: with SMTP id t11mr33748974ywc.117.1579476270954; Sun, 19 Jan 2020 15:24:30 -0800 (PST) Received: from coral.acadix.biz (2603-6000-a446-9100-0223-24ff-fe37-c4d7.res6.spectrum.com. [2603:6000:a446:9100:223:24ff:fe37:c4d7]) by smtp.gmail.com with ESMTPSA id w142sm15018314ywa.87.2020.01.19.15.24.29 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 19 Jan 2020 15:24:30 -0800 (PST) Subject: Re: G5 Quad Fans full speed after 1 min To: freebsd-ppc@freebsd.org References: <21533290-667C-472E-89F7-D1E7DE773193@yahoo.com> From: Jason Bacon Message-ID: <08867d39-807a-494b-9ea5-d29d483e9c29@gmail.com> Date: Sun, 19 Jan 2020 17:24:28 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <21533290-667C-472E-89F7-D1E7DE773193@yahoo.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-Rspamd-Queue-Id: 4819qh3FrJz3MMb X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=hhqmlifP; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of bacon4000@gmail.com designates 2607:f8b0:4864:20::c42 as permitted sender) smtp.mailfrom=bacon4000@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; 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]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (2.17), ipnet: 2607:f8b0::/32(-2.08), asn: 15169(-1.82), country: US(-0.05)]; 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.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ppc@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2.4.c.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2020 23:24:33 -0000 On 2020-01-19 05:13, Mark Millard via freebsd-ppc wrote: > On 2020-Jan-19, at 00:38, Francis Little wrote= : > >> Hi, >> >> My G5 Quad is running current from a few days ago, but this issue has = been >> happening for a long time. >> >> After about 1 min of uptime, the fans go full speed. >> >> As soon as I query anything like CPU temp or fan rpm with sysctl, the = fans >> return to a normal speed. >> >> 1 min later the fans go full speed again. >> >> I've been working round this for some time with a cron job that runs s= ysctl >> with one of the cpu temp sensors to calm the system. > QUOTING an old message: > The mftb figures on the various cores can be so far apart that > threads can end-up stuck sleeping, such as syncr, pmac_thermal, > and buf*deamon* threads. (This can really mess things up by > not updating the storage correctly.) Such is still true of the > ELFv2 context. > > (Most folks notice this via shutdown timeouts and the fans > going fast unnecessarily. But it is involved earlier as well.) > END QUOTE > > Nothing in the boot sequence is forcing the CPUs/Cores to > see any particular time relationship to each other and on > the multi-socket PowerMacs it can vary widely (G4 and G5). > Sometimes it will happen to end up okay, other times not. > > (I've no access to a single-socket, multi-core PowerMac, > so I just do not know for that kind of context.) > > I run with patched boot-code that has cross-cpu/core time > observations and adjustments to non-bsp time to see the > bsp time as between the start and end of a round trip to > the bsp from each non-bsp to get the bsp's time. It is > based on the mid-point of the start and end times for > the non-bsp's round trip vs. the bsp's returned time. > With at most 4 cores, each non-bsp is done in sequence. > The code only does this on PowerMacs, having no access > to other types of PowerPC examples to test. > > I've not seen this type of problem since mid 2019-May on > any of: > > 1 G5 with 2 sockets, 1 core each > 2 G5's, 2 sockets, 2 cores each > 2 G4's, 2 sockets, 1 core each > > (The mid-May time frame is when I adjusted the code to > deal with the faster time increment on the slower > 32-bit processors for the model that I have access to. > I had to be more careful to avoid biasing the approximate > symmetry to be less symmetric. On the G5's its been > longer since I've seen this problem, based on earlier > source code.) > > Unfortunately the "lab" the machines are in is powered > down currently. > > FYI: Prior to this technique, I had a pure hack that > was observed to avoid the problem. But it changed code > used all the time --code that I did not want to have > any hack's in if I could avoid it. > > FYI: I also run with other PowerMac related patches. > Generally this mftb() time adjustment is one of the > newest patches, possibly the newest. So my test > context may be biased by the other patches. > >> If I boot to OS X 10.5 and load the system, the fans are stable. > I've not done any investigation of the issue for the > older contexts. But, if I remember right, I did see > the problem on occasion back in that time frame. > >> Does anyone else get this? > My understanding is everyone booting a fairly modern > standard FreeBSD gets this sometimes for the kind of > context that you specified. (I'm not sure of the > variability if the frequency of the problem happening > for that kind of context.) > > I certainly saw it before I investigated avoiding it. > > =3D=3D=3D > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) > > _______________________________________________ > 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" On my dual CPU PowerMac G5, this issue happens for 80 - 90% of boots. I'd love to test a patch if one is available.=C2=A0 Cutting the speed in = half=20 would be problematic for testing large ports. Thanks, =C2=A0=C2=A0=C2=A0 JB --=20 Earth is a beta site. From owner-freebsd-ppc@freebsd.org Mon Jan 20 02:35:20 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 788EB22B0D2 for ; Mon, 20 Jan 2020 02:35:20 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic316-55.consmr.mail.gq1.yahoo.com (sonic316-55.consmr.mail.gq1.yahoo.com [98.137.69.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 481G3p3n9qz40Vg for ; Mon, 20 Jan 2020 02:35:18 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: LlaQlkEVM1mpin74sTQx0_2wv7xeKGQMnw50iTMr5CxGZdMn5cuCI6QajkObqF2 mjWsMyVOIiQ9AyhAafl9suQRp1tXopfHSuCpCUOcDRTyNYChbg1UOcERhH0NSHfKFhm9xaLD14ER Olsq8JEZlY9EP8uRBqqEzscV5ToknoJ1xz.VmNHKJvFpVBrhQA8BJR5jFWHTfxuyn6ENUrNIpJzA 0aV_VGgYy9AfHzRpE0NztkMuaV8QXE_FaurtUAwQ8UdaFiiNxaeE1pxSFGmovOJgGPrajcClOMtw MvyPQazBxex9.fVbu3bomJ6qrUeusEyiGFV9SFkGAp3jT.J8aJyQRZHLIYH2oPV23H1tOXrws711 BuOhj36qM0Gneb1Lq3QkMgtVuo6aAeQ2fSfb4yt1f.3YBmA6iiS_iqepmNWUyaUSc7bKBTJDvyxx yWUQe09QBlwJBVXtD.ZUgdKiI3o_ytvqydGYeE6kahbDknwaVV6VA9kcscross0kj1kWsYphoIvM T_9WXUkBb5EWoEBJSfuF0P9O0hYjvugZ3MgE9xp2D3Y2zXhykyd30cAx.gtpNJBKZCnnaa1EQaVY agmjug36hnO9v8kkn80xeOla.zznZcwHON6LvKGjZpSA7H2E1rg8rV1Zkmc7Jl1D2_qnmkUEKMnr g6q8kGZ29FG_hJY7KR9N3VBmDJkWV01ozZX0dy3MT7wyMZjIuCaXghN_CppWZ.iCxezFjRFl0nV3 J_.J74omo2TVhBiVI_fTEOf0o8AbO4uxs80Z6uAxne8.PKapxhm1rhd0dAEuWSppm17etYF6t2LX gJrHIYQd5R.9bfAOaA.aBZ3u6Y7uv9WqPBZ8lGJyUnV1lt5S3IKszzIlLQ7HbF0.VvYREcn7Twzb 9eRhaxFULH6dEX_Qcl.rmvyouWCGWLTHEn0AHI6APhbqmznpPbdqX4WSufTam7e653Y7yXnSKXpw rnBDN9nsDZiqRe_j.CKXa0zr53yRDuFzwwQmwtZHBWTUYP6coLGx9l5UBMgI8CCKLws2NK7qATTi FBUHJmy7MDETWNvScy9ewR1vivzMnhWS4Z4EEobBJC1NFB8lDFExmOPouixzXh1Macj6klVllqV7 4uhhHc0wiE2zwrAP_a.P7wjFUvEX7KR0fN1qfB2hx2CcKnESKaZzb6EgSxw5FnvNxONmB9U.L3a8 ey01jC3vw6uim9mJ1Flb4Xi1FtbaYURaRKf4p6TnNpEBUIcEoc6_vFeQ0ApcW8249fvbpSh9jQrQ ys10IC.vksmpkWGGBBF2ecygws0v3hfTVGWH6zUQ5WWExJpgOWw2OdXfCJeiSFfBPBa4hnXqkAS. F9rNxq9z2FMii77V6vqd9zFfxldEfhdMH6cGt3.GAB.hMsfFuL9rwOTIQYPJCPXvowjZ6GgksuFE xqNLN7s0Wk6NxOH2hMwt7ME.wPbfo3QYsICuO5fHUoHJTNt5ZwCEPe.LSTOCZCcfoSh8dQkhk5Lo - Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.gq1.yahoo.com with HTTP; Mon, 20 Jan 2020 02:35:17 +0000 Received: by smtp405.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID c1b20db23f956ab52763edac0542549b; Mon, 20 Jan 2020 02:35:11 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: G5 Quad Fans full speed after 1 min From: Mark Millard In-Reply-To: <08867d39-807a-494b-9ea5-d29d483e9c29@gmail.com> Date: Sun, 19 Jan 2020 18:35:09 -0800 Cc: freebsd-ppc@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <21533290-667C-472E-89F7-D1E7DE773193@yahoo.com> <08867d39-807a-494b-9ea5-d29d483e9c29@gmail.com> To: Jason Bacon X-Mailer: Apple Mail (2.3608.40.2.2.4) X-Rspamd-Queue-Id: 481G3p3n9qz40Vg X-Spamd-Bar: / X-Spamd-Result: default: False [0.50 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (5.56), ipnet: 98.137.64.0/21(0.85), asn: 36647(0.68), country: US(-0.05)]; NEURAL_SPAM_MEDIUM(0.54)[0.540,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.46)[0.456,0]; RCVD_IN_DNSWL_NONE(0.00)[31.69.137.98.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jan 2020 02:35:20 -0000 On 2020-Jan-19, at 15:24, Jason Bacon wrote: > On 2020-01-19 05:13, Mark Millard via freebsd-ppc wrote: >> On 2020-Jan-19, at 00:38, Francis Little = wrote: >>=20 >>> Hi, >>>=20 >>> My G5 Quad is running current from a few days ago, but this issue = has been >>> happening for a long time. >>>=20 >>> After about 1 min of uptime, the fans go full speed. >>>=20 >>> As soon as I query anything like CPU temp or fan rpm with sysctl, = the fans >>> return to a normal speed. >>>=20 >>> 1 min later the fans go full speed again. >>>=20 >>> I've been working round this for some time with a cron job that runs = sysctl >>> with one of the cpu temp sensors to calm the system. >> QUOTING an old message: >> The mftb figures on the various cores can be so far apart that >> threads can end-up stuck sleeping, such as syncr, pmac_thermal, >> and buf*deamon* threads. (This can really mess things up by >> not updating the storage correctly.) Such is still true of the >> ELFv2 context. >>=20 >> (Most folks notice this via shutdown timeouts and the fans >> going fast unnecessarily. But it is involved earlier as well.) >> END QUOTE >>=20 >> Nothing in the boot sequence is forcing the CPUs/Cores to >> see any particular time relationship to each other and on >> the multi-socket PowerMacs it can vary widely (G4 and G5). >> Sometimes it will happen to end up okay, other times not. >>=20 >> (I've no access to a single-socket, multi-core PowerMac, >> so I just do not know for that kind of context.) >>=20 >> I run with patched boot-code that has cross-cpu/core time >> observations and adjustments to non-bsp time to see the >> bsp time as between the start and end of a round trip to >> the bsp from each non-bsp to get the bsp's time. It is >> based on the mid-point of the start and end times for >> the non-bsp's round trip vs. the bsp's returned time. >> With at most 4 cores, each non-bsp is done in sequence. >> The code only does this on PowerMacs, having no access >> to other types of PowerPC examples to test. >>=20 >> . . . >=20 > On my dual CPU PowerMac G5, this issue happens for 80 - 90% of boots. >=20 > I'd love to test a patch if one is available. Cutting the speed in = half would be problematic for testing large ports. For the svn diffs against head -r356426 for my code for this issue, see: https://lists.freebsd.org/pipermail/freebsd-ppc/2020-January/011239.html https://lists.freebsd.org/pipermail/freebsd-ppc/2020-January/011240.html But you likely want to avoid the one instance of: -extern void *ap_pcpu; +extern void * volatile ap_pcpu; It would lead to needing analogous changes in a bunch of other files. There are notes in those other list entries about avoiding needing to update the wider set of files. I will note that there are more PowerMac related patch sets around of mine that, if someone tries them, I'd like to hear how things go: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233863 has 3 other patch attachments that I use for other PowerMac issues. I originally did the work because the "workaround" recommended for what was being reported crashed what I had access to and I was trying to enable the workaround. But it ended up far more capable than just enabling the workaround. None of these attachments were involved in the "Closed FIXED" status change: none of the patch sets are in FreeBSD. My 3 attachments were before I'd tested my "modern" patches for the per-core TB value relationships long enough for me to be willing to put those materials there. (In fact, I see that I deleted an old, insufficient patch on 2019-05-12.) For what is there, the svn diff's are about 7 or more months old compared to svn diffing with head -r356426 where my context is currently synchronized. (There were 1 or two more patches at one time but some other change or variation of them removed the issue that they were for.) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Mon Jan 20 08:47:47 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 2DF161F28F2 for ; Mon, 20 Jan 2020 08:47:47 +0000 (UTC) (envelope-from oggy@farscape.co.uk) Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) 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 481QKZ1kl2z4Fxh for ; Mon, 20 Jan 2020 08:47:45 +0000 (UTC) (envelope-from oggy@farscape.co.uk) Received: by mail-lj1-x235.google.com with SMTP id r19so32932090ljg.3 for ; Mon, 20 Jan 2020 00:47:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=farscape-co-uk.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=n4GaQa3ugV0i+644DWG2fwMuPww5w/uIcBuOVNQX9I8=; b=drkzZEqx8Pr7FFOYNe9f7OpO4t4TETHmLoZAXCLjuDUsjPVXBQchmzBjJNZoEsvbM3 auO3W6uY7PXT+MyNiteS0amJQDKuZk8ogXHMwpxigIEhtzf964eGLYeW3ZohXEebpmT/ Up08KIQ/8ajqjYvvKpZw2WwZCFK3x8Ozq9KZFCZB1Op9XOF+e6zW1Quf6Rqk4DXiHvTL lWik2u+u1Ku9O/7VJd6a9/iT3atIfIJint1bCs3iKFICL7OY/w67at0oPfAEhEPCxcQn gs2S5aajnMC0/1zVNCbS+suUs5aQ46XdZOITIKLZv+TdewUaPK+YQLi6HFPheXGDTINe m78w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=n4GaQa3ugV0i+644DWG2fwMuPww5w/uIcBuOVNQX9I8=; b=m9Qx0QCrjvVTH3T2j2UYexduiaIhuRu16fh5K/PH/5EozEcY4NkYGBkgcPcXUQEMMl 4DF91/LrUggQl88MjXKWa4NMmUHzL8yFzIMG9VcDJx3Jn6VzU/aGL/N0ELXKKMHdlv8f sUKL+BqneJo0v7BV57RTKLNCWVlIzSfVpgxoeWbuuTtWWq2qbrY6SDquHr+DYcdcfFDA ZHONu2T109JZETX75c0TFAGtO1Bod9Y4kJxN8gP0b+fGV2jCCFE0mhdmSKhGnW/ihq1B 49FGMmf2gLYKECm2+gG7pf8VsPyvsbS32AohxYJUniqIYgkvblQ0ed84Cy0RRQv35rm/ Vg0w== X-Gm-Message-State: APjAAAWuc63f3MkHATnlNam4tMHrMrlAZp6v2wtVp3o5OpMMA9ikAsrY WVVYhdg0Qsr5Mpo06xLB1/GzdzuXDjFC2mQQn2/dr/e2 X-Google-Smtp-Source: APXvYqzZ3BTT1qiSPb1VPxE55Jwjpv4uNaKgyCk8JcNt7ZCIkoo+O3AoaLex6CCHM1CQEwDAUAiZ2qrTN5gdTMRvklc= X-Received: by 2002:a2e:9613:: with SMTP id v19mr13024859ljh.47.1579510062764; Mon, 20 Jan 2020 00:47:42 -0800 (PST) MIME-Version: 1.0 References: <21533290-667C-472E-89F7-D1E7DE773193@yahoo.com> <08867d39-807a-494b-9ea5-d29d483e9c29@gmail.com> In-Reply-To: From: Francis Little Date: Mon, 20 Jan 2020 08:47:32 +0000 Message-ID: Subject: Re: G5 Quad Fans full speed after 1 min To: FreeBSD PowerPC ML X-Rspamd-Queue-Id: 481QKZ1kl2z4Fxh X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=farscape-co-uk.20150623.gappssmtp.com header.s=20150623 header.b=drkzZEqx; dmarc=none; spf=pass (mx1.freebsd.org: domain of oggy@farscape.co.uk designates 2a00:1450:4864:20::235 as permitted sender) smtp.mailfrom=oggy@farscape.co.uk X-Spamd-Result: default: False [-5.27 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[farscape-co-uk.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ppc@freebsd.org]; DMARC_NA(0.00)[farscape.co.uk]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[farscape-co-uk.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[5.3.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-2.77)[ip: (-9.40), ipnet: 2a00:1450::/32(-2.59), asn: 15169(-1.82), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jan 2020 08:47:47 -0000 I'm more than willing to test patches, but I think trying to figure out what to apply is a little beyond me, I'm more the pull a source from here and go! As for my machine, running with SMP off, compile times are terrible, with SMP on, compiling ports etc is stable enough, just LOUD! So I'm opting for the put it somewhere I can't hear it for now, and back to the corn job prodding sysctl once in a while to calm it! On Mon, 20 Jan 2020 at 02:35, Mark Millard via freebsd-ppc < freebsd-ppc@freebsd.org> wrote: > > > On 2020-Jan-19, at 15:24, Jason Bacon wrote: > > > On 2020-01-19 05:13, Mark Millard via freebsd-ppc wrote: > >> On 2020-Jan-19, at 00:38, Francis Little > wrote: > >> > >>> Hi, > >>> > >>> My G5 Quad is running current from a few days ago, but this issue has > been > >>> happening for a long time. > >>> > >>> After about 1 min of uptime, the fans go full speed. > >>> > >>> As soon as I query anything like CPU temp or fan rpm with sysctl, the > fans > >>> return to a normal speed. > >>> > >>> 1 min later the fans go full speed again. > >>> > >>> I've been working round this for some time with a cron job that runs > sysctl > >>> with one of the cpu temp sensors to calm the system. > >> QUOTING an old message: > >> The mftb figures on the various cores can be so far apart that > >> threads can end-up stuck sleeping, such as syncr, pmac_thermal, > >> and buf*deamon* threads. (This can really mess things up by > >> not updating the storage correctly.) Such is still true of the > >> ELFv2 context. > >> > >> (Most folks notice this via shutdown timeouts and the fans > >> going fast unnecessarily. But it is involved earlier as well.) > >> END QUOTE > >> > >> Nothing in the boot sequence is forcing the CPUs/Cores to > >> see any particular time relationship to each other and on > >> the multi-socket PowerMacs it can vary widely (G4 and G5). > >> Sometimes it will happen to end up okay, other times not. > >> > >> (I've no access to a single-socket, multi-core PowerMac, > >> so I just do not know for that kind of context.) > >> > >> I run with patched boot-code that has cross-cpu/core time > >> observations and adjustments to non-bsp time to see the > >> bsp time as between the start and end of a round trip to > >> the bsp from each non-bsp to get the bsp's time. It is > >> based on the mid-point of the start and end times for > >> the non-bsp's round trip vs. the bsp's returned time. > >> With at most 4 cores, each non-bsp is done in sequence. > >> The code only does this on PowerMacs, having no access > >> to other types of PowerPC examples to test. > >> > >> . . . > > > > On my dual CPU PowerMac G5, this issue happens for 80 - 90% of boots. > > > > I'd love to test a patch if one is available. Cutting the speed in half > would be problematic for testing large ports. > > For the svn diffs against head -r356426 for my code for > this issue, see: > > https://lists.freebsd.org/pipermail/freebsd-ppc/2020-January/011239.html > https://lists.freebsd.org/pipermail/freebsd-ppc/2020-January/011240.html > > But you likely want to avoid the one instance of: > > -extern void *ap_pcpu; > +extern void * volatile ap_pcpu; > > It would lead to needing analogous changes in a > bunch of other files. There are notes in those > other list entries about avoiding needing to > update the wider set of files. > > > I will note that there are more PowerMac related > patch sets around of mine that, if someone tries > them, I'd like to hear how things go: > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233863 > > has 3 other patch attachments that I use for other PowerMac > issues. I originally did the work because the "workaround" > recommended for what was being reported crashed what I had > access to and I was trying to enable the workaround. But it > ended up far more capable than just enabling the workaround. > None of these attachments were involved in the "Closed FIXED" > status change: none of the patch sets are in FreeBSD. > > My 3 attachments were before I'd tested my "modern" patches > for the per-core TB value relationships long enough for me > to be willing to put those materials there. (In fact, I > see that I deleted an old, insufficient patch on 2019-05-12.) > > For what is there, the svn diff's are about 7 or more > months old compared to svn diffing with head -r356426 > where my context is currently synchronized. > > (There were 1 or two more patches at one time but > some other change or variation of them removed the > issue that they were for.) > > === > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) > > _______________________________________________ > 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" > From owner-freebsd-ppc@freebsd.org Mon Jan 20 19:15:44 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 08C91223C07 for ; Mon, 20 Jan 2020 19:15:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 481hG76XqWz4rl2 for ; Mon, 20 Jan 2020 19:15:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id C0208185BA; Mon, 20 Jan 2020 19:15:43 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id BE5C5185B9 for ; Mon, 20 Jan 2020 19:15:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 481hG73vM5z4rl0 for ; Mon, 20 Jan 2020 19:15:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8141E584 for ; Mon, 20 Jan 2020 19:15:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 00KJFhNs006120 for ; Mon, 20 Jan 2020 19:15:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00KJFhia006119 for powerpc@FreeBSD.org; Mon, 20 Jan 2020 19:15:43 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 243154] www/trafficserver: fix build on powerpc64 Date: Mon, 20 Jan 2020 19:15:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: gaod@hychen.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkubaj@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jan 2020 19:15:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243154 --- Comment #1 from Hung-Yi Chen --- LFTM. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Mon Jan 20 19:16: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 36303223C8A for ; Mon, 20 Jan 2020 19:16:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 481hHR0jmHz4rnW for ; Mon, 20 Jan 2020 19:16:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id EE256185FE; Mon, 20 Jan 2020 19:16:50 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id EBBC4185FD for ; Mon, 20 Jan 2020 19:16:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 481hHQ5F2Qz4rnS for ; Mon, 20 Jan 2020 19:16:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AF64D587 for ; Mon, 20 Jan 2020 19:16:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 00KJGojS007488 for ; Mon, 20 Jan 2020 19:16:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00KJGoqt007487 for powerpc@FreeBSD.org; Mon, 20 Jan 2020 19:16:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 243154] www/trafficserver: fix build on powerpc64 Date: Mon, 20 Jan 2020 19:16:50 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: gaod@hychen.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkubaj@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ merge-quarterly? X-Bugzilla-Changed-Fields: flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jan 2020 19:16:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243154 Hung-Yi Chen changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|maintainer-feedback?(gaod@h |maintainer-feedback+ |ychen.org) | --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Mon Jan 20 20:17:57 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 4E27B225DE7 for ; Mon, 20 Jan 2020 20:17:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 481jdx1MZ1z3Gmk for ; Mon, 20 Jan 2020 20:17:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 0DEA51B9AB; Mon, 20 Jan 2020 20:17:57 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 0B1B91B9AA for ; Mon, 20 Jan 2020 20:17:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 481jdw5mwMz3Gmh for ; Mon, 20 Jan 2020 20:17:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C1AE610D4 for ; Mon, 20 Jan 2020 20:17:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 00KKHurD082404 for ; Mon, 20 Jan 2020 20:17:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00KKHuhm082403 for powerpc@FreeBSD.org; Mon, 20 Jan 2020 20:17:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 243154] www/trafficserver: fix build on powerpc64 Date: Mon, 20 Jan 2020 20:17:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkubaj@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jan 2020 20:17:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243154 --- Comment #2 from commit-hook@freebsd.org --- A commit references this bug: Author: pkubaj Date: Mon Jan 20 20:17:41 UTC 2020 New revision: 523686 URL: https://svnweb.freebsd.org/changeset/ports/523686 Log: www/trafficserver: fix build on powerpc64 This port builds on amd64, but without luajit support since there's no lu= ajit for powerpc64. Also add USES=3Dlocalbase instead of LIBS+=3D and remove unused CONFIGURE= _ARGS. Since files are installed to powerpc-freebsd-thread-multi directory, set proper PLIST_SUB and do-install target. Don't add -L/usr/lib to LDFLAGS, it breaks when compiling with ports GCC. PR: 243154 Approved by: gaod@hychen.org (maintainer) MFH: 2020Q1 (fix build blanket) Changes: head/www/trafficserver/Makefile head/www/trafficserver/files/patch-configure head/www/trafficserver/pkg-plist --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Mon Jan 20 20:18:07 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 2849F225E08 for ; Mon, 20 Jan 2020 20:18:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 481jf70GHCz3Gnh for ; Mon, 20 Jan 2020 20:18:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id DD0F81B9C9; Mon, 20 Jan 2020 20:18:06 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id DA2141B9C8 for ; Mon, 20 Jan 2020 20:18:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 481jf64jqmz3Gnd for ; Mon, 20 Jan 2020 20:18:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9D35010D6 for ; Mon, 20 Jan 2020 20:18:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 00KKI6T6082621 for ; Mon, 20 Jan 2020 20:18:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00KKI6Bq082620 for powerpc@FreeBSD.org; Mon, 20 Jan 2020 20:18:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 243154] www/trafficserver: fix build on powerpc64 Date: Mon, 20 Jan 2020 20:18:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pkubaj@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkubaj@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ merge-quarterly? X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jan 2020 20:18:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243154 Piotr Kubaj changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|New |Closed --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Mon Jan 20 20:18:59 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 DE4D7225EA9 for ; Mon, 20 Jan 2020 20:18:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 481jg73yqpz3Gvc for ; Mon, 20 Jan 2020 20:18:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 693B21BACE; Mon, 20 Jan 2020 20:18:59 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 5E18B1BACD for ; Mon, 20 Jan 2020 20:18:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 481jg710X4z3GvX for ; Mon, 20 Jan 2020 20:18:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1D6A210DA for ; Mon, 20 Jan 2020 20:18:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 00KKIwXj083656 for ; Mon, 20 Jan 2020 20:18:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00KKIwvA083655 for powerpc@FreeBSD.org; Mon, 20 Jan 2020 20:18:58 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 243154] www/trafficserver: fix build on powerpc64 Date: Mon, 20 Jan 2020 20:18:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkubaj@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jan 2020 20:18:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243154 --- Comment #3 from commit-hook@freebsd.org --- A commit references this bug: Author: pkubaj Date: Mon Jan 20 20:18:34 UTC 2020 New revision: 523687 URL: https://svnweb.freebsd.org/changeset/ports/523687 Log: MFH: r523686 www/trafficserver: fix build on powerpc64 This port builds on amd64, but without luajit support since there's no lu= ajit for powerpc64. Also add USES=3Dlocalbase instead of LIBS+=3D and remove unused CONFIGURE= _ARGS. Since files are installed to powerpc-freebsd-thread-multi directory, set proper PLIST_SUB and do-install target. Don't add -L/usr/lib to LDFLAGS, it breaks when compiling with ports GCC. PR: 243154 Approved by: gaod@hychen.org (maintainer) Approved by: portmgr (fix build blanket) Changes: _U branches/2020Q1/ branches/2020Q1/www/trafficserver/Makefile branches/2020Q1/www/trafficserver/files/patch-configure branches/2020Q1/www/trafficserver/pkg-plist --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Tue Jan 21 12:58:06 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 C2A141F51C2 for ; Tue, 21 Jan 2020 12:58:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4827qy4qfqz4Yf0 for ; Tue, 21 Jan 2020 12:58:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 9F3113F80; Tue, 21 Jan 2020 12:58:06 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 9C41C3F7F for ; Tue, 21 Jan 2020 12:58:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4827qy2sMgz4Ydx for ; Tue, 21 Jan 2020 12:58:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 59548CF44 for ; Tue, 21 Jan 2020 12:58:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 00LCw6ZB084198 for ; Tue, 21 Jan 2020 12:58:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00LCw6Us084197 for powerpc@FreeBSD.org; Tue, 21 Jan 2020 12:58:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 242758] sysutils/lsof: Fails to build on FreeBSD 12.1-RELEASE-p1 powerpc 32 bit: vm_page.h:204: error: field 'md' has incomplete type Date: Tue, 21 Jan 2020 12:58:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pkubaj@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ler@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc flagtypes.name attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2020 12:58:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242758 Piotr Kubaj changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ler@FreeBSD.org, | |pkubaj@FreeBSD.org Attachment #210914| |maintainer-approval?(ler@Fr Flags| |eeBSD.org) --- Comment #2 from Piotr Kubaj --- Created attachment 210914 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D210914&action= =3Dedit patch The following patch fixes build on powerpc64, powerpc and pleases portlint. powerpc64 users need to either define AIM or BOOKE, this is dependent on the hardware they have (99% of users have AIM). powerpc is all AIM AFAIK, powerpcspe is all BOOKE AFAIK. powerpc needs also -lzpool workaround, I'm not sure about powerpcspe. Also remove whitespace after "can" and empty line after -lzpool's if. Tabify CONFIGURE_ENV. Please also MFH since this is a build fix. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Tue Jan 21 12:58:13 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 27AE41F51D5 for ; Tue, 21 Jan 2020 12:58:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4827r50G9Bz4Yfx for ; Tue, 21 Jan 2020 12:58:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 019233FA7; Tue, 21 Jan 2020 12:58:13 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id F32A93FA6 for ; Tue, 21 Jan 2020 12:58:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4827r45VB6z4Yfq for ; Tue, 21 Jan 2020 12:58:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B78EECF48 for ; Tue, 21 Jan 2020 12:58:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 00LCwCJa084333 for ; Tue, 21 Jan 2020 12:58:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00LCwCaX084332 for powerpc@FreeBSD.org; Tue, 21 Jan 2020 12:58:12 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 242758] sysutils/lsof: Fails to build on FreeBSD 12.1-RELEASE-p1 powerpc 32 bit: vm_page.h:204: error: field 'md' has incomplete type Date: Tue, 21 Jan 2020 12:58:12 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pkubaj@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ler@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2020 12:58:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242758 Piotr Kubaj changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |merge-quarterly? --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Tue Jan 21 14:56:26 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 EF4801F852C for ; Tue, 21 Jan 2020 14:56:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482BSV66wzz4fjm for ; Tue, 21 Jan 2020 14:56:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id AE66551CB; Tue, 21 Jan 2020 14:56:26 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id A636D51C9 for ; Tue, 21 Jan 2020 14:56:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482BSV3Cpyz4fjh for ; Tue, 21 Jan 2020 14:56:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 69A2CE57E for ; Tue, 21 Jan 2020 14:56:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 00LEuQba018320 for ; Tue, 21 Jan 2020 14:56:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00LEuQDM018319 for powerpc@FreeBSD.org; Tue, 21 Jan 2020 14:56:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 243484] editors/emacs: fix build of dependent libraries on powerpc64 elf2 Date: Tue, 21 Jan 2020 14:56:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pkubaj@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: emacs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2020 14:56:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243484 Bug ID: 243484 Summary: editors/emacs: fix build of dependent libraries on powerpc64 elf2 Product: Ports & Packages Version: Latest Hardware: powerpc OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: emacs@FreeBSD.org Reporter: pkubaj@FreeBSD.org CC: powerpc@FreeBSD.org CC: powerpc@FreeBSD.org Flags: maintainer-feedback?(emacs@FreeBSD.org) Assignee: emacs@FreeBSD.org Created attachment 210915 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D210915&action= =3Dedit patch All the dependent libraries fail to build on powerpc64 elfv2: =3D=3D=3D> Building for treepy.el-emacs26-0.1.1_3 (cd /wrkdirs/usr/ports/devel/treepy.el/work-full/treepy.el-0.1.1 ; /usr/local/bin/emacs-26.3 -batch -q -f batch-byte-compile treepy.el) *** Signal 6 Use GCC on powerpc64 to fix this issue. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Tue Jan 21 14:56:39 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 16EE41F858A for ; Tue, 21 Jan 2020 14:56:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482BSk4PRLz4flw for ; Tue, 21 Jan 2020 14:56:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 76B395218; Tue, 21 Jan 2020 14:56:38 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 733305217 for ; Tue, 21 Jan 2020 14:56:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482BSk1j1jz4flr for ; Tue, 21 Jan 2020 14:56:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 35D13E582 for ; Tue, 21 Jan 2020 14:56:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 00LEucuR018540 for ; Tue, 21 Jan 2020 14:56:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00LEuc57018539 for powerpc@FreeBSD.org; Tue, 21 Jan 2020 14:56:38 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 243484] editors/emacs: fix build of dependent libraries on powerpc64 elf2 Date: Tue, 21 Jan 2020 14:56:38 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pkubaj@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: emacs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2020 14:56:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243484 Piotr Kubaj changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emacs@FreeBSD.org Attachment #210915| |maintainer-approval?(emacs@ Flags| |FreeBSD.org) --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Tue Jan 21 15:00:20 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 7737D1F8883 for ; Tue, 21 Jan 2020 15:00:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482BY00Phnz4fv5 for ; Tue, 21 Jan 2020 15:00:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id E15EE52DD; Tue, 21 Jan 2020 15:00:19 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id DC5E552DC for ; Tue, 21 Jan 2020 15:00:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482BXz4qJLz4fv1 for ; Tue, 21 Jan 2020 15:00:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A0F2AE5B1 for ; Tue, 21 Jan 2020 15:00:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 00LF0Jew023257 for ; Tue, 21 Jan 2020 15:00:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00LF0JJM023254 for powerpc@FreeBSD.org; Tue, 21 Jan 2020 15:00:19 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 243484] editors/emacs: fix build of dependent libraries on powerpc64 elf2 Date: Tue, 21 Jan 2020 15:00:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jrm@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: emacs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2020 15:00:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243484 Joseph Mingrone changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jrm@freebsd.org --- Comment #1 from Joseph Mingrone --- Seems fine. Is this also required for editors/emacs-devel? --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Tue Jan 21 15:20:18 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 7C2A81F9C0C for ; Tue, 21 Jan 2020 15:20:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482C022mtSz3CZP for ; Tue, 21 Jan 2020 15:20:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 3BD8856BE; Tue, 21 Jan 2020 15:20:18 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 307A956BD for ; Tue, 21 Jan 2020 15:20:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482C016vQSz3CZL for ; Tue, 21 Jan 2020 15:20:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E7068E975 for ; Tue, 21 Jan 2020 15:20:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 00LFKHvg005183 for ; Tue, 21 Jan 2020 15:20:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00LFKH8m005182 for powerpc@FreeBSD.org; Tue, 21 Jan 2020 15:20:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 243484] editors/emacs: fix build of dependent libraries on powerpc64 elf2 Date: Tue, 21 Jan 2020 15:20:17 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pkubaj@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: emacs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2020 15:20:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243484 --- Comment #2 from Piotr Kubaj --- Are there any dependent libraries in ports using emacs-devel? I didn't noti= ce any, but if there are some, let me know and I'll test it. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Tue Jan 21 15:30:54 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 733EA1FA1EF for ; Tue, 21 Jan 2020 15:30:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482CDG2XBbz3D62 for ; Tue, 21 Jan 2020 15:30:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 4FAFC5846; Tue, 21 Jan 2020 15:30:54 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 4CB8D5845 for ; Tue, 21 Jan 2020 15:30:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482CDG0dLvz3D5y for ; Tue, 21 Jan 2020 15:30:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 11193EB85 for ; Tue, 21 Jan 2020 15:30:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 00LFUrHf059482 for ; Tue, 21 Jan 2020 15:30:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00LFUr4i059481 for powerpc@FreeBSD.org; Tue, 21 Jan 2020 15:30:53 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 243484] editors/emacs: fix build of dependent libraries on powerpc64 elf2 Date: Tue, 21 Jan 2020 15:30:54 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jrm@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: emacs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2020 15:30:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243484 --- Comment #3 from Joseph Mingrone --- The Emacs ports have flavors, so most of the ports with 'USES=3Demacs' can = work with either editors/emacs or editors/emacs-devel. ## poudriere example: poudriere bulk -j 12amd64 devel/treepy.el @devel_full ## direct installation example: make -C /usr/ports/devel/treepy.el FLAVOR=3Ddevel_full build --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Tue Jan 21 15:32:17 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 3D5231FA3E9 for ; Tue, 21 Jan 2020 15:32:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482CFs0y8mz3DQC for ; Tue, 21 Jan 2020 15:32:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 00379593F; Tue, 21 Jan 2020 15:32:17 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id EFF0A593E for ; Tue, 21 Jan 2020 15:32:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482CFr5K8zz3DQ7 for ; Tue, 21 Jan 2020 15:32:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B2164ED17 for ; Tue, 21 Jan 2020 15:32:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 00LFWGXX066825 for ; Tue, 21 Jan 2020 15:32:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00LFWGbV066824 for powerpc@FreeBSD.org; Tue, 21 Jan 2020 15:32:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 243484] editors/emacs: fix build of dependent libraries on powerpc64 elf2 Date: Tue, 21 Jan 2020 15:32:17 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jrm@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: emacs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2020 15:32:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243484 --- Comment #4 from Joseph Mingrone --- Sorry. Of course, should not be a space before '@' in the poudriere comman= d. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Tue Jan 21 15:41:23 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 CB84E1FA840 for ; Tue, 21 Jan 2020 15:41:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482CSM53rFz3DsM for ; Tue, 21 Jan 2020 15:41:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id A701C5B84; Tue, 21 Jan 2020 15:41:23 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id A46F05B83 for ; Tue, 21 Jan 2020 15:41:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482CSM2vqbz3DsK for ; Tue, 21 Jan 2020 15:41:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 495C1ED8C for ; Tue, 21 Jan 2020 15:41:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 00LFfN3L087300 for ; Tue, 21 Jan 2020 15:41:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00LFfNuN087299 for powerpc@FreeBSD.org; Tue, 21 Jan 2020 15:41:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 242758] sysutils/lsof: Fails to build on FreeBSD 12.1-RELEASE-p1 powerpc 32 bit: vm_page.h:204: error: field 'md' has incomplete type Date: Tue, 21 Jan 2020 15:41:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ler@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2020 15:41:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242758 --- Comment #3 from commit-hook@freebsd.org --- A commit references this bug: Author: ler Date: Tue Jan 21 15:41:15 UTC 2020 New revision: 523727 URL: https://svnweb.freebsd.org/changeset/ports/523727 Log: sysutils/lsof: fix build on powerpc, powerpc64, powerpcse PR: 242758 Submitted by: pkubaj MFH: 2020Q1 Changes: head/sysutils/lsof/Makefile --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Tue Jan 21 16:47:33 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 2A8741FC031 for ; Tue, 21 Jan 2020 16:47:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482Dwj0LV3z3HrN for ; Tue, 21 Jan 2020 16:47:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id EB6B5662C; Tue, 21 Jan 2020 16:47:32 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id E8B68662B for ; Tue, 21 Jan 2020 16:47:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482Dwh56hNz3HrJ for ; Tue, 21 Jan 2020 16:47:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AB139FA3E for ; Tue, 21 Jan 2020 16:47:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 00LGlWMh067624 for ; Tue, 21 Jan 2020 16:47:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00LGlWoH067623 for powerpc@FreeBSD.org; Tue, 21 Jan 2020 16:47:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 242833] sysutils/lsof does'nt link on ppc64 on freebsd 11.3-RELEASE Date: Tue, 21 Jan 2020 16:47:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ler@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2020 16:47:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242833 --- Comment #7 from commit-hook@freebsd.org --- A commit references this bug: Author: ler Date: Tue Jan 21 16:46:44 UTC 2020 New revision: 523728 URL: https://svnweb.freebsd.org/changeset/ports/523728 Log: MFH: r522273 r522545 r522582 r523727 sysutils/lsof: fix build following base r356337. I took the patch from 243122 as it was more correct. PR: 243122, 243083 Submitted by: cy, yasu@utahime.org sysutils/lsof: fix after base r356432. PR: 243172 Submitted by: mjg Reported by: yasu@utahime.org sysutils/lsof: add a PPC64 work around for needing -lzpool PR: 242833 Submitted by: luciano@vespaperitivo.it sysutils/lsof: fix build on powerpc, powerpc64, powerpcse PR: 242758 Submitted by: pkubaj Approved by: ports-secteam (joneum) Changes: _U branches/2020Q1/ branches/2020Q1/sysutils/lsof/Makefile branches/2020Q1/sysutils/lsof/files/patch-dialects_freebsd_dnode.c branches/2020Q1/sysutils/lsof/files/patch-dialects_freebsd_dnode2.c --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Tue Jan 21 16:47:36 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 7AA7D1FC045 for ; Tue, 21 Jan 2020 16:47:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482Dwm2lgpz3HsK for ; Tue, 21 Jan 2020 16:47:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 57CDC6651; Tue, 21 Jan 2020 16:47:36 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 55B2F6650 for ; Tue, 21 Jan 2020 16:47:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482Dwm0tdCz3HsD for ; Tue, 21 Jan 2020 16:47:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 19EF3FA48 for ; Tue, 21 Jan 2020 16:47:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 00LGlZHT067670 for ; Tue, 21 Jan 2020 16:47:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00LGlZSZ067669 for powerpc@FreeBSD.org; Tue, 21 Jan 2020 16:47:35 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 242758] sysutils/lsof: Fails to build on FreeBSD 12.1-RELEASE-p1 powerpc 32 bit: vm_page.h:204: error: field 'md' has incomplete type Date: Tue, 21 Jan 2020 16:47:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ler@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2020 16:47:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242758 --- Comment #4 from commit-hook@freebsd.org --- A commit references this bug: Author: ler Date: Tue Jan 21 16:46:44 UTC 2020 New revision: 523728 URL: https://svnweb.freebsd.org/changeset/ports/523728 Log: MFH: r522273 r522545 r522582 r523727 sysutils/lsof: fix build following base r356337. I took the patch from 243122 as it was more correct. PR: 243122, 243083 Submitted by: cy, yasu@utahime.org sysutils/lsof: fix after base r356432. PR: 243172 Submitted by: mjg Reported by: yasu@utahime.org sysutils/lsof: add a PPC64 work around for needing -lzpool PR: 242833 Submitted by: luciano@vespaperitivo.it sysutils/lsof: fix build on powerpc, powerpc64, powerpcse PR: 242758 Submitted by: pkubaj Approved by: ports-secteam (joneum) Changes: _U branches/2020Q1/ branches/2020Q1/sysutils/lsof/Makefile branches/2020Q1/sysutils/lsof/files/patch-dialects_freebsd_dnode.c branches/2020Q1/sysutils/lsof/files/patch-dialects_freebsd_dnode2.c --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Tue Jan 21 16:48:37 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 1CE9F1FC0C9 for ; Tue, 21 Jan 2020 16:48:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482Dxx00Vrz3HvF for ; Tue, 21 Jan 2020 16:48:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id D90566684; Tue, 21 Jan 2020 16:48:36 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id D5E886683 for ; Tue, 21 Jan 2020 16:48:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482Dxw4cWQz3HvB for ; Tue, 21 Jan 2020 16:48:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 99C13FA4D for ; Tue, 21 Jan 2020 16:48:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 00LGmaFP068879 for ; Tue, 21 Jan 2020 16:48:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00LGmaKI068878 for powerpc@FreeBSD.org; Tue, 21 Jan 2020 16:48:36 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 242758] sysutils/lsof: Fails to build on FreeBSD 12.1-RELEASE-p1 powerpc 32 bit: vm_page.h:204: error: field 'md' has incomplete type Date: Tue, 21 Jan 2020 16:48:36 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ler@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ler@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ merge-quarterly+ X-Bugzilla-Changed-Fields: flagtypes.name bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2020 16:48:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242758 Larry Rosenman changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|maintainer-feedback?(ler@Fr |maintainer-feedback+, |eeBSD.org), |merge-quarterly+ |merge-quarterly? | Status|In Progress |Closed Resolution|--- |FIXED --- Comment #5 from Larry Rosenman --- Committed and MFH'd.=20 Thanks. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Tue Jan 21 21:18:27 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 6B75B22350A for ; Tue, 21 Jan 2020 21:18:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482LxH2GZbz43x7 for ; Tue, 21 Jan 2020 21:18:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 46F78A16C; Tue, 21 Jan 2020 21:18:27 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 44202A16B for ; Tue, 21 Jan 2020 21:18:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482LxH0LVKz43x3 for ; Tue, 21 Jan 2020 21:18:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 075D81AD32 for ; Tue, 21 Jan 2020 21:18:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 00LLIQGH017444 for ; Tue, 21 Jan 2020 21:18:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00LLIQd3017435 for powerpc@FreeBSD.org; Tue, 21 Jan 2020 21:18:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 243484] editors/emacs: fix build of dependent libraries on powerpc64 elf2 Date: Tue, 21 Jan 2020 21:18:27 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pkubaj@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: emacs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2020 21:18:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243484 --- Comment #5 from Piotr Kubaj --- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D> Building for treepy.el-emacs28-0.1.1_3 (cd /wrkdirs/usr/ports/devel/treepy.el/work-devel_full/treepy.el-0.1.1 ; /usr/local/bin/emacs-28.0.50 -batch -q -f batch-byte-compile treepy.el) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Seems fine, only the stable port is affected. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Tue Jan 21 22:10:27 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 4DEAB2245FC for ; Tue, 21 Jan 2020 22:10:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482N5H1R8qz46c7 for ; Tue, 21 Jan 2020 22:10:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 2A4D8ABAC; Tue, 21 Jan 2020 22:10:27 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 27A30ABAB for ; Tue, 21 Jan 2020 22:10:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482N5G6fNlz46c2 for ; Tue, 21 Jan 2020 22:10:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DE3E61B67C for ; Tue, 21 Jan 2020 22:10:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 00LMAQfE034639 for ; Tue, 21 Jan 2020 22:10:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00LMAQ6N034638 for powerpc@FreeBSD.org; Tue, 21 Jan 2020 22:10:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 243484] editors/emacs: fix build of dependent libraries on powerpc64 elf2 Date: Tue, 21 Jan 2020 22:10:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jrm@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: emacs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2020 22:10:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243484 Joseph Mingrone changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|maintainer-feedback?(emacs@ |maintainer-feedback+ |FreeBSD.org) | --- Comment #6 from Joseph Mingrone --- Looks good. Thanks for doing this. FYI, Emacs 27 will be released soon, so this change may be short lived. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Wed Jan 22 08:57:21 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 958E92326CF for ; Wed, 22 Jan 2020 08:57:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482fRj3W4Pz3J5v for ; Wed, 22 Jan 2020 08:57:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 7226A14076; Wed, 22 Jan 2020 08:57:21 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 6FB9E14075 for ; Wed, 22 Jan 2020 08:57:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482fRj1VLSz3J5s for ; Wed, 22 Jan 2020 08:57:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2A84922F41 for ; Wed, 22 Jan 2020 08:57:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 00M8vLIp038968 for ; Wed, 22 Jan 2020 08:57:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00M8vLZn038967 for powerpc@FreeBSD.org; Wed, 22 Jan 2020 08:57:21 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 243484] editors/emacs: fix build of dependent libraries on powerpc64 elf2 Date: Wed, 22 Jan 2020 08:57:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pkubaj@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: emacs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2020 08:57:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243484 --- Comment #7 from Piotr Kubaj --- (In reply to Joseph Mingrone from comment #6) I'm actually not sure whether Emacs 27.0 will need it. Devel is 28 right no= w. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Wed Jan 22 10:47:50 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 3DC732347C5 for ; Wed, 22 Jan 2020 10:47:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482hvB10qFz3PC6 for ; Wed, 22 Jan 2020 10:47:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 1B92A15535; Wed, 22 Jan 2020 10:47:50 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 190D015534 for ; Wed, 22 Jan 2020 10:47:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482hv96Bs1z3PC3 for ; Wed, 22 Jan 2020 10:47:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D0116243A1 for ; Wed, 22 Jan 2020 10:47:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 00MAlnix087904 for ; Wed, 22 Jan 2020 10:47:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00MAlne1087903 for powerpc@FreeBSD.org; Wed, 22 Jan 2020 10:47:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 243484] editors/emacs: fix build of dependent libraries on powerpc64 elf2 Date: Wed, 22 Jan 2020 10:47:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pkubaj@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: emacs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2020 10:47:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243484 Piotr Kubaj changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|New |Closed --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Wed Jan 22 10:48:05 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 7B1C22347F2 for ; Wed, 22 Jan 2020 10:48:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482hvT2n3Nz3PD9 for ; Wed, 22 Jan 2020 10:48:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 580CD15553; Wed, 22 Jan 2020 10:48:05 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 557F615552 for ; Wed, 22 Jan 2020 10:48:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482hvT0qQyz3PD3 for ; Wed, 22 Jan 2020 10:48:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 169AA243A5 for ; Wed, 22 Jan 2020 10:48:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 00MAm4xF088235 for ; Wed, 22 Jan 2020 10:48:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00MAm4CV088234 for powerpc@FreeBSD.org; Wed, 22 Jan 2020 10:48:04 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 243484] editors/emacs: fix build of dependent libraries on powerpc64 elf2 Date: Wed, 22 Jan 2020 10:48:04 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: emacs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2020 10:48:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243484 --- Comment #8 from commit-hook@freebsd.org --- A commit references this bug: Author: pkubaj Date: Wed Jan 22 10:47:24 UTC 2020 New revision: 523801 URL: https://svnweb.freebsd.org/changeset/ports/523801 Log: editors/emacs: fix miscompilation on powerpc64 elfv2 Clang currently miscompiles emacs, resulting in broken builds for dependencies: =3D=3D=3D> Building for treepy.el-emacs26-0.1.1_3 (cd /wrkdirs/usr/ports/devel/treepy.el/work-full/treepy.el-0.1.1 ; /usr/local/bin/emacs-26.3 -batch -q -f batch-byte-compile treepy.el) *** Signal 6 Use GCC to workaround it. PR: 243484 Approved by: jrm (maintainer) Changes: head/editors/emacs/Makefile --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Wed Jan 22 17:34:13 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 9471F1F6EBB for ; Wed, 22 Jan 2020 17:34:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482sw53LTvz4Hxv for ; Wed, 22 Jan 2020 17:34:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 3DF931A48F; Wed, 22 Jan 2020 17:34:13 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 3BBBE1A48E for ; Wed, 22 Jan 2020 17:34:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482sw508T0z4Hxg for ; Wed, 22 Jan 2020 17:34:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 008021098 for ; Wed, 22 Jan 2020 17:34:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 00MHYCWA050563 for ; Wed, 22 Jan 2020 17:34:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00MHYCg0050562 for powerpc@FreeBSD.org; Wed, 22 Jan 2020 17:34:12 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 243188] emulators/qemu: fix build on powerpc64 elfv2 Date: Wed, 22 Jan 2020 17:34:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pkubaj@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bofh@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2020 17:34:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243188 Piotr Kubaj changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|New |Closed --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Wed Jan 22 17:34:47 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 9693B1F6F1C for ; Wed, 22 Jan 2020 17:34:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482swl3YDxz4J49 for ; Wed, 22 Jan 2020 17:34:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 735751A583; Wed, 22 Jan 2020 17:34:47 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 70AB81A582 for ; Wed, 22 Jan 2020 17:34:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482swl1dfNz4J45 for ; Wed, 22 Jan 2020 17:34:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 338F01099 for ; Wed, 22 Jan 2020 17:34:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 00MHYlHJ051222 for ; Wed, 22 Jan 2020 17:34:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00MHYlLA051221 for powerpc@FreeBSD.org; Wed, 22 Jan 2020 17:34:47 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 243188] emulators/qemu: fix build on powerpc64 elfv2 Date: Wed, 22 Jan 2020 17:34:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bofh@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2020 17:34:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243188 --- Comment #1 from commit-hook@freebsd.org --- A commit references this bug: Author: pkubaj Date: Wed Jan 22 17:34:11 UTC 2020 New revision: 523823 URL: https://svnweb.freebsd.org/changeset/ports/523823 Log: emulators/qemu: fix build on powerpc64 elfv2 Clang doesn't like -mbig: cc -mbig -c -o spapr-rtas.o spapr-rtas.S cc: error: unknown argument: '-mbig' This file doesn't seem to be built on amd64, so removing -mbig doesn't ca= use a problem there. I also successfully built on powerpc64 elfv1 and it also builds. PR: 243188 Approved by: bofh (maintainer timeout) Changes: head/emulators/qemu/files/patch-pc-bios_spapr-rtas_Makefile --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Thu Jan 23 08:23:52 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 66437231221 for ; Thu, 23 Jan 2020 08:23:52 +0000 (UTC) (envelope-from financeiro24846@advogacia39.galochaltda.com.br) Received: from advogacia39.galochaltda.com.br (advogacia39.galochaltda.com.br [176.107.128.122]) by mx1.freebsd.org (Postfix) with ESMTP id 483Ffc1B3Qz4HY5 for ; Thu, 23 Jan 2020 08:23:52 +0000 (UTC) (envelope-from financeiro24846@advogacia39.galochaltda.com.br) Received: by advogacia39.galochaltda.com.br (Postfix, from userid 33) id 7C743835D3; Thu, 23 Jan 2020 09:23:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=advogacia39.galochaltda.com.br; s=mail; t=1579767828; bh=5cLbXw0B9DfDCJfc3dj5lALA1vSbNKcAUYBiDUnOabg=; h=To:Subject:Date:From:Reply-To:From; b=MLew+c4YCV67Tto3Yu4AV96EOIGOo2GH/sJ0t2dGdtNq387au+Iy1o0UwN8zXfeHG G0idrnxxRC26n/P4ZS84JieHaMOuVNHYmy5dQR4Gg2JBPb9H3vG3CdXBOe8QDYlkeg N1JmUXoV3rQX2BOfJfWyAxTW2tcPqgfsZrb9xVpP1PnS6Dj8opT3RIuADKmG2vJK2G GvPh66fEkamGc4QgX/wEhaboPTz5fm7RjSCyakwDTCosPJA5b4heCznmeZ7jJL1ELj u91aGYY+m6k+mXoOW1wtMiFvSNotuCY6lO9smoyP8Xb11/Tybe/wofI2gFxMTZxPTY djQAtiINyhPhw== To: freebsd-ppc@freebsd.org Subject: =?UTF-8?Q?Ordem_647240_inclus=C3=A3o_em_CPF?= Date: Thu, 23 Jan 2020 09:23:48 +0100 From: MIRIAM DA SILVA SANTOS 249218 freebsd-subscribe Reply-To: MIRIAM DA SILVA SANTOS 249218 freebsd-subscribe Message-ID: X-Priority: 3 X-Mailer: PHPMailer 5.2.4 (http://code.google.com/a/apache-extras.org/p/phpmailer/) MIME-Version: 1.0 X-Rspamd-Queue-Id: 483Ffc1B3Qz4HY5 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=advogacia39.galochaltda.com.br header.s=mail header.b=MLew+c4Y; dmarc=pass (policy=none) header.from=galochaltda.com.br; spf=pass (mx1.freebsd.org: domain of financeiro24846@advogacia39.galochaltda.com.br designates 176.107.128.122 as permitted sender) smtp.mailfrom=financeiro24846@advogacia39.galochaltda.com.br X-Spamd-Result: default: False [3.16 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[financeiro24846@advogacia39.galochaltda.com.br]; R_DKIM_ALLOW(-0.20)[advogacia39.galochaltda.com.br:s=mail]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:176.107.128.122:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; HAS_PHPMAILER_SIG(0.00)[]; NEURAL_SPAM_MEDIUM(0.64)[0.637,0]; URI_COUNT_ODD(1.00)[1]; RCPT_COUNT_ONE(0.00)[1]; DKIM_TRACE(0.00)[advogacia39.galochaltda.com.br:+]; MIME_BASE64_TEXT(0.10)[]; HAS_X_PRIO_THREE(0.00)[3]; DMARC_POLICY_ALLOW(-0.50)[galochaltda.com.br,none]; NEURAL_HAM_LONG(-0.13)[-0.127,0]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(0.55)[ipnet: 176.107.128.0/19(1.51), asn: 205727(1.16), country: PL(0.07)]; ASN(0.00)[asn:205727, ipnet:176.107.128.0/19, country:PL]; MID_BARE_IP(2.00)[] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2020 08:23:52 -0000 RG9jdW1lbnRvIDQyOWtiIChWaXN1YWxpemFyKSANCg0KDQoNCg0KQm9hIHRhcmRlLCZuYnNwOyBz ZWd1ZSBlbSBhbmV4byBHdWlhIGRvIA0KcGVkaWRvLENhZGFzdHJhbWVudG8gZGEgaW5jbHVzw6Nv IGVtIENQRi4NCkF0ZW5jaW9zYW1lbnRlLE1JUklBTSBEQSBTSUxWQSBTQU5UT1M= From owner-freebsd-ppc@freebsd.org Thu Jan 23 11:32:10 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 36B2A2362AA for ; Thu, 23 Jan 2020 11:32:10 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 483Kqt0lwzz4Vw5 for ; Thu, 23 Jan 2020 11:32:10 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 13768CB4A; Thu, 23 Jan 2020 11:32:10 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 105C9CB49 for ; Thu, 23 Jan 2020 11:32:10 +0000 (UTC) (envelope-from tuexen@freebsd.org) 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 "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 483Kqs60mWz4Vw1 for ; Thu, 23 Jan 2020 11:32:06 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from [IPv6:2a02:8109:1140:c3d:5959:22b3:20a6:1ac8] (unknown [IPv6:2a02:8109:1140:c3d:5959:22b3:20a6:1ac8]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTPSA id 2A893721E2826 for ; Thu, 23 Jan 2020 12:32:04 +0100 (CET) From: Michael Tuexen Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: panic: data storage interrupt trap when building world on PowerMac G5 Message-Id: <7722F637-2C3D-4199-B2C9-F0616B0A5AE1@freebsd.org> Date: Thu, 23 Jan 2020 12:32:03 +0100 To: "powerpc@freebsd.org" X-Mailer: Apple Mail (2.3608.40.2.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: 483Kqs60mWz4Vw1 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.93 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.97)[-0.970,0]; NEURAL_HAM_LONG(-0.96)[-0.963,0]; ASN(0.00)[asn:680, ipnet:193.174.0.0/15, country:DE] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2020 11:32:10 -0000 Dear all, when trying to build world on a G5 with SMP disabled = (kern.smp.disabled=3D1 in /boot/loader.conf), I get the following panic: http://bsd14.fh-muenster.de/crash.jpeg It looks like this happens when memory is getting low (top was running = until the machine panics). The machine runs the kernel from r356950. Any idea what is going wrong? Best regards Michael= From owner-freebsd-ppc@freebsd.org Thu Jan 23 19:41:23 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 7C60A1FBCC3 for ; Thu, 23 Jan 2020 19:41:23 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 483XhM0BQbz42VQ for ; Thu, 23 Jan 2020 19:41:23 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by freefall.freebsd.org (Postfix) id D7FC213C61; Thu, 23 Jan 2020 19:41:22 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id B778D13C5F; Thu, 23 Jan 2020 19:41:22 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-yb1-xb41.google.com (mail-yb1-xb41.google.com [IPv6:2607:f8b0:4864:20::b41]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) 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 483XhH2bWwz42V6; Thu, 23 Jan 2020 19:41:18 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-yb1-xb41.google.com with SMTP id w17so2253227ybm.1; Thu, 23 Jan 2020 11:41:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KpCrPxuS+i83y+XUJ9NORgd9cWj0CKYBZgTIe0+5eRk=; b=uZUy7nwDLDV5pu8wsOLmApPwKw9e/jd3VGWZ0jFfMCtp7gyJ4YvqMsyAY3lANz1doR VxFG8yrz0V8zj6lXpke3OKjBPs7dYLTYOc9QpmWYLNFHJAfcfMVLjWXb45+cgucS30aJ IXSWU5V1wwNLkHpCduPPPG4z2LbOsjcAvxNcw2/hj3ok9Q1SQLqGaDnXOEY6pkjuBYlb 3il/S9X+Z+Gow37Ojoa5XhslzAZdf79YCC/JN8qPn20Yytk9tMz44TZUMhOBJbzMOJWj YAmxn8ptCRIEDvUbUjMQgQtpHRRWhwQked0ubgfuBbh/Wb+xmLcgNc0ySXEkXBQ5DZI+ kOKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KpCrPxuS+i83y+XUJ9NORgd9cWj0CKYBZgTIe0+5eRk=; b=F8gCuOaymi1r6z+ODszZQHmoJjF/WCsTK8H7gMw6gnM9guFoy0pcq5zVNP1ROJLSp8 MlsbS1JJ2Uv8dQhjNN5KYg7ZlOptqGV60vbB5v4ieMTpPjHJ/0uwG/vF2X1KYQzmZ0mp OPgL7yCY6E4YGpH0u/GuubPydG74vQNe0ckFlYEogxFHrzxMLzalP+iLUkWTFjPquJm0 rgqDUeIe76aW1du8m8TsUmSHP68kO3v5G4KNjrlFIteZJPHm9u8UPul/ocIpqNRK7XsV vstaPA0E8qn0XOLrNsyo1awrrRykaAWd7ZFKbgBaGr7EnGPvneSTiCYGlzrUdP1j20qt 0zNw== X-Gm-Message-State: APjAAAUQ2+oDmsAusRCPYIRN8eAGpEEm3XmbBFZYx7LnPl6XYCfPFZwI D19v+jFUCjLVP+SfjEq5pNYoZ9dc X-Google-Smtp-Source: APXvYqzzjaWfsUohSN5uBPHKIf5p4RfNTOW5c9M5OY3h1k8gSs+W6S1XSCAYRahpFGfvzn8XB/6a6A== X-Received: by 2002:a25:2c85:: with SMTP id s127mr11881810ybs.458.1579808477621; Thu, 23 Jan 2020 11:41:17 -0800 (PST) Received: from titan.knownspace (173-19-125-130.client.mchsi.com. [173.19.125.130]) by smtp.gmail.com with ESMTPSA id e76sm1298188ywe.25.2020.01.23.11.41.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jan 2020 11:41:16 -0800 (PST) Date: Thu, 23 Jan 2020 13:41:14 -0600 From: Justin Hibbits To: Michael Tuexen Cc: "powerpc@freebsd.org" Subject: Re: panic: data storage interrupt trap when building world on PowerMac G5 Message-ID: <20200123134114.75d9c771@titan.knownspace> In-Reply-To: <7722F637-2C3D-4199-B2C9-F0616B0A5AE1@freebsd.org> References: <7722F637-2C3D-4199-B2C9-F0616B0A5AE1@freebsd.org> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; powerpc64-portbld-freebsd13.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 483XhH2bWwz42V6 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2020 19:41:23 -0000 On Thu, 23 Jan 2020 12:32:03 +0100 Michael Tuexen wrote: > Dear all, > > when trying to build world on a G5 with SMP disabled > (kern.smp.disabled=1 in /boot/loader.conf), I get the following panic: > > http://bsd14.fh-muenster.de/crash.jpeg > > It looks like this happens when memory is getting low (top was > running until the machine panics). The machine runs the kernel from > r356950. > > Any idea what is going wrong? > > Best regards > Michael That fault address looks very suspicious. Reading it as hex encoding of ASCII we get " user ad". Is there a reason you still have kern.smp.disabled=1? I fixed the bug for that (at least in head) back around May, or at least *a* bug for it. - Justin From owner-freebsd-ppc@freebsd.org Thu Jan 23 20:25:37 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 C22631FCE02 for ; Thu, 23 Jan 2020 20:25:37 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 483YgN4ypyz44cy for ; Thu, 23 Jan 2020 20:25:36 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: by freefall.freebsd.org (Postfix) id A382614530; Thu, 23 Jan 2020 20:25:36 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 9E2DE1452F for ; Thu, 23 Jan 2020 20:25:36 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-21.consmr.mail.gq1.yahoo.com (sonic309-21.consmr.mail.gq1.yahoo.com [98.137.65.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 483YgM2z5pz44cw for ; Thu, 23 Jan 2020 20:25:35 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: NGiH3mUVM1kgfW6.5EyN5apCSayqZmEfyZERhdPiinw6ft2l_aB7or8tS5gc_Gg gc0I_TcnDdW3oswcttfH6f4LfUnHO1WjJZ3ZDhGpJWiLZXRkIEzXaoPSdHcsSozoR6bTbfZqR7OM Vlmwr2o2Dq53eQXT0cVmwoHz8l.tP_alXTW1H.MZiNJYP3dPIJRWNrdHfKUMAGcymT06d9HPJFUr 7blT1VHxu1yr4m6KgYVB08.yQAvPKcnPlGCSv5X54AAIeoOTJpl1zovQJ9wzq3G2vi_S._VEwozm jy5KI0yiP3KJkDXZZ4l8w0NHG1EbWt1vaEDN.etPq5WOBAYqGJI1gHSJUd4fQZ1EO5J__L6eW3Ai yJ8XxpQk6X2kkHSUoP9NJ7bRzqJntkcFWLPI92G1Pt3blKi47FcxkMWAAUDLRZ0D5sPHJkaSO024 eCrEWBns._NPK4bWn1xZra2SQ8L.O9Q25qDi8SPy1hOcOif.jC43Qjqe_GqLEzoBn8ZTyrWWQhvq TKKq8FcV8Stit4orj51.g9408VS60jGLWTtQ6I9ENK0J0D01buKeoeUBMcJ2D58C.Vxg59n.MCyd pz8eaiic01KDpynE6SyG3.1tb8KMPiBRTSNp7zBOs_.EXtRcb65KsmcKa4gTKhMvNGxi3bxxDFVP OKebR74UFSSl6vwPoh7sBSEENR_bMT4on10.GM7nh9ziFNMTPH6G288PoIr5tPoxUOuFkQ5u8a7z C0JGqgHRDFi_NZEblo4BBwOHIu9t5dRHeYq6B.qANhLjtBJBkg7dUvCYfNBdZvikEtLIsQzWhqV6 Ob6vVpB4LklDzj0l0rr_7Jjs2DB0kZU2KgG9lElylWQQFvy6kh3zWT49EAppXovHOFpCKJebkQDD ydgAXtAhjg2LLlPNfXduGlyoZ2E8d4bA4vPyy.ID0h0duQ8DIWHAmRw9KbBWmJKJAznWc41yZFds qtgJoq617fP1_qNNCLyfY3zMviqtq65F43nGemkJHWpPYh952gNWMsQIsFsw7A88KpWlTPrud_ND TRpRhn9wW2zMFoo4XV3_96UAwxlr2aUeN5zs0QVKlLiiEzCEMHXtH7DnmJx1UXO_C8i2bTxle_RU Cm_C5f2Xfp3fOYDw07FNMupr0BhHRFSFV7zBoLFrRcndRUTVwOIS957YRl_YL.QJJ7gt4g.dxZCQ uPUJ3oQd3X2zIeHxmcDB7iMWP6.dAJ6V6RNO3sROi7Qp5_8KYJMXTwnsNF06cvxXPNutSbJwHItp xoRxeOC52VSfa5ZOAf7Eg.mUC5Lb9zWMSv_Hk2hFepmE8SK04GkxsyXBjjpCHkRPMF5IESVg.tHI zpyx5cIu8SY6N.rrBanivivwYRwOwwZzOA8jyZSol80pNPRf4QQzjLJpmfKgi_H0TeHXCDs4toMI BprJwfUw6uVQqrFqbWllRb6PKGQw- Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.gq1.yahoo.com with HTTP; Thu, 23 Jan 2020 20:25:33 +0000 Received: by smtp414.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID d5d137f1bdb34b26cfd6cdd6d197e952; Thu, 23 Jan 2020 20:25:30 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: panic: data storage interrupt trap when building world on PowerMac G5 From: Mark Millard In-Reply-To: <20200123134114.75d9c771@titan.knownspace> Date: Thu, 23 Jan 2020 12:25:29 -0800 Cc: Michael Tuexen , "powerpc@freebsd.org" Content-Transfer-Encoding: 7bit Message-Id: <512CA82C-2C11-4394-AEB2-D0CD55C5BA5D@yahoo.com> References: <7722F637-2C3D-4199-B2C9-F0616B0A5AE1@freebsd.org> <20200123134114.75d9c771@titan.knownspace> To: Justin Hibbits X-Mailer: Apple Mail (2.3608.40.2.2.4) X-Rspamd-Queue-Id: 483YgM2z5pz44cw X-Spamd-Bar: / X-Spamd-Result: default: False [0.02 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.12)[-0.122,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (5.83), ipnet: 98.137.64.0/21(0.85), asn: 36647(0.68), country: US(-0.05)]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.64)[0.642,0]; RCVD_IN_DNSWL_NONE(0.00)[147.65.137.98.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2020 20:25:37 -0000 On 2020-Jan-23, at 11:41, Justin Hibbits wrote: > On Thu, 23 Jan 2020 12:32:03 +0100 > Michael Tuexen wrote: > >> Dear all, >> >> when trying to build world on a G5 with SMP disabled >> (kern.smp.disabled=1 in /boot/loader.conf), I get the following panic: >> >> http://bsd14.fh-muenster.de/crash.jpeg >> >> It looks like this happens when memory is getting low (top was >> running until the machine panics). The machine runs the kernel from >> r356950. >> >> Any idea what is going wrong? >> >> Best regards >> Michael > > That fault address looks very suspicious. Reading it as hex encoding > of ASCII we get " user ad". > > Is there a reason you still have kern.smp.disabled=1? I fixed the bug > for that (at least in head) back around May, or at least *a* bug for it. At least for multi-socket contexts, PowerMacs still have the "some threads stuck sleeping" problem that leads to stuck processes/threads, such as: syncr, pmac_thermal, and buf*deamon* threads. Most folks notice via the fan behavior from pmac_thermal getting stuck. I've no clue if single-socket/multi-core also has such problems or not. I've had stuck buf*deamon* threads lead to some very nasty consequences back when I had this type of behavior in my context. Multiple folks on the list have indicated using kern.smp.disabled=1 to avoid behavior, such as the fan behavior. In my experiments, the mftb results between some cores for some boots just does not meet any reasonable constraints the way that FreeBSD boots such PowerMacs. The TB registers need to be forcibly constrained to have a more specific relationship when cross-core time relationships are in use. This matches up with one of the official documents for PowerPC's where I ran into: "The TB is a volatile resource and must be initialized during reset." I run with patched code, with changed behavior enabled at run-time only for PowerMacs, that attempts to force a more specific relationship and I've not seen the stuck sleeping problem since then. 2019-May is when that code last changed, to better deal with the faster time tick but slower processors in the 2 socket G4s that I have access to (less bias compared to the relationship I was targeting). Given the PowerMac context, I did not have to worry about (could not test) lots of sockets or lots of cores. So I've no evidence for how well the code would or could be generalized. But for its limited intended context, it seems to avoid the PowerMac "some threads stuck sleeping" problem for multi-socket contexts. It would be nice if my experiment inspired a checked-in change that made PowerMac's better behaved. === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Thu Jan 23 20:29:24 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 2B0B81FCE9A for ; Thu, 23 Jan 2020 20:29:24 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 483Ylm0CzCz44ft for ; Thu, 23 Jan 2020 20:29:24 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 0042E14572; Thu, 23 Jan 2020 20:29:24 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id EEB9014571 for ; Thu, 23 Jan 2020 20:29:23 +0000 (UTC) (envelope-from tuexen@freebsd.org) 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 "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 483Yll3Wtxz44fs for ; Thu, 23 Jan 2020 20:29:23 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from mb.fritz.box (unknown [IPv6:2a02:8109:1140:c3d:5150:67b9:85f1:f471]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTPSA id 5FD7F721E280D; Thu, 23 Jan 2020 21:29:20 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: panic: data storage interrupt trap when building world on PowerMac G5 From: Michael Tuexen In-Reply-To: <20200123134114.75d9c771@titan.knownspace> Date: Thu, 23 Jan 2020 21:29:19 +0100 Cc: "powerpc@freebsd.org" Content-Transfer-Encoding: 7bit Message-Id: References: <7722F637-2C3D-4199-B2C9-F0616B0A5AE1@freebsd.org> <20200123134114.75d9c771@titan.knownspace> To: Justin Hibbits X-Mailer: Apple Mail (2.3608.40.2.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: 483Yll3Wtxz44fs X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.66 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.94)[-0.944,0]; NEURAL_HAM_LONG(-0.72)[-0.720,0]; ASN(0.00)[asn:680, ipnet:193.174.0.0/15, country:DE] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2020 20:29:24 -0000 > On 23. Jan 2020, at 20:41, Justin Hibbits wrote: > > On Thu, 23 Jan 2020 12:32:03 +0100 > Michael Tuexen wrote: > >> Dear all, >> >> when trying to build world on a G5 with SMP disabled >> (kern.smp.disabled=1 in /boot/loader.conf), I get the following panic: >> >> http://bsd14.fh-muenster.de/crash.jpeg >> >> It looks like this happens when memory is getting low (top was >> running until the machine panics). The machine runs the kernel from >> r356950. >> >> Any idea what is going wrong? >> >> Best regards >> Michael > > That fault address looks very suspicious. Reading it as hex encoding > of ASCII we get " user ad". Yes, you are right. > > Is there a reason you still have kern.smp.disabled=1? I fixed the bug Without that, the fans get very loud, on reboot you get timeouts, and I think (haven't tried recently) the network interfaces die. With that, no such problems. This is the first time I try to do a buildworld after moving to clang (which was done by a reinstall). Before the switch, the machine did multiple buildworlds and was running very stable. Best regards Michael > for that (at least in head) back around May, or at least *a* bug for it. > > - Justin From owner-freebsd-ppc@freebsd.org Thu Jan 23 21:09:43 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 4EFF81FDF46 for ; Thu, 23 Jan 2020 21:09:43 +0000 (UTC) (envelope-from oggy@farscape.co.uk) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 483ZfG6nPSz46d7 for ; Thu, 23 Jan 2020 21:09:42 +0000 (UTC) (envelope-from oggy@farscape.co.uk) Received: by freefall.freebsd.org (Postfix) id C930914B9D; Thu, 23 Jan 2020 21:09:42 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id AD53E14B9C for ; Thu, 23 Jan 2020 21:09:42 +0000 (UTC) (envelope-from oggy@farscape.co.uk) Received: from mail-lj1-x244.google.com (mail-lj1-x244.google.com [IPv6:2a00:1450:4864:20::244]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) 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 483ZfF1N3Kz46d6 for ; Thu, 23 Jan 2020 21:09:40 +0000 (UTC) (envelope-from oggy@farscape.co.uk) Received: by mail-lj1-x244.google.com with SMTP id r19so5343975ljg.3 for ; Thu, 23 Jan 2020 13:09:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=farscape-co-uk.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PpmR+YGlXYOJSAAa13Th4PQWDdZLfw3p4H1MeQq9mJ0=; b=sEbK9k80KwRddtTrIc6l9Q/ocEQs7VXETW+VO8Exs5F/iy47G+NZpQTVf0t4RNnynN tVihW30eMk6Iu4oqp+eJSgKfebyLIGdMIZGGkfPTfWRdwkS6pTgPD7LIBAc2gogbRPgq d7OeioyHh6TUem+/Sw4gxVYEdi19KcPkfqSW76l9iIVLOwddvnyNNOfEWbx+J0xTCX1h OPQCqtFre4snh+WEbi46gHOgQIu/e2xk3fmsYpsqUMvBiyEDwfVPQlPUTQWFbhU7kJVx wq2JM+sdkH8BqzBWbx+oEGQGvI43JABRkLd972nTLjguTVHbZXJhbY37k93DIVA67S6k 0PQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PpmR+YGlXYOJSAAa13Th4PQWDdZLfw3p4H1MeQq9mJ0=; b=UMV+/QqqyUnnpzcWEYIz0oU0Go/l9yZvvyqyuaTWiFeVrJlAliFwiB3O84gdg9TIaM 1KKYZeDKELyc2FfvcPvRs7pRmiJZ1fOS9s9wby/rglBBD0O2PwOj/bTs2gtbr/nFFU8O gE3s635l/fXzC+zoO5OMO7T8msPGFFHpDqtDMXRWJH7VvnB8rWXjOIIACi2HCX17hKqu MsSbjZ13QSyHPMU10B19JpDtYn+uWSqpeZ/LlQ8+9g4Fc/dy2e5U6k9ZkyxOMIGs6zca zOfzeh+zBTUB149Eyvs7kEeWS3zRcGd+j7E6hv48i2BxvJSHD9+Q+Q6PDOwuyD2t1OoS vSEQ== X-Gm-Message-State: APjAAAUvNARwjcWaxTXnJJs+QHVBN+f663hUKIbM7SbS8GzDIFrMj5+5 TE15M9m5SMpp2CSVkLAAMh0eBKm1u75o96VAHCd8QA== X-Google-Smtp-Source: APXvYqwKQMSGjBxGxdNYEDf3bncavFD0N4wgGzR74eLm9cjcgn/Tj7lwS6KSpCrcszZJJrzBqLWRCTKGDHUDAjgmHhI= X-Received: by 2002:a2e:8544:: with SMTP id u4mr208006ljj.70.1579813777769; Thu, 23 Jan 2020 13:09:37 -0800 (PST) MIME-Version: 1.0 References: <7722F637-2C3D-4199-B2C9-F0616B0A5AE1@freebsd.org> <20200123134114.75d9c771@titan.knownspace> In-Reply-To: <20200123134114.75d9c771@titan.knownspace> From: Francis Little Date: Thu, 23 Jan 2020 21:09:26 +0000 Message-ID: Subject: Re: panic: data storage interrupt trap when building world on PowerMac G5 To: Justin Hibbits Cc: "powerpc@freebsd.org" X-Rspamd-Queue-Id: 483ZfF1N3Kz46d6 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=farscape-co-uk.20150623.gappssmtp.com header.s=20150623 header.b=sEbK9k80; dmarc=none; spf=pass (mx1.freebsd.org: domain of oggy@farscape.co.uk designates 2a00:1450:4864:20::244 as permitted sender) smtp.mailfrom=oggy@farscape.co.uk X-Spamd-Result: default: False [-2.84 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[farscape-co-uk.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[powerpc@freebsd.org]; DMARC_NA(0.00)[farscape.co.uk]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[farscape-co-uk.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[4.4.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-0.34)[ip: (2.73), ipnet: 2a00:1450::/32(-2.58), asn: 15169(-1.81), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2020 21:09:43 -0000 Hi, Same here, with smp enabled, fans go full speed every 60 sec, probing sysctl calms them for a min. buf*daemons time out shutting down and buildworlds fail. Regards On Thu, 23 Jan 2020 at 19:41, Justin Hibbits wrote: > On Thu, 23 Jan 2020 12:32:03 +0100 > Michael Tuexen wrote: > > > Dear all, > > > > when trying to build world on a G5 with SMP disabled > > (kern.smp.disabled=1 in /boot/loader.conf), I get the following panic: > > > > http://bsd14.fh-muenster.de/crash.jpeg > > > > It looks like this happens when memory is getting low (top was > > running until the machine panics). The machine runs the kernel from > > r356950. > > > > Any idea what is going wrong? > > > > Best regards > > Michael > > That fault address looks very suspicious. Reading it as hex encoding > of ASCII we get " user ad". > > Is there a reason you still have kern.smp.disabled=1? I fixed the bug > for that (at least in head) back around May, or at least *a* bug for it. > > - Justin > _______________________________________________ > 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" > From owner-freebsd-ppc@freebsd.org Thu Jan 23 21:09:48 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 E5E9F1FDF82 for ; Thu, 23 Jan 2020 21:09:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 483ZfN5lDcz46hG for ; Thu, 23 Jan 2020 21:09:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 14D5614C31; Thu, 23 Jan 2020 21:09:48 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id ED7E614C0A for ; Thu, 23 Jan 2020 21:09:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 483ZfM5C41z46fR for ; Thu, 23 Jan 2020 21:09:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id ADC5B1CBC8 for ; Thu, 23 Jan 2020 21:09:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 00NL9l9E015552 for ; Thu, 23 Jan 2020 21:09:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00NL9lx0015540 for powerpc@FreeBSD.org; Thu, 23 Jan 2020 21:09:47 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 243227] net/norm: fix build on powerpc64 elfv2 Date: Thu, 23 Jan 2020 21:09:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pkubaj@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkubaj@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2020 21:09:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243227 Piotr Kubaj changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|New |Closed --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Thu Jan 23 21:10:18 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 220411FE012 for ; Thu, 23 Jan 2020 21:10:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 483Zfy0BKLz46lN for ; Thu, 23 Jan 2020 21:10:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id D9C6E14CA6; Thu, 23 Jan 2020 21:10:17 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id BD6CF14CA5 for ; Thu, 23 Jan 2020 21:10:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 483Zfx3tdfz46lH for ; Thu, 23 Jan 2020 21:10:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 80EA21CBCE for ; Thu, 23 Jan 2020 21:10:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 00NLAHSw038917 for ; Thu, 23 Jan 2020 21:10:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00NLAHmC038910 for powerpc@FreeBSD.org; Thu, 23 Jan 2020 21:10:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 243227] net/norm: fix build on powerpc64 elfv2 Date: Thu, 23 Jan 2020 21:10:17 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkubaj@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2020 21:10:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243227 --- Comment #1 from commit-hook@freebsd.org --- A commit references this bug: Author: pkubaj Date: Thu Jan 23 21:09:43 UTC 2020 New revision: 523941 URL: https://svnweb.freebsd.org/changeset/ports/523941 Log: net/norm: fix build on powerpc64 elfv2 On ELFv2 ABI Clang can't build this port by default and throws assertion (already reported): Assertion failed: ((Op.getOpcode() =3D=3D ISD::FP_TO_SINT || Subtarget.hasFPCVT()) && "i64 FP_TO_UINT is supported only with FPCVT"), function LowerFP_TO_INTForReuse, file /poudriere/jails/powerpc64-elfv2-pkubaj/usr/src/contrib/llvm-project/llvm/l= ib/Target/PowerPC/PPCISelLowering.cpp, line 7281. Stack dump: 0. Program arguments: /usr/bin/c++ -cc1 -triple powerpc64-unknown-freebsd13.0 -emit-obj -disable-free -main-file-name protoDispatcher.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -relaxed-aliasing -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu ppc64 -target-feature +secure-plt -mfloat-abi = hard -dwarf-column-info -debugger-tuning=3Dgdb -momit-leaf-frame-pointer -coverage-notes-file /wrkdirs/usr/ports/net/norm/work/norm-1.5r6/build/protolib/src/common/proto= Dispatcher.cpp.1.gcno -resource-dir /usr/lib/clang/9.0.1 -I /wrkdirs/usr/ports/net/norm/work/norm-1.5r6/build/protolib/include -I /wrkdirs/usr/ports/net/norm/work/norm-1.5r6/protolib/include -I /wrkdirs/usr/ports/net/norm/work/norm-1.5r6/build/protolib/include/unix -I /wrkdirs/usr/ports/net/norm/work/norm-1.5r6/protolib/include/unix -D UNIX -D HAVE_DIRFD -D HAVE_IPV6 -D HAVE_ASSERT -D HAVE_GETLOGIN -D HAVE_FLOCK -D ND= EBUG -internal-isystem /usr/include/c++/v1 -O3 -fdeprecated-macro -f debug-compilation-dir /wrkdirs/usr/ports/net/norm/work/norm-1.5r6/build -ferror-limit 19 -fmessage-length 0 -stack-protector 2 -fno-signed-char -fobjc-runtime=3Dgnustep -fcxx-exceptions -fexceptions -fdiagnostics-show-o= ption -vectorize-loops -vectorize-slp -faddrsig -o /wrkdirs/usr/ports/net/norm/work/norm-1.5r6/build/protolib/src/common/proto= Dispatcher.cpp.1.o -x c++ ../protolib/src/common/protoDispatcher.cpp 1. parser at end of file 2. Code generation 3. Running pass 'Function Pass Manager' on module '../protolib/src/common/protoDispatcher.cpp'. 4. Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on function '@_ZN15ProtoDispatcher4WaitEv' #0 0x000000001371df18 (/usr/bin/c+++0x1371df18) #1 0x000000001371e594 (/usr/bin/c+++0x1371e594) #2 0x000000001371b858 (/usr/bin/c+++0x1371b858) #3 0x000000001371ed0c (/usr/bin/c+++0x1371ed0c) #4 0x000000081520176c (/lib/libthr.so.3+0x1b76c) c++: error: unable to execute command: Abort trap (core dumped) c++: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 9.0.1 (git@github.com:llvm/llvm-project.git c1a0a213378a458fbea1a5c77b315c7dce08fd05) (based on LLVM 9.0.1) Target: powerpc64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin c++: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preproces= sed source, and associated run script. c++: note: diagnostic msg: The workaround is to optimize for POWER7, which supports necessary featur= es in hardware. This will break run-time for older CPU's, but at least we can = get this port running on POWER7 and newer. PR: 243227 Approved by: hd@oc.dk (maintainer timeout) Changes: head/net/norm/Makefile --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Thu Jan 23 21:21:32 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 A1D8A1FE6A0 for ; Thu, 23 Jan 2020 21:21:32 +0000 (UTC) (envelope-from Michael.Tuexen@macmic.franken.de) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 483Zvw20fjz47NL for ; Thu, 23 Jan 2020 21:21:32 +0000 (UTC) (envelope-from Michael.Tuexen@macmic.franken.de) Received: by freefall.freebsd.org (Postfix) id 3DB2F14E61; Thu, 23 Jan 2020 21:21:32 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 20EB814E60 for ; Thu, 23 Jan 2020 21:21:32 +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 "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 483Zvv2j0Qz47NJ for ; Thu, 23 Jan 2020 21:21:30 +0000 (UTC) (envelope-from Michael.Tuexen@macmic.franken.de) Received: from mb.fritz.box (unknown [IPv6:2a02:8109:1140:c3d:5150:67b9:85f1:f471]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTPSA id AC4A1721E280D; Thu, 23 Jan 2020 22:21:25 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: panic: data storage interrupt trap when building world on PowerMac G5 From: Michael Tuexen In-Reply-To: Date: Thu, 23 Jan 2020 22:21:24 +0100 Cc: Justin Hibbits , "powerpc@freebsd.org" Content-Transfer-Encoding: 7bit Message-Id: <4652291B-6D2B-4D21-9F01-576913DF0B54@macmic.franken.de> References: <7722F637-2C3D-4199-B2C9-F0616B0A5AE1@freebsd.org> <20200123134114.75d9c771@titan.knownspace> To: Francis Little X-Mailer: Apple Mail (2.3608.40.2.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: 483Zvv2j0Qz47NJ 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 [-2.16 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[franken.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-0.92)[-0.922,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(-1.56)[ip: (-7.65), ipnet: 193.174.0.0/15(-0.23), asn: 680(0.09), country: DE(-0.02)]; NEURAL_HAM_MEDIUM(-0.97)[-0.973,0]; R_SPF_NA(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[27.24.175.193.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:680, ipnet:193.174.0.0/15, country:DE]; FREEMAIL_CC(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2020 21:21:32 -0000 > On 23. Jan 2020, at 22:09, Francis Little wrote: > > Hi, > > Same here, with smp enabled, fans go full speed every 60 sec, probing > sysctl calms them for a min. > > buf*daemons time out shutting down and buildworlds fail. Could you specify how buildworlds fail? Is the system panic'ing like mine? On a Power9 system, buildworld works without a problem. But the system has much more memory. Best regards Michael > > Regards > > > > On Thu, 23 Jan 2020 at 19:41, Justin Hibbits wrote: > >> On Thu, 23 Jan 2020 12:32:03 +0100 >> Michael Tuexen wrote: >> >>> Dear all, >>> >>> when trying to build world on a G5 with SMP disabled >>> (kern.smp.disabled=1 in /boot/loader.conf), I get the following panic: >>> >>> http://bsd14.fh-muenster.de/crash.jpeg >>> >>> It looks like this happens when memory is getting low (top was >>> running until the machine panics). The machine runs the kernel from >>> r356950. >>> >>> Any idea what is going wrong? >>> >>> Best regards >>> Michael >> >> That fault address looks very suspicious. Reading it as hex encoding >> of ASCII we get " user ad". >> >> Is there a reason you still have kern.smp.disabled=1? I fixed the bug >> for that (at least in head) back around May, or at least *a* bug for it. >> >> - Justin >> _______________________________________________ >> 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" From owner-freebsd-ppc@freebsd.org Thu Jan 23 21:42:44 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 9F3721FF260 for ; Thu, 23 Jan 2020 21:42:44 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 483bNN35Pfz48w8 for ; Thu, 23 Jan 2020 21:42:44 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: by freefall.freebsd.org (Postfix) id 49882155FD; Thu, 23 Jan 2020 21:42:44 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 4522B155FC for ; Thu, 23 Jan 2020 21:42:44 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic307-55.consmr.mail.gq1.yahoo.com (sonic307-55.consmr.mail.gq1.yahoo.com [98.137.64.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 483bNM0z0Sz48w1 for ; Thu, 23 Jan 2020 21:42:42 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: cGiNz.UVM1lww1qCAdnPL9JFPGmVwu7v474UA7SMuqRFOkjsWqSpre2fq4DbpLG wB30MJnSy8qdaEnUjlLE1JXZIXY6iBgFmMVQ8hpF8DER4Nm0Z.c9eEmPLEqf.GMwdNwiPR55xjEq CPZW7aDY0RnlJmxXAUgrzAZoEpZaCMHvyW9WHNtF1W63DL4qQ6N0JSV32wT3PwUwD.bJmeh.wILs 4R_8cTNB8LDUoekT1PCbusaSCxZML7JdpwKfeILW0iHW5Bu3O_MNOEojNAHh_PsDCsqcp7KO0ATn HOiAh42_0cQ1x6WbCmgcfn.yCB50n.HXp.49Idfe78cQl1a6MACKi7SNxOGkYqL8qJrVZoN0vvCb rNZMdFF8Xy_kIu0lshl07k5jPlYgGRbaAe2ZThDvEf.VnkdbsimQ_o8hR7whXn86A8zgrfb.Pl5h 9V85yTEzVJIdWZ2CPiLxkkymZ_nXreXJF.tcdgOT5jtUg9Jb5VgNCxHPhXxKWatw6_OPqBt90VwT a3i2HNmWDenmE4o.U7E.y7Rk0XBsXMNUBIB7FdNVwF_CjxdqMae_wWKYmpo.mOcNQQZVHBy_t97A as1mSmo0qAdG7o3SOdFuXm7vB6cMnsHntuBCkRiohn5QZLLOpXuENHypiMJYnIdsIOlOL4mj3_Xc OwdOB6lfi8dBcfi2ob6HgJsNHq8WmcUN3CxGqjzbGRgt7ThRblpJFjldJlF7Kla44GgKvnGk6erI pTBUaWSRBptnjpvUOoRQwQmayx0OQ60MCb4XefJ_9xo1ej1s8lMr_vgIzhHUCmjVKFQsumoL3woR nhha.ZMZJ_SpNmqeouTA9BIU2vEjqor9U1pv1NCN63gb17Y9k_E7TZH6kcHgghPyGbgVwAx7RgcZ 3FEEG.yfmTdj.BhX6AQ33q3U4Jpat0Gq9jTgDQPRrOQs3Rh6kfGuM.N.iFOIZxKvZRtVbVDMs7Df WJZc_3MoxgSW5VLvRToLdBu_RZSYvbKBl9spCqf0cMA9CkuLdkztCEsVWGe2FkjnFwvQkRkCkl2L bAWjxrQkO9d0msC8Uz2.EGQK2o21EErULvkKe0RqCv9oGZESlgc6iHpcHSfDK57q0REJC8JuUE3E g0fHz_q5jeeUag9WhCImO1MRlY1SqPI9t8rTpRAiNhlGT2j3oSqEbgMEolJzAsEqx.pw_LD2xnn6 pDEtj1jvjeXLZ_0xcmVh_Op1wV_HqWA7PfHeabxIcHLcRV3P_UmnomIzMx1.9K2OUB0Ngu_wl1Lp YZWZol3ZKZY_i.P.6VvrAUvWEZ8CYTo4EigSq1jCW0SBqQpHqdtOjB_Ws8AyTde40spjJvRO8gAv LFhAnuDYvuYbNHAliLyWVoulDbSYgLvbdZDmJAd9SQNqcEi4prW1e.8B7zjZObMxCs8fH4hwdCPU Oms.7ugO7eXxDz9v6De47x1aSdouBc6bLgAg- Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.gq1.yahoo.com with HTTP; Thu, 23 Jan 2020 21:42:41 +0000 Received: by smtp417.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID f406d1778f00fedca613fb1678ca213a; Thu, 23 Jan 2020 21:42:40 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: panic: data storage interrupt trap when building world on PowerMac G5 From: Mark Millard In-Reply-To: Date: Thu, 23 Jan 2020 13:42:39 -0800 Cc: Justin Hibbits , "powerpc@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <7722F637-2C3D-4199-B2C9-F0616B0A5AE1@freebsd.org> <20200123134114.75d9c771@titan.knownspace> To: Michael Tuexen X-Mailer: Apple Mail (2.3608.40.2.2.4) X-Rspamd-Queue-Id: 483bNM0z0Sz48w1 X-Spamd-Bar: / X-Spamd-Result: default: False [-0.38 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (4.52), ipnet: 98.137.64.0/21(0.85), asn: 36647(0.68), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.32)[-0.316,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.44)[0.437,0]; RCVD_IN_DNSWL_NONE(0.00)[31.64.137.98.list.dnswl.org : 127.0.5.0]; FREEMAIL_CC(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2020 21:42:44 -0000 On 2020-Jan-23, at 12:29, Michael Tuexen wrote: > On 23. Jan 2020, at 20:41, Justin Hibbits = wrote: >=20 >> . . . >>=20 >> Is there a reason you still have kern.smp.disabled=3D1? I fixed the = bug > Without that, the fans get very loud, on reboot you get timeouts, and > I think (haven't tried recently) the network interfaces die. With = that, > no such problems. My experiments with controlling the mftb value relationships from cross-core (/cross-socket) contexts avoided the fan behavior and the shutdown/reboot timeouts in my testing. But I've no evidence associated with network interfaces being tied to that. In fact, I've never had ethernet interface problems, other than usefdt=3D1 swapping which was 0 vs. which was 1. (The fdt conversion reverses each sibling list but the code using the nodes is based on fixed traversals, independent of lack vs. presence of a usefdt definition or the value it is defined to.) I've basically only used ethernet, so I can not comment on other networking interfaces. (I also run with patched code so that the fdt conversion preserves the order of sibling lists, leaving the fixed traversals alone. I also have some OF_xref_from_node and OF_node_from_xref (lack of) usage corrections involved. I'll avoid listing more here. But I do not get distinct traversal results from usefdt mode.) > This is the first time I try to do a buildworld after moving to clang > (which was done by a reinstall). Before the switch, the machine did = multiple > buildworlds and was running very stable. (I've switched to ELFv2 for powerpc64, but, prior to that, my context was based on experimental system-clang ELFv1, either built by system-clang or, at the time, devel/powerpc64-gcc .) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Fri Jan 24 02:33:03 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 8CBB422BA66 for ; Fri, 24 Jan 2020 02:33:03 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic307-8.consmr.mail.gq1.yahoo.com (sonic307-8.consmr.mail.gq1.yahoo.com [98.137.64.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 483jqK70rtz4Nhq for ; Fri, 24 Jan 2020 02:33:01 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: KvrC4zUVM1lcsanM.GdsgpGjdnXyJ7mJZ.mURPao.bW8vFNhmMreo6k7_v0OrE9 odwgZPYp1AohyPx9lp7Iw9uAkRuPCxnrQLP4UfF5torWNo6SXToEvJYPZzYC54CoL8sQvG9rp3Zv M6Jo3FO7hHGQETe.Hbbad7x4c_I8QeUEvdHLy.xonMVNjJhZgJm3qjhSEnSytstuGmLHyCNXpTmc Xqh5m9FPhW3gUynP19bw_H8ZZoNKlRJs1SMKEjKvBa7nJO91gzsBWvZXgQa6H1JXwtLa5FMidfn2 YPIgx8zAEB0HUamolzAk4aOb7z9H_O7zv_znPKy6CtQaR.Uz1f2iQO8F91pkMbusR.O6HnGZjd3M dc5gpOaAmegl.bL1nsLBYCjGMUBK6NLSwwywcglRQ_JuWKBXqxO0RnsqfGWSY9WXD_d3GCGLVYit _dbT87IGS72jbYsfbYvs7XGXxfb4qAH4aJHUSEzJ4KzhDdLEQLBIpNiylJ5cxWtgLttA9xnJeBGx lyNI1RWiGvjMmlG0l1ded.BD8fLPdB.iWY_3MxYHqFtUKET8Bb8VxoLrQiFDwVqO.6ZtQUlG221n DzYP.95WuLYAPL1kAlAZF0jMBpPOsg29eQsmButWMM5rrFpR1QU4xo3Fxl9ccJUOb3OypbcFWZna .dVuIycRhuspOhBUe245bUTiQ6wAkYKsq2LXuGerQLlUhBYTsFr_P7CMQr7vwa.kYbDKlJVDBPut 0k5ornUeBf5uIVp2OyrkHwSkKeDEj8S2FQY5K.he.q4C71x5HOa6N0KqMSs.nQCCJe6_7mGbOE1X n22Y3LUgoCg3Bi3EXGppJGGzDMaoAPTpTvJQjpN2fUbn5mLv6OLjjoegACheTp1hxUnnOhD5Azt7 8bTldD_WF.0ssVMoejhf3niq5oqMAtlARtTXPbwnQqNWECEUjZjdTSS5RcH7tioEgHW1TiizShWa GRLW..Hvtz4JnF1MnEFEAc_KRnbB5MXljln.uBMJS0gXpSTaNijxjjqaJSD0UKdy6kWHwJ0WHzrR zulF9fjjZeJ89S5FAg_x1Jkkfm9ZwRctAeY.Rxq22E.9jcaj8LzTRzE9XRA4ptDCqV_IqS6INT_v kcVXMkZGPR2ksxMNQ6P4THD8U3y8n6o1Wr8cQuolroAFoMgjfImYxWLxzmLdg2B8o1mQuZLUnEGt gul62t3tAnaJhR5wKdSOmJ5Tz2C2oVSefaS08_ZUzTq5ekvbZoFOmlM6B53yO57HRCYRCiYHoUFK 01yYG9Y7j3OSuzWjKdzLQA0XVjpjO51z3g2IaOGm1d111G731K0AG5sUOXAPfuXDaUHkVOOYlVSL bhhktoWbpnJ2OgCgU7.CpoNGqujSMBMsXIyKB1P7VQAYRIklkdZy8LqVAWPhGDtxxGcymzpQxT7w RFZ15hDUoXib8y1E1vKzG Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.gq1.yahoo.com with HTTP; Fri, 24 Jan 2020 02:32:59 +0000 Received: by smtp425.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 048b04ab10ec0e7e4b617e9759518100; Fri, 24 Jan 2020 02:32:59 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: powerpc64 ELFv2 ABI and use of r2 for TOC Pointer Relative Accesses vs. FreeBSD (and gcc) use of other registers instead Message-Id: <95B7EE95-26B8-4D02-A934-6F3F6EAF9C64@yahoo.com> Date: Thu, 23 Jan 2020 18:32:58 -0800 To: FreeBSD PowerPC ML X-Mailer: Apple Mail (2.3608.40.2.2.4) References: <95B7EE95-26B8-4D02-A934-6F3F6EAF9C64.ref@yahoo.com> X-Rspamd-Queue-Id: 483jqK70rtz4Nhq X-Spamd-Bar: - X-Spamd-Result: default: False [-1.04 / 15.00]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; HAS_WP_URI(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.21)[-0.208,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.34)[-0.336,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (6.13), ipnet: 98.137.64.0/21(0.85), asn: 36647(0.68), country: US(-0.05)]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[32.64.137.98.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2020 02:33:03 -0000 [I experiment with trying both system-clang with devel/binutils@powerpc64 and trying devel/freebsd-gcc9@powerpc64 with devel/binutils@powerpc64 for buildworld buildkernel .] In searching around about tool complaints that got/toc optimization is not supported for various instruction encodings that are used, I ran into: = http://openpowerfoundation.org/wp-content/uploads/resources/leabi/content/= dbdoclet.50655241_66700.html QUOTE Compilers may generate two-instruction medium code model references (or, if selected, short displacement one-instruction references) for all data items that are in the TOC for the object file being compiled. Such references are relative to the TOC pointer register, r2. (The linker may optimize two-instruction forms to one instruction forms, replacing a first instruction of the two instruction form with a nop and rewriting the second instruction. Consequently, the TOC pointer must be live during the first and second instruction of a two-instruction reference.) END QUOTE And into: = http://openpowerfoundation.org/wp-content/uploads/resources/leabi/content/= ch03s06s03.html and its statement: QUOTE Compilers and programmers must ensure that r2 is live at the actual data access point associated with extended displacement addressing. END QUOTE This last was in a context about: QUOTE Assemblers and linkers may optimize TOC reference code that consists of = two instructions with equivalent code when offset@ha is 0. TOC reference code: addis rt, r2, offset@ha lwz rt, offset@l(rt) Equivalent code: NOP lwz rt, offset(r2) END QUOTE There was also: QUOTE The static linker must modify a nop instruction after a bl function call to restore the TOC pointer in r2 from 24(r1) when an external symbol that may use the TOC may be called, as in Section 2.3.6, =E2=80=9CFunction Calls=E2=80=9D. Object files must contain a nop slot = after a bl instruction to an external symbol. END QUOTE at: = http://openpowerfoundation.org/wp-content/uploads/resources/leabi/content/= dbdoclet.50655241_69294.html These probably explains why I see a complaint for the addis instruction in: dbtrap: /* Write the trap vector to SPRG3 by computing LR & 0xff00 */ mflr %r1 andi. %r1,%r1,0xff00 mtsprg3 %r1 GET_TOCBASE(%r1) /* get new SP */ addis %r1,%r1,TOC_REF(trapstk)@ha ld %r1,TOC_REF(trapstk)@l(%r1) addi %r1,%r1,(TRAPSTKSZ-48) The tools involved expect: addis ...,r2,... for such a context instead. Apparently, lack of r2 use also explains the long list of such messages for zfs.ko.full when I'm building via devel/freebsd-gcc9@powerpc64 : the code generated might not be sticking to use of r2 in that spot for addis. (So far, I've yet to look at the detail for zfs.) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Fri Jan 24 12:28:08 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 70EC3236F0E for ; Fri, 24 Jan 2020 12:28:08 +0000 (UTC) (envelope-from oggy@farscape.co.uk) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 483z200K4dz3y5T for ; Fri, 24 Jan 2020 12:28:08 +0000 (UTC) (envelope-from oggy@farscape.co.uk) Received: by freefall.freebsd.org (Postfix) id DE5241F1BE; Fri, 24 Jan 2020 12:28:07 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id DB7FC1F1BD for ; Fri, 24 Jan 2020 12:28:07 +0000 (UTC) (envelope-from oggy@farscape.co.uk) Received: from mail-lf1-x144.google.com (mail-lf1-x144.google.com [IPv6:2a00:1450:4864:20::144]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) 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 483z1y4jfhz3y5S for ; Fri, 24 Jan 2020 12:28:06 +0000 (UTC) (envelope-from oggy@farscape.co.uk) Received: by mail-lf1-x144.google.com with SMTP id z26so971123lfg.13 for ; Fri, 24 Jan 2020 04:28:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=farscape-co-uk.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=K741xrV6Ehq/1xeSJ0xtm9CDKnO4dLjfyJzdgQ+7uiE=; b=AOrXcQudZDWxJe7Q08sP9W1HHQcNFzbHb3hvrzy3YpY1F6rMa0k8LnLMJuLRp4cGvB e4CF6d4zL9LKFgCEbiSUi9vLXJLlu5eKdkvtLRO2K6a552qLHepYs8C7jLljpRMgOSsd /twqRwVWIbUAc8Q17VFrGQRZjL5AA/q6BnKz/M+dSA3ZAUDR+fSBcXE28eTRyhj/jb5i YAJ/8Q/HaoYtxPDiSnQhCja2vpIOkNLz5ypQEWKgBAuuh2S5ka/I6T0aezBMwV3lwPRn JuDJ0uMOftQm4LBXmEJJELNlmzylNVE18Nh0UMAMwqdoaY2zpx/vlrMBHHRPr8kj36/I j9hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=K741xrV6Ehq/1xeSJ0xtm9CDKnO4dLjfyJzdgQ+7uiE=; b=F7R1ilf87FS3vDBUxbpumAM+Uhw77ZLRd9nAbeafMoK8rJyDd9U/4nGCXJElfgCr9h cK0GHfTiUJ3EBbyojSBjHQRVJXlm1RWaT7hmO/vOVhM5UQyvK2wxYsxjXAwTunjJ7DYX T1lsV3Hdfp7c6x5WB8pY66YUQPY40xB+n/ZhXM6qiHSYWCF1k+iOCAk/oAq412fPVVR0 +z3UQsYTzZdCMQm7QVVig/T57L9FiTODOVzpGj7Shvq/21QBui25NQGqfpuTOlBPDD03 fQZGFrWLgWCTnFd1kjuNZJwxf3aDTjvI6x3BGI2S0Ky4IcauUI8gu5Q6eXb9074Wx1TU SQFw== X-Gm-Message-State: APjAAAUnco/MH0Tw8LXLU6rajCShPvYJdxdVRG9uLNy/TTlY8yesoQxl qMMDqHmisDmMw7INZlX0nsZOJWdf2B3ECn/IufY1Kw== X-Google-Smtp-Source: APXvYqwLi7YXLPyi+Fdb1oxPDJGhpGJz/pCf3VO9In2Y9CR6sMQggsWVwTSajVxgmFBipToIrrNTBrID16ekSLa7pes= X-Received: by 2002:ac2:4145:: with SMTP id c5mr1287449lfi.71.1579868884494; Fri, 24 Jan 2020 04:28:04 -0800 (PST) MIME-Version: 1.0 References: <7722F637-2C3D-4199-B2C9-F0616B0A5AE1@freebsd.org> <20200123134114.75d9c771@titan.knownspace> <4652291B-6D2B-4D21-9F01-576913DF0B54@macmic.franken.de> In-Reply-To: <4652291B-6D2B-4D21-9F01-576913DF0B54@macmic.franken.de> From: Francis Little Date: Fri, 24 Jan 2020 12:27:53 +0000 Message-ID: Subject: Re: panic: data storage interrupt trap when building world on PowerMac G5 To: Michael Tuexen Cc: Justin Hibbits , "powerpc@freebsd.org" X-Rspamd-Queue-Id: 483z1y4jfhz3y5S X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=farscape-co-uk.20150623.gappssmtp.com header.s=20150623 header.b=AOrXcQud; dmarc=none; spf=pass (mx1.freebsd.org: domain of oggy@farscape.co.uk designates 2a00:1450:4864:20::144 as permitted sender) smtp.mailfrom=oggy@farscape.co.uk X-Spamd-Result: default: False [-2.87 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[farscape-co-uk.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[powerpc@freebsd.org]; DMARC_NA(0.00)[farscape.co.uk]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[farscape-co-uk.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[4.4.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-0.37)[ip: (2.54), ipnet: 2a00:1450::/32(-2.55), asn: 15169(-1.80), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FREEMAIL_CC(0.00)[gmail.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2020 12:28:08 -0000 I'm not getting panics, I get similar errors to this: cc: error: unable to execute command: Abort trap (core dumped) cc: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 9.0.1 (git@github.com:llvm/llvm-project.git c1a0a213378a458fbea1a5c77b315c7dce08fd05) (based on LLVM 9.0.1) Target: powerpc64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin cc: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script. cc: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: cc: note: diagnostic msg: /tmp/addsf3-67691f.c cc: note: diagnostic msg: /tmp/addsf3-67691f.sh cc: note: diagnostic msg: ******************** *** [addsf3.o] Error code 254 make[4]: stopped in /usr/src/lib/libcompiler_rt 1 error make[4]: stopped in /usr/src/lib/libcompiler_rt *** [lib/libcompiler_rt__PL] Error code 2 make[3]: stopped in /usr/src 1 error make[3]: stopped in /usr/src *** [libraries] Error code 2 make[2]: stopped in /usr/src 1 error make[2]: stopped in /usr/src *** [_libraries] Error code 2 make[1]: stopped in /usr/src 1 error make[1]: stopped in /usr/src *** [buildworld] Error code 2 make: stopped in /usr/src make: stopped in /usr/src On Thu, 23 Jan 2020 at 21:21, Michael Tuexen < Michael.Tuexen@macmic.franken.de> wrote: > > On 23. Jan 2020, at 22:09, Francis Little wrote: > > > > Hi, > > > > Same here, with smp enabled, fans go full speed every 60 sec, probing > > sysctl calms them for a min. > > > > buf*daemons time out shutting down and buildworlds fail. > Could you specify how buildworlds fail? Is the system panic'ing like mine? > On a Power9 system, buildworld works without a problem. But the system has > much more memory. > > Best regards > Michael > > > > Regards > > > > > > > > On Thu, 23 Jan 2020 at 19:41, Justin Hibbits > wrote: > > > >> On Thu, 23 Jan 2020 12:32:03 +0100 > >> Michael Tuexen wrote: > >> > >>> Dear all, > >>> > >>> when trying to build world on a G5 with SMP disabled > >>> (kern.smp.disabled=1 in /boot/loader.conf), I get the following panic: > >>> > >>> http://bsd14.fh-muenster.de/crash.jpeg > >>> > >>> It looks like this happens when memory is getting low (top was > >>> running until the machine panics). The machine runs the kernel from > >>> r356950. > >>> > >>> Any idea what is going wrong? > >>> > >>> Best regards > >>> Michael > >> > >> That fault address looks very suspicious. Reading it as hex encoding > >> of ASCII we get " user ad". > >> > >> Is there a reason you still have kern.smp.disabled=1? I fixed the bug > >> for that (at least in head) back around May, or at least *a* bug for it. > >> > >> - Justin > >> _______________________________________________ > >> 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" > > From owner-freebsd-ppc@freebsd.org Fri Jan 24 12:36: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 1B67623721E for ; Fri, 24 Jan 2020 12:36:25 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 483zCX6zgMz3yW3 for ; Fri, 24 Jan 2020 12:36:24 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: by freefall.freebsd.org (Postfix) id CE1971F2C2; Fri, 24 Jan 2020 12:36:24 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id C9ABF1F2C1 for ; Fri, 24 Jan 2020 12:36:24 +0000 (UTC) (envelope-from tuexen@freebsd.org) 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 "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 483zCW213Qz3yW2 for ; Fri, 24 Jan 2020 12:36:22 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from [IPv6:2a02:8109:1140:c3d:5421:d9b3:8f56:ee7f] (unknown [IPv6:2a02:8109:1140:c3d:5421:d9b3:8f56:ee7f]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTPSA id BC948721E280C; Fri, 24 Jan 2020 13:36:19 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: panic: data storage interrupt trap when building world on PowerMac G5 From: Michael Tuexen In-Reply-To: Date: Fri, 24 Jan 2020 13:36:18 +0100 Cc: Justin Hibbits , "powerpc@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <7722F637-2C3D-4199-B2C9-F0616B0A5AE1@freebsd.org> <20200123134114.75d9c771@titan.knownspace> <4652291B-6D2B-4D21-9F01-576913DF0B54@macmic.franken.de> To: Francis Little X-Mailer: Apple Mail (2.3608.40.2.2.4) X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED,URI_HEX 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: 483zCW213Qz3yW2 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.57 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.93)[-0.925,0]; NEURAL_HAM_LONG(-0.65)[-0.645,0]; ASN(0.00)[asn:680, ipnet:193.174.0.0/15, country:DE] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2020 12:36:25 -0000 > On 24. Jan 2020, at 13:27, Francis Little wrote: >=20 > I'm not getting panics, I get similar errors to this: I see. Thanks for providing the information.=20 I haven't seen such problems (neither userland nor kernelland) on = Power9. Best regards Michael >=20 > cc: error: unable to execute command: Abort trap (core dumped) > cc: error: clang frontend command failed due to signal (use -v to see = invocation) > FreeBSD clang version 9.0.1 (git@github.com:llvm/llvm-project.git = c1a0a213378a458fbea1a5c77b315c7dce08fd05) (based on LLVM 9.0.1) > Target: powerpc64-unknown-freebsd13.0 > Thread model: posix > InstalledDir: /usr/bin > cc: note: diagnostic msg: PLEASE submit a bug report to = https://bugs.freebsd.org/submit/ and include the crash backtrace, = preprocessed source, and associated run script. > cc: note: diagnostic msg:=20 > ******************** >=20 > PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: > Preprocessed source(s) and associated run script(s) are located at: > cc: note: diagnostic msg: /tmp/addsf3-67691f.c > cc: note: diagnostic msg: /tmp/addsf3-67691f.sh > cc: note: diagnostic msg:=20 >=20 > ******************** > *** [addsf3.o] Error code 254 >=20 > make[4]: stopped in /usr/src/lib/libcompiler_rt > 1 error >=20 > make[4]: stopped in /usr/src/lib/libcompiler_rt > *** [lib/libcompiler_rt__PL] Error code 2 >=20 > make[3]: stopped in /usr/src > 1 error >=20 > make[3]: stopped in /usr/src > *** [libraries] Error code 2 >=20 > make[2]: stopped in /usr/src > 1 error >=20 > make[2]: stopped in /usr/src > *** [_libraries] Error code 2 >=20 > make[1]: stopped in /usr/src > 1 error >=20 > make[1]: stopped in /usr/src > *** [buildworld] Error code 2 >=20 > make: stopped in /usr/src >=20 > make: stopped in /usr/src >=20 > On Thu, 23 Jan 2020 at 21:21, Michael Tuexen = wrote: > > On 23. Jan 2020, at 22:09, Francis Little = wrote: > >=20 > > Hi, > >=20 > > Same here, with smp enabled, fans go full speed every 60 sec, = probing > > sysctl calms them for a min. > >=20 > > buf*daemons time out shutting down and buildworlds fail. > Could you specify how buildworlds fail? Is the system panic'ing like = mine? > On a Power9 system, buildworld works without a problem. But the system = has > much more memory. >=20 > Best regards > Michael > >=20 > > Regards > >=20 > >=20 > >=20 > > On Thu, 23 Jan 2020 at 19:41, Justin Hibbits = wrote: > >=20 > >> On Thu, 23 Jan 2020 12:32:03 +0100 > >> Michael Tuexen wrote: > >>=20 > >>> Dear all, > >>>=20 > >>> when trying to build world on a G5 with SMP disabled > >>> (kern.smp.disabled=3D1 in /boot/loader.conf), I get the following = panic: > >>>=20 > >>> http://bsd14.fh-muenster.de/crash.jpeg > >>>=20 > >>> It looks like this happens when memory is getting low (top was > >>> running until the machine panics). The machine runs the kernel = from > >>> r356950. > >>>=20 > >>> Any idea what is going wrong? > >>>=20 > >>> Best regards > >>> Michael > >>=20 > >> That fault address looks very suspicious. Reading it as hex = encoding > >> of ASCII we get " user ad". > >>=20 > >> Is there a reason you still have kern.smp.disabled=3D1? I fixed = the bug > >> for that (at least in head) back around May, or at least *a* bug = for it. > >>=20 > >> - Justin > >> _______________________________________________ > >> 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 > > _______________________________________________ > > 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 From owner-freebsd-ppc@freebsd.org Fri Jan 24 13:10:30 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 9A8DE237ABA for ; Fri, 24 Jan 2020 13:10:30 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 483zyt2ZThz40sL for ; Fri, 24 Jan 2020 13:10:30 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: by freefall.freebsd.org (Postfix) id 4F6001F6C3; Fri, 24 Jan 2020 13:10:30 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 497DA1F6C1 for ; Fri, 24 Jan 2020 13:10:30 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic306-20.consmr.mail.gq1.yahoo.com (sonic306-20.consmr.mail.gq1.yahoo.com [98.137.68.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 483zys28Dzz40sJ for ; Fri, 24 Jan 2020 13:10:29 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: BY6YE1YVM1kJwDziwUbeLd6tW_fzBQZc8jwyt8FazEBxJ.mfEKIxU9wf9vcKtdg JvTxVNaxBJb3TzfD7FrzQ6xnF1mZLTiJpUmen2a5.cS3cDjGUm3UutREJtjplepcyyPE18UeB_TG VcT4Q1zTu7q5T4hgNxdcTETme_SSMNxRl1RFISR6InP7.A.MOyXOBtUhthDpcZn3_IAV4cUXvBVt oISmpK0EU7rXm.s2b93jaPgJ5ONa2ZEovjXPDKo.d6FkM7ZTN55mHAhPJVuX5CQ2ahQc5TMkwRjc g3s_iiVDLzAX0oR1uxu4iCBHzAvEB.1FntmSFd7sWTFsnahpwHnXef5uXpfNQGMC4bJy4embt8OZ YH2U1GxT.FKPlFtpZMq.dbneOqsKypOIUbEeoedl.GDuEP2RgfPmbvc9Yc0h2LhJ.7px5_ilXde1 w0nh4_sYKOZTbJAHI9R3_hiCmw7gh1C2MwTAIAQqx30GPPx0RPsp1Aw2V7ijOqcOlxQS5onBM9zs W9pVSnLkCF6R6vYZ757yY2ib5xYcfc8zZhfjMUOtI23MTqnGjbvFW_1HCe7PHJOfyfzXNuRBZ4lA Zk_odEkS9k6.FMp_ekkduXuSM821Q_qEtewVYlX37SVy1qd7pxuh0Tafi0i_7SWjlSwpSE9W.i5w mwZcoBoQecd_2jI_ZcU.BaFy2MHm1YWEASjQiV589Du6As6m0RU2p3ndUMxbaf1bQFioUbYloo1w bFhnKssZ.YrHeXn6yjBQRG3zPew6ihJyBbWbcTVcbJ.quIXDLo8s1u3iNpeVKac.MMEHebnHohHn k5ntyGfxG_yPGVZNb1eWie9y1wsHbKnLPYVTs7EV7v02dbYt3uiMZpGDqZjs0Ttz0u7RK1xJtYAb BFsz48L5FT.Kr3Y49RhIDKHxVA_o8uRLaRSgzJKAz_rFvFtklJsgvFDqmUDpN5d_Hw3ozoBKO5jL 5.34qOVn4uCyCNWH4DGkUqokW4ZwP4g7tLnsnAUixwPwwwxsAVhkRZLEFEtYTLT3OmJk7czgXlvu Pb.TeQt1vcMNTlMlgpSB4X1Qcq2GtT.GP0pdsBSztDGMcoyOVCNDfKojNAk74jq7n36Ztd9MHWG6 oKerHekIHSJiaed38dBNXkaWYjjgRuv98OwB_Hiw6FDSq_ahZgOWjpHriLVFWxfbiwjD0LOJB2Ua epMWj.pvLSJ5.xLBbCPU.UeQLg5g9qgNNU7mHGjH7Nbmm6m9shkE._wLd3A7ZyAWd4q5smxfpS1U idlSIuhzOzYB138yNuLb1S4A4bGfiU4Q17EdzFlrv8vfYD63dg4Kjssvo_Uk8IQIOOfPdgnJsW46 SDlSNNiR.Di.tzm8TP7MAR8zRSucF5Oni4p1lLRvL2XURfOsg.4J9adeFPqJOCTV4vpIGmtFhXzY yUKjEeh4S9ptZ5YlIoBcp41JJvNOkLVo2ors- Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.gq1.yahoo.com with HTTP; Fri, 24 Jan 2020 13:10:27 +0000 Received: by smtp415.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 8acac524e373b63a8b07709a20556e50; Fri, 24 Jan 2020 13:10:23 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: panic: data storage interrupt trap when building world on PowerMac G5 From: Mark Millard In-Reply-To: Date: Fri, 24 Jan 2020 05:10:22 -0800 Cc: Michael Tuexen , "powerpc@freebsd.org" , Justin Hibbits Content-Transfer-Encoding: 7bit Message-Id: <3F27CA51-8DC9-43C8-A2AB-63F055641276@yahoo.com> References: <7722F637-2C3D-4199-B2C9-F0616B0A5AE1@freebsd.org> <20200123134114.75d9c771@titan.knownspace> <4652291B-6D2B-4D21-9F01-576913DF0B54@macmic.franken.de> To: Francis Little X-Mailer: Apple Mail (2.3608.40.2.2.4) X-Rspamd-Queue-Id: 483zys28Dzz40sJ X-Spamd-Bar: / X-Spamd-Result: default: False [-0.74 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.59)[-0.586,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (3.16), ipnet: 98.137.64.0/21(0.85), asn: 36647(0.68), country: US(-0.05)]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.35)[0.346,0]; RCVD_IN_DNSWL_NONE(0.00)[83.68.137.98.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2020 13:10:30 -0000 On 2020-Jan-24, at 04:27, Francis Little wrote: > I'm not getting panics, I get similar errors to this: > > cc: error: unable to execute command: Abort trap (core dumped) > cc: error: clang frontend command failed due to signal (use -v to see > invocation) > FreeBSD clang version 9.0.1 (git@github.com:llvm/llvm-project.git > c1a0a213378a458fbea1a5c77b315c7dce08fd05) (based on LLVM 9.0.1) > Target: powerpc64-unknown-freebsd13.0 > Thread model: posix > InstalledDir: /usr/bin > cc: note: diagnostic msg: PLEASE submit a bug report to > https://bugs.freebsd.org/submit/ and include the crash backtrace, > preprocessed source, and associated run script. > cc: note: diagnostic msg: > ******************** > > PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: > Preprocessed source(s) and associated run script(s) are located at: > cc: note: diagnostic msg: /tmp/addsf3-67691f.c > cc: note: diagnostic msg: /tmp/addsf3-67691f.sh > cc: note: diagnostic msg: > > ******************** > *** [addsf3.o] Error code 254 > > make[4]: stopped in /usr/src/lib/libcompiler_rt > 1 error > > make[4]: stopped in /usr/src/lib/libcompiler_rt > *** [lib/libcompiler_rt__PL] Error code 2 > > make[3]: stopped in /usr/src > 1 error > > make[3]: stopped in /usr/src > *** [libraries] Error code 2 > > make[2]: stopped in /usr/src > 1 error > > make[2]: stopped in /usr/src > *** [_libraries] Error code 2 > > make[1]: stopped in /usr/src > 1 error > > make[1]: stopped in /usr/src > *** [buildworld] Error code 2 > > make: stopped in /usr/src > > make: stopped in /usr/src Is the console ( or dmesg or /var/log/messages ) showing the likes of: pid . . . , jid 0, uid 0, was killed: out of swap space ? If yes, then is it also showing the likes of: . . . sentinel kernel: swap_pager_getswapspace(32): failed If it shows both then you likely really are low on swap/paging space. (The first message's wording is a misnomer.) If it only shows the first, then you are not likely to actually be low on swap/paging space. But FreeBSD does such kills for the free RAM just staying too low for too many tries at increasing it. On small arm boards folks have this problem with buildworld a lot during its llvm related build activity. How much RAM is there? Building with a smaller -jN can help avoid such issues. But there may be alternatives. The below notes may or may not prove useful for your FreeBSD head-based context. For delaying how long free RAM staying low is tolerated, one can increase vm.pageout_oom_seq from 12 to larger. The management of slow paging I've less experience with but do have some notes about below. Examples follow that I use in contexts with sufficient RAM that I do not have to worry about out of swap/page space. These I've set in /etc/sysctl.conf . (Of course, I'm not trying to deliberately run out of RAM.) # # Delay when persisstent low free RAM leads to # Out Of Memory killing of processes: vm.pageout_oom_seq=120 (I'll note that figures like 1024 or 1200 or even more are possible. This is controlling how many tries at regaining sufficient free RAM that that level would be tolerated long-term. After that it starts Out Of Memory kills to get some free RAM.) # # For plunty of swap/paging space (will not # run out), avoid pageout delays leading to # Out Of Memory killing of processes: vm.pfault_oom_attempts=-1 (Note: In my context "plunty" really means sufficient RAM that paging is rare. But others have reported on using the -1 in contexts where paging was heavy at times and OOM kills had been happening that were eliminated by the assignment.) I've no experience with the below alternative to that -1 use: # # For possibly insufficient swap/paging space # (might run out), increase the pageout delay # that leads to Out Of Memory killing of # processes: #vm.pfault_oom_attempts= ??? #vm.pfault_oom_wait= ??? # (The multiplication is the total but there # are other potential tradoffs in the factors # multiplied, even for nearly the same total.) I'm not claiming that these 3 vm.???_oom_??? figures are always sufficient. Nor am I claiming that tunables are always available that would be sufficient. Nor that it is easy to find the ones that do exist that might help for specific OOM kill issues. I have seen reports of OOM kills for other reasons when both vm.pageout_oom_seq and vm.pfault_oom_attempts=-1 were in use. As I understand, FreeBSD did not report what kind of condition lead to the decision to do an OOM kill. (I do not remember the vm.pageout_oom_seq figures from those reports but no figure is designed to make the delay unbounded. There may be large enough figures to effectively be bounded beyond any reasonable time to wait for an oom.) === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Fri Jan 24 15:06:12 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 579601F2DE1 for ; Fri, 24 Jan 2020 15:06:12 +0000 (UTC) (envelope-from bacon4000@gmail.com) Received: from mail-yb1-xb44.google.com (mail-yb1-xb44.google.com [IPv6:2607:f8b0:4864:20::b44]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) 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 4842XM5dLyz48Z0 for ; Fri, 24 Jan 2020 15:06:11 +0000 (UTC) (envelope-from bacon4000@gmail.com) Received: by mail-yb1-xb44.google.com with SMTP id l197so1040030ybf.7 for ; Fri, 24 Jan 2020 07:06:11 -0800 (PST) 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=oNAn4W4G2bdT3yj3hrKyNyGHikTZ4eQirofAtpve7g4=; b=LQRRYETdoEWivCAmVk1GHz36ZFSzf3SD4XmBZXSAGT2J+BLbNmQh8UpFbunq9jYdO5 J5kr9NXsJS1/Fwg9Nq+pgAxdjhYjaqyeUpkwC3ZsF06vWJeHa8w45HOWgldk2u5ooMj3 qODFLAZbwoq49uaArbGFYTxNZ7teVmsNciAVySrSjq14RbmVK7LaSo0XmwmQaEZdcpTN HynF0synFutFJGvKzE4fyLXh0BP8SSWAy4Et0f2NKgstTevh5cLc+2/1YM6qln4wZj+x M5P4gFSsEXcprFZaAOcq/AWrBZfCJ8G1MlYPuL6x7CiG7+hdXSwjccpwltNusH08TxrB ZYyg== 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=oNAn4W4G2bdT3yj3hrKyNyGHikTZ4eQirofAtpve7g4=; b=YAeN76HR1sbmlJIfbvFxFKH0jTPansei/iWNC0mlRH05GivjLbNh30BLqr/LU52otP LIMNps3Schjje4f1QerU8A9t6ZoGQHmPJWD5ODg3c8Qk+xg7UHmS4Ft0qy4bEbTiS2MP KsR/iGh1zxr85LGveq04AnwNf1rSONM7sVuigbUmtQVywB4bdNubGGxCfZA83oCq+HLU X9eya9tPYRUgrIFuYagVqEzxcX9hiAPrd6JhQfakULZVwEbpswGcVXf2utBtkz4Qzd9u Jcd/EaEd5q2ersyTb7uyDTt6RhsFXQ6YStiqQJqsiiojWTuTVg2OmNTMwz8BqqYwnY9E peoA== X-Gm-Message-State: APjAAAW5zjm6NvXGmvOVA2BM0R5jljNarEMHZC6wY19UKWCQKHnKrDsN JJeNHwZE7zVmwdBljMjXMUmENqKe X-Google-Smtp-Source: APXvYqwONnP7yTL7nAMAIFthft2lHDPgOtSez/fKpo4taJcncbXpShFvuM2uxR3MUGiU6UcmKqea6g== X-Received: by 2002:a25:1f09:: with SMTP id f9mr2826198ybf.322.1579878370204; Fri, 24 Jan 2020 07:06:10 -0800 (PST) Received: from coral.acadix.biz (2603-6000-a446-9100-0223-24ff-fe37-c4d7.res6.spectrum.com. [2603:6000:a446:9100:223:24ff:fe37:c4d7]) by smtp.gmail.com with ESMTPSA id w128sm2363272ywf.72.2020.01.24.07.06.09 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Jan 2020 07:06:09 -0800 (PST) Subject: Re: panic: data storage interrupt trap when building world on PowerMac G5 To: freebsd-ppc@freebsd.org References: <7722F637-2C3D-4199-B2C9-F0616B0A5AE1@freebsd.org> <20200123134114.75d9c771@titan.knownspace> <4652291B-6D2B-4D21-9F01-576913DF0B54@macmic.franken.de> From: Jason Bacon Message-ID: Date: Fri, 24 Jan 2020 09:06:08 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 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: 4842XM5dLyz48Z0 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=LQRRYETd; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of bacon4000@gmail.com designates 2607:f8b0:4864:20::b44 as permitted sender) smtp.mailfrom=bacon4000@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; 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]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (1.96), ipnet: 2607:f8b0::/32(-2.06), asn: 15169(-1.80), country: US(-0.05)]; 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.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ppc@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[4.4.b.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2020 15:06:12 -0000 Sort of a shot in the dark, but did you verify that your filesystems are = clean? UFS2 has an issue where the filesystem doesn't always get cleaned=20 completely on boot.=C2=A0 Repair using the journal can miss incorrect=20 reference counts if I remember correctly.=C2=A0 This can cause panics aft= er a=20 sudden outage like a power failure that leave the FS in a dirty state. Try booting to single-user mode and running "fsck -fy" on each FS.=C2=A0 = If=20 any of them report errors, this may have been your problem. =C2=A0=C2=A0=C2=A0 JB On 2020-01-24 06:36, Michael Tuexen wrote: >> On 24. Jan 2020, at 13:27, Francis Little wrote:= >> >> I'm not getting panics, I get similar errors to this: > I see. Thanks for providing the information. > I haven't seen such problems (neither userland nor kernelland) on Power= 9. > > Best regards > Michael >> cc: error: unable to execute command: Abort trap (core dumped) >> cc: error: clang frontend command failed due to signal (use -v to see = invocation) >> FreeBSD clang version 9.0.1 (git@github.com:llvm/llvm-project.git c1a0= a213378a458fbea1a5c77b315c7dce08fd05) (based on LLVM 9.0.1) >> Target: powerpc64-unknown-freebsd13.0 >> Thread model: posix >> InstalledDir: /usr/bin >> cc: note: diagnostic msg: PLEASE submit a bug report to https://bugs.f= reebsd.org/submit/ and include the crash backtrace, preprocessed source, = and associated run script. >> cc: note: diagnostic msg: >> ******************** >> >> PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: >> Preprocessed source(s) and associated run script(s) are located at: >> cc: note: diagnostic msg: /tmp/addsf3-67691f.c >> cc: note: diagnostic msg: /tmp/addsf3-67691f.sh >> cc: note: diagnostic msg: >> >> ******************** >> *** [addsf3.o] Error code 254 >> >> make[4]: stopped in /usr/src/lib/libcompiler_rt >> 1 error >> >> make[4]: stopped in /usr/src/lib/libcompiler_rt >> *** [lib/libcompiler_rt__PL] Error code 2 >> >> make[3]: stopped in /usr/src >> 1 error >> >> make[3]: stopped in /usr/src >> *** [libraries] Error code 2 >> >> make[2]: stopped in /usr/src >> 1 error >> >> make[2]: stopped in /usr/src >> *** [_libraries] Error code 2 >> >> make[1]: stopped in /usr/src >> 1 error >> >> make[1]: stopped in /usr/src >> *** [buildworld] Error code 2 >> >> make: stopped in /usr/src >> >> make: stopped in /usr/src >> >> On Thu, 23 Jan 2020 at 21:21, Michael Tuexen wrote: >>> On 23. Jan 2020, at 22:09, Francis Little wrote= : >>> >>> Hi, >>> >>> Same here, with smp enabled, fans go full speed every 60 sec, probing= >>> sysctl calms them for a min. >>> >>> buf*daemons time out shutting down and buildworlds fail. >> Could you specify how buildworlds fail? Is the system panic'ing like m= ine? >> On a Power9 system, buildworld works without a problem. But the system= has >> much more memory. >> >> Best regards >> Michael >>> Regards >>> >>> >>> >>> On Thu, 23 Jan 2020 at 19:41, Justin Hibbits w= rote: >>> >>>> On Thu, 23 Jan 2020 12:32:03 +0100 >>>> Michael Tuexen wrote: >>>> >>>>> Dear all, >>>>> >>>>> when trying to build world on a G5 with SMP disabled >>>>> (kern.smp.disabled=3D1 in /boot/loader.conf), I get the following p= anic: >>>>> >>>>> http://bsd14.fh-muenster.de/crash.jpeg >>>>> >>>>> It looks like this happens when memory is getting low (top was >>>>> running until the machine panics). The machine runs the kernel from= >>>>> r356950. >>>>> >>>>> Any idea what is going wrong? >>>>> >>>>> Best regards >>>>> Michael >>>> That fault address looks very suspicious. Reading it as hex encodin= g >>>> of ASCII we get " user ad". >>>> >>>> Is there a reason you still have kern.smp.disabled=3D1? I fixed the= bug >>>> for that (at least in head) back around May, or at least *a* bug for= it. >>>> >>>> - Justin >>>> _______________________________________________ >>>> 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. From owner-freebsd-ppc@freebsd.org Fri Jan 24 20:29:26 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 A0D5B1FB2D9 for ; Fri, 24 Jan 2020 20:29:26 +0000 (UTC) (envelope-from oggy@farscape.co.uk) Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) 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 4849jK3JhNz4WM4 for ; Fri, 24 Jan 2020 20:29:25 +0000 (UTC) (envelope-from oggy@farscape.co.uk) Received: by mail-lj1-x231.google.com with SMTP id a13so3952666ljm.10 for ; Fri, 24 Jan 2020 12:29:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=farscape-co-uk.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pUpTxkTW4FvA6FDxJxy9tlZRNd3wGGMCNgW7e9VtKh8=; b=JXnaYmGjcxwt14gYbl4b9S/pnyBoJIA9s+d3nmz2bsi39xq0Hgy0guyE7MgawWpPS5 jsX8YJtUHzhIkP0/wlNlUaT5e0UG+6XCKWoJa3j/yzhOUDAhI4VDDSIDtweqofokHwUy Z3MLYLwdYLJS+29z/etb7X646JVjyGzuQtI+EAVINlh5Ayd9Fw+/1ur8YJvCGfhodQ1O e20eWn4lSzOmo+ZX5bGhY1jyEO5pvyDyVEA0GYI01V0Cs8NOZvJZ4DIUhu/y81Jwmts0 UU2Al5wdRnwM9He2EaSbw4E8I0ONYvenPmkyY1kV7dUWWmst5FRpVqVqOayeakZUVFCB 2V/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pUpTxkTW4FvA6FDxJxy9tlZRNd3wGGMCNgW7e9VtKh8=; b=Zfd0s8fG2hEMmoCcw/N25jUcyLF77nH4J4VKstGQwTqehUi3Zk55QBBylKOUi63N85 paQVd4TvBfdGOzuZ48uaoqSGllNXiB7nz4BCMsZO+jV2lvlokd5qciqARBi4t2vF0ii9 +St34SUVMaaJsgv2EUuK8PueJ1FUmmELPWBjYsO4gUNQ9WzBR+tVeaqLErbBYrFvmxIg 4pnhvyNBfSBbzc6V6kSTbs20Go5XGDBhFhAzDiCp9TBakCRntwoQkETBTHX7DNTGGYm5 aKfxJNJA+3Yw1RFupamnVcYjJY5J1iT2OH9rZ7S6zg0vyve6Zc7G1v5/UJ64waK6XZZq Itfg== X-Gm-Message-State: APjAAAV+pyfCQQAOLHVcBoliYVT+Zu7IoFUvo3dfrVoocdfRS2EkgKkz lc488FrXDAE0DDn03Ea0vNvdTkFQq4229r/9moeCEg== X-Google-Smtp-Source: APXvYqysIH8munrtRS8nwOmMv9+Z30H9j4GTlMK3bV45uqtUkHEQ8effsF+MpFJ5BX8zN88nlm/TmaKsfacrLmQhMU4= X-Received: by 2002:a2e:b4e7:: with SMTP id s7mr3445622ljm.58.1579897762337; Fri, 24 Jan 2020 12:29:22 -0800 (PST) MIME-Version: 1.0 References: <7722F637-2C3D-4199-B2C9-F0616B0A5AE1@freebsd.org> <20200123134114.75d9c771@titan.knownspace> <4652291B-6D2B-4D21-9F01-576913DF0B54@macmic.franken.de> In-Reply-To: From: Francis Little Date: Fri, 24 Jan 2020 20:29:12 +0000 Message-ID: Subject: Re: panic: data storage interrupt trap when building world on PowerMac G5 To: Jason Bacon Cc: FreeBSD PowerPC ML X-Rspamd-Queue-Id: 4849jK3JhNz4WM4 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=farscape-co-uk.20150623.gappssmtp.com header.s=20150623 header.b=JXnaYmGj; dmarc=none; spf=pass (mx1.freebsd.org: domain of oggy@farscape.co.uk designates 2a00:1450:4864:20::231 as permitted sender) smtp.mailfrom=oggy@farscape.co.uk X-Spamd-Result: default: False [-5.24 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[farscape-co-uk.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ppc@freebsd.org]; DMARC_NA(0.00)[farscape.co.uk]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[farscape-co-uk.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[1.3.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-2.74)[ip: (-9.30), ipnet: 2a00:1450::/32(-2.54), asn: 15169(-1.80), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2020 20:29:26 -0000 So I got a panic data storage interrupt on mine also now. Tu rule out FS issues and wanted to increase swap a bit, I was reinstalling with: http://ftp.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/13.0/FreeBSD-13.0-CURRENT-powerpc-powerpc64-20200109-r356528-memstick.img The image is on a USB, installing to the internal SATA HD and SMP was enabled. Screen capture below! https://drive.google.com/file/d/135X3uu0hudDNxQY7ixu64dBSuyGFarrH/view Reinstalling with SMP off currently! On Fri, 24 Jan 2020 at 15:06, Jason Bacon wrote: > > Sort of a shot in the dark, but did you verify that your filesystems are > clean? > > UFS2 has an issue where the filesystem doesn't always get cleaned > completely on boot. Repair using the journal can miss incorrect > reference counts if I remember correctly. This can cause panics after a > sudden outage like a power failure that leave the FS in a dirty state. > > Try booting to single-user mode and running "fsck -fy" on each FS. If > any of them report errors, this may have been your problem. > > JB > > On 2020-01-24 06:36, Michael Tuexen wrote: > >> On 24. Jan 2020, at 13:27, Francis Little wrote: > >> > >> I'm not getting panics, I get similar errors to this: > > I see. Thanks for providing the information. > > I haven't seen such problems (neither userland nor kernelland) on Power9. > > > > Best regards > > Michael > >> cc: error: unable to execute command: Abort trap (core dumped) > >> cc: error: clang frontend command failed due to signal (use -v to see > invocation) > >> FreeBSD clang version 9.0.1 (git@github.com:llvm/llvm-project.git > c1a0a213378a458fbea1a5c77b315c7dce08fd05) (based on LLVM 9.0.1) > >> Target: powerpc64-unknown-freebsd13.0 > >> Thread model: posix > >> InstalledDir: /usr/bin > >> cc: note: diagnostic msg: PLEASE submit a bug report to > https://bugs.freebsd.org/submit/ and include the crash backtrace, > preprocessed source, and associated run script. > >> cc: note: diagnostic msg: > >> ******************** > >> > >> PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: > >> Preprocessed source(s) and associated run script(s) are located at: > >> cc: note: diagnostic msg: /tmp/addsf3-67691f.c > >> cc: note: diagnostic msg: /tmp/addsf3-67691f.sh > >> cc: note: diagnostic msg: > >> > >> ******************** > >> *** [addsf3.o] Error code 254 > >> > >> make[4]: stopped in /usr/src/lib/libcompiler_rt > >> 1 error > >> > >> make[4]: stopped in /usr/src/lib/libcompiler_rt > >> *** [lib/libcompiler_rt__PL] Error code 2 > >> > >> make[3]: stopped in /usr/src > >> 1 error > >> > >> make[3]: stopped in /usr/src > >> *** [libraries] Error code 2 > >> > >> make[2]: stopped in /usr/src > >> 1 error > >> > >> make[2]: stopped in /usr/src > >> *** [_libraries] Error code 2 > >> > >> make[1]: stopped in /usr/src > >> 1 error > >> > >> make[1]: stopped in /usr/src > >> *** [buildworld] Error code 2 > >> > >> make: stopped in /usr/src > >> > >> make: stopped in /usr/src > >> > >> On Thu, 23 Jan 2020 at 21:21, Michael Tuexen < > Michael.Tuexen@macmic.franken.de> wrote: > >>> On 23. Jan 2020, at 22:09, Francis Little wrote: > >>> > >>> Hi, > >>> > >>> Same here, with smp enabled, fans go full speed every 60 sec, probing > >>> sysctl calms them for a min. > >>> > >>> buf*daemons time out shutting down and buildworlds fail. > >> Could you specify how buildworlds fail? Is the system panic'ing like > mine? > >> On a Power9 system, buildworld works without a problem. But the system > has > >> much more memory. > >> > >> Best regards > >> Michael > >>> Regards > >>> > >>> > >>> > >>> On Thu, 23 Jan 2020 at 19:41, Justin Hibbits > wrote: > >>> > >>>> On Thu, 23 Jan 2020 12:32:03 +0100 > >>>> Michael Tuexen wrote: > >>>> > >>>>> Dear all, > >>>>> > >>>>> when trying to build world on a G5 with SMP disabled > >>>>> (kern.smp.disabled=1 in /boot/loader.conf), I get the following > panic: > >>>>> > >>>>> http://bsd14.fh-muenster.de/crash.jpeg > >>>>> > >>>>> It looks like this happens when memory is getting low (top was > >>>>> running until the machine panics). The machine runs the kernel from > >>>>> r356950. > >>>>> > >>>>> Any idea what is going wrong? > >>>>> > >>>>> Best regards > >>>>> Michael > >>>> That fault address looks very suspicious. Reading it as hex encoding > >>>> of ASCII we get " user ad". > >>>> > >>>> Is there a reason you still have kern.smp.disabled=1? I fixed the bug > >>>> for that (at least in head) back around May, or at least *a* bug for > it. > >>>> > >>>> - Justin > >>>> _______________________________________________ > >>>> 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" > > > -- > Earth is a beta site. > > > _______________________________________________ > 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" > From owner-freebsd-ppc@freebsd.org Sat Jan 25 02:45:41 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 AC29B22DFF5 for ; Sat, 25 Jan 2020 02:45:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 484L3T482fz3P9j for ; Sat, 25 Jan 2020 02:45:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 6F53BB5AA; Sat, 25 Jan 2020 02:45:41 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 525C0B5A9 for ; Sat, 25 Jan 2020 02:45:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 484L3S6G4Jz3P9d for ; Sat, 25 Jan 2020 02:45:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B825812B9 for ; Sat, 25 Jan 2020 02:45:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 00P2jeRd076240 for ; Sat, 25 Jan 2020 02:45:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00P2jeGU076239 for powerpc@FreeBSD.org; Sat, 25 Jan 2020 02:45:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 243579] java/openjdk8: crashing on powerpc66 on 12-STABLE Date: Sat, 25 Jan 2020 02:45:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hamiltcl@verizon.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.mimetype attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2020 02:45:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243579 Bug ID: 243579 Summary: java/openjdk8: crashing on powerpc66 on 12-STABLE Product: Ports & Packages Version: Latest Hardware: powerpc OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: java@FreeBSD.org Reporter: hamiltcl@verizon.net CC: powerpc@FreeBSD.org CC: powerpc@FreeBSD.org Assignee: java@FreeBSD.org Flags: maintainer-feedback?(java@FreeBSD.org) Attachment #211025 text/plain mime type: Created attachment 211025 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D211025&action= =3Dedit Hotspot error report log. Since java/openjdk8 r514570 crashing on 12-STABLE on powerpc64 (power9). Attempting to run eclipse results in: ~ # eclipse # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=3D0x00000008118a3ef0, pid=3D55330, tid=3D0x000000000= 0018e62 # # JRE version: OpenJDK Runtime Environment (8.0_232-b09) (build 1.8.0_232-b= 09) # Java VM: OpenJDK 64-Bit Server VM (25.232-b09 mixed mode bsd-ppc64 compre= ssed oops) # Problematic frame: # V [libjvm.so+0xaa3ef0] +0x7e1470 # # Core dump written. Default location: /root/java.core # # An error report file with more information is saved as: # /root/hs_err_pid55330.log Compiled method (c2) 5013 69 java.util.HashMap::resize (359 bytes) total in heap [0x000000081234fb10,0x0000000812350850] =3D 3392 relocation [0x000000081234fc30,0x000000081234fcb0] =3D 128 constants [0x000000081234fd00,0x000000081234fd80] =3D 128 main code [0x000000081234fd80,0x0000000812350400] =3D 1664 stub code [0x0000000812350400,0x0000000812350500] =3D 256 metadata [0x0000000812350500,0x0000000812350520] =3D 32 scopes data [0x0000000812350520,0x0000000812350740] =3D 544 scopes pcs [0x0000000812350740,0x0000000812350810] =3D 208 dependencies [0x0000000812350810,0x0000000812350818] =3D 8 handler table [0x0000000812350818,0x0000000812350830] =3D 24 nul chk table [0x0000000812350830,0x0000000812350850] =3D 32 # # If you would like to submit a bug report, please visit: # http://bugreport.java.com/bugreport/crash.jsp # Hotspot error report file attached. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Sat Jan 25 02:46:07 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 3E92B22E07A for ; Sat, 25 Jan 2020 02:46:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 484L3z0ysBz3PCx for ; Sat, 25 Jan 2020 02:46:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 015BDB5EA; Sat, 25 Jan 2020 02:46:07 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id F1B85B5E9 for ; Sat, 25 Jan 2020 02:46:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 484L3y5Q8kz3PCv for ; Sat, 25 Jan 2020 02:46:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B54E912BC for ; Sat, 25 Jan 2020 02:46:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 00P2k6Wj076757 for ; Sat, 25 Jan 2020 02:46:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00P2k6rF076756 for powerpc@FreeBSD.org; Sat, 25 Jan 2020 02:46:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 243579] java/openjdk8: crashing on powerpc64 on 12-STABLE Date: Sat, 25 Jan 2020 02:46:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hamiltcl@verizon.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2020 02:46:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243579 Curtis Hamilton changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hamiltcl@verizon.net Summary|java/openjdk8: crashing on |java/openjdk8: crashing on |powerpc66 on 12-STABLE |powerpc64 on 12-STABLE --=20 You are receiving this mail because: You are on the CC list for the bug.=