From owner-freebsd-ppc@freebsd.org Sun May 20 01:14:21 2018 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 80D6DEEB62B for ; Sun, 20 May 2018 01:14:21 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) Received: from sonic307-10.consmr.mail.gq1.yahoo.com (sonic307-10.consmr.mail.gq1.yahoo.com [98.137.64.34]) (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 052E787A01 for ; Sun, 20 May 2018 01:14:20 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) X-YMail-OSG: 0LDMqaMVM1kb91JZYP7aNoxTUcue6QflRcLL_9Cgpvi6gVi5jleJGvTK7yxo4ob 5dHppIo97K8fwR1jSzY2y0w3cSbnXUnEng6_Y6.PgODk0VFfnwV1Ba4t7D76Psd0ZrNaajbzY_kn EZKwYlOYw9UHh0LAe2Ja9XUKI6ipGpUcW1MKFGn7nbStSHyNX1F.lPvZHICuC3HwomfRKq96oonw Jd6NZnNu6aknC2s1XUo0Kmp9VD0J3O.phBUnslsboQl1GxgrvBAwK1IsRvxhqgYN0pYDjLYAHuGT XSQ0uEwkNSFR2tvBvmhwfSoU.kMvGSLpImlhuhg9aRRYgp32dhVoZq0W8dnB0iT70w2c1u7m2SIg e6TfExdPAtSzVuuWyj7NOC76KNh_mdZqZ167p_tDZUvrnI3Q3swzixB9FLmVw4eA6UTX7QI_z8D5 __QQtyKZa81N3fJMOagVi1hH_8xD06kAVKBhXplTVATUt..jtSMnCar64HWz3ejEaMVuZTFzrtM5 BsPStZNzFA8krUIdbo8h.l4kMK6RiZTJYmxYv1HMBwXW535HcHW_y9E1AePP2AM7VdrAkQ2LG0ai h3qYUIg2V4y8.Vh1DOvd4yoEU8KWFB5UfecpAtBZmdATaxrHbB6ssO88aBZz4kab3xt5Ui101G02 E Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.gq1.yahoo.com with HTTP; Sun, 20 May 2018 01:14:13 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.25]) ([76.115.7.162]) by smtp415.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 11462b4e7e133d60b3119aedc4c2db36; Sun, 20 May 2018 01:04:01 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: Re: Still true at -r333575 : head -r320458 (e.g.) amd64 -> powerpc64 cross build's install32 during installworld: /usr/src/share/mk/bsd.linker.mk tried to use "head" when PATH provided no access (head is missing) From: Mark Millard In-Reply-To: <9086ff35-009b-c965-4970-3f8ad4fe6e6b@FreeBSD.org> Date: Sat, 19 May 2018 18:04:00 -0700 Cc: FreeBSD Toolchain , FreeBSD PowerPC ML Content-Transfer-Encoding: quoted-printable Message-Id: <67D92B43-5124-4EDF-BA26-26CE8B082FE7@yahoo.com> References: <0E42D991-D350-4DC1-A683-CEA506167520@dsl-only.net> <8F22B659-90DE-42E5-B4C6-75C9B9626462@dsl-only.net> <8EB87EA5-0ED6-4F46-80FC-1A0DB29CF7D6@dsl-only.net> <84A73CB0-CBCB-4EE4-A4B7-B8B2F25EECB5@yahoo.com> <9086ff35-009b-c965-4970-3f8ad4fe6e6b@FreeBSD.org> To: Bryan Drewery X-Mailer: Apple Mail (2.3445.6.18) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 May 2018 01:14:21 -0000 On 2018-May-14, at 5:04 PM, Bryan Drewery = wrote: > On 5/13/2018 1:13 AM, Mark Millard wrote: >> Retrying the amd64 -> powerpc64 cross build via a powerpc64-gcc >> this time, combined with WITH_LIB32=3D , got: "sh: head: not found" = and its >> later consequences, like before for installworld (to a directory on = the >> amd64 host context). This is from the /usr/src/share/mk/bsd.linker.mk = line >> that results in: >>=20 >> (/usr/local/powerpc64-freebsd/bin/ld --version || echo none) | head = -n 1 >>=20 >> but head is not available by default at the time (lib32 context). (I = make >> head be available via using LOCAL_ITOOLS=3Dhead in order to work = around the >> issue.) >>=20 >> An example of the messages (without having LOCAL_ITOOLS=3Dhead) is: >>=20 >> --- _installlinks --- >> install -l s ../../libexec/ld-elf32.so.1 = /usr/obj/DESTDIRs/xtcgcc-powerpc64-installworld/usr/libexec/ld-elf32.so.1 >> cd /usr/src/usr.bin/ldd; PROG=3Dldd32 . . . >> . . . >> . . . MAKEOBJDIRPREFIX=3D MK_MAN=3Dno MK_HTML=3Dno MK_TOOLCHAIN=3Dno = -DLIBRARIES_ONLY install >> sh: head: not found >> make[4]: "/usr/src/share/mk/bsd.linker.mk" line 47: warning: = "(/usr/local/powerpc64-unknown-freebsd12.0/bin/ld --version || echo = none) | head -n 1" returned non-zero status >> make[4]: "/usr/src/share/mk/bsd.linker.mk" line 58: warning: Unknown = linker from XLD=3D/usr/local/powerpc64-unknown-freebsd12.0/bin/ld: , = defaulting to bfd >>=20 >>=20 >> The two "make[4]" lines are consequences of the prior "sh: head: not = found" >> issue that leaded to a "non-zero status" independent of the prior = "--version" >> and "echo none" material. It then leads to assuming bfd. >>=20 >> Using LOCAL_ITOOLS=3Dhead makes head available and so then the status = value >> check works. >>=20 >=20 > Sure but this command being executed never should be executing during > install; Adding 'head' as a tool isn't the right fix. >=20 > I have never been able to recreate the problem here. I have an idea = I'll > test. >=20 May be the following will help. It shows a clear difference between the ${XLD} and ${LD} text that is used in: .if ${ld} =3D=3D "LD" || (${ld} =3D=3D "XLD" && ${XLD} !=3D ${LD}) when ${LD} =3D=3D "XLD" in my context. My src config that is involved has (extracted): TO_TYPE=3Dpowerpc64 VERSION_CONTEXT=3D12.0 CROSS_TOOLCHAIN=3D${TO_TYPE}-gcc X_COMPILER_TYPE=3Dgcc = CROSS_BINUTILS_PREFIX=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSI= ON_CONTEXT}/bin/ .if ${.MAKE.LEVEL} =3D=3D 0 XLD=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/bin/ld= .export XLD .endif and is used via: SRCCONF=3D"/dev/null" = SRC_ENV_CONF=3D"/root/src.configs/src.conf.powerpc64-xtoolchain-gcc.amd64-= host" Given that, by adding a: .warning "ld=3D${ld} XLD=3D${XLD} LD=3D${LD} = LINKER_TYPE=3D${${X_}LINKER_TYPE} LINKER_VERSION=3D${${X_}LINKER_VERSION}"= line just before before the /usr/src/share/mk/bsd.linker.mk line: _ld_version!=3D (${${ld}} --version || echo none) | head -n 1 that is being (incorrectly) executed and not finding head the extra .warning reported: make[4]: "/usr/src/share/mk/bsd.linker.mk" line 47: warning: "ld=3DXLD = XLD=3D/usr/local/powerpc64-unknown-freebsd12.0/bin/ld = LD=3D/usr/local/powerpc64-unknown-freebsd12.0/bin/ld -m elf32ppc_fbsd = LINKER_TYPE=3D LINKER_VERSION=3D" Note that the LD=3D part has the text: -m elf32ppc_fbsd in it where my explicit XLD assignment does not. Is my src config handling of XLD non-supported in some way? Did I step outside the intended coverage? =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 May 20 04:09:17 2018 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2B1FCEF1D42 for ; Sun, 20 May 2018 04:09:17 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) Received: from sonic311-15.consmr.mail.bf2.yahoo.com (sonic311-15.consmr.mail.bf2.yahoo.com [74.6.131.125]) (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 C8DDB6DC20 for ; Sun, 20 May 2018 04:09:16 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) X-YMail-OSG: Hdc4JY8VM1l370XbA9gmpUNxs0NirA19emEbTWyNjzYKy0tAkhYlQ8cmN_Gc9tn smD3TfzQuglBLy1j.3oteHVgjVOPh1jsRPWB9UUfKIrOhVR1ureVj6scBgJQsIqMrSjTnbH_fjLx JK9pAOBE5xxapSEJULON7GkpgIwRk0NP_Nw7e9xBjfPO9dvLfkKUxwHTG5UQeoxAS7_n22OG7j1L m5QRVhgwe5SsGaalFGz0luYvr36uYstqE8pUw8DntbVRbn9UfdV6pTwKN7I500n8UbWLxyHdUpoz N9u4Mn0hbUA9Fbmww0bbjVIAoS64QybZYeA1teyfa2wfDY6thPtMVxu.W0IZ7Bj_lURW5DGVT9NL tFos_Uq6CzcZXPEISEmiYqK6RU02HcZ9gMuqXuRvTdJ8QUrus1RytApa4edylBp0jLWrbVOQXlvi h7l26r02mAWEIYglTGi.6s.xq9Qg7_6HU7wLmDxtGWql5_a6rbJinSTbf3fNvaCfRuo4J49GsVI1 _YP4Pot_akCMIICmBLjIpS9_zOOQQ8yBxQBqBOxS5Ic8l0Kk31DxGDI.iysLqNUGRYWGZQn7CgVX JEyVJyvZxU.8bhgrDvKSoJtt4lNTqME.fbZ3cJjvO2GzajUQBWEhyC4IDFkAlovybOJmT0CP8Fe3 JGzOBBcOz Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.bf2.yahoo.com with HTTP; Sun, 20 May 2018 04:09:10 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.25]) ([76.115.7.162]) by smtp409.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 676e77a501320d0b5a0e0ff0c93bae7f; Sun, 20 May 2018 04:09:10 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: head -r333897 (usefdt and old PowerMac) questions Message-Id: Date: Sat, 19 May 2018 21:09:08 -0700 To: Nathan Whitehorn , FreeBSD PowerPC ML X-Mailer: Apple Mail (2.3445.6.18) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 May 2018 04:09:17 -0000 Long ago you had me try usefdt=3D1 on an old PowerMac G5 so-called "Quad Core" and it failed to boot. Does -r333897 mean that I should retest if I get a chance? Also, the code path: head/sys/dev/vt/hw/ofwfb/ofwfb.c suggests to me a vt specific change, not spanning sc. If I test, do I need to be specific about which context I test? I build with PS3 disabled and sc included. (You suggested such long ago when vt was having a problem and it was expected sc would work --which it did. I've continued to have vt and sc around since then.) # more /usr/src/sys/powerpc/conf/GENERIC64vtsc-NODBG # # GENERIC -- Custom configuration for the powerpc/powerpc64 # include "GENERIC64" ident GENERIC64vtsc-NODBG makeoptions DEBUG=3D-g # Build kernel with gdb(1) = debug symbols nooptions PS3 # Sony Playstation 3 = HACK!!! to allow sc options KDB # Enable kernel debugger support options ALT_BREAK_TO_DEBUGGER options BREAK_TO_DEBUGGER # For minimum debugger support (stable branch) use: options KDB_TRACE # Print a stack trace for a = panic options DDB # Enable the kernel debugger options GDB # HACK!!! ... # Extra stuff: #options VERBOSE_SYSINIT # Enable verbose sysinit = messages #options BOOTVERBOSE=3D1 #options BOOTHOWTO=3DRB_VERBOSE #options KTR #options KTR_MASK=3DKTR_TRAP ##options KTR_CPUMASK=3D0xF #options KTR_VERBOSE # HACK!!! to allow sc for 2560x1440 display on Radeon X1950 that vt = historically mishandled during booting device sc #device kbdmux # HACK: already listed by vt options SC_OFWFB # OFW frame buffer options SC_DFLT_FONT # compile font in makeoptions SC_DFLT_FONT=3Dcp437 # Disable any extra checking for. . . nooptions DEADLKRES # Enable the deadlock resolver nooptions INVARIANTS # Enable calls of extra sanity = checking nooptions INVARIANT_SUPPORT # Extra sanity checks of = internal structures, required by INVARIANTS nooptions WITNESS # Enable checks to detect = deadlocks and cycles nooptions WITNESS_SKIPSPIN # Don't run witness on spinlocks = for speed nooptions DIAGNOSTIC nooptions MALLOC_DEBUG_MAXZONES # Separate malloc(9) zones device filemon device geom_label =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 May 20 04:37:33 2018 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 72D8EEF31BE for ; Sun, 20 May 2018 04:37:33 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) Received: from sonic310-22.consmr.mail.gq1.yahoo.com (sonic310-22.consmr.mail.gq1.yahoo.com [98.137.69.148]) (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 F1F926ED7F for ; Sun, 20 May 2018 04:37:32 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) X-YMail-OSG: hVSP4dMVM1nJXymnddUn_R3Mn.94qfIlgbSOTAW5xwBPM_jek93RmJz34lNN8ge 1rjd3CKc4SjfOCqkX5QfUO1xlJTudP9v7zGTFj41_0ioAC_UsAXxuzl1zmqbez5CpIAYCktEdOlx PosBEkPszKibtnPWp09yx3aLI4dixpg8ACRi7WZE7u2t3hu0SgDoLFs9DpTHJPLj60S9V8yXOlfy Kx6_z8xZ.61ayqGnHmfvqWXUZQIo71EiW1QVkFyaP3MUBoBv4wuBk7UtCWckdVpBl.wCt2MDZVMM SwxEPXLealcBze1r2Wji5z6BCxaolF6I_O4SwVJXzlU7oAvpYXMDOK8l66mk0ZprYuNTtu0YuqL7 sqJbofvwl82FcWWGXEGNiIkJsoxFDBmsnJvbggDU95gNhIjrfnU6I09PhKzRhqqYOsP5HlHJj8fN 3th0nMzX.VjhVJ.7gkcBnG.Lfds3927kT4MMhJjX1NdXvgm5ByvBCVgC6pcfrqGwXURNxzs7wXOk _lUngpDoTuiVXAW1_2vBeqKlIE6gpmsPYiuiX9UAn46eDbxxVbJuuVTgrBxTo0wUmuJ76kE9Ks1g Dc8ZeadwW03lYc82SHpaiTWlCUzaFiUrIDHgYe6Aehf54RbcnJ8v4DLjy32rOwomo1yLHrMshPHT zp3MCe9rh Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.gq1.yahoo.com with HTTP; Sun, 20 May 2018 04:37:30 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.25]) ([76.115.7.162]) by smtp402.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 80cee92e103d3c361e39307e88adfba4; Sun, 20 May 2018 04:27:19 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: Re: head -r333897 (usefdt and old PowerMac) questions From: Mark Millard In-Reply-To: <9390ba5a-aa1c-c3be-3c2b-aa2e4e6f0643@freebsd.org> Date: Sat, 19 May 2018 21:27:18 -0700 Cc: FreeBSD PowerPC ML Content-Transfer-Encoding: quoted-printable Message-Id: References: <9390ba5a-aa1c-c3be-3c2b-aa2e4e6f0643@freebsd.org> To: Nathan Whitehorn X-Mailer: Apple Mail (2.3445.6.18) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 May 2018 04:37:33 -0000 On 2018-May-19, at 9:14 PM, Nathan Whitehorn = wrote: > You need to wait for one more patch. With that, usefdt=3D1 is = confirmed working on PowerMac 11,2 (like the quad core). You must use = vt, not sc, but everything should work out of the box once that patch is = in. The only caveat is that bge0 and bge1 may swap numbers. > -Nathan Good to know. Thanks. "You must use vt, not sc": does this mean changing to not include sc in the kernel at all? Or will /boot/loader.conf having: kern.vty=3Dvt be enough despite sc also being present? I will also note that I'll lose access to the old PowerMacs for weeks or months starting in about a week. So any testing will be limited. > On 05/19/18 21:09, Mark Millard wrote: >> Long ago you had me try usefdt=3D1 on an old PowerMac G5 so-called >> "Quad Core" and it failed to boot. >>=20 >> Does -r333897 mean that I should retest if I get a chance? >>=20 >> Also, the code path: >>=20 >> head/sys/dev/vt/hw/ofwfb/ofwfb.c >>=20 >> suggests to me a vt specific change, not spanning >> sc. If I test, do I need to be specific about which >> context I test? >>=20 >> I build with PS3 disabled and sc included. (You >> suggested such long ago when vt was having a problem >> and it was expected sc would work --which it did. >> I've continued to have vt and sc around since then.) >>=20 >>=20 >> # more /usr/src/sys/powerpc/conf/GENERIC64vtsc-NODBG >> # >> # GENERIC -- Custom configuration for the powerpc/powerpc64 >> # >>=20 >> include "GENERIC64" >>=20 >> ident GENERIC64vtsc-NODBG >>=20 >> makeoptions DEBUG=3D-g # Build kernel with gdb(1) = debug symbols >>=20 >> nooptions PS3 # Sony Playstation 3 = HACK!!! to allow sc >>=20 >> options KDB # Enable kernel debugger = support >>=20 >> options ALT_BREAK_TO_DEBUGGER >> options BREAK_TO_DEBUGGER >>=20 >> # For minimum debugger support (stable branch) use: >> options KDB_TRACE # Print a stack trace for a = panic >> options DDB # Enable the kernel debugger >> options GDB # HACK!!! ... >>=20 >> # Extra stuff: >> #options VERBOSE_SYSINIT # Enable verbose sysinit = messages >> #options BOOTVERBOSE=3D1 >> #options BOOTHOWTO=3DRB_VERBOSE >> #options KTR >> #options KTR_MASK=3DKTR_TRAP >> ##options KTR_CPUMASK=3D0xF >> #options KTR_VERBOSE >>=20 >> # HACK!!! to allow sc for 2560x1440 display on Radeon X1950 that vt = historically mishandled during booting >> device sc >> #device kbdmux # HACK: already listed by vt >> options SC_OFWFB # OFW frame buffer >> options SC_DFLT_FONT # compile font in >> makeoptions SC_DFLT_FONT=3Dcp437 >>=20 >>=20 >> # Disable any extra checking for. . . >> nooptions DEADLKRES # Enable the deadlock = resolver >> nooptions INVARIANTS # Enable calls of extra = sanity checking >> nooptions INVARIANT_SUPPORT # Extra sanity checks of = internal structures, required by INVARIANTS >> nooptions WITNESS # Enable checks to detect = deadlocks and cycles >> nooptions WITNESS_SKIPSPIN # Don't run witness on = spinlocks for speed >> nooptions DIAGNOSTIC >> nooptions MALLOC_DEBUG_MAXZONES # Separate malloc(9) zones >>=20 >> device filemon >> device geom_label >=20 =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 May 20 04:14:52 2018 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9E1B7EF20DF for ; Sun, 20 May 2018 04:14:52 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from d.mail.sonic.net (d.mail.sonic.net [64.142.111.50]) (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 20A306DF87 for ; Sun, 20 May 2018 04:14:51 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from comporellon.tachypleus.net (cpe-75-82-218-62.socal.res.rr.com [75.82.218.62]) (authenticated bits=0) by d.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id w4K4Egq8015512 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sat, 19 May 2018 21:14:43 -0700 Subject: Re: head -r333897 (usefdt and old PowerMac) questions To: Mark Millard , FreeBSD PowerPC ML References: From: Nathan Whitehorn Message-ID: <9390ba5a-aa1c-c3be-3c2b-aa2e4e6f0643@freebsd.org> Date: Sat, 19 May 2018 21:14:42 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Sonic-CAuth: UmFuZG9tSVaaDbP0ez81OelB64ZUZAb6aRLxdEV9IZOcS80BtRFgoAcFznn6E0bKT3ATxUdEkXHVpcVn5A6t06ffreCFJlo8t72je5wyzOc= X-Sonic-ID: C;4tNUUuRb6BGw6cURjESG/g== M;6hnUUuRb6BGw6cURjESG/g== X-Spam-Flag: No X-Sonic-Spam-Details: 0.0/5.0 by cerberusd X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 May 2018 04:14:52 -0000 You need to wait for one more patch. With that, usefdt=1 is confirmed working on PowerMac 11,2 (like the quad core). You must use vt, not sc, but everything should work out of the box once that patch is in. The only caveat is that bge0 and bge1 may swap numbers. -Nathan On 05/19/18 21:09, Mark Millard wrote: > Long ago you had me try usefdt=1 on an old PowerMac G5 so-called > "Quad Core" and it failed to boot. > > Does -r333897 mean that I should retest if I get a chance? > > Also, the code path: > > head/sys/dev/vt/hw/ofwfb/ofwfb.c > > suggests to me a vt specific change, not spanning > sc. If I test, do I need to be specific about which > context I test? > > I build with PS3 disabled and sc included. (You > suggested such long ago when vt was having a problem > and it was expected sc would work --which it did. > I've continued to have vt and sc around since then.) > > > # more /usr/src/sys/powerpc/conf/GENERIC64vtsc-NODBG > # > # GENERIC -- Custom configuration for the powerpc/powerpc64 > # > > include "GENERIC64" > > ident GENERIC64vtsc-NODBG > > makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols > > nooptions PS3 # Sony Playstation 3 HACK!!! to allow sc > > options KDB # Enable kernel debugger support > > options ALT_BREAK_TO_DEBUGGER > options BREAK_TO_DEBUGGER > > # For minimum debugger support (stable branch) use: > options KDB_TRACE # Print a stack trace for a panic > options DDB # Enable the kernel debugger > options GDB # HACK!!! ... > > # Extra stuff: > #options VERBOSE_SYSINIT # Enable verbose sysinit messages > #options BOOTVERBOSE=1 > #options BOOTHOWTO=RB_VERBOSE > #options KTR > #options KTR_MASK=KTR_TRAP > ##options KTR_CPUMASK=0xF > #options KTR_VERBOSE > > # HACK!!! to allow sc for 2560x1440 display on Radeon X1950 that vt historically mishandled during booting > device sc > #device kbdmux # HACK: already listed by vt > options SC_OFWFB # OFW frame buffer > options SC_DFLT_FONT # compile font in > makeoptions SC_DFLT_FONT=cp437 > > > # Disable any extra checking for. . . > nooptions DEADLKRES # Enable the deadlock resolver > nooptions INVARIANTS # Enable calls of extra sanity checking > nooptions INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS > nooptions WITNESS # Enable checks to detect deadlocks and cycles > nooptions WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed > nooptions DIAGNOSTIC > nooptions MALLOC_DEBUG_MAXZONES # Separate malloc(9) zones > > device filemon > device geom_label > > === > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) > > From owner-freebsd-ppc@freebsd.org Sun May 20 15:08:20 2018 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 30E6DEE406D for ; Sun, 20 May 2018 15:08:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BC5BD82DD3 for ; Sun, 20 May 2018 15:08:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 766F6EE406A; Sun, 20 May 2018 15:08:19 +0000 (UTC) Delivered-To: ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 64EB8EE4067 for ; Sun, 20 May 2018 15:08:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 05E5A82DCD for ; Sun, 20 May 2018 15:08:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 49BDE1868D for ; Sun, 20 May 2018 15:08:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w4KF8IAG004246 for ; Sun, 20 May 2018 15:08:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w4KF8IAt004238 for ppc@FreeBSD.org; Sun, 20 May 2018 15:08:18 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: ppc@FreeBSD.org Subject: [Bug 201623] /usr/ports/graphics/dri fails on powerpc Date: Sun, 20 May 2018 15:08:18 +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: zeising@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: 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.26 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 May 2018 15:08:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D201623 --- Comment #14 from Niclas Zeising --- (In reply to Alexey Dokuchaev from comment #13) Have you had any luck recompiling mesa? --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Mon May 21 17:22:57 2018 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0654EEF9E0E for ; Mon, 21 May 2018 17:22:57 +0000 (UTC) (envelope-from bounces+654355-1b20-freebsd-ppc=freebsd.org@email.youpic.com) Received: from o1.email.youpic.com (o1.email.youpic.com [208.117.51.51]) (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 E9C75680D3 for ; Mon, 21 May 2018 17:22:54 +0000 (UTC) (envelope-from bounces+654355-1b20-freebsd-ppc=freebsd.org@email.youpic.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=youpic.com; h=content-type:from:mime-version:to:subject; s=m1; bh=xI7Fz40oVQH0eIlbvfkOgEWIoBU=; b=CdIxiJb/6qgu58yKliT7ws6JxO5tZ Xq5LrtJGgwvUc7spZPLkw1WW3dA7nkulmAmet0JglTi3T5h6+ThTofVDKTyFqoh1 /8FtQpWpn8nPTkpmIRS9doR5fBPDNxexCtJwOv5K4RC0WbFn6T0anpqOBBWPVEoL AylJPVX8rWZBOg= Received: by filter0611p1iad2.sendgrid.net with SMTP id filter0611p1iad2-30970-5B030047-12 2018-05-21 17:22:15.767128621 +0000 UTC Received: from NjU0MzU1 (ec2-54-247-45-131.eu-west-1.compute.amazonaws.com [54.247.45.131]) by ismtpd0002p1lon1.sendgrid.net (SG) with HTTP id 6_DGwOSHSHmO4a2hxMdiNA Mon, 21 May 2018 17:22:15.473 +0000 (UTC) Date: Mon, 21 May 2018 17:22:43 +0000 (UTC) From: "YouPic Team" Mime-Version: 1.0 To: freebsd-ppc@freebsd.org" Message-ID: <6_DGwOSHSHmO4a2hxMdiNA@ismtpd0002p1lon1.sendgrid.net> Subject: Let's stay in touch! X-SG-EID: Vb+Anvs0EfIvXbjCHlZrgfJ7kERTSlN8eYfhjx7Ga+W5BaE9bGc50G+xu9ddeVbYapLL2mpfcYlGx3 9SSTSshe9NJ+vS53Y4RropVUVmchiMlDQW+vCyPEkuE2/zTIPJpzOhBFC+B7rrjNeiMHKwwT9Bw9ta 1JCQ1HJTGg+nInYaRhTZef1Gw9e+4IkyWzSMv412gtYKAF/HeA2hz5dtlO0oJOELUeOOmLoRD/RISj k= X-SG-ID: 2tgRB5vxOlJxbt1/F1Ovl13Ox/6zW5JEpiR4EEaJF8gfLxyUfbNLTqFQeL3qBiYsnvnc986EEtn9tz v+cwAnuF8va8Ev/1pyGYE43+2uAwM= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2018 17:22:57 -0000 Welcome=0D =0D http://youpic.com?utm_content=3DEmail&utm_campaign=3DEmail%20marketing&utm_= source=3DSendGrid&utm_term=3DEmail%20marketing&utm_medium=3DEmail=0D =0D Hello YouPic Community!=0D =0D We need your help. Due to the recent tragedy in Manchester, we have decided= to bring our community together and show every day life in Manchester. As = we all know, photography has a way of telling a great story without words. = Whether you are a resident in Manchester or there on vacation, we want to c= reate a photo series "Life in Manchester". We want to show that the world i= s still standing strong and kindness continues to fill the air. =C2=A0=0D =0D We will choose 20 photos and of course credit each of them. =C2=A0We look f= orward to seeing your photos. Lets make this happen!=0D =0D Don't forget to hashtag #lovemanchester=0D =0D Deadline: Sunday=C2=A0=0D =0D Take me to YouPic http://youpic.com/?utm_content=3DEmail&utm_campaign=3DEma= il%20marketing&utm_source=3DSendGrid&utm_term=3DEmail%20marketing&utm_mediu= m=3DEmail=0D =0D Sent with =E2=99=A5 from YouPic=0D =0D Holtermansgatan 1, 41129 Gothenburg, Sweden=0D =0D Unsubscribe https://youpic.com/settings?utm_content=3DEmail&utm_campaign=3D= Email%20marketing&utm_source=3DSendGrid&utm_term=3DEmail%20marketing&utm_me= dium=3DEmail= From owner-freebsd-ppc@freebsd.org Thu May 24 06:21:35 2018 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 881F8F5415E for ; Thu, 24 May 2018 06:21:35 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic310-20.consmr.mail.gq1.yahoo.com (sonic310-20.consmr.mail.gq1.yahoo.com [98.137.69.146]) (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 0725177E86 for ; Thu, 24 May 2018 06:21:34 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: ODCRqKIVM1nlt0n39kL0Rz_VQf0mISPLlF4BIay6VVCNIK5YcYPMnSuFoYxivgu VwML9B0xyXoi3sjum0mJtRNsbteA0N2B.NyC7Y2DYkrFXEGnR9p0MNJOg_Kj5JwJEtP0rRGtL1mm vrngXaQCo5BP3Q7xAhBBGRLDTRL7Bg.TQ2LFGSZTZah7n3NxHlkUxLnFL.pPgcXrz9zp_CHxH3HE db3I2i4jnJ65.e9997i3a5n1FrjqO7J6WGEpCRVgz1Hj8PmBsMFrbDt3dWvVCcZat_x7aS006vFY v6jX2H8kn1h.8yF32.qgUUUnDMiDMflbz25DM_weu2Y_Zz4rvw0Rnvv9WW3NoowFYOfIPXx7D4Cw 0vd1xpK6XU67SQUzjN9GxeGGFAxhtlf1T6edeXNC5miQ7kyuoAui3Jms.mh.nCJc4d9k8z34K1eU 4Dy8uUdqRfWpBi8JMf5dua74ulV7U2gMq6Opcntld25Kg1nYR0VLM7.qI_CInA2UaSj2Y6FzxmBU Iht1KkvIGWs6YDViZWqPCzxQkY2UpcVhvqVHdnUIxZmjI2tuuw5hcW_.wkfA_.anPzjx4FWOuOkj L_QYbWFBOVbmSAi2aAfCrsYPtM1d9Zjj338qjyzh39iv6VOmZksip_ulNsuNxDLWzsT6_sJnqeBR dFI6_R_ufNazeWMmha4p0zUk6l_RkvA-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.gq1.yahoo.com with HTTP; Thu, 24 May 2018 06:21:28 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.25]) ([76.115.7.162]) by smtp413.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID c9b69a5f8dc345774bacd9b4228ce6bb; Thu, 24 May 2018 06:21:25 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: head -r334128 broke the powerpc64 build Message-Id: <7505A64C-ADB8-4422-A5D1-A6EA3760CDD1@yahoo.com> Date: Wed, 23 May 2018 23:21:24 -0700 Cc: Eitan Adler To: mmacy@FreeBSD.org, FreeBSD PowerPC ML X-Mailer: Apple Mail (2.3445.6.18) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 May 2018 06:21:35 -0000 [Eitan: My FreeBSD list Email is now marklmi at yahoo.com and this is effectively a test sent from that Email with a list involved. Hopefully it will not be classified as spam.] https://ci.freebsd.org/job/FreeBSD-head-powerpc64-build/*/consoleText For -r334131 (*=3D5551): --- all_subdir_lib/libpmcstat --- cc1: warnings being treated as errors /usr/src/lib/libpmcstat/pmu-events/jevents.c:244: warning: missing = initializer /usr/src/lib/libpmcstat/pmu-events/jevents.c:244: warning: (near = initialization for 'unit_to_pmu[4].json') *** [pmu-events/jevents] Error code 1 make[5]: stopped in /usr/src/lib/libpmcstat 1 error Note: This appears to be for the source: 236 static struct map { 237 const char *json; 238 const char *perf; 239 } unit_to_pmu[] =3D { 240 { "CBO", "uncore_cbox" }, 241 { "QPI LL", "uncore_qpi" }, 242 { "SBO", "uncore_sbox" }, 243 { "iMPH-U", "uncore_arb" }, 244 {} 245 }; It appears to object to the {} use. For -r334130 (*=3D5550): --- all_subdir_usr.sbin/pmcstat --- cc1: warnings being treated as errors /usr/src/usr.sbin/pmcstat/pmcstat.c: In function 'main': /usr/src/usr.sbin/pmcstat/pmcstat.c:655: warning: signed and unsigned = type in conditional expression (Apparently -r334131 fixed this but exposed the earlier.) For -r334129 (*=3D5549) (which really was removing "options NUMA" for = amd64, so earlier -r334???): /usr/src/lib/libpmcstat/libpmcstat_pmu_util.c:127: error: conflicting = types for 'pmcstat_pmu_sample_rate_get' /usr/src/lib/libpmcstat/libpmcstat.h:385: error: previous declaration of = 'pmcstat_pmu_sample_rate_get' was here (Apparently -r334130 fixed this but exposed the earlier.) Note: -r334126 (*=3D5548) built fine on ci.freebsd.org . =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Thu May 24 15:46:46 2018 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7ABD2EF57F5 for ; Thu, 24 May 2018 15:46:46 +0000 (UTC) (envelope-from from@mailer.igoe.ie) Received: from emx1.mmunic.email (emx1.mmunic.email [87.127.240.218]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 090AF737CC for ; Thu, 24 May 2018 15:46:45 +0000 (UTC) (envelope-from from@mailer.igoe.ie) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=dkim_1024; d=mailer.igoe.ie; h=Date:To:From:Reply-To:Subject:List-Unsubscribe:MIME-Version:Content-Type:Message-ID; i=from@mailer.igoe.ie; bh=V2ULRQXkPd3p7W1G3CtyEdkdSNM=; b=hpUYHCEyzlY72D8HbLvTiWug3S1pa7DX443pZzk8Q6DY8qmEEEAz7W9JvKms233F3XLshAOV706F 0PxfjVD1RJcI3wX4pYP5YHg9mNMnHBGsOcSJV37fpPZF2qvCKqtAPVF6pElECVoaM4bvVEHyGmpe oTW+dGLRhJwYKc5wnpM= Received: by emx1.mmunic.email id h0rf6c28o6kf for ; Thu, 24 May 2018 16:16:19 +0100 (envelope-from ) Date: Thu, 24 May 2018 16:14:40 +0100 To: "freebsd-ppc@FreeBSD.org" From: Igoe International Reply-To: Igoe International Subject: Opt-In to keep receiving our emails x-track-version: 4 x-track-source: instiller_mmunic x-track-spooler-id: 23326 x-track-spooler-split-id: 26260 x-track-spooler-segment-id: 41010 x-render: pmta-4-003 Feedback-ID: 23326-optin_to_keep_receiving_our_emails:igoe_international_:CAMPAIGN:mmunic x-track-contact-id: 5047086 MIME-Version: 1.0 Message-ID: <0.0.18B.943.1D3F3722AE7FCD8.0@emx1.mmunic.email> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 May 2018 15:46:46 -0000 Call us on:=C2=A0 353-1-830-2250 =C2=A0 Visit Our Website(http://clicks.igo= e.ie/email/S-26260@736074@Qd1ch3HPbjoXoXiMGMZQ2ZvNh_MwMhKylCjR3u06iws.@)=0A= =0A=0A=0A=0AThe law on data protection is changing from 25 May 2018.=0A=0AW= e will never bombard you with useless emails. However, we would like to kee= p you informed on relevant new products, applications and construction and = property maintenance projects. So please do not miss this opportunity to re= ceive our future communications. If you want to receive information from us= in the future all you need to do is...=C2=A0=0A=0AClick the link to give y= our consent, please click the link below.=0A=0A=C2=A0 Please Opt Me in to k= eep receiving your emails(http://clicks.igoe.ie/email/S-26260@736075@Qd1ch3= HPbjoXoXiMGMZQ2ZvNh_MwMhKylCjR3u06iws.@)=0A=0A=0AView this email online her= e=C2=A0 | If you no longer wish to receive our newsletter=C2=A0you can unsu= bscribe by=0AClicking Here(http://clicks.igoe.ie/profile/S-26260@Qd1ch3HPbj= oXoXiMGMZQ2ZvNh_MwMhKylCjR3u06iws.@1)| Please add=C2=A0from@mailer.igoe.ie= =C2=A0to your address book.=0A=0A=0A=0A=0A135 Slaney Road, Dublin Industria= l Estate, Glasnevin, Dublin D11 AW6D | Tel: 353-1-3830-2250 From owner-freebsd-ppc@freebsd.org Thu May 24 20:55:34 2018 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 74C3FEFDF84 for ; Thu, 24 May 2018 20:55:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1C67383A53 for ; Thu, 24 May 2018 20:55:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 149B813185; Thu, 24 May 2018 20:55:34 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 0A3E213184 for ; Thu, 24 May 2018 20:55:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D1F1B83A51 for ; Thu, 24 May 2018 20:55:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 1650FE4DE for ; Thu, 24 May 2018 20:55:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w4OKtWl8051915 for ; Thu, 24 May 2018 20:55:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w4OKtWBF051913 for powerpc@FreeBSD.org; Thu, 24 May 2018 20:55:32 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 225182] devel/powerpc64-xtoolchain-gcc: SLOF Data Storage Exception on boot with kernel built with devel/powerpc64-xtoolchain-gcc Date: Thu, 24 May 2018 20:55:33 +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: kennethsalerno@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bapt@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.26 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 May 2018 20:55:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225182 --- Comment #27 from Kenneth Salerno --- This issue is fixed in 11.2-BETA2 (I was able to boot a kernel built with lang/gcc7 cross-compiled amd64->ppc64, only after installing the new boot loader for 11.2). You may close this ticket. Using default console: /vdevice/vty@71000000 Welcome to Open Firmware Copyright (c) 2004, 2017 IBM Corporation All rights reserved. This program and the accompanying materials are made available under the terms of the BSD License available at http://www.opensource.org/licenses/bsd-license.php Trying to load: from: /vdevice/v-scsi@71000002/disk@8000000000000000 ...= =20=20 Successfully loaded >> FreeBSD/powerpc Open Firmware boot block Boot path: /vdevice/v-scsi@71000002/disk@8000000000000000 Boot loader: /boot/loader Boot volume: /vdevice/v-scsi@71000002/disk@8000000000000000:2 Consoles: Open Firmware console FreeBSD/powerpc64 Open Firmware loader, Revision 0.1 (Wed May 23 18:20:01 EDT 2018 root@freebsd-amd64.kpsalerno.us.ibm.com) Memory: 4194304KB Booted from: /vdevice/v-scsi@71000002/disk@8000000000000000 Loading /boot/defaults/loader.conf /boot/kernel/kernel data=3D0x592198+0x2e4db0 syms=3D[0x8+0x8aeb8+0x8+0x456d= 5] /boot/entropy size=3D0x1000 /boot/kernel/geom_label.ko text=3D0x8038 data=3D0x11a8+0x8 syms=3D[0x8+0x1260+0x8+0xbc1] /boot/kernel/ufs.ko text=3D0x4a8b0 data=3D0x5218+0x218 syms=3D[0x8+0x62b8+0= x8+0x2f35] /boot/kernel/mem.ko text=3D0x2260 data=3D0x578+0x30 syms=3D[0x8+0x9c0+0x8+0= x45e] /boot/kernel/if_em.ko text=3D0x86c30 data=3D0x6190+0x38 syms=3D[0x8+0xa458+0x8+0x5ddc] /boot/kernel/virtio.ko text=3D0x4b08 data=3D0xa18 syms=3D[0x8+0x1050+0x8+0x= 87a] /boot/kernel/if_vtnet.ko text=3D0xde68 data=3D0x1128+0x38 syms=3D[0x8+0x1d70+0x8+0x11c7] /boot/kernel/virtio_pci.ko text=3D0x6010 data=3D0x8d8+0x10 syms=3D[0x8+0x11b8+0x8+0xaf1] /boot/kernel/virtio_blk.ko text=3D0x5890 data=3D0x958+0x10 syms=3D[0x8+0x11b8+0x8+0xa9f] Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... Kernel entry at 0x100160 ... Copyright (c) 1992-2018 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 11.2-BETA2 #0 r334114: Wed May 23 18:38:20 EDT 2018 =20=20=20 root@freebsd-amd64.kpsalerno.us.ibm.com:/usr/obj/powerpc.powerpc64/usr/src/= sys/SALERNO powerpc gcc version 7.3.0 (FreeBSD Ports Collection for powerpc64) WARNING: Running on a broken hypervisor that does not support mandatory H_CLEAR_MOD and H_CLEAR_REF hypercalls. Performance will be suboptimal. cpu0: Unknown PowerPC CPU revision 0x1200, 1000.00 MHz cpu0: Features c4000000 real memory =3D 4249464832 (4052 MB) avail memory =3D 4091056128 (3901 MB) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0: dev=3D2c3c (BSP) cpu8: dev=3D2984 cpu16: dev=3D26cc cpu24: dev=3D2414 random: entropy device external interface ofwbus0: on nexus0 xicp0: on ofwbus0 vdevice0: on ofwbus0 vscsi0: irq 16781321 on vdevice0 vscsi0: Queue depth 22 commands uart0: irq 16781315 on vdevice0 pcib0: on ofwbus0 pci0: on pcib0 em0: port 0x40-0x7f mem 0x80000000-0x8001ffff irq 4100 at device 0.0 on pci0 em0: Ethernet address: 52:54:00:12:34:56 cpulist0: on ofwbus0 rtas0: on ofwbus0 rtas0: registered as a time-of-day clock, resolution 0.002000s Timecounter "timebase" frequency 512000000 Hz quality 0 Event timer "decrementer" frequency 512000000 Hz quality 1000 Timecounters tick every 1.000 msec cd0 at vscsi0 bus 0 scbus0 target 0 lun 8100 cd0: Removable CD-ROM SPC-3 SCSI device cd0: 150.000MB/s transfers cd0: 0MB (175 2048 byte sectors) da0 at vscsi0 bus 0 scbus0 target 0 lun 0 da0: Fixed Direct Access SPC-3 SCSI device da0: 150.000MB/s transfers da0: 10240MB (20971520 512 byte sectors) SMP: AP CPU #8 launched SMP: AP CPU #16 launched SMP: AP CPU #24 launched WARNING: Running on a broken hypervisor that does not support mandatory H_CLEAR_MOD and H_CLEAR_REF hypercalls. Performance will be suboptimal. Trying to mount root from ufs:/dev/label/rootfs [rw,noatime,async]... random: unblocking device. Starting file system checks: /dev/label/rootfs: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/label/rootfs: clean, 775575 free (7223 frags, 96044 blocks, 0.3% fragmentation) Setting hostuuid: bf9c298c-034d-11e8-87d6-31103780d945. Setting hostid: 0xaedd8091. Mounting local filesystems:. Setting hostname: freebsd-ppc64.kpsalerno.us.ibm.com. Setting up harvesting: [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,NET_ETHER,NET_TUN,MOUSE,KEYBOARD,ATTA= CH,CACHED Feeding entropy: . em0: link state changed to UP Starting Network: lo0 em0. lo0: flags=3D8049 metric 0 mtu 16384 options=3D600003 inet 127.0.0.1 netmask 0xff000000 groups: lo em0: flags=3D8843 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3D209b ether 52:54:00:12:34:56 hwaddr 52:54:00:12:34:56 inet 10.0.2.6 netmask 0xffffff00 broadcast 10.0.2.255 media: Ethernet autoselect (1000baseT ) status: active ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib Starting devd. add host 127.0.0.1: gateway lo0 fib 0: route already in table add net default: gateway 10.0.2.2 Creating and/or trimming log files. Starting syslogd. Clearing /tmp (X related). Updating motd:. Mounting late filesystems:. Performing sanity check on sshd configuration. Starting sshd. Starting cron. Starting background file system checks in 60 seconds. Thu May 24 16:52:44 EDT 2018 FreeBSD/powerpc (freebsd-ppc64.kpsalerno.us.ibm.com) (ttyu0) login: root Password: May 24 16:53:15 freebsd-ppc64 login: ROOT LOGIN (root) ON ttyu0 Last login: Thu May 24 16:49:04 on ttyu0 FreeBSD 11.2-BETA2 (SALERNO) #0 r334114: Wed May 23 18:38:20 EDT 2018 Welcome to FreeBSD! root@freebsd-ppc64# cc -v cc -v FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: powerpc64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin root@freebsd-ppc64# --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Thu May 24 21:11:23 2018 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A72D2EFE527 for ; Thu, 24 May 2018 21:11:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 51B308413F for ; Thu, 24 May 2018 21:11:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 4A7FA1340E; Thu, 24 May 2018 21:11:23 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 47DF31340D for ; Thu, 24 May 2018 21:11:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1B93B8413D for ; Thu, 24 May 2018 21:11:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 4D82CE680 for ; Thu, 24 May 2018 21:11:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w4OLBMXA045018 for ; Thu, 24 May 2018 21:11:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w4OLBMEW045010 for powerpc@FreeBSD.org; Thu, 24 May 2018 21:11:22 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 225182] devel/powerpc64-xtoolchain-gcc: SLOF Data Storage Exception on boot with kernel built with devel/powerpc64-xtoolchain-gcc Date: Thu, 24 May 2018 21:11:22 +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: kbowling@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bapt@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc 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.26 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 May 2018 21:11:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225182 Kevin Bowling changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kbowling@freebsd.org 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 Fri May 25 00:55:11 2018 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0A1AAF6F000 for ; Fri, 25 May 2018 00:55:11 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-22.consmr.mail.ne1.yahoo.com (sonic305-22.consmr.mail.ne1.yahoo.com [66.163.185.148]) (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 99FB76BF12 for ; Fri, 25 May 2018 00:55:10 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: ydkzpzcVM1nEH9JaJlLFmRXdAhPdA4CjcN9a4L_dqkAnOCm58zM2no0ozhDhdWU tQYePwh9eBuVVyGeP6Z.uRGg_qynDiuWLdJ_q5w1TJpu7MLRs9zZH.TfNaZnSSMoxKJaQ5wh3D3O hq4G521iuiyPsXvDldRGR4Gi2ELUZIPxY3a2OgghcIdlVgZQSLykVyPeOSIBOmstgc5G5Ntw8CLi PGNLPXXWLfDrICGQogtELI80UDN1.8DSXy5wifaBbwQHslX3.KCmXZIgzfpkwgaT_WWp5VOq..gg UASba3XXbqtyum.QIurd1fOMDQiY.mUauoATmzkn0nlDscjT9.mAxIsdhDi359gw3McBBLgiNfM1 T7uLj8Ox5BbER.9CvnZtvJmUfW4Vu83c_IwHZGci5n3wAxzpac9aGXFk5VzIfrVKOAxC9esaJlXY wcRa7lyG45mkQWba63_HO2sNpKo_MngDgSkF30uwmmBGd4cDjP4hVLj8RtfdeHSCnXr2BLVx5Iog hLTGY47qJZS9eb8P4QZRmkmvU8rYqUKsXaEOH6DXv0VUZRiphuvdFCd7x1qs9r8xL9lHBXZ0aHUI J31gjgqyfWbghNlhafGVn2qiWTaWy0b4xVO6ZHafz1j2cvDiE8wU8VKzB2WqMmILsJy6.duj3zY2 S8Bg5sqY7O_YiXnm_esbsQDGlFR8OZL_8.zp7vYxjRzV3HW7CvXW3SvLBcsKtRAujk8Rr4TiO_DS rxXaoPw6qVYz7X0FZ Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ne1.yahoo.com with HTTP; Fri, 25 May 2018 00:55:03 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.25]) ([76.115.7.162]) by smtp414.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID e91c023443fb1039fe809a43bbc9e87d; Fri, 25 May 2018 00:54:59 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: Re: head -r334128 broke the powerpc64 build From: Mark Millard In-Reply-To: <7505A64C-ADB8-4422-A5D1-A6EA3760CDD1@yahoo.com> Date: Thu, 24 May 2018 17:54:57 -0700 Cc: FreeBSD PowerPC ML Content-Transfer-Encoding: quoted-printable Message-Id: <88BE09DE-2801-41B4-8F7A-09B67C536AA6@yahoo.com> References: <7505A64C-ADB8-4422-A5D1-A6EA3760CDD1@yahoo.com> To: mmacy@FreeBSD.org X-Mailer: Apple Mail (2.3445.6.18) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2018 00:55:11 -0000 On 2018-May-23, at 11:21 PM, Mark Millard wrote: > [Eitan: . . . (not relevant, no longer CC'd)] >=20 >=20 > https://ci.freebsd.org/job/FreeBSD-head-powerpc64-build/*/consoleText >=20 > For -r334131 (*=3D5551): >=20 > --- all_subdir_lib/libpmcstat --- > cc1: warnings being treated as errors > /usr/src/lib/libpmcstat/pmu-events/jevents.c:244: warning: missing = initializer > /usr/src/lib/libpmcstat/pmu-events/jevents.c:244: warning: (near = initialization for 'unit_to_pmu[4].json') > *** [pmu-events/jevents] Error code 1 >=20 > make[5]: stopped in /usr/src/lib/libpmcstat > 1 error >=20 > Note: This appears to be for the source: >=20 > 236 static struct map { > 237 const char *json; > 238 const char *perf; > 239 } unit_to_pmu[] =3D { > 240 { "CBO", "uncore_cbox" }, > 241 { "QPI LL", "uncore_qpi" }, > 242 { "SBO", "uncore_sbox" }, > 243 { "iMPH-U", "uncore_arb" }, > 244 {} > 245 }; >=20 > It appears to object to the {} use. >=20 I looked up C99 in BS ISO/IEC 9899:1999 (with TC1) and initializer-list always has at least one initializer and the {}'s always contain an initializer list. So the rejection of {} looks correct to me. Syntax: initializer: assignment-expression { initializer-list } { initializer-list , } initializer-list: designation_opt initializer initializer-list , designation_opt initializer So the build issue will likely return if/when -r334186 is reverted. 244 would probably have something like { NULL, NULL } =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Sat May 26 22:31:14 2018 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4AF92EF9802 for ; Sat, 26 May 2018 22:31:14 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BABED83E14 for ; Sat, 26 May 2018 22:31:13 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-wm0-x232.google.com with SMTP id q4-v6so18569897wmq.1 for ; Sat, 26 May 2018 15:31:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to; bh=8VQrVwRxByAWfLIfDdC6ApnEmexJi1Mgoyhm3oDwiaA=; b=i7HtX//CzfiLmskhvWnL+yUYjnAPHyTL7EKu5lnHmhcXjLkzg99FfF+bqyecXallCI 4ASYqRPQ8Fpj4D/LNn5GHGYPM9jBssMNNS7p1HrTBqxO14M0Qqkbr6eNT947DenKFWg+ vsVmxUu8gaC1JmwEWioFc7phy7dMJQgYlJVhSPlQ32lJnPUo27VmKCL2HYV58xRuGntM F7zuAM1S+EXdgISW2vrmHA+c+GVieTEGrIA8vUNXglcSMRYV49B0eSQiMG4iWRuhgi+t PFj+/UT29lI1GRFHtkvlH2AGW9m/Z3uCvXnABUGqfIIaKZgj6dAQAJu9gAtIq/f5+J95 +c+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=8VQrVwRxByAWfLIfDdC6ApnEmexJi1Mgoyhm3oDwiaA=; b=lZ+P4gVdiFmV6z3Jdya1oJmyQQGXtdqLaSlGSP1eCsHGz5InEoNSANJ7W7RU6zx1rs NTRK34+9RqY/BNnBQNDS55ORdJHF4b0U5w0SRn55CHUJXwffycGYjr+ghEzZYz1+D++y DWx1S6+NEaes3LS/SU4hDEb6Rl1ArRrwwr56ZpD6JNVqjXKXeVCHE2f9kaZKgmx7tRIM SkCRcl3Cd01Vg6N50hPp4SDu0C54kfbbiIbr2BPq3JSCR/iXTIPj9YmmpUy6Q+dRmE0/ szadp1S+6HSmxR6oLVXIJcgVZOPc4ID0IiVhBkJuCysjCq3G+ZbLK5GO8/Rk8HyJ5rke DjVQ== X-Gm-Message-State: ALKqPwfZ51FyfLcmXhLRQQsj8jaU1OwX0ixDcn1tSGRaHnyOz4VnFfmE wSuB7dzD5CwCKoBIIniQksZ0Ss2uS2Gw6ydNrlZjrw== X-Google-Smtp-Source: AB8JxZr2lReBJS60sS6E7PJCd6wK9aEAr30cM9QwnHK83QuLzj7OqBWtVlah8R/utYr9SD7+BBhyNb+QFrKwrv+a3R0= X-Received: by 2002:a2e:42d2:: with SMTP id h79-v6mr4922172ljf.26.1527373872301; Sat, 26 May 2018 15:31:12 -0700 (PDT) MIME-Version: 1.0 Sender: chmeeedalf@gmail.com Received: by 10.46.58.19 with HTTP; Sat, 26 May 2018 15:31:11 -0700 (PDT) From: Justin Hibbits Date: Sat, 26 May 2018 17:31:11 -0500 X-Google-Sender-Auth: JZLBhkJ8zd9xY1pByOfL7ObJ5L4 Message-ID: Subject: FreeBSD POWER9 status To: FreeBSD PowerPC ML Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 May 2018 22:31:14 -0000 Hello fellow PowerPC'ers, Over the last 4 weeks I've been working on the FreeBSD port to POWER9, 3 weeks of which were on my physical hardware (Raptor Talos II). As of last night, FreeBSD can boot to multiuser mode, with the addition of two patches not yet committed for enabling PCI, and I plan to commit those in the next few days. The patches can be found at: https://reviews.freebsd.org/D15461 https://reviews.freebsd.org/D15566 What works (with patches): * Boots to a USB stick * OPAL sensors for temperature, voltage, power, etc * OPAL IPMI (tested only for attachment) * Interrupts via XIVE XICS emulation * Everything already done for powernv by Semihalf (NVMe, OPAL UART) What's left: * No display via AST2500 BMC VGA * All threads currently spin-idle, rather than halting for idle, this wastes CPU cycles, and reduces performance for other threads. I hope to get this fixed in the next few days. * Power management and cpufreq * hwpmc * Performance optimizations as we find them * Full PCI handling. There are a lot of capabilities not currently handled. * Interrupts via XIVE exploitation. This should improve stability and performance of the XIVE controller. Special thanks to our newest committers, Leandro Lupori and Breno Leitao, for their help with the bring-up. Special thanks also to Benjamin Herrenschmidt from IBM for providing the key insights to fixing PCI and interrupts. - Justin