From owner-freebsd-current@freebsd.org Sun Dec 15 19:41:46 2019 Return-Path: Delivered-To: freebsd-current@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 6AFA41CCA72 for ; Sun, 15 Dec 2019 19:41:46 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (enterprise.ximalas.info [IPv6:2001:700:1100:1::8]) (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 "ximalas.info", Issuer "Hostmaster ximalas.info" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47bZXm6384z3Mj7; Sun, 15 Dec 2019 19:41:44 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (Ximalas@localhost [127.0.0.1]) by enterprise.ximalas.info (8.15.2/8.15.2) with ESMTPS id xBFJfblt050553 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sun, 15 Dec 2019 20:41:37 +0100 (CET) (envelope-from trond.endrestol@ximalas.info) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ximalas.info; s=default; t=1576438897; bh=fFoUL3MJGT5Jk5Q1nPLD4ml3q9DmXfWBUfD+MhSe9I8=; h=Date:From:To:cc:Subject; b=btXFecMrnatjAkT6lyQeG2pfExUhSWCNEx5lqB0IU59kgTr+T/kXls+E9vlN12Vcw up0JvaV14tl1MbeRbpd7y3vGA3Sl7tYl7qRmm5WUN+zynD38SfMdbr+2GrMWqZuBWu g5VqOsKFRr0V/UvTRyxBb5QzRR8iyCXaFfw4lNX1hCFUdobLYMxT3GuNzPWoGW9AuZ pdMkWD/CSfmwobCKNCCyGUVn6aITxZcsC4/+gU31RgInE+5IUbxJltUoChgNQ+UfHs mrizvBuOgy+wd/aKlCooqwmgOzorhubmFP7n2xunpAFQGiJCsUIAU/9Za5s2+vDZxs +KCsctE0fZIsg== Received: from localhost (trond@localhost) by enterprise.ximalas.info (8.15.2/8.15.2/Submit) with ESMTP id xBFJfbCN050550; Sun, 15 Dec 2019 20:41:37 +0100 (CET) (envelope-from trond.endrestol@ximalas.info) X-Authentication-Warning: enterprise.ximalas.info: trond owned process doing -bs Date: Sun, 15 Dec 2019 20:41:37 +0100 (CET) From: =?UTF-8?Q?Trond_Endrest=C3=B8l?= Sender: Trond.Endrestol@ximalas.info To: freebsd-current@freebsd.org cc: tsoome@freebsd.org Subject: UEFI and loader.efi in base/head past r355103 Message-ID: User-Agent: Alpine 2.21.99999 (BSF 352 2019-06-22) OpenPGP: url=http://ximalas.info/about/tronds-openpgp-public-key MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on enterprise.ximalas.info X-Rspamd-Queue-Id: 47bZXm6384z3Mj7 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ximalas.info header.s=default header.b=btXFecMr; dmarc=pass (policy=none) header.from=ximalas.info; spf=pass (mx1.freebsd.org: domain of trond.endrestol@ximalas.info designates 2001:700:1100:1::8 as permitted sender) smtp.mailfrom=trond.endrestol@ximalas.info X-Spamd-Result: default: False [-4.93 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[ximalas.info:s=default]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; HAS_XAW(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[ximalas.info:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[ximalas.info,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:224, ipnet:2001:700::/32, country:NO]; IP_SCORE(-1.93)[ip: (-7.76), ipnet: 2001:700::/32(-1.19), asn: 224(-0.69), country: NO(-0.01)] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Dec 2019 19:41:46 -0000 I updated the loeader.efi stored in the ESP of my laptop, Lenovo ThinkPad E590T (20NB), running boot firmware 1.22, as I wanted to try out base/head r355441. As soon as I press a button, say 2 or 3, the loader freezes. Ctrl+Alt+Delete is being recognized. I have tried loader.efi from the latest official current snapshot, 20191212, r355634, only to get the same result. Luckily, I had the wisdom of keeping the previous loeader.efi on hand. I have since expanded this to include an extra copy of the last known good loader, which will be updated less frequently. loader.efi from r355103 are not affected and is the one I use today. Any of these commits could be the culprit: r355617, r355441, r355392, r355347, r355308, r355168, r355167, or, 355132. r355347 is a good candidate as it affects the reading of keystrokes. I have therefore CC-ed tsoome@. In the meantime, I'll revert to r355346 and try that loader.efi. -- Trond. From owner-freebsd-current@freebsd.org Sun Dec 15 22:45:40 2019 Return-Path: Delivered-To: freebsd-current@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 64AC51D13D5 for ; Sun, 15 Dec 2019 22:45:40 +0000 (UTC) (envelope-from salvadore@FreeBSD.org) Received: from MailHost (unknown [80.211.33.142]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47bfd00Chkz43V7 for ; Sun, 15 Dec 2019 22:45:39 +0000 (UTC) (envelope-from salvadore@FreeBSD.org) Received: from root (uid 0) (envelope-from salvadore@FreeBSD.org) id 25e1 by MailHost (DragonFly Mail Agent v0.11+); Sun, 15 Dec 2019 23:44:07 +0100 To: freebsd-current@FreeBSD.org Subject: [2 WEEKS LEFT REMINDER] Call for 2019Q4 quarterly status reports Date: Sun, 15 Dec 2019 23:44:07 +0100 Message-Id: <5df6b737.25e1.41880e0f@MailHost> From: X-Rspamd-Queue-Id: 47bfd00Chkz43V7 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.99 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; NEURAL_HAM_LONG(-0.99)[-0.991,0]; ASN(0.00)[asn:31034, ipnet:80.211.0.0/17, country:IT] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Dec 2019 22:45:40 -0000 Dear FreeBSD Community, The deadline for the next FreeBSD Quarterly Status update is January 1, 2020, for work done since the last round of Quarterly Reports: October, 2019 - December, 2019. Starting with this quarter, reports will be collected during the last month of every quarter (instead of the first month of the next quarter, as was previously the case). Status report submissions do not need to be very long. They may be about anything happening in the FreeBSD project and community, and provide a great way to inform FreeBSD users and developers about work that is underway or has been completed. Report submissions are not limited to committers; anyone doing anything interesting and FreeBSD related can -- and should -- write one! The preferred method is to follow the guidelines at the Quarterly GitHub repository: https://github.com/freebsd/freebsd-quarterly Alternatively you can fetch the Markdown template, fill it in, and email it to quarterly@FreeBSD.org. The template can be found at: https://raw.githubusercontent.com/freebsd/freebsd-quarterly/master/report-sample.md We look forward to seeing your 2019Q4 reports! Thanks, Lorenzo Salvadore (on behalf of quarterly@) From owner-freebsd-current@freebsd.org Mon Dec 16 06:30:43 2019 Return-Path: Delivered-To: freebsd-current@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 BC60B1DA14F for ; Mon, 16 Dec 2019 06:30:43 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (enterprise.ximalas.info [IPv6:2001:700:1100:1::8]) (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 "ximalas.info", Issuer "Hostmaster ximalas.info" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47brxZ3LZCz4Pvw; Mon, 16 Dec 2019 06:30:42 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (Ximalas@localhost [127.0.0.1]) by enterprise.ximalas.info (8.15.2/8.15.2) with ESMTPS id xBG6UT0w024756 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 16 Dec 2019 07:30:29 +0100 (CET) (envelope-from trond.endrestol@ximalas.info) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ximalas.info; s=default; t=1576477829; bh=XYEOvLUKcBa9BaQiAhJaq9PgRW4+o5hbvxB6prcediA=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=FlYL4g6tStlSICbefsT3vOcGn7wfrZzqqk7KCENCbvn/O17eV8/EnTa3RlWSS8/QT UFO1d2y9/g/4m3nQZBJajD7KYFmYped/xwAaDE12oD3spKmbqHgUvK/YVW3KOTzofw nsflICXhKN2+QpHHQMTlEYdIX75wsSzjimX57zWhuAR3/oicofct6UWDO5PiII+8kv e7wn6p21GGSMoB/VoE1QSd30JJI20NvzjqIdRlzd4wl8CGsxxmyxpHCZoVqAbm6hOU RWI9qV0lIhPjK1GCPDnPkisRVybhjr29eSwX7ggPZUTlQKxpXFa266Z2Hi0kBE6hPj TS+qzNh1GPNcg== Received: from localhost (trond@localhost) by enterprise.ximalas.info (8.15.2/8.15.2/Submit) with ESMTP id xBG6UT76024342; Mon, 16 Dec 2019 07:30:29 +0100 (CET) (envelope-from trond.endrestol@ximalas.info) X-Authentication-Warning: enterprise.ximalas.info: trond owned process doing -bs Date: Mon, 16 Dec 2019 07:30:29 +0100 (CET) From: =?UTF-8?Q?Trond_Endrest=C3=B8l?= Sender: Trond.Endrestol@ximalas.info To: freebsd-current@freebsd.org cc: tsoome@freebsd.org Subject: Re: UEFI and loader.efi in base/head past r355103 In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21.99999 (BSF 352 2019-06-22) OpenPGP: url=http://ximalas.info/about/tronds-openpgp-public-key MIME-Version: 1.0 X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,DKIM_INVALID, DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.3 X-Spam-Checker-Version: SpamAssassin 3.4.3 (2019-12-06) on enterprise.ximalas.info X-Rspamd-Queue-Id: 47brxZ3LZCz4Pvw X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ximalas.info header.s=default header.b=FlYL4g6t; dmarc=pass (policy=none) header.from=ximalas.info; spf=pass (mx1.freebsd.org: domain of trond.endrestol@ximalas.info designates 2001:700:1100:1::8 as permitted sender) smtp.mailfrom=trond.endrestol@ximalas.info X-Spamd-Result: default: False [-3.91 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[ximalas.info:s=default]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[ximalas.info:+]; CTYPE_MIXED_BOGUS(1.00)[]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[ximalas.info,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:224, ipnet:2001:700::/32, country:NO]; IP_SCORE(-1.91)[ip: (-7.66), ipnet: 2001:700::/32(-1.18), asn: 224(-0.69), country: NO(-0.01)] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Dec 2019 06:30:43 -0000 On Sun, 15 Dec 2019 20:41+0100, Trond Endrestøl wrote: > I updated the loader.efi stored in the ESP of my laptop, Lenovo > ThinkPad E590T (20NB), running boot firmware 1.22, as I wanted to try > out base/head r355441. > > As soon as I press a button, say 2 or 3, the loader freezes. > Ctrl+Alt+Delete is being recognized. > r355347 is a good candidate as it affects the reading of keystrokes. > I have therefore CC-ed tsoome@. > > In the meantime, I'll revert to r355346 and try that loader.efi. loader_lua.efi from base/head r355346 is a good one, whereas r355347 introduces a bug/feature incompatible with Lenovo TP E590T (20NB) running boot firmware 1.22. Should I file a PR? -- Trond. From owner-freebsd-current@freebsd.org Mon Dec 16 08:27:39 2019 Return-Path: Delivered-To: freebsd-current@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 01D771DD991 for ; Mon, 16 Dec 2019 08:27:39 +0000 (UTC) (envelope-from tsoome@me.com) Received: from pv50p00im-hyfv10021501.me.com (pv50p00im-hyfv10021501.me.com [17.58.6.48]) (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 47bvXV0Wdrz4WVt for ; Mon, 16 Dec 2019 08:27:37 +0000 (UTC) (envelope-from tsoome@me.com) Received: from [192.168.150.41] (148-52-235-80.sta.estpak.ee [80.235.52.148]) by pv50p00im-hyfv10021501.me.com (Postfix) with ESMTPSA id 275A6B40993; Mon, 16 Dec 2019 08:27:34 +0000 (UTC) From: Toomas Soome Message-Id: Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: UEFI and loader.efi in base/head past r355103 Date: Mon, 16 Dec 2019 10:27:32 +0200 In-Reply-To: Cc: freebsd-current To: =?utf-8?Q?Trond_Endrest=C3=B8l?= References: X-Mailer: Apple Mail (2.3608.40.2.2.4) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-12-16_01:, , signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=3 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 mlxlogscore=937 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1912160076 X-Rspamd-Queue-Id: 47bvXV0Wdrz4WVt X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.60 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:17.58.0.0/16]; FREEMAIL_FROM(0.00)[me.com]; MV_CASE(0.50)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[me.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[me.com,quarantine]; RECEIVED_SPAMHAUS_PBL(0.00)[148.52.235.80.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; RCVD_IN_DNSWL_LOW(-0.10)[48.6.58.17.list.dnswl.org : 127.0.5.1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:714, ipnet:17.58.0.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[me.com]; R_DKIM_ALLOW(-0.20)[me.com:s=1a1hai]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; IP_SCORE(0.00)[ip: (-2.43), ipnet: 17.58.0.0/20(-1.95), asn: 714(-2.21), country: US(-0.05)]; IP_SCORE_FREEMAIL(0.00)[]; DWL_DNSWL_LOW(-1.00)[me.com.dwl.dnswl.org : 127.0.5.1]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Dec 2019 08:27:39 -0000 > On 16. Dec 2019, at 08:30, Trond Endrest=C3=B8l = wrote: >=20 > On Sun, 15 Dec 2019 20:41+0100, Trond Endrest=C3=B8l wrote: >=20 >> I updated the loader.efi stored in the ESP of my laptop, Lenovo=20 >> ThinkPad E590T (20NB), running boot firmware 1.22, as I wanted to try=20= >> out base/head r355441. >>=20 >> As soon as I press a button, say 2 or 3, the loader freezes.=20 >> Ctrl+Alt+Delete is being recognized. >=20 >> r355347 is a good candidate as it affects the reading of keystrokes. >> I have therefore CC-ed tsoome@. >>=20 >> In the meantime, I'll revert to r355346 and try that loader.efi. >=20 > loader_lua.efi from base/head r355346 is a good one, whereas r355347=20= > introduces a bug/feature incompatible with Lenovo TP E590T (20NB)=20 > running boot firmware 1.22. >=20 > Should I file a PR? >=20 definitely.=20 Also make sure you do have updated firmware. r355347 by itself does not really look like it should cause infinite = loop on normal input, but there we would need to check what we do get = from keypress and then we will see. Unfortunately I do not have hw to check, so we would need to use your = help to check what is really happening there. Please poke me directly if you need help about constructing the printf() = statements to extract the information. thanks, toomas= From owner-freebsd-current@freebsd.org Mon Dec 16 08:49:40 2019 Return-Path: Delivered-To: freebsd-current@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 63A6B1DE17C for ; Mon, 16 Dec 2019 08:49:40 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (enterprise.ximalas.info [IPv6:2001:700:1100:1::8]) (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 "ximalas.info", Issuer "Hostmaster ximalas.info" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47bw1v3TL0z4XZS for ; Mon, 16 Dec 2019 08:49:38 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (Ximalas@localhost [127.0.0.1]) by enterprise.ximalas.info (8.15.2/8.15.2) with ESMTPS id xBG8nV0c003800 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 16 Dec 2019 09:49:31 +0100 (CET) (envelope-from trond.endrestol@ximalas.info) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ximalas.info; s=default; t=1576486171; bh=2YiCZ9cqzq2DQlCcYOM3/hfNynspdE2VhUf0HXkJFyM=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=TXoI25+1nRVeE2ovpD9dULlKffuWlNt2m/xBXtSxVJZHHazAbQN/j6DMcESXPqYuL ASBs3HPrnD0sUSqo+XMq28C7E492JBqpKq+LyWUITbBoqWbfaqdf8b9+xXPv3AsuRt quXNxq1uRTgWlyGolCljZa7mXnZgHOkN/o9KaRZ5/mUIYWqYNnB8t9rDNO/sqqT2jy OmgzOyh1mJMDztpd9VT7WPazJO8P1I7sBJGhuYXRgfle2KwYUyFykDAWHsCGt/rXk8 VsnzZQ5iTfJJYmm6MtigbQ8E8Lackxb+WzetDRHpx2ZGF14pnv1ieZSZ75HTjltKLM yNLYV8pZHJCyA== Received: from localhost (trond@localhost) by enterprise.ximalas.info (8.15.2/8.15.2/Submit) with ESMTP id xBG8nVaY003797; Mon, 16 Dec 2019 09:49:31 +0100 (CET) (envelope-from trond.endrestol@ximalas.info) X-Authentication-Warning: enterprise.ximalas.info: trond owned process doing -bs Date: Mon, 16 Dec 2019 09:49:31 +0100 (CET) From: =?UTF-8?Q?Trond_Endrest=C3=B8l?= Sender: Trond.Endrestol@ximalas.info To: freebsd-current cc: Toomas Soome Subject: Re: UEFI and loader.efi in base/head past r355103 In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21.99999 (BSF 352 2019-06-22) OpenPGP: url=http://ximalas.info/about/tronds-openpgp-public-key MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=0.6 required=5.0 tests=ALL_TRUSTED,DKIM_INVALID, DKIM_SIGNED,PDS_TONAME_EQ_TOLOCAL_HDRS_LCASE autolearn=no autolearn_force=no version=3.4.3 X-Spam-Checker-Version: SpamAssassin 3.4.3 (2019-12-06) on enterprise.ximalas.info X-Rspamd-Queue-Id: 47bw1v3TL0z4XZS X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ximalas.info header.s=default header.b=TXoI25+1; dmarc=pass (policy=none) header.from=ximalas.info; spf=pass (mx1.freebsd.org: domain of trond.endrestol@ximalas.info designates 2001:700:1100:1::8 as permitted sender) smtp.mailfrom=trond.endrestol@ximalas.info X-Spamd-Result: default: False [-4.96 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[ximalas.info:s=default]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[ximalas.info:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[ximalas.info,none]; IP_SCORE(-1.96)[ip: (-7.82), ipnet: 2001:700::/32(-1.24), asn: 224(-0.71), country: NO(-0.01)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:224, ipnet:2001:700::/32, country:NO]; FREEMAIL_CC(0.00)[me.com] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Dec 2019 08:49:40 -0000 On Mon, 16 Dec 2019 10:27+0200, Toomas Soome wrote: > Also make sure you do have updated firmware. 1.22 is the latest one. > r355347 by itself does not really look like it should cause infinite loop on normal input, but there we would need to check what we do get from keypress and then we will see. > > Unfortunately I do not have hw to check, so we would need to use your help to check what is really happening there. > Please poke me directly if you need help about constructing the printf() statements to extract the information. See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242660 -- Trond. From owner-freebsd-current@freebsd.org Mon Dec 16 18:53:54 2019 Return-Path: Delivered-To: freebsd-current@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 4CC8E1CBE60; Mon, 16 Dec 2019 18:53:54 +0000 (UTC) (envelope-from lwhsu@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 47c9R61M0Wz4CB9; Mon, 16 Dec 2019 18:53:54 +0000 (UTC) (envelope-from lwhsu@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1129) id 2780E12F1D; Mon, 16 Dec 2019 18:53:54 +0000 (UTC) Date: Mon, 16 Dec 2019 18:53:54 +0000 From: Li-Wen Hsu To: freebsd-testing@freebsd.org Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: FreeBSD CI Weekly Report 2019-12-15 Message-ID: <20191216185354.GA25613@freefall.freebsd.org> Reply-To: freebsd-testing@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.11.4 (2019-03-13) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Dec 2019 18:53:54 -0000 (Please send the followup to freebsd-testing@ and note Reply-To is set.) FreeBSD CI Weekly Report 2019-12-15 =================================== Here is a summary of the FreeBSD Continuous Integration results for the period from 2019-12-09 to 2019-12-15. During this period, we have: * 2566 builds (96.3% (+1.3) passed, 3.7% (-1.3) failed) of buildworld and buildkernel (GENERIC and LINT) were executed on aarch64, amd64, armv6, armv7, i386, mips, mips64, powerpc, powerpc64, powerpcspe, riscv64, sparc64 architectures for head, stable/12, stable/11 branches. * 400 test runs (96.4% (-1.6) passed, 1.8% (+0.1) unstable, 1.8% (+1.5) exception) were executed on amd64, i386, riscv64 architectures for head, stable/12, stable/11 branches. * 43 doc builds (93% (-7) passed, 7% (+7) failed) Test case status (on 2019-12-15 23:59): | Branch/Architecture | Total | Pass | Fail | Skipped | | ------------------- | --------- | --------- | ----- | ------- | | head/amd64 | 7635 (+3) | 7566 (+3) | 0 (0) | 69 (0) | | head/i386 | 7633 (+3) | 7560 (+3) | 0 (0) | 73 (0) | | 12-STABLE/amd64 | 7488 (0) | 7440 (+3) | 0 (0) | 48 (-3) | | 12-STABLE/i386 | 7486 (0) | 7428 (0) | 0 (0) | 58 (0) | | 11-STABLE/amd64 | 6858 (0) | 6811 (0) | 0 (0) | 47 (0) | | 11-STABLE/i386 | 6856 (0) | 6807 (+3) | 0 (0) | 49 (-3) | (The statistics from experimental jobs are omitted) If any of the issues found by CI are in your area of interest or expertise please investigate the PRs listed below. The latest web version of this report is available at https://hackmd.io/@FreeBSD-CI/report-20191215 and archive is available at https://hackmd.io/@FreeBSD-CI/ , any help is welcome. ## News * Experimental "Hardware test lab" result is available at: https://ci.freebsd.org/hwlab/ , more hardware support is welcomed! ## Failing and Flaky Tests (from experimental jobs) * https://ci.freebsd.org/job/FreeBSD-head-amd64-dtrace_test/ * cddl.usr.sbin.dtrace.common.misc.t_dtrace_contrib.tst_dynopt_d * https://bugs.freebsd.org/237641 * https://ci.freebsd.org/job/FreeBSD-head-amd64-test_zfs/ * There are ~13 failing and ~109 skipped cases, including flakey ones, see https://ci.freebsd.org/job/FreeBSD-head-amd64-test_zfs/lastCompletedBuild/testReport/ for more details * Work for cleaning these failing cass are in progress ## Disabled Tests * sys.fs.tmpfs.mount_test.large https://bugs.freebsd.org/212862 * sys.fs.tmpfs.link_test.kqueue https://bugs.freebsd.org/213662 * sys.kqueue.libkqueue.kqueue_test.main https://bugs.freebsd.org/233586 * sys.kern.ptrace_test.ptrace__PT_KILL_competing_stop https://bugs.freebsd.org/220841 * lib.libc.regex.exhaust_test.regcomp_too_big (i386 only) https://bugs.freebsd.org/237450 * sys.netinet.socket_afinet.socket_afinet_bind_zero https://bugs.freebsd.org/238781 * sys.netpfil.pf.names.names * sys.netpfil.pf.synproxy.synproxy https://bugs.freebsd.org/238870 * sys.kern.ptrace_test.ptrace__follow_fork_child_detached_unrelated_debugger https://bugs.freebsd.org/239292 * sys.kern.ptrace_test.ptrace__follow_fork_both_attached_unrelated_debugger https://bugs.freebsd.org/239397 * sys.kern.ptrace_test.ptrace__parent_sees_exit_after_child_debugger https://bugs.freebsd.org/239399 * sys.kern.ptrace_test.ptrace__follow_fork_parent_detached_unrelated_debugger https://bugs.freebsd.org/239425 * lib.libc.gen.getmntinfo_test.getmntinfo_test https://bugs.freebsd.org/240049 * sys.sys.qmath_test.qdivq_s64q https://bugs.freebsd.org/240219 * sys.kern.ptrace_test.ptrace__getppid https://bugs.freebsd.org/240510 * lib.libc.sys.stat_test.stat_socket https://bugs.freebsd.org/240621 * lib.libarchive.functional_test.test_write_filter_zstd https://bugs.freebsd.org/240683 * lib.libcasper.services.cap_dns.dns_test.main https://bugs.freebsd.org/241435 * local.kyua.* (31 cases) & local.lutok.* (3 cases) on 11-i386 https://ci.freebsd.org/job/FreeBSD-stable-11-i386-test/2278/testReport/ ## Issues ### Cause build fails * https://bugs.freebsd.org/233735 Possible build race: genoffset.o /usr/src/sys/sys/types.h: error: machine/endian.h: No such file or directory * https://bugs.freebsd.org/233769 Possible build race: ld: error: unable to find library -lgcc_s ### Cause kernel panics * https://bugs.freebsd.org/238870 sys.netpfil.pf.names.names and sys.netpfil.pf.synproxy.synproxy cause panic Patch exists: * https://reviews.freebsd.org/D20868 * https://reviews.freebsd.org/D20869 ### Open * https://bugs.freebsd.org/237403 Tests in sys/opencrypto should be converted to Python3 * https://bugs.freebsd.org/237641 Flakey test case: common.misc.t_dtrace_contrib.tst_dynopt_d * https://bugs.freebsd.org/237656 "Freed UMA keg (rtentry) was not empty (18 items). Lost 1 pages of memory." seen when running sys/netipsec tests * https://bugs.freebsd.org/238781 sys.netinet.socket_afinet.socket_afinet_bind_zero does not work when mac_portacl(4) loaded * https://bugs.freebsd.org/239292 Flakey test case: sys.kern.ptrace_test.ptrace__follow_fork_child_detached_unrelated_debugger * https://bugs.freebsd.org/239397 Flakey test case: sys.kern.ptrace_test.ptrace__follow_fork_both_attached_unrelated_debugger * https://bugs.freebsd.org/239399 Flakey test case: sys.kern.ptrace_test.ptrace__parent_sees_exit_after_child_debugger * https://bugs.freebsd.org/239425 Flakey test case: sys.kern.ptrace_test.ptrace__follow_fork_parent_detached_unrelated_debugger * https://bugs.freebsd.org/241662 Flakey test case: lib.libarchive.functional_test.test_fuzz_iso9660 ### Others * [Tickets related to testing@](https://preview.tinyurl.com/y9maauwg) From owner-freebsd-current@freebsd.org Mon Dec 16 22:27:26 2019 Return-Path: Delivered-To: freebsd-current@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 DDFE81D0346 for ; Mon, 16 Dec 2019 22:27:26 +0000 (UTC) (envelope-from nomadlogic@gmail.com) Received: from mail-vk1-xa42.google.com (mail-vk1-xa42.google.com [IPv6:2607:f8b0:4864:20::a42]) (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 47cG9T6Tsqz4PXT for ; Mon, 16 Dec 2019 22:27:25 +0000 (UTC) (envelope-from nomadlogic@gmail.com) Received: by mail-vk1-xa42.google.com with SMTP id b129so1388920vka.4 for ; Mon, 16 Dec 2019 14:27:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=6gtXzHW1o3rU4F+AVHO1eAlZoAPiUklCUQ9IBS5h1jQ=; b=Qb8WMh9gYfn7Ub1EDL00JxDl5eBEr6rYXlDQ0YskXkSWhyj8k+WWjLl7bZ9iduTcNX DC/T255xg0FApiXxbGP4FWbIV1sqZxHQc4O3P0Pp7UPlBixOz0IeWsvk+2yzbnm150IK MCjO0MZ6laXML6g8EsV2Cq0tIBnXG2NCLpmYJ+5TXpOwkAX3JwgHmmr8RgPrCAmuQnKv fiOc0lyUUsFWV4Ka0vu95fUjsdStc/xrTx6k8mK1koLZdqIygyow3OwAMwQsC1o6Y/9N pumiMpL3XyzkQ23S8RHdS/D6yVvtfTUU4NhCarSOO6Uv/V2hVx22EXkVVTrhiRfTMZiX 5OsQ== 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=6gtXzHW1o3rU4F+AVHO1eAlZoAPiUklCUQ9IBS5h1jQ=; b=MqknWpejtiwwb1TcnabqJFQPIGlqSz4dcdOgbYgW3RorxrnkXncH8MRrg2tmjYY1g+ T0HRbR9vsq+E1ldmZ0ecfFQ/beuq5sB0x0RjW9KotAvpxN3cAt3d3rfNrcnOdD93B1mn II7g2++cYtwBEOkTZSr8gyn0t3IhvPcbO+flWJUBdK7suXeJ8d3ahzHoYm1siMjyHoFv rqyCywViN30VrovJ/CE35JKmy2mMqiPBcaE+Cxz+Uwu9ejsJLtprpposltTcDek2/60v wVjmajmLJ+VOK+/n223syMKWKMLZRFI5uq/hG/7OYpLhZ/2qqcNM7aZ6/iOflJUT2I7O eCew== X-Gm-Message-State: APjAAAXqkVwNvsiRq5JYT2elzYHSVWucyHP62rl4VlTW6/sMOkfjmYwW AbxJfqEpkDL97vA3PWQEr/IkJTj89cxaWfeY3jgcL5+0 X-Google-Smtp-Source: APXvYqx/tdiiYVTyJSeCL8M0zLUnpWf8mWM3Jta4FzhJjTmxbjOZjNLyXj3CldSz740Ls1BUm1sjZR9NZoylaplqX2o= X-Received: by 2002:ac5:c64c:: with SMTP id j12mr1045015vkl.11.1576535243763; Mon, 16 Dec 2019 14:27:23 -0800 (PST) MIME-Version: 1.0 From: pete wright Date: Mon, 16 Dec 2019 14:27:12 -0800 Message-ID: Subject: error building scsi_da.c with recent current To: freebsd-current@freebsd.org X-Rspamd-Queue-Id: 47cG9T6Tsqz4PXT X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Qb8WMh9g; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of nomadlogic@gmail.com designates 2607:f8b0:4864:20::a42 as permitted sender) smtp.mailfrom=nomadlogic@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; 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)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(0.00)[ip: (2.08), ipnet: 2607:f8b0::/32(-2.19), asn: 15169(-1.90), country: US(-0.05)]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2.4.a.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]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Dec 2019 22:27:26 -0000 here's the error i'm getting when building: /usr/home/pete/git/freebsd/sys/cam/scsi/scsi_da.c:1544:28: error: expected identifier SYSCTL_INT64(_kern_cam_da, OID_AUTO, default_max_delete, CTLFLAG_RWTUN, ^ /usr/home/pete/git/freebsd/sys/sys/sysctl.h:126:18: note: expanded from macro 'OID_AUTO' #define OID_AUTO (-1) ^ /usr/home/pete/git/freebsd/sys/cam/scsi/scsi_da.c:1544:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] SYSCTL_INT64(_kern_cam_da, OID_AUTO, default_max_delete, CTLFLAG_RWTUN, ^ /usr/home/pete/git/freebsd/sys/cam/scsi/scsi_da.c:1544:13: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] SYSCTL_INT64(_kern_cam_da, OID_AUTO, default_max_delete, CTLFLAG_RWTUN, ^ 3 errors generated. *** [scsi_da.o] Error code 1 might be this commit? commit 5fa79c6768be78d78815156f8ecf50cb2008233f (HEAD -> master, origin/master, origin/HEAD) Author: imp Date: Mon Dec 16 18:16:44 2019 +0000 Implement a system-wide limit or da and ada devices for delete. Excesively large TRIMs can result in timeouts, which cause big problems. Limit trims to 1GB to mititgate these issues. Reviewed by: scottl Differential Revision: https://reviews.freebsd.org/D22809 if there is any additional info needed happy to provide it. cheers, -pete -- pete wright www.nomadlogic.org @nomadlogicLA From owner-freebsd-current@freebsd.org Mon Dec 16 23:09:16 2019 Return-Path: Delivered-To: freebsd-current@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 769A31D0E60 for ; Mon, 16 Dec 2019 23:09:16 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qv1-xf44.google.com (mail-qv1-xf44.google.com [IPv6:2607:f8b0:4864:20::f44]) (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 47cH5l3Qdsz4RC9 for ; Mon, 16 Dec 2019 23:09:15 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qv1-xf44.google.com with SMTP id t6so3029491qvs.5 for ; Mon, 16 Dec 2019 15:09:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=62QQUcvdXL5Yh1eBWjRs2++BlVhhBwEQR8e5ul37cyY=; b=BIh+DFhGVyCtZ6h4AZR9IpdQFu/OjumNRe1cCR0pcqZ3B6bVtiaJydpi8gQSLfnAwm VUXWf2TfNme6VQkR+5pmpgW1QEdZMf7iwcjDhu52DG0Z+EpfuYRtMC0anOrlu+4L8Iox GOwgkj+HlJRxKXd2beiJrfzzTglA/AnMTt63Mx2mMEGSk3kJzAF2T6N8s1SqL9V1UmVf nTHAtg7y70d18BkSNMV2ZZ58PPGy5YyWreKHJ9P4s7xsfF1euyZYzRP3jPX2E0ORW7Jw a8PNWoTyC209SKAwmlma556NbBAt/a1dCMUqUgE3lq6aEdFGdAHvPL3wsYmfEirUri3m JIMA== 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=62QQUcvdXL5Yh1eBWjRs2++BlVhhBwEQR8e5ul37cyY=; b=bwRPUUAqBemV+Xyvg+AlUCK3rLzV+401UWp16HZze3M2wUZAeoCH/3m4W2+tbfGeQ5 gRjanBRJ8J/B4dMRgwRr3bPFW+AkvbupUYFmfDUg4RcRxKUOqQlblteJ9voZ7b1GKryg 5TyJRWcTZphNBQGfuwyHrpTW10GXo9zddyFaEKIJx63NXTBmgbMT8BQgF5h6LgllEdjI je53X/rqda3QGaieioOzYDcW5DZA9NPpuyH0e/2wyLCcWzWWut9cG5xUeJ2vSqAu3oAs qlY0v+GPMORtL/XCa5VzBLWZMGjqKcpWtfzmU5n8e6dvYR/9rB++vgKKJY++QZwA+atF uVKw== X-Gm-Message-State: APjAAAVcyMgpSRWhGvpqyKBgwLRW2MxDSw8JEELPDQFl4R5ehzx+3p6q UP9vEq+bx0Ua/wRTv8jUh5fVPOLsMYiEocKCCEAQMMGJA0CzLA== X-Google-Smtp-Source: APXvYqwWR8YSodrzsgsln3ywvdUyJ9Lp/rMcUny9G1ickRDFG4AKWeI8jkWc/cOeI69NHVYgmWsYEPp0stdlFGX40Dw= X-Received: by 2002:a0c:e74d:: with SMTP id g13mr1897652qvn.125.1576537749181; Mon, 16 Dec 2019 15:09:09 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Mon, 16 Dec 2019 16:08:56 -0700 Message-ID: Subject: Re: error building scsi_da.c with recent current To: pete wright Cc: FreeBSD Current X-Rspamd-Queue-Id: 47cH5l3Qdsz4RC9 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=BIh+DFhG; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::f44) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-1.77 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; URI_COUNT_ODD(1.00)[9]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; FREEMAIL_TO(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-0.78)[ip: (0.27), ipnet: 2607:f8b0::/32(-2.19), asn: 15169(-1.90), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.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-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Dec 2019 23:09:16 -0000 Update. That version was in place for about an hour before I fixed it. r355815 broke it and r355818 fixed it. Warner On Mon, Dec 16, 2019 at 3:27 PM pete wright wrote: > here's the error i'm getting when building: > /usr/home/pete/git/freebsd/sys/cam/scsi/scsi_da.c:1544:28: error: expected > identifier > SYSCTL_INT64(_kern_cam_da, OID_AUTO, default_max_delete, CTLFLAG_RWTUN, > ^ > /usr/home/pete/git/freebsd/sys/sys/sysctl.h:126:18: note: expanded from > macro 'OID_AUTO' > #define OID_AUTO (-1) > ^ > /usr/home/pete/git/freebsd/sys/cam/scsi/scsi_da.c:1544:1: error: type > specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] > SYSCTL_INT64(_kern_cam_da, OID_AUTO, default_max_delete, CTLFLAG_RWTUN, > ^ > /usr/home/pete/git/freebsd/sys/cam/scsi/scsi_da.c:1544:13: error: this > function declaration is not a prototype [-Werror,-Wstrict-prototypes] > SYSCTL_INT64(_kern_cam_da, OID_AUTO, default_max_delete, CTLFLAG_RWTUN, > ^ > 3 errors generated. > *** [scsi_da.o] Error code 1 > > > > might be this commit? > commit 5fa79c6768be78d78815156f8ecf50cb2008233f (HEAD -> master, > origin/master, origin/HEAD) > Author: imp > Date: Mon Dec 16 18:16:44 2019 +0000 > > Implement a system-wide limit or da and ada devices for delete. > > Excesively large TRIMs can result in timeouts, which cause big > problems. Limit trims to 1GB to mititgate these issues. > > Reviewed by: scottl > Differential Revision: https://reviews.freebsd.org/D22809 > > > > if there is any additional info needed happy to provide it. > > cheers, > -pete > > -- > pete wright > www.nomadlogic.org > @nomadlogicLA > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > From owner-freebsd-current@freebsd.org Mon Dec 16 23:12:53 2019 Return-Path: Delivered-To: freebsd-current@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 F377C1D11A0 for ; Mon, 16 Dec 2019 23:12:53 +0000 (UTC) (envelope-from nomadlogic@gmail.com) Received: from mail-vs1-xe43.google.com (mail-vs1-xe43.google.com [IPv6:2607:f8b0:4864:20::e43]) (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 47cH9x2046z4Rcp for ; Mon, 16 Dec 2019 23:12:52 +0000 (UTC) (envelope-from nomadlogic@gmail.com) Received: by mail-vs1-xe43.google.com with SMTP id x123so5301674vsc.2 for ; Mon, 16 Dec 2019 15:12:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zOxBadUJIR28tr6D19JbWp+D0oK0NKEMqTSiyxiiPqQ=; b=Tb8J2ZkrrbbgktKPThMOiOowWcylio7hH9NaaBt6KT1XoGzBuNCgQfVf3+nVAC4SaT x8KmgqCb1oJ6qhlL0yTmCdFtaegxd9+hfy5L+QFfggZryG8RWoFUXyGZw2atsNs+lHvS XKV9mbTFF6+ef1MbZtxRpJyX5aZwkHokELKdZK4fHFQ/761jizN8dgtlkZ915UOErWiG NPi2ZyIL6Z+Ofmv2Zd1asEJix3l32wM2D/JRlaLdogQvsZqkycCvLtWSMBiZVHEKZp35 6TMmXFdyVA5C32T45ETKnnSyC3tBVJhDxZwMUVUpiZIuWwkPCxws0uqOmqpaBPjjCfjc AvXA== 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=zOxBadUJIR28tr6D19JbWp+D0oK0NKEMqTSiyxiiPqQ=; b=YEm4fq7gPR2PPSSs1mTUR9oGZb/zPFFqeMz6fY2pplcQ8JgKho6PwIHV0ELKdz62Cr gQyAy5xdW8Joqk0ksFP6romctQeIWqP41tq9v/WX+l7IS4Uye6c2z9N6aCg7SSGPfUod LvtREsjhWrnBehc3IImxFS55xs/JDZhxI/x6l4skCoxy1BY8Ce7PsAnMKxBsIs8u5bEP atI7IqJB7CtXGEnFH4Q/BVhG5jptE2Ec3auRxacR5OWGJFdYiDpeQiPDyQtz015eBEg4 sv9S0noBdGuMy/OfoxV2mPDrnrhTEcV0lWPPamEsCTP3w4imfooofgjwPOBe4wKRwlHR draA== X-Gm-Message-State: APjAAAV+fJatX7plN18iqJ/wxOLUxtOvXZuBOCGbb/OFHQvudai8X/h4 DVBz0eQPOzO7i40ckYl61RDKw4EJROXfnTp4VHgH2g== X-Google-Smtp-Source: APXvYqw1D5QH92hQh7zzrE9B2ZEzGB2KQJnmeYHMzWrTyVV8pEq2dupNuE+EduPj7iCNaO9KxIVViUYyUfuOsdzH2rk= X-Received: by 2002:a67:e3c8:: with SMTP id k8mr1067007vsm.121.1576537971881; Mon, 16 Dec 2019 15:12:51 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: pete wright Date: Mon, 16 Dec 2019 15:12:40 -0800 Message-ID: Subject: Re: error building scsi_da.c with recent current To: Warner Losh Cc: FreeBSD Current X-Rspamd-Queue-Id: 47cH9x2046z4Rcp X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Tb8J2Zkr; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of nomadlogic@gmail.com designates 2607:f8b0:4864:20::e43 as permitted sender) smtp.mailfrom=nomadlogic@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; 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)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; URI_COUNT_ODD(1.00)[9]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[3.4.e.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]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; IP_SCORE(0.00)[ip: (2.47), ipnet: 2607:f8b0::/32(-2.19), asn: 15169(-1.90), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Dec 2019 23:12:54 -0000 Thanks, maybe git mirror was lagging will test in a bit. Thanks! -pete On Mon, Dec 16, 2019, 3:09 PM Warner Losh wrote: > Update. That version was in place for about an hour before I fixed it. > r355815 broke it and r355818 fixed it. > > Warner > > > On Mon, Dec 16, 2019 at 3:27 PM pete wright wrote: > >> here's the error i'm getting when building: >> /usr/home/pete/git/freebsd/sys/cam/scsi/scsi_da.c:1544:28: error: expected >> identifier >> SYSCTL_INT64(_kern_cam_da, OID_AUTO, default_max_delete, CTLFLAG_RWTUN, >> ^ >> /usr/home/pete/git/freebsd/sys/sys/sysctl.h:126:18: note: expanded from >> macro 'OID_AUTO' >> #define OID_AUTO (-1) >> ^ >> /usr/home/pete/git/freebsd/sys/cam/scsi/scsi_da.c:1544:1: error: type >> specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] >> SYSCTL_INT64(_kern_cam_da, OID_AUTO, default_max_delete, CTLFLAG_RWTUN, >> ^ >> /usr/home/pete/git/freebsd/sys/cam/scsi/scsi_da.c:1544:13: error: this >> function declaration is not a prototype [-Werror,-Wstrict-prototypes] >> SYSCTL_INT64(_kern_cam_da, OID_AUTO, default_max_delete, CTLFLAG_RWTUN, >> ^ >> 3 errors generated. >> *** [scsi_da.o] Error code 1 >> >> >> >> might be this commit? >> commit 5fa79c6768be78d78815156f8ecf50cb2008233f (HEAD -> master, >> origin/master, origin/HEAD) >> Author: imp >> Date: Mon Dec 16 18:16:44 2019 +0000 >> >> Implement a system-wide limit or da and ada devices for delete. >> >> Excesively large TRIMs can result in timeouts, which cause big >> problems. Limit trims to 1GB to mititgate these issues. >> >> Reviewed by: scottl >> Differential Revision: https://reviews.freebsd.org/D22809 >> >> >> >> if there is any additional info needed happy to provide it. >> >> cheers, >> -pete >> >> -- >> pete wright >> www.nomadlogic.org >> @nomadlogicLA >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org >> " >> > From owner-freebsd-current@freebsd.org Mon Dec 16 23:15:41 2019 Return-Path: Delivered-To: freebsd-current@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 2A0151D138C for ; Mon, 16 Dec 2019 23:15:41 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qv1-xf44.google.com (mail-qv1-xf44.google.com [IPv6:2607:f8b0:4864:20::f44]) (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 47cHF81PJwz4RvM for ; Mon, 16 Dec 2019 23:15:39 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qv1-xf44.google.com with SMTP id p2so3442685qvo.10 for ; Mon, 16 Dec 2019 15:15:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WkfP1fZmQ0GI+zRutWwCeYC9NJZvC9JGndSWYWzCkr8=; b=lOe9SpygS1ucCQLKJJRBjGv9K8Hx9NPOTBjx07DgPiafkyoJMp+d5A9ZMuuZODTJhr rqxyFm20iKOYy3ujSIfuG7Mfj95e4fyNhA0dUbSa6mLo4YLt8cXrsf5KZNsVRY7W3ew/ n2UtDKFy4/UR2ybVE6KK554cBjLo5ap2tIOgyyNmevERmTkROT2L/48YG3tjaT34ApUO Xn/qJ8iBQYMScHHigFS3G64WTvUMkMJpIcxcs+xFgoEHUxpuiU8jYsY+1bAy7YxDfvhM 3SsSa2eIRZL+EVaA3Jan75ts2VA0w4pJGZOgslUO+GeNiaDn2YKF19tRvD62pKC1gTof 8PgQ== 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=WkfP1fZmQ0GI+zRutWwCeYC9NJZvC9JGndSWYWzCkr8=; b=KDGL66XAvbC8gI/ffgsIUSZRnzQxkrci5pUATN9+xlR8nZ3uMa6uI/X6wk/F4DP2bV 56peEYOqToOFtid4aU+IawlLFzWkMbxUJTyaZjiOSOb5ykokIR6psjJGc/sjkMZNRnIt fEPKvQXqhvDOKB3YkOVGO4eCYq/INioFy8NgN+6IdYsfEJ7fRQYzhPjtrhLml1s5Ma5d tWe0rDOFv5+ILeMQwq/QHAsgubjCHzvD2N3xTer6UMA1/SLGoNO4ousYzW7Kwy7boGpR Ozswn6LQDrJ6clCiSkvMvhXujgOQ2dGPVkrim3wx2C0qQQIfDQJ5ttQOpJbAgD5Q5nE9 5SHg== X-Gm-Message-State: APjAAAVUTkuFq+8i9DOWLpdcu90YM3GNIoT3TwF++Wds/fBhX8tAerv7 ObHzpAVXhZA+I4L+motDyG09eJOgUf05e3Qoric+wA== X-Google-Smtp-Source: APXvYqyvyNipQDY6woXkIIo9N9v8LBhRPd9UQGeTTvL5YeQmTM7tNQcwWCMBGjzSxZiwjPuSmPozuzXchldSdyWiH2A= X-Received: by 2002:a0c:91b4:: with SMTP id n49mr1958312qvn.202.1576538138926; Mon, 16 Dec 2019 15:15:38 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Mon, 16 Dec 2019 16:15:27 -0700 Message-ID: Subject: Re: error building scsi_da.c with recent current To: pete wright Cc: FreeBSD Current X-Rspamd-Queue-Id: 47cHF81PJwz4RvM X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=lOe9Spyg; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::f44) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-1.77 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.997,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; URI_COUNT_ODD(1.00)[9]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; FREEMAIL_TO(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-0.78)[ip: (0.26), ipnet: 2607:f8b0::/32(-2.19), asn: 15169(-1.90), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.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-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Dec 2019 23:15:41 -0000 The prior version (r355814) works just fine, if you wanted to get going... Sorry for the hassle.. I'm flushing my WIP trees, deleting old stuff and forgot this change had a dependency on something that's not quite ready yet. Warner On Mon, Dec 16, 2019 at 4:12 PM pete wright wrote: > Thanks, maybe git mirror was lagging will test in a bit. > > Thanks! > -pete > > On Mon, Dec 16, 2019, 3:09 PM Warner Losh wrote: > >> Update. That version was in place for about an hour before I fixed it. >> r355815 broke it and r355818 fixed it. >> >> Warner >> >> >> On Mon, Dec 16, 2019 at 3:27 PM pete wright wrote: >> >>> here's the error i'm getting when building: >>> /usr/home/pete/git/freebsd/sys/cam/scsi/scsi_da.c:1544:28: error: >>> expected >>> identifier >>> SYSCTL_INT64(_kern_cam_da, OID_AUTO, default_max_delete, CTLFLAG_RWTUN, >>> ^ >>> /usr/home/pete/git/freebsd/sys/sys/sysctl.h:126:18: note: expanded from >>> macro 'OID_AUTO' >>> #define OID_AUTO (-1) >>> ^ >>> /usr/home/pete/git/freebsd/sys/cam/scsi/scsi_da.c:1544:1: error: type >>> specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] >>> SYSCTL_INT64(_kern_cam_da, OID_AUTO, default_max_delete, CTLFLAG_RWTUN, >>> ^ >>> /usr/home/pete/git/freebsd/sys/cam/scsi/scsi_da.c:1544:13: error: this >>> function declaration is not a prototype [-Werror,-Wstrict-prototypes] >>> SYSCTL_INT64(_kern_cam_da, OID_AUTO, default_max_delete, CTLFLAG_RWTUN, >>> ^ >>> 3 errors generated. >>> *** [scsi_da.o] Error code 1 >>> >>> >>> >>> might be this commit? >>> commit 5fa79c6768be78d78815156f8ecf50cb2008233f (HEAD -> master, >>> origin/master, origin/HEAD) >>> Author: imp >>> Date: Mon Dec 16 18:16:44 2019 +0000 >>> >>> Implement a system-wide limit or da and ada devices for delete. >>> >>> Excesively large TRIMs can result in timeouts, which cause big >>> problems. Limit trims to 1GB to mititgate these issues. >>> >>> Reviewed by: scottl >>> Differential Revision: https://reviews.freebsd.org/D22809 >>> >>> >>> >>> if there is any additional info needed happy to provide it. >>> >>> cheers, >>> -pete >>> >>> -- >>> pete wright >>> www.nomadlogic.org >>> @nomadlogicLA >>> _______________________________________________ >>> freebsd-current@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-current >>> To unsubscribe, send any mail to " >>> freebsd-current-unsubscribe@freebsd.org" >>> >> From owner-freebsd-current@freebsd.org Tue Dec 17 00:06:22 2019 Return-Path: Delivered-To: freebsd-current@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 4F7F61D24F9 for ; Tue, 17 Dec 2019 00:06:22 +0000 (UTC) (envelope-from nomadlogic@gmail.com) Received: from mail-vk1-xa33.google.com (mail-vk1-xa33.google.com [IPv6:2607:f8b0:4864:20::a33]) (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 47cJMd3d3Zz4V1W for ; Tue, 17 Dec 2019 00:06:21 +0000 (UTC) (envelope-from nomadlogic@gmail.com) Received: by mail-vk1-xa33.google.com with SMTP id t129so2176229vkg.6 for ; Mon, 16 Dec 2019 16:06:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=32stl2fsx+v6QB6l0s3vhKG6yUYSqFuz+0Aok07u3Yo=; b=NG5THIPu7phxkOUDp6C6TYusECKbOCvngbMDv55r6rO3ivHtzrru2tuqEYFj9mlCqV eynmAGdUkVpr+5XtM6n6NUUAq1zGdaOw/SSSZ8CqPb10ccMFj6T9orf+u4WykqzuhR9C 7/z3o0wgzNdyrCWQhn/SNHp5P5DvsTivDdYEZlaaKJGrPAh5h/3uPMf9cwHc0sP2/T7w C0Z0fR7silQJJNlslFuhjt2YsSG/TJcCIh+9UKXOShoYe7lmAnJbi5itQ7KNLd1TABqY Z/WmKgzmbesu/4TEiNe3LAq1qJfcmjGB9FzktBkNT9lpdUvrHS23qZsEDKFYzASL5DaD Gn2w== 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=32stl2fsx+v6QB6l0s3vhKG6yUYSqFuz+0Aok07u3Yo=; b=X097acBnjB95BU++wMtZ002PWcKH1jcucoIz2e39ea6KsPmY8XmRwnLbOjTVO8ZC35 ey8CzQD6+7e8dD+X18izPYqMvR+fL3U3rTSS6Ttb9ARziDUVukMN3Ymj1wqk6zBKynNV at81Q7ZaJgxXyLEH4fafPFNeWSZtYoqzp4B4B8kDTowy3r4W4XOfPldX19qTcAeNNdO9 SWxpdTKWSqsaCtYO46QeK5aMNSklqMACw39XsDnPgHt9SAjP84G1kB3reH7Wb6mBJ/aO 5vMNu44aX3TVHEoSY0dKJlT92PggbqlMUr1zDB8R+P9Lx7uqhvo0FX/8wLDeKDwqiWOE pdog== X-Gm-Message-State: APjAAAWhWWdem1MgBOeIXGuVmTGcLbSmI3Ymgg++wVGi9wdyYBcLIj2M O0wHJsaR7B29qVl2Ef5KKkIukKUkTxAnM2GVI5PyUg== X-Google-Smtp-Source: APXvYqyHxXztWfSDPasNGP6lx+nY5DS5ao3HAAR4MkXOSUTkerpTKk+nHiPJsCPgnsx9gXVg/isM+bfw0Fvt60UBjMw= X-Received: by 2002:ac5:c64c:: with SMTP id j12mr1301069vkl.11.1576541180018; Mon, 16 Dec 2019 16:06:20 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: pete wright Date: Mon, 16 Dec 2019 16:06:08 -0800 Message-ID: Subject: Re: error building scsi_da.c with recent current To: Warner Losh Cc: FreeBSD Current X-Rspamd-Queue-Id: 47cJMd3d3Zz4V1W X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=NG5THIPu; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of nomadlogic@gmail.com designates 2607:f8b0:4864:20::a33 as permitted sender) smtp.mailfrom=nomadlogic@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; 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)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[3.3.a.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]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; IP_SCORE(0.00)[ip: (-9.44), ipnet: 2607:f8b0::/32(-2.19), asn: 15169(-1.90), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Dec 2019 00:06:22 -0000 no worries - and thanks for the workaround. i'm going to take a look before i sign-off for the night, hopefully github will be in sync by then. cheers, -pete On Mon, Dec 16, 2019 at 3:15 PM Warner Losh wrote: > The prior version (r355814) works just fine, if you wanted to get going... > Sorry for the hassle.. I'm flushing my WIP trees, deleting old stuff and > forgot this change had a dependency on something that's not quite ready yet. > > Warner > > On Mon, Dec 16, 2019 at 4:12 PM pete wright wrote: > >> Thanks, maybe git mirror was lagging will test in a bit. >> >> Thanks! >> -pete >> >> On Mon, Dec 16, 2019, 3:09 PM Warner Losh wrote: >> >>> Update. That version was in place for about an hour before I fixed it. >>> r355815 broke it and r355818 fixed it. >>> >>> Warner >>> >>> >>> On Mon, Dec 16, 2019 at 3:27 PM pete wright >>> wrote: >>> >>>> here's the error i'm getting when building: >>>> /usr/home/pete/git/freebsd/sys/cam/scsi/scsi_da.c:1544:28: error: >>>> expected >>>> identifier >>>> SYSCTL_INT64(_kern_cam_da, OID_AUTO, default_max_delete, CTLFLAG_RWTUN, >>>> ^ >>>> /usr/home/pete/git/freebsd/sys/sys/sysctl.h:126:18: note: expanded from >>>> macro 'OID_AUTO' >>>> #define OID_AUTO (-1) >>>> ^ >>>> /usr/home/pete/git/freebsd/sys/cam/scsi/scsi_da.c:1544:1: error: type >>>> specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] >>>> SYSCTL_INT64(_kern_cam_da, OID_AUTO, default_max_delete, CTLFLAG_RWTUN, >>>> ^ >>>> /usr/home/pete/git/freebsd/sys/cam/scsi/scsi_da.c:1544:13: error: this >>>> function declaration is not a prototype [-Werror,-Wstrict-prototypes] >>>> SYSCTL_INT64(_kern_cam_da, OID_AUTO, default_max_delete, CTLFLAG_RWTUN, >>>> ^ >>>> 3 errors generated. >>>> *** [scsi_da.o] Error code 1 >>>> >>>> >>>> >>>> might be this commit? >>>> commit 5fa79c6768be78d78815156f8ecf50cb2008233f (HEAD -> master, >>>> origin/master, origin/HEAD) >>>> Author: imp >>>> Date: Mon Dec 16 18:16:44 2019 +0000 >>>> >>>> Implement a system-wide limit or da and ada devices for delete. >>>> >>>> Excesively large TRIMs can result in timeouts, which cause big >>>> problems. Limit trims to 1GB to mititgate these issues. >>>> >>>> Reviewed by: scottl >>>> Differential Revision: https://reviews.freebsd.org/D22809 >>>> >>>> >>>> >>>> if there is any additional info needed happy to provide it. >>>> >>>> cheers, >>>> -pete >>>> >>>> -- >>>> pete wright >>>> www.nomadlogic.org >>>> @nomadlogicLA >>>> _______________________________________________ >>>> freebsd-current@freebsd.org mailing list >>>> https://lists.freebsd.org/mailman/listinfo/freebsd-current >>>> To unsubscribe, send any mail to " >>>> freebsd-current-unsubscribe@freebsd.org" >>>> >>> -- pete wright www.nomadlogic.org @nomadlogicLA From owner-freebsd-current@freebsd.org Tue Dec 17 10:30:56 2019 Return-Path: Delivered-To: freebsd-current@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 83B551E30B2 for ; Tue, 17 Dec 2019 10:30:56 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic308-54.consmr.mail.gq1.yahoo.com (sonic308-54.consmr.mail.gq1.yahoo.com [98.137.68.30]) (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 47cZDH4St3z48kg for ; Tue, 17 Dec 2019 10:30:55 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: r_x3DZkVM1nX4xzAvYBYifsYVNKRD8fCSGk9ro2Bc56Yu5sih5yxM37oTFywT2D vRk5HZWLCz6LGp2kpQi9ATDxt3eYelKPzxgrx7Te81IDPuHFJXRgusIIf1TfZv3dULrsKiIa66T1 7asFHDPQQEwQfN.tHrDZGHWKGPYwiIBt1wYmKL1Uee_YFqGWdUljD5lNjVF_zAbQHDAcq5Jw_jF5 x4tNd6hoG9Y.d1ORfBt7xon64nT9DTqXr7Kd9jV8d91tpSWdkBYL_STc8pTAo6ok_hzS.PYpLuGh 7qbp8PXDE9X8YBzAUYOsr8ZzF4fSr5P._DFxve8tHU44ZD4krNg0b5J_XiNl98C1ZMkodddyNHqD Ngs5em2EcOu3CvPdyR15KK1hclocZtsON.gSlCQc8P4q2UjRFmCPL4lXC9Cp4A4O4hiMRVa3TQTX I2cTTwYmXxlPjxn1cAA10gy1X2zAQCC0twDVkVngR5GHyle0hJN0k4rSWuHgbIoIsXzZk80SYibY .tiOPTf3RCDNWrW.ryzzey3zIfWLJl54mmRf1b_RWINCRNHYI1IUnikqY5HW5R6_c0yqXOJn2kW7 eTP.1GbvQKZgDSyJTQzZRNi_ZT7RfWImaGi52mpQd9LmLhJzPtepNBraEZ85Sin1.WiSMXyB70BT spQCQVIIGJXU248LddcWzc2qohvESqS0HiH2GzYHz8Uz7BlQ7C1TCpRVI5DCdO7kxq_0zZ9TiU0_ 1ISdTAHDZ6zbq0v6YKgHWfhnO14cUY5R8qayRtlwFi5RvHB5NZgfoAYP2rLTvzL10YeXKw8cn07A SyVTxP6WJieWQgUQ_FmgyS9wfQIuPkF5s4fFoEE270bBPY_1r6m9v9ccFYQ61BVIoXYQshe5SNTu TgHcmUW5.kGN9j9PxA7yKVr1XSOZeGIC_V0w3DJhyLm5_3hlRMMQQpdoFXrrlkGXGlNndJ0f3em6 DLK1FaMbfIOnFtJAi6VAnwTJspogCYNt4b6BuZNn5bFrjQ7asv_yEMwSCnOOkTGay3L0g1JuguSM 4eNlAGaujicuqWUzvh6EGxuilGRX_luNUhuIEay50s3h8jz9J.FDSxn_k_UjubnsN2pv2NEumh5X 0nuFAcmePzc4jXWIKryZeud3vqkIs7_xH_EGlK_F8Gy1XKhd95HO_xKRUJsfP0wcnkbAWoz912NH MA79thnKwsGneNGz6TYYQrL1SaFsxr7mgCXXTq092utq746GdkLBaM67ygvwSe4oA05mk9vQ3.UJ N8zuJvilXik6j3JnA2i4Z.7aOWUeYIPiBjnNanQa8QstqYYq9yK_uzC7BfVN50brwo7aFrSxzTam 2Uwwr7MbsFcxa4guDEMzqZZXl2fiIBWMvfAfRuaWLpBJbt1NjEjIkZsxqTWged.oqfsHrpX3yjkF gUPPU7GPbNIm.d7z8ky90Xxh7wXQl.Z_mce0t Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.gq1.yahoo.com with HTTP; Tue, 17 Dec 2019 10:30:53 +0000 Received: by smtp417.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 046bd40c34d7af8c06eb715bf3f0fb33; Tue, 17 Dec 2019 10:30:50 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: head -r355777: Lack of USB keyboard input during loader Message-Id: <59C93C5F-B8DD-47CC-BD7D-FE3DADBD0DDA@yahoo.com> Date: Tue, 17 Dec 2019 02:30:49 -0800 To: FreeBSD Current , freebsd-amd64@freebsd.org X-Mailer: Apple Mail (2.3608.40.2.2.4) References: <59C93C5F-B8DD-47CC-BD7D-FE3DADBD0DDA.ref@yahoo.com> X-Rspamd-Queue-Id: 47cZDH4St3z48kg X-Spamd-Bar: - X-Spamd-Result: default: False [-1.54 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.62)[-0.625,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(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.41)[-0.414,0]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[30.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: (5.10), ipnet: 98.137.64.0/21(0.89), asn: 36647(0.71), country: US(-0.05)]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Dec 2019 10:30:56 -0000 I normally use a PS2 keyboard on a Gigabyte Aorus Gaming 7 (with a ThreadRipper 1950X) during its boot sequence. (Most use is via ssh once booted.) But I've used a USB keyboard as well on rare occasion. (Unsure when that last was.) Well, I happened to try using a USB keyboard for head -r355777 and: A) The USB keyboard worked fine for controlling the BIOS operation (F12h BIOS version) B) It was ignored by the loader (so: booted via the timeout) C) It worked fine for logging-in on the console and later activity there This was repeatable. By contrast, for the PS2 keyboard, all 3 stages worked fine when tested, also repeatable. Overall I can avoid (B) in my context, but I thought that the status might be of interest to someone. The -r355777 build is a non-debug build (with symbols). At this point I've not established any other head -r355777 (or later) instances on any other hardware and I do not normally use usb keyboards for booting, other than on old PowerMacs. So I've no evidence for how the issue might generalize. It may be the weekend (or longer) before I'd find out. === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-current@freebsd.org Wed Dec 18 02:42:07 2019 Return-Path: Delivered-To: freebsd-current@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 8DE711D13BC for ; Wed, 18 Dec 2019 02:42:07 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) (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 47czmt3gYPz446X for ; Wed, 18 Dec 2019 02:42:06 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wm1-x335.google.com with SMTP id p17so232395wma.1 for ; Tue, 17 Dec 2019 18:42:06 -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=ICj8fFywG2lPThDQahmKO7LU6PPvp9nIJNVJcM9xzBM=; b=smN6/9ZDD101dcn22s7o8Lj5HIVFFoIawz1vipbNGCxUqMgR+uQHb4spgJV++zEE9U g7A0Z3M4XiboXbTmerQEvu54DDfPgaCSsixDYad1UeafO1fWnSofF3PG0H822lRLiEQ1 aBnBCBwKGltlm4SSkWqt75zDn4qW11lnX52aWiA//a7CBY0fozeFZKVXp0nr1pb74/NJ xPFcWBhwvJXwEskJLMWxsxtNPB55LEICTJF/md4LQN1zwgsbFGfGDvZFNMtDKvxr5CJF 0sZOXxTNgpEHGxZ7xSCrCjgGxqzO6eoLOVeankMrOtRMgSK9RTPdd+oY3SjaRzgqIlky iWZw== 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=ICj8fFywG2lPThDQahmKO7LU6PPvp9nIJNVJcM9xzBM=; b=hQs+VTXObPxirpgZ6LCvNrQrIiT/6Tn9txnHyC1xHgTTFfhVgl/778ZeXANwhOECMU coUeC9vlLBNu3LNUQ577nQw7JbZdW755UVkeyRAO2x/JgYmMYNYIbMBXGUqiPBHfUEh7 Hq9vWIq0Q7v4O326uZRR/zrE8ATlmUrgngMySegSo1GTeyWpppYq2ChdTJvV8swBtEhq KGusga3x+g+jAd/5GqEfyx0IkK1U54/FEvqpvycT4rSKa8hnm4IPB8LkmgS5ITTxKlv1 f7qtRV8AMLx56R7wW3sjBxIimzTvOypU2cM93ZcvjXLMdCF9k37gfsB4PjuToHM/2WBc lB6g== X-Gm-Message-State: APjAAAV93PuRwsZy3dEiT8BUJie2+3Ce9q8XCXQST1onbeG43brzSmPP 8kn2esF5BQ6QeLWH9Z3QmiOePLW8QhY= X-Google-Smtp-Source: APXvYqz6Fcop9rquTKWzwIsDcV3f21irok3mMtb/puF1UKz93x121JWy0g3rXQBwfOeTbhtDi9LaZA== X-Received: by 2002:a7b:cfc9:: with SMTP id f9mr77247wmm.1.1576636923987; Tue, 17 Dec 2019 18:42:03 -0800 (PST) Received: from [192.168.1.7] (host-2-100-169-93.as13285.net. [2.100.169.93]) by smtp.gmail.com with ESMTPSA id z187sm828123wme.16.2019.12.17.18.42.02 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 17 Dec 2019 18:42:03 -0800 (PST) Subject: Re: SVN r355732 breaks DRM To: freebsd-current@freebsd.org References: <79d0207a-994b-4c79-fa80-ef1c58078b77@protected-networks.net> From: Graham Perrin Message-ID: <28378fc6-8811-8431-b7d0-87474e1b11b2@gmail.com> Date: Wed, 18 Dec 2019 02:42:02 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 47czmt3gYPz446X X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=smN6/9ZD; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::335 as permitted sender) smtp.mailfrom=grahamperrin@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; 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]; RECEIVED_SPAMHAUS_PBL(0.00)[93.169.100.2.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/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-current@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(0.00)[ip: (-9.22), ipnet: 2a00:1450::/32(-2.66), asn: 15169(-1.90), country: US(-0.05)]; RCVD_IN_DNSWL_NONE(0.00)[5.3.3.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]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Dec 2019 02:42:07 -0000 On 14/12/2019 01:30, Warner Losh wrote: > A fix is in progress. Thank you. r355860 drm-legacy-kmod lines 70–81: the same issue, yes? From owner-freebsd-current@freebsd.org Wed Dec 18 10:21:56 2019 Return-Path: Delivered-To: freebsd-current@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 B41051DAF19 for ; Wed, 18 Dec 2019 10:21:56 +0000 (UTC) (envelope-from contact@evilham.com) Received: from yggdrasil.evilham.com (yggdrasil.evilham.com [46.19.33.155]) (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 47d9zR5ZVsz4QvG for ; Wed, 18 Dec 2019 10:21:55 +0000 (UTC) (envelope-from contact@evilham.com) Received: from yggdrasil.evilham.com (unknown [IPv6:2a0a:e5c1:121:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by yggdrasil.evilham.com (Postfix) with ESMTPSA id 47d9zH56qFz3wf3; Wed, 18 Dec 2019 11:21:47 +0100 (CET) From: Evilham To: Graham Perrin Cc: freebsd-current@freebsd.org Subject: Re: SVN r355732 breaks DRM References: <79d0207a-994b-4c79-fa80-ef1c58078b77@protected-networks.net> <28378fc6-8811-8431-b7d0-87474e1b11b2@gmail.com> In-reply-to: <28378fc6-8811-8431-b7d0-87474e1b11b2@gmail.com> Date: Wed, 18 Dec 2019 11:21:44 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 47d9zR5ZVsz4QvG X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=evilham.com; spf=pass (mx1.freebsd.org: domain of contact@evilham.com designates 46.19.33.155 as permitted sender) smtp.mailfrom=contact@evilham.com X-Spamd-Result: default: False [-6.48 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-3.68)[ip: (-9.86), ipnet: 46.19.32.0/21(-4.93), asn: 196752(-3.66), country: NL(0.03)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[evilham.com,none]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:196752, ipnet:46.19.32.0/21, country:NL]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Dec 2019 10:21:56 -0000 On dc., des. 18 2019, Graham Perrin wrote: > On 14/12/2019 01:30, Warner Losh wrote: > > > A fix is in progress. > > Thank you. > > r355860 drm-legacy-kmod lines=20 > 70=E2=80=9381: the > same issue, yes? FWIW: https://github.com/FreeBSDDesktop/kms-drm/issues/198 I've been using a locally built drm-kmod without patches (off=20 commit ee53eae) for a couple days with the latest HEAD. Maybe the port just hasn't been rebuilt on FreeBSD infra yet? In any case, and at your own risk you can give that a go. -- Evilham From owner-freebsd-current@freebsd.org Wed Dec 18 21:48:56 2019 Return-Path: Delivered-To: freebsd-current@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 088F11E6F21; Wed, 18 Dec 2019 21:48:56 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47dTD76Mt9z3JQt; Wed, 18 Dec 2019 21:48:55 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from visnet-127.csl.sri.com (visnet-127.csl.sri.com [130.107.98.127]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: jhb) by smtp.freebsd.org (Postfix) with ESMTPSA id 96C0B16899; Wed, 18 Dec 2019 21:48:55 +0000 (UTC) (envelope-from jhb@FreeBSD.org) To: "freebsd-toolchain@FreeBSD.org" Cc: "freebsd-current@freebsd.org" From: John Baldwin Subject: New external GCC toolchain ports/packages Openpgp: preference=signencrypt Autocrypt: addr=jhb@FreeBSD.org; keydata= mQGiBETQ+XcRBADMFybiq69u+fJRy/0wzqTNS8jFfWaBTs5/OfcV7wWezVmf9sgwn8TW0Dk0 c9MBl0pz+H01dA2ZSGZ5fXlmFIsee1WEzqeJzpiwd/pejPgSzXB9ijbLHZ2/E0jhGBcVy5Yo /Tw5+U/+laeYKu2xb0XPvM0zMNls1ah5OnP9a6Ql6wCgupaoMySb7DXm2LHD1Z9jTsHcAQMD /1jzh2BoHriy/Q2s4KzzjVp/mQO5DSm2z14BvbQRcXU48oAosHA1u3Wrov6LfPY+0U1tG47X 1BGfnQH+rNAaH0livoSBQ0IPI/8WfIW7ub4qV6HYwWKVqkDkqwcpmGNDbz3gfaDht6nsie5Z pcuCcul4M9CW7Md6zzyvktjnbz61BADGDCopfZC4of0Z3Ka0u8Wik6UJOuqShBt1WcFS8ya1 oB4rc4tXfSHyMF63aPUBMxHR5DXeH+EO2edoSwViDMqWk1jTnYza51rbGY+pebLQOVOxAY7k do5Ordl3wklBPMVEPWoZ61SdbcjhHVwaC5zfiskcxj5wwXd2E9qYlBqRg7QeSm9obiBCYWxk d2luIDxqaGJARnJlZUJTRC5vcmc+iGAEExECACAFAkTQ+awCGwMGCwkIBwMCBBUCCAMEFgID AQIeAQIXgAAKCRBy3lIGd+N/BI6RAJ9S97fvbME+3hxzE3JUyUZ6vTewDACdE1stFuSfqMvM jomvZdYxIYyTUpC5Ag0ERND5ghAIAPwsO0B7BL+bz8sLlLoQktGxXwXQfS5cInvL17Dsgnr3 1AKa94j9EnXQyPEj7u0d+LmEe6CGEGDh1OcGFTMVrof2ZzkSy4+FkZwMKJpTiqeaShMh+Goj XlwIMDxyADYvBIg3eN5YdFKaPQpfgSqhT+7El7w+wSZZD8pPQuLAnie5iz9C8iKy4/cMSOrH YUK/tO+Nhw8Jjlw94Ik0T80iEhI2t+XBVjwdfjbq3HrJ0ehqdBwukyeJRYKmbn298KOFQVHO EVbHA4rF/37jzaMadK43FgJ0SAhPPF5l4l89z5oPu0b/+5e2inA3b8J3iGZxywjM+Csq1tqz hltEc7Q+E08AAwUIAL+15XH8bPbjNJdVyg2CMl10JNW2wWg2Q6qdljeaRqeR6zFus7EZTwtX sNzs5bP8y51PSUDJbeiy2RNCNKWFMndM22TZnk3GNG45nQd4OwYK0RZVrikalmJY5Q6m7Z16 4yrZgIXFdKj2t8F+x613/SJW1lIr9/bDp4U9tw0V1g3l2dFtD3p3ZrQ3hpoDtoK70ioIAjjH aIXIAcm3FGZFXy503DOA0KaTWwvOVdYCFLm3zWuSOmrX/GsEc7ovasOWwjPn878qVjbUKWwx Q4QkF4OhUV9zPtf9tDSAZ3x7QSwoKbCoRCZ/xbyTUPyQ1VvNy/mYrBcYlzHodsaqUDjHuW+I SQQYEQIACQUCRND5ggIbDAAKCRBy3lIGd+N/BCO8AJ9j1dWVQWxw/YdTbEyrRKOY8YZNwwCf afMAg8QvmOWnHx3wl8WslCaXaE8= Message-ID: Date: Wed, 18 Dec 2019 13:48:54 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Dec 2019 21:48:56 -0000 In the interest of supporting newer versions of GCC for a base system toolchain, I've renamed the external GCC packages from -gcc to -gcc6. These are built as flavors of a new devel/freebsd-gcc6 port. The xtoolchain package is not used for these new packages, instead one does 'pkg install mips-gcc6' to get the GCC 6.x MIPS compiler and uses 'CROSS_TOOLCHAIN=mips-gcc6'. I've also gone ahead and updated this compiler to 6.5.0. I will leave the old ports/packages around for now to permit an easy transition, but going forward, the -gcc6 packages should be preferred to -xtoolchain-gcc for all but riscv (riscv64-gcc and riscv64-xtoolchain-gcc are separate from the powerpc64-gcc set of packages). In addition, I've also just added a devel/freebsd-gcc9 package which builds -gcc9 packages. It adds powerpc and riscv flavors relative to freebsd-gcc6 and uses GCC 9.2.0. To date in my testing I've yet to be able to finish a buildworld on any of the platforms I've tried (amd64, mips, sparc64), but the packages should permit other developers to get the tree building with GCC 9. To use these packages one would do something like: # pkg install amd64-gcc9 # make buildworld CROSS_TOOLCHAIN=amd64-gcc9 You can install both the gcc6 and gcc9 versions of a package at the same time, e.g. amd64-gcc6 and amd64-gcc9. Having different packages for major versions is similar to llvm and will also let us keep a known-good toolchain package for older releases while using newer major versions on newer FreeBSD releases (e.g gcc9 for 13.0 and gcc6 for 12.x). I do plan to switch the default toolchains for make universe/tinderbox for targets using -xtoolchain-gcc based on GCC 6 over to the freebsd-gcc6 variants in the next week or so. -- John Baldwin From owner-freebsd-current@freebsd.org Thu Dec 19 00:16:36 2019 Return-Path: Delivered-To: freebsd-current@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 95B9C1CA2D5 for ; Thu, 19 Dec 2019 00:16:36 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic301-20.consmr.mail.gq1.yahoo.com (sonic301-20.consmr.mail.gq1.yahoo.com [98.137.64.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 47dXVV4jH5z3RDY for ; Thu, 19 Dec 2019 00:16:34 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: 5QnFCY0VM1mAFo.myqYhy8BQgzw4H_dfuPjP2aBrQLnGGw7IHGO2WHAbmdP0jqn Tnb5v32P9JxBBgHnODtN5czAgCz3k.pj.MLfCU7xMGuK3T8aGUlZ7BKv3gMjDFmad5j0SGZFGcsn cX7lmd0nTygU5ZRc9PYpnxTYPMH6j1MrvJAaBBaQ7n70qwI_bF.wqc5gotyhuECeM4fLgRqUay32 ph6h31Z6TOVyfWASDtbM_mFbjij3gG.R9gyOkdTcc978N17AytJLMGy4TK5HcjVqjLglKshys0de dKHapP6L.Ls1m0zml8l7WdVqnUnE6J3P7FulS8QXHGkJul4M6tCzhXfOW_vjk9z7maRDhKwxDpo. 720sw3ZLi_otHwMedLWBbjBVykIfuAbZmy2thyXyZ3hWVWWygY8za0KN_LbNaQSJJ5RnjayGC6UF phci9PBBzvc2UuAP6E3Skb_xeto.xt8bKHMiCRfr9tFNcUwvjBAAQbFHywG6j5I2mXQAA6vAJPRP YXLr3H0AL7ZGPKaBJmrT6QLgJ5FM3x.w7cuUP7RlBB5Vrxdq_zf8KUf_F6IMc5CNjxTdCjzW3FXV VuR2s_nHlK2gap8ZaAq8LK.XIMjOk6hQvQxv1uLoKjmGiaQAKnONX2gdrO2DE7HKa0tVvBcjDrlr mtiY4hI867Clw.T94Uy3KJBzrwDUlC7gYXsguPpoojXox6Nv7oO8Ou0bltqp8nFegqhkjZGb8OVH f_avqAarPyAuCT5ezGtJt8ZhTbiOmp5YK2FzqaXAYVtP9U.yeMrQyuigwvHiX9CwoN7SQvDPT63h lu4WmquAj4rFkgW1GlneWwaXp_4rQwuYpq_rZUXyTe0WUOxR8F87SYnXr7YResebQJE3ZMfa5sGe CJFf7yZninyDVX5e91FXALYBRbPbP.zP0bBy0rpxcsW8uO0G.3P.U7w_KImHZN5ru2_NcxuNa71j PjeePnQP_RtkUgy32HkGGjc3aCrUUfD2IpDOPviiC_1VAfWr0qHeERHJPikOSfUTFxPVtkBmyRsR BJJYXzM3LJYBKsPek9Z1k2KwahGsnXqu3RlraUr04Tx9gImpvxm0KRfcAuR_U5UL2lWF56y8UfHD qi75MsnDVxrNYreHIYwxIg6nM9y3w0meUkmbYl7PwCOApul28JjBCjE1NwgyhkRC4C1elpysBvLe O8dbQO2uBgC1tMk1mycw9zxtBTilJfHClRpw6w3xUuW4ukkoVFexbZg2BtidmxpY2UNxjTtMF4B. gF0uM5k11BVntPeHWnItT7iaxDZZurcYG47uxsG7_5nxZ03AKeQVYoDT8OFb1faAmOaTr0_YysEQ VkkT7cmJTM4tN7G4SRe1nQ33BRebbyAui.pUinZa_2XUoBTttEaMI6DybkSuS66dDMCrmyHsPFW1 DdNGzonVlCZqSUH2RYOIf0DXFOJza210- Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.gq1.yahoo.com with HTTP; Thu, 19 Dec 2019 00:16:32 +0000 Received: by smtp410.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 0b82335c435ef690743e8ced2d583042; Thu, 19 Dec 2019 00:16: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: New external GCC toolchain ports/packages From: Mark Millard In-Reply-To: Date: Wed, 18 Dec 2019 16:16:30 -0800 Cc: "freebsd-toolchain@FreeBSD.org" , "freebsd-current@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <0DECD119-7E15-42AF-9B93-47F992FDD4F7@yahoo.com> References: To: John Baldwin X-Mailer: Apple Mail (2.3608.40.2.2.4) X-Rspamd-Queue-Id: 47dXVV4jH5z3RDY X-Spamd-Bar: - X-Spamd-Result: default: False [-1.96 / 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.84)[-0.842,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-0.62)[-0.615,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (4.76), ipnet: 98.137.64.0/21(0.89), asn: 36647(0.71), country: US(-0.05)]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[146.64.137.98.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Dec 2019 00:16:36 -0000 On 2019-Dec-18, at 13:48, John Baldwin wrote: > In the interest of supporting newer versions of GCC for a base system > toolchain, I've renamed the external GCC packages from -gcc > to -gcc6. These are built as flavors of a new = devel/freebsd-gcc6 > port. The xtoolchain package is not used for these new packages, = instead > one does 'pkg install mips-gcc6' to get the GCC 6.x MIPS compiler and > uses 'CROSS_TOOLCHAIN=3Dmips-gcc6'. I've also gone ahead and updated = this > compiler to 6.5.0. >=20 > I will leave the old ports/packages around for now to permit an easy > transition, but going forward, the -gcc6 packages should be = preferred > to -xtoolchain-gcc for all but riscv (riscv64-gcc and = riscv64-xtoolchain-gcc > are separate from the powerpc64-gcc set of packages). >=20 > In addition, I've also just added a devel/freebsd-gcc9 package which > builds -gcc9 packages. It adds powerpc and riscv flavors = relative > to freebsd-gcc6 and uses GCC 9.2.0. To date in my testing I've yet to > be able to finish a buildworld on any of the platforms I've tried > (amd64, mips, sparc64), but the packages should permit other = developers > to get the tree building with GCC 9. To use these packages one would = do > something like: >=20 > # pkg install amd64-gcc9 > # make buildworld CROSS_TOOLCHAIN=3Damd64-gcc9 >=20 > You can install both the gcc6 and gcc9 versions of a package at the = same > time, e.g. amd64-gcc6 and amd64-gcc9. Having different packages for = major > versions is similar to llvm and will also let us keep a known-good > toolchain package for older releases while using newer major versions = on > newer FreeBSD releases (e.g gcc9 for 13.0 and gcc6 for 12.x). >=20 > I do plan to switch the default toolchains for make universe/tinderbox > for targets using -xtoolchain-gcc based on GCC 6 over to the > freebsd-gcc6 variants in the next week or so. >=20 How about base/binutils and base/gcc ? Is their (future?) status changed by any of this activity? =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-current@freebsd.org Thu Dec 19 16:51:21 2019 Return-Path: Delivered-To: freebsd-current@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 5E7ED1E5305 for ; Thu, 19 Dec 2019 16:51:21 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47dyZK0Yqzz3NQ2 for ; Thu, 19 Dec 2019 16:51:21 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: by mailman.nyi.freebsd.org (Postfix) id 117EC1E5304; Thu, 19 Dec 2019 16:51:21 +0000 (UTC) Delivered-To: current@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 113D11E5303 for ; Thu, 19 Dec 2019 16:51:21 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47dyZH72BSz3NPy for ; Thu, 19 Dec 2019 16:51:19 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id hz19ieTAjnCighz1BirF4o; Thu, 19 Dec 2019 09:51:17 -0700 X-Authority-Analysis: v=2.3 cv=cZisUULM c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=kj9zAlcOel0A:10 a=pxVhFHJ0LMsA:10 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=g-cPfIvZkgEUMX09Ie0A:9 a=CjuIK1q_8ugA:10 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 a=pHzHmUro8NiASowvMSCR:22 a=nt3jZW36AmriUCFCBwmW:22 Received: from slippy.cwsent.com (slippy8 [10.2.2.6]) by spqr.komquats.com (Postfix) with ESMTPS id C41E12B5 for ; Thu, 19 Dec 2019 08:51:14 -0800 (PST) Received: from slippy.cwsent.com (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id xBJGotJT003264 for ; Thu, 19 Dec 2019 08:50:55 -0800 (PST) (envelope-from Cy.Schubert@cschubert.com) Received: from slippy (cy@localhost) by slippy.cwsent.com (8.15.2/8.15.2/Submit) with ESMTP id xBJGotp2003261 for ; Thu, 19 Dec 2019 08:50:55 -0800 (PST) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201912191650.xBJGotp2003261@slippy.cwsent.com> X-Authentication-Warning: slippy.cwsent.com: cy owned process doing -bs X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7.1 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: current@freebsd.org Subject: drm-current-kmod panics Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 19 Dec 2019 08:50:55 -0800 X-CMAE-Envelope: MS4wfLPAXVp8z2ocoChivmsR54ldoBqcRLCi3YEWoBI8Hh9P/zfw08emhGu3z2aDIzHPZuYM4noknzus1ItVKZ9ijxfJQd8ypUBvaFCtzm6j8UMl6oNy4Jv8 tvZebgIsSzvv3cJd/Bbiot7CD18IwJkxazfqF/WqH3rD3AOruXdewzLbEWXh3H3U9ZxX7nMAaOCr4g== X-Rspamd-Queue-Id: 47dyZH72BSz3NPy X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of cy.schubert@cschubert.com has no SPF policy when checking 64.59.134.12) smtp.mailfrom=cy.schubert@cschubert.com X-Spamd-Result: default: False [-4.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; RECEIVED_SPAMHAUS_PBL(0.00)[17.125.67.70.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[12.134.59.64.rep.mailspike.net : 127.0.0.18]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; HAS_XAW(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; REPLYTO_EQ_FROM(0.00)[]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; HAS_REPLYTO(0.00)[Cy.Schubert@cschubert.com]; R_SPF_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6327, ipnet:64.59.128.0/20, country:CA]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-2.40)[ip: (-6.41), ipnet: 64.59.128.0/20(-3.10), asn: 6327(-2.40), country: CA(-0.09)]; RCVD_IN_DNSWL_LOW(-0.10)[12.134.59.64.list.dnswl.org : 127.0.5.1] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Dec 2019 16:51:21 -0000 Has anyone else had these since Dec 9? <4>WARN_ON(!mutex_is_locked(&fbc->lock))WARN_ON(!mutex_is_locked(&fbc-> lock)) panic: page fault cpuid = 1 time = 1576772837 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe007c98b930 vpanic() at vpanic+0x17e/frame 0xfffffe007c98b990 panic() at panic+0x43/frame 0xfffffe007c98b9f0 trap_fatal() at trap_fatal+0x386/frame 0xfffffe007c98ba50 trap_pfault() at trap_pfault+0x4f/frame 0xfffffe007c98bac0 trap() at trap+0x41b/frame 0xfffffe007c98bbf0 calltrap() at calltrap+0x8/frame 0xfffffe007c98bbf0 --- trap 0xc, rip = 0x242c52, rsp = 0x7fffffffbe70, rbp = 0x7fffffffbe90 --- Uptime: 59m7s It is triggered through random keystrokes or mouse movements. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few. From owner-freebsd-current@freebsd.org Thu Dec 19 18:30:53 2019 Return-Path: Delivered-To: freebsd-current@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 7B21A1E748F for ; Thu, 19 Dec 2019 18:30:53 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 47f0n90wTGz3y2j for ; Thu, 19 Dec 2019 18:30:53 +0000 (UTC) (envelope-from hps@selasky.org) Received: by mailman.nyi.freebsd.org (Postfix) id 1DAA01E748E; Thu, 19 Dec 2019 18:30:53 +0000 (UTC) Delivered-To: current@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 1D6BB1E748D for ; Thu, 19 Dec 2019 18:30:53 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47f0n759jqz3y2b for ; Thu, 19 Dec 2019 18:30:51 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 4810D26031E; Thu, 19 Dec 2019 19:21:57 +0100 (CET) Subject: Re: drm-current-kmod panics To: Cy Schubert , current@freebsd.org References: <201912191650.xBJGotp2003261@slippy.cwsent.com> From: Hans Petter Selasky Message-ID: Date: Thu, 19 Dec 2019 19:21:00 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 MIME-Version: 1.0 In-Reply-To: <201912191650.xBJGotp2003261@slippy.cwsent.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47f0n759jqz3y2b X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 88.99.82.50 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-5.42 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-3.12)[ip: (-9.32), ipnet: 88.99.0.0/16(-4.72), asn: 24940(-1.55), country: DE(-0.02)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Dec 2019 18:30:53 -0000 On 2019-12-19 17:50, Cy Schubert wrote: > Has anyone else had these since Dec 9? > > <4>WARN_ON(!mutex_is_locked(&fbc->lock))WARN_ON(!mutex_is_locked(&fbc-> > lock)) > panic: page fault > cpuid = 1 > time = 1576772837 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame > 0xfffffe007c98b930 > vpanic() at vpanic+0x17e/frame 0xfffffe007c98b990 > panic() at panic+0x43/frame 0xfffffe007c98b9f0 > trap_fatal() at trap_fatal+0x386/frame 0xfffffe007c98ba50 > trap_pfault() at trap_pfault+0x4f/frame 0xfffffe007c98bac0 > trap() at trap+0x41b/frame 0xfffffe007c98bbf0 > calltrap() at calltrap+0x8/frame 0xfffffe007c98bbf0 > --- trap 0xc, rip = 0x242c52, rsp = 0x7fffffffbe70, rbp = 0x7fffffffbe90 --- > Uptime: 59m7s > > It is triggered through random keystrokes or mouse movements. Looks like a double fault. Did you recompile drm-current-kmod with the latest kernel sources? --HPS From owner-freebsd-current@freebsd.org Thu Dec 19 18:41:19 2019 Return-Path: Delivered-To: freebsd-current@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 087391E7885 for ; Thu, 19 Dec 2019 18:41:19 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 47f11B5tkKz3yfx for ; Thu, 19 Dec 2019 18:41:18 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: by mailman.nyi.freebsd.org (Postfix) id CA03F1E7882; Thu, 19 Dec 2019 18:41:18 +0000 (UTC) Delivered-To: current@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 C9C0A1E7880 for ; Thu, 19 Dec 2019 18:41:18 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47f1196MDnz3yft for ; Thu, 19 Dec 2019 18:41:17 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id i0jYiwfJB17ZDi0jaiEyHe; Thu, 19 Dec 2019 11:41:15 -0700 X-Authority-Analysis: v=2.3 cv=ZsqT1OzG c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=kj9zAlcOel0A:10 a=pxVhFHJ0LMsA:10 a=ndaoGXS1AAAA:8 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=0frtce0vH-h8bFMZ_u4A:9 a=CjuIK1q_8ugA:10 a=mFeOnlTyF09QQMGr2mMI:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 Received: from slippy.cwsent.com (slippy8 [10.2.2.6]) by spqr.komquats.com (Postfix) with ESMTPS id D2C3A41D; Thu, 19 Dec 2019 10:41:11 -0800 (PST) Received: from slippy.cwsent.com (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id xBJIeqDJ071055; Thu, 19 Dec 2019 10:40:52 -0800 (PST) (envelope-from Cy.Schubert@cschubert.com) Received: from slippy (cy@localhost) by slippy.cwsent.com (8.15.2/8.15.2/Submit) with ESMTP id xBJIeqQX071052; Thu, 19 Dec 2019 10:40:52 -0800 (PST) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201912191840.xBJIeqQX071052@slippy.cwsent.com> X-Authentication-Warning: slippy.cwsent.com: cy owned process doing -bs X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7.1 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Hans Petter Selasky cc: Cy Schubert , current@freebsd.org Subject: Re: drm-current-kmod panics In-reply-to: References: <201912191650.xBJGotp2003261@slippy.cwsent.com> Comments: In-reply-to Hans Petter Selasky message dated "Thu, 19 Dec 2019 19:21:00 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 19 Dec 2019 10:40:52 -0800 X-CMAE-Envelope: MS4wfOPNcjujF0cCZVlPP8xK0ShUWZ552yrz+mYRU2eR1uw4SOrkIAfnTcJp8STnZCpMtFCcstHpTIJ28uB3PUDrzZrBdeMGs36BN+MP8ELaob7laZ5yBMfi DoncRvfp4ECMHrHPGCI3Kk3B7YOwvCt4Ue0Ce4Fxyh1TvL2UmPtrnQY282Kpa2SytcdkPhIrwIs63MNZoqBBJSUfTTUmonCp/oA= X-Rspamd-Queue-Id: 47f1196MDnz3yft X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of cy.schubert@cschubert.com has no SPF policy when checking 64.59.136.138) smtp.mailfrom=cy.schubert@cschubert.com X-Spamd-Result: default: False [-4.03 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; RECEIVED_SPAMHAUS_PBL(0.00)[17.125.67.70.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; HAS_REPLYTO(0.00)[Cy.Schubert@cschubert.com]; REPLYTO_EQ_FROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6327, ipnet:64.59.128.0/20, country:CA]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-2.33)[ip: (-6.07), ipnet: 64.59.128.0/20(-3.10), asn: 6327(-2.40), country: CA(-0.09)]; RCVD_IN_DNSWL_LOW(-0.10)[138.136.59.64.list.dnswl.org : 127.0.5.1] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Dec 2019 18:41:19 -0000 In message , Hans Petter Sela sky writes: > On 2019-12-19 17:50, Cy Schubert wrote: > > Has anyone else had these since Dec 9? > > > > <4>WARN_ON(!mutex_is_locked(&fbc->lock))WARN_ON(!mutex_is_locked(&fbc-> > > lock)) > > panic: page fault > > cpuid = 1 > > time = 1576772837 > > KDB: stack backtrace: > > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame > > 0xfffffe007c98b930 > > vpanic() at vpanic+0x17e/frame 0xfffffe007c98b990 > > panic() at panic+0x43/frame 0xfffffe007c98b9f0 > > trap_fatal() at trap_fatal+0x386/frame 0xfffffe007c98ba50 > > trap_pfault() at trap_pfault+0x4f/frame 0xfffffe007c98bac0 > > trap() at trap+0x41b/frame 0xfffffe007c98bbf0 > > calltrap() at calltrap+0x8/frame 0xfffffe007c98bbf0 > > --- trap 0xc, rip = 0x242c52, rsp = 0x7fffffffbe70, rbp = 0x7fffffffbe90 -- > - > > Uptime: 59m7s > > > > It is triggered through random keystrokes or mouse movements. > > Looks like a double fault. > > Did you recompile drm-current-kmod with the latest kernel sources? Yes. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few. From owner-freebsd-current@freebsd.org Thu Dec 19 18:51:41 2019 Return-Path: Delivered-To: freebsd-current@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 6B02C1E7C8C; Thu, 19 Dec 2019 18:51:41 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47f1F920Cnz40Ny; Thu, 19 Dec 2019 18:51:41 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from John-Baldwins-MacBook-Pro-7.local (unknown [192.5.67.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: jhb) by smtp.freebsd.org (Postfix) with ESMTPSA id A24782CF; Thu, 19 Dec 2019 18:51:40 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Subject: Re: New external GCC toolchain ports/packages To: Mark Millard Cc: "freebsd-toolchain@FreeBSD.org" , "freebsd-current@freebsd.org" References: <0DECD119-7E15-42AF-9B93-47F992FDD4F7@yahoo.com> From: John Baldwin Openpgp: preference=signencrypt Autocrypt: addr=jhb@FreeBSD.org; keydata= mQGiBETQ+XcRBADMFybiq69u+fJRy/0wzqTNS8jFfWaBTs5/OfcV7wWezVmf9sgwn8TW0Dk0 c9MBl0pz+H01dA2ZSGZ5fXlmFIsee1WEzqeJzpiwd/pejPgSzXB9ijbLHZ2/E0jhGBcVy5Yo /Tw5+U/+laeYKu2xb0XPvM0zMNls1ah5OnP9a6Ql6wCgupaoMySb7DXm2LHD1Z9jTsHcAQMD /1jzh2BoHriy/Q2s4KzzjVp/mQO5DSm2z14BvbQRcXU48oAosHA1u3Wrov6LfPY+0U1tG47X 1BGfnQH+rNAaH0livoSBQ0IPI/8WfIW7ub4qV6HYwWKVqkDkqwcpmGNDbz3gfaDht6nsie5Z pcuCcul4M9CW7Md6zzyvktjnbz61BADGDCopfZC4of0Z3Ka0u8Wik6UJOuqShBt1WcFS8ya1 oB4rc4tXfSHyMF63aPUBMxHR5DXeH+EO2edoSwViDMqWk1jTnYza51rbGY+pebLQOVOxAY7k do5Ordl3wklBPMVEPWoZ61SdbcjhHVwaC5zfiskcxj5wwXd2E9qYlBqRg7QeSm9obiBCYWxk d2luIDxqaGJARnJlZUJTRC5vcmc+iGAEExECACAFAkTQ+awCGwMGCwkIBwMCBBUCCAMEFgID AQIeAQIXgAAKCRBy3lIGd+N/BI6RAJ9S97fvbME+3hxzE3JUyUZ6vTewDACdE1stFuSfqMvM jomvZdYxIYyTUpC5Ag0ERND5ghAIAPwsO0B7BL+bz8sLlLoQktGxXwXQfS5cInvL17Dsgnr3 1AKa94j9EnXQyPEj7u0d+LmEe6CGEGDh1OcGFTMVrof2ZzkSy4+FkZwMKJpTiqeaShMh+Goj XlwIMDxyADYvBIg3eN5YdFKaPQpfgSqhT+7El7w+wSZZD8pPQuLAnie5iz9C8iKy4/cMSOrH YUK/tO+Nhw8Jjlw94Ik0T80iEhI2t+XBVjwdfjbq3HrJ0ehqdBwukyeJRYKmbn298KOFQVHO EVbHA4rF/37jzaMadK43FgJ0SAhPPF5l4l89z5oPu0b/+5e2inA3b8J3iGZxywjM+Csq1tqz hltEc7Q+E08AAwUIAL+15XH8bPbjNJdVyg2CMl10JNW2wWg2Q6qdljeaRqeR6zFus7EZTwtX sNzs5bP8y51PSUDJbeiy2RNCNKWFMndM22TZnk3GNG45nQd4OwYK0RZVrikalmJY5Q6m7Z16 4yrZgIXFdKj2t8F+x613/SJW1lIr9/bDp4U9tw0V1g3l2dFtD3p3ZrQ3hpoDtoK70ioIAjjH aIXIAcm3FGZFXy503DOA0KaTWwvOVdYCFLm3zWuSOmrX/GsEc7ovasOWwjPn878qVjbUKWwx Q4QkF4OhUV9zPtf9tDSAZ3x7QSwoKbCoRCZ/xbyTUPyQ1VvNy/mYrBcYlzHodsaqUDjHuW+I SQQYEQIACQUCRND5ggIbDAAKCRBy3lIGd+N/BCO8AJ9j1dWVQWxw/YdTbEyrRKOY8YZNwwCf afMAg8QvmOWnHx3wl8WslCaXaE8= Message-ID: Date: Thu, 19 Dec 2019 10:51:37 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: <0DECD119-7E15-42AF-9B93-47F992FDD4F7@yahoo.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Dec 2019 18:51:41 -0000 On 12/18/19 4:16 PM, Mark Millard wrote: > > > On 2019-Dec-18, at 13:48, John Baldwin wrote: > >> In the interest of supporting newer versions of GCC for a base system >> toolchain, I've renamed the external GCC packages from -gcc >> to -gcc6. These are built as flavors of a new devel/freebsd-gcc6 >> port. The xtoolchain package is not used for these new packages, instead >> one does 'pkg install mips-gcc6' to get the GCC 6.x MIPS compiler and >> uses 'CROSS_TOOLCHAIN=mips-gcc6'. I've also gone ahead and updated this >> compiler to 6.5.0. >> >> I will leave the old ports/packages around for now to permit an easy >> transition, but going forward, the -gcc6 packages should be preferred >> to -xtoolchain-gcc for all but riscv (riscv64-gcc and riscv64-xtoolchain-gcc >> are separate from the powerpc64-gcc set of packages). >> >> In addition, I've also just added a devel/freebsd-gcc9 package which >> builds -gcc9 packages. It adds powerpc and riscv flavors relative >> to freebsd-gcc6 and uses GCC 9.2.0. To date in my testing I've yet to >> be able to finish a buildworld on any of the platforms I've tried >> (amd64, mips, sparc64), but the packages should permit other developers >> to get the tree building with GCC 9. To use these packages one would do >> something like: >> >> # pkg install amd64-gcc9 >> # make buildworld CROSS_TOOLCHAIN=amd64-gcc9 >> >> You can install both the gcc6 and gcc9 versions of a package at the same >> time, e.g. amd64-gcc6 and amd64-gcc9. Having different packages for major >> versions is similar to llvm and will also let us keep a known-good >> toolchain package for older releases while using newer major versions on >> newer FreeBSD releases (e.g gcc9 for 13.0 and gcc6 for 12.x). >> >> I do plan to switch the default toolchains for make universe/tinderbox >> for targets using -xtoolchain-gcc based on GCC 6 over to the >> freebsd-gcc6 variants in the next week or so. >> > > How about base/binutils and base/gcc ? Is their (future?) status > changed by any of this activity? I plan to rename base/gcc to base/gcc6 (and update it to 6.5) and then add a base/gcc9 that would provide GCC 9 as /usr/bin/cc. -- John Baldwin From owner-freebsd-current@freebsd.org Thu Dec 19 18:54:57 2019 Return-Path: Delivered-To: freebsd-current@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 A225B1E819E for ; Thu, 19 Dec 2019 18:54:57 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47f1Jx2kttz40xx for ; Thu, 19 Dec 2019 18:54:57 +0000 (UTC) (envelope-from hps@selasky.org) Received: by mailman.nyi.freebsd.org (Postfix) id 5C2161E819C; Thu, 19 Dec 2019 18:54:57 +0000 (UTC) Delivered-To: current@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 5BE881E819B for ; Thu, 19 Dec 2019 18:54:57 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47f1Jw1F8fz40xs for ; Thu, 19 Dec 2019 18:54:55 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id ED8A12602CC; Thu, 19 Dec 2019 19:43:57 +0100 (CET) Subject: Re: drm-current-kmod panics To: Cy Schubert Cc: current@freebsd.org References: <201912191650.xBJGotp2003261@slippy.cwsent.com> <201912191840.xBJIeqQX071052@slippy.cwsent.com> From: Hans Petter Selasky Message-ID: Date: Thu, 19 Dec 2019 19:42:56 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 MIME-Version: 1.0 In-Reply-To: <201912191840.xBJIeqQX071052@slippy.cwsent.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47f1Jw1F8fz40xs X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 2a01:4f8:c17:6c4b::2 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-4.94 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-2.64)[ip: (-9.19), ipnet: 2a01:4f8::/29(-2.43), asn: 24940(-1.55), country: DE(-0.02)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Dec 2019 18:54:57 -0000 On 2019-12-19 19:40, Cy Schubert wrote: > In message , Hans Petter > Sela > sky writes: >> On 2019-12-19 17:50, Cy Schubert wrote: >>> Has anyone else had these since Dec 9? >>> >>> <4>WARN_ON(!mutex_is_locked(&fbc->lock))WARN_ON(!mutex_is_locked(&fbc-> >>> lock)) >>> panic: page fault >>> cpuid = 1 >>> time = 1576772837 >>> KDB: stack backtrace: >>> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame >>> 0xfffffe007c98b930 >>> vpanic() at vpanic+0x17e/frame 0xfffffe007c98b990 >>> panic() at panic+0x43/frame 0xfffffe007c98b9f0 >>> trap_fatal() at trap_fatal+0x386/frame 0xfffffe007c98ba50 >>> trap_pfault() at trap_pfault+0x4f/frame 0xfffffe007c98bac0 >>> trap() at trap+0x41b/frame 0xfffffe007c98bbf0 >>> calltrap() at calltrap+0x8/frame 0xfffffe007c98bbf0 >>> --- trap 0xc, rip = 0x242c52, rsp = 0x7fffffffbe70, rbp = 0x7fffffffbe90 -- >> - >>> Uptime: 59m7s >>> >>> It is triggered through random keystrokes or mouse movements. >> >> Looks like a double fault. >> >> Did you recompile drm-current-kmod with the latest kernel sources? > > Yes. > > Are you able to get a full backtrace? --HPS From owner-freebsd-current@freebsd.org Thu Dec 19 19:13:25 2019 Return-Path: Delivered-To: freebsd-current@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 114641E8AA8 for ; Thu, 19 Dec 2019 19:13:25 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47f1kD49sXz426W for ; Thu, 19 Dec 2019 19:13:24 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: by mailman.nyi.freebsd.org (Postfix) id 8DB5C1E8AA7; Thu, 19 Dec 2019 19:13:24 +0000 (UTC) Delivered-To: current@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 8D79B1E8AA6 for ; Thu, 19 Dec 2019 19:13:24 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47f1kC3Mctz426V for ; Thu, 19 Dec 2019 19:13:23 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id i1EbifZ8dnCigi1EdirsBa; Thu, 19 Dec 2019 12:13:21 -0700 X-Authority-Analysis: v=2.3 cv=cZisUULM c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=kj9zAlcOel0A:10 a=pxVhFHJ0LMsA:10 a=ndaoGXS1AAAA:8 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=GBBzHr4k3opATL3G0y4A:9 a=CjuIK1q_8ugA:10 a=mFeOnlTyF09QQMGr2mMI:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 Received: from slippy.cwsent.com (slippy8 [10.2.2.6]) by spqr.komquats.com (Postfix) with ESMTPS id 744A9451; Thu, 19 Dec 2019 11:13:17 -0800 (PST) Received: from slippy.cwsent.com (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id xBJJCwdn071307; Thu, 19 Dec 2019 11:12:58 -0800 (PST) (envelope-from Cy.Schubert@cschubert.com) Received: from slippy (cy@localhost) by slippy.cwsent.com (8.15.2/8.15.2/Submit) with ESMTP id xBJJCwNh071304; Thu, 19 Dec 2019 11:12:58 -0800 (PST) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201912191912.xBJJCwNh071304@slippy.cwsent.com> X-Authentication-Warning: slippy.cwsent.com: cy owned process doing -bs X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7.1 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Hans Petter Selasky cc: Cy Schubert , current@freebsd.org Subject: Re: drm-current-kmod panics In-reply-to: References: <201912191650.xBJGotp2003261@slippy.cwsent.com> <201912191840.xBJIeqQX071052@slippy.cwsent.com> Comments: In-reply-to Hans Petter Selasky message dated "Thu, 19 Dec 2019 19:42:56 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 19 Dec 2019 11:12:58 -0800 X-CMAE-Envelope: MS4wfPkdaqIEp6sifo/vMLu3BDn+0p77uUtIno+PKxV0IaIqWVcsTqs+xQoTjoPUF5s9JRlI6N9IbcWExodZIw+HEf07ISI5hXDDnpurJBqQIR+5Kv5PjP71 nWTkmVHSG7lgNeSHDmGVbKzhgayZ/nj6o1XqYe1vipNKNOxIS2sAOuQQNRdAjvltKbHT58qiggZV4l0FM7XZhvkfnnwGsz7xcAs= X-Rspamd-Queue-Id: 47f1kC3Mctz426V X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of cy.schubert@cschubert.com has no SPF policy when checking 64.59.134.12) smtp.mailfrom=cy.schubert@cschubert.com X-Spamd-Result: default: False [-4.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; HAS_REPLYTO(0.00)[Cy.Schubert@cschubert.com]; 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]; HAS_XAW(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RWL_MAILSPIKE_GOOD(0.00)[12.134.59.64.rep.mailspike.net : 127.0.0.18]; REPLYTO_EQ_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[17.125.67.70.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_SPF_NA(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[12.134.59.64.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6327, ipnet:64.59.128.0/20, country:CA]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-2.40)[ip: (-6.40), ipnet: 64.59.128.0/20(-3.09), asn: 6327(-2.40), country: CA(-0.09)]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Dec 2019 19:13:25 -0000 In message , Hans Petter Sela sky writes: > On 2019-12-19 19:40, Cy Schubert wrote: > > In message , Hans Petter > > Sela > > sky writes: > >> On 2019-12-19 17:50, Cy Schubert wrote: > >>> Has anyone else had these since Dec 9? > >>> > >>> <4>WARN_ON(!mutex_is_locked(&fbc->lock))WARN_ON(!mutex_is_locked(&fbc-> > >>> lock)) > >>> panic: page fault > >>> cpuid = 1 > >>> time = 1576772837 > >>> KDB: stack backtrace: > >>> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame > >>> 0xfffffe007c98b930 > >>> vpanic() at vpanic+0x17e/frame 0xfffffe007c98b990 > >>> panic() at panic+0x43/frame 0xfffffe007c98b9f0 > >>> trap_fatal() at trap_fatal+0x386/frame 0xfffffe007c98ba50 > >>> trap_pfault() at trap_pfault+0x4f/frame 0xfffffe007c98bac0 > >>> trap() at trap+0x41b/frame 0xfffffe007c98bbf0 > >>> calltrap() at calltrap+0x8/frame 0xfffffe007c98bbf0 > >>> --- trap 0xc, rip = 0x242c52, rsp = 0x7fffffffbe70, rbp = 0x7fffffffbe90 > -- > >> - > >>> Uptime: 59m7s > >>> > >>> It is triggered through random keystrokes or mouse movements. > >> > >> Looks like a double fault. > >> > >> Did you recompile drm-current-kmod with the latest kernel sources? > > > > Yes. > > > > > > Are you able to get a full backtrace? (kgdb) #0 __curthread () at /opt/src/svn-current/sys/amd64/include/pcpu_aux .h:5 5 #1 doadump (textdump=1) at /opt/src/svn-current/sys/kern/kern_shutdown.c:39 2 #2 0xffffffff80690a2a in kern_reboot (howto=260) at /opt/src/svn-current/sys/kern/kern_shutdown.c:479 #3 0xffffffff80690ec6 in vpanic (fmt=, ap=) at /opt/src/svn-current/sys/kern/kern_shutdown.c:908 #4 0xffffffff80690ce3 in panic (fmt=) at /opt/src/svn-current/sys/kern/kern_shutdown.c:835 #5 0xffffffff80a31c06 in trap_fatal (frame=0xfffffe007c98bc00, eva=2928416) at /opt/src/svn-current/sys/amd64/amd64/trap.c:926 #6 0xffffffff80a31c5f in trap_pfault (frame=0xfffffe007c98bc00, usermode=, signo=, ucode=) at /opt/src/svn-current/sys/amd64/amd64/trap.c:743 #7 0xffffffff80a3144b in trap (frame=0xfffffe007c98bc00) at /opt/src/svn-current/sys/amd64/amd64/trap.c:347 #8 #9 0x0000000000242c52 in ?? () Backtrace stopped: Cannot access memory at address 0x7fffffffbe70 (kgdb) I also tried drm-legacy-kmod this morning before heading off to work. It wouldn't panic but a hard hang. At least drm-current-kmod panics. I suspect some of It's interesting to note that though the first occurrence of this panic occurred on Dec 9, it is more frequent now. -rw------- 1 root wheel 476 Dec 9 18:53 /var/crash/info.0 -rw------- 1 root wheel 517 Dec 16 12:28 /var/crash/info.1 -rw------- 1 root wheel 473 Dec 18 10:26 /var/crash/info.2 -rw------- 1 root wheel 476 Dec 18 12:35 /var/crash/info.3 -rw------- 1 root wheel 476 Dec 19 08:31 /var/crash/info.4 My workload hasn't changed. Random mouse clicks or key presses trigger it. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few. From owner-freebsd-current@freebsd.org Thu Dec 19 19:20:38 2019 Return-Path: Delivered-To: freebsd-current@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 19A141E8F0A for ; Thu, 19 Dec 2019 19:20:38 +0000 (UTC) (envelope-from jroberson@jroberson.net) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47f1tY5JQDz42bZ for ; Thu, 19 Dec 2019 19:20:37 +0000 (UTC) (envelope-from jroberson@jroberson.net) Received: by mailman.nyi.freebsd.org (Postfix) id B45241E8F09; Thu, 19 Dec 2019 19:20:37 +0000 (UTC) Delivered-To: current@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 B415F1E8F08 for ; Thu, 19 Dec 2019 19:20:37 +0000 (UTC) (envelope-from jroberson@jroberson.net) Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) (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 47f1tX3HvKz42bX for ; Thu, 19 Dec 2019 19:20:36 +0000 (UTC) (envelope-from jroberson@jroberson.net) Received: by mail-pf1-x442.google.com with SMTP id y14so3805558pfm.13 for ; Thu, 19 Dec 2019 11:20:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jroberson-net.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=KeWohLOrJM+tTYxJ/xkvpaaTjm1pDTfnc2o7rMh1E6M=; b=l9uV9EAbJI0FgHw9eEDyiTEe5kaQaTm2+uxkz5XdDbopJFZ6VLqyfFUmapNl/Hoxie orIkxd32PBIKT+ljPNMnW7NFPdvoW2Pw0vVVUIa6mOU2C6NvZesyGashUu/RyPk4Jga3 bxy/m0tIDpNZI/CERjuz0vTlOLmN+TuaAQWxxO748JR2xoWcCAGv6LLUpr539ZeqWnyK WQxGMK/S3dTZLDeWQlOGYBp7MdUAR++IsDF68NG5ofXPolHuHw47fBxYEoUmVaKndmOf RGdnMePnQDqu6+5HHLp/CqmqdlE9RtCKDnVpgw1btZAlZRm9g1cy9dCKwjAUpMQIbT01 0M8w== 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:in-reply-to:message-id :references:user-agent:mime-version; bh=KeWohLOrJM+tTYxJ/xkvpaaTjm1pDTfnc2o7rMh1E6M=; b=D/DQCcR5NZyTwMkUweRnXDZOXYqSlaKBVCRlG1BiF000Wn5hh3/MdN+2Iy+EJGLxGk pjoU6FT8QaGnmJMd7Es1in/pRsufj8ZtPZBlYy7vs3EjIvCpPQ9r1PzxALuFeUtK8ZnS NVMC/+2f/rt25lW0ROQXwGXMOLTO1JoJTx2Epkqbjeb3TM1Xm+K9tAzo3VkhQzHjv9/M csgWmdJ+nwOpJ7q68w4yEyDVXxu6Ql4iYoBFWrBcl/D0LFwUCzQ431iGjwoPzkSCW8n9 NtMPXgpB92QLVSJ2KPdNE0TczQVChe5QL7k9J2c2FdMBW7mOuh2PwIdqmW49DxwJwh0q 4Tpg== X-Gm-Message-State: APjAAAVtUvKWEoRvbfF+ADe43cs4iSOreuy10apPtaSsFacATu70tnoM I/NweCUPV8asTc19OaSWzdzlSx/H1jg= X-Google-Smtp-Source: APXvYqzr5aloJ5Y7583CvhRMO2G/4/OYq7/zz7uw0Ir/kMAJFiWjbnFfT4x37Y//FuAlicbLBDkUqQ== X-Received: by 2002:a63:1662:: with SMTP id 34mr10373801pgw.77.1576783234890; Thu, 19 Dec 2019 11:20:34 -0800 (PST) Received: from rrcs-76-81-105-82.west.biz.rr.com (rrcs-76-81-105-82.west.biz.rr.com. [76.81.105.82]) by smtp.gmail.com with ESMTPSA id h26sm10071619pfr.9.2019.12.19.11.20.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Dec 2019 11:20:34 -0800 (PST) Date: Thu, 19 Dec 2019 09:20:32 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: Hans Petter Selasky cc: Cy Schubert , current@freebsd.org Subject: Re: drm-current-kmod panics In-Reply-To: Message-ID: References: <201912191650.xBJGotp2003261@slippy.cwsent.com> <201912191840.xBJIeqQX071052@slippy.cwsent.com> User-Agent: Alpine 2.21.9999 (BSF 287 2018-06-16) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 47f1tX3HvKz42bX X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=jroberson-net.20150623.gappssmtp.com header.s=20150623 header.b=l9uV9EAb; dmarc=none; spf=none (mx1.freebsd.org: domain of jroberson@jroberson.net has no SPF policy when checking 2607:f8b0:4864:20::442) smtp.mailfrom=jroberson@jroberson.net X-Spamd-Result: default: False [-2.75 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[jroberson-net.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; DMARC_NA(0.00)[jroberson.net]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[jroberson-net.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[2.4.4.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]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_ALL(0.00)[]; IP_SCORE(-0.95)[ip: (-0.63), ipnet: 2607:f8b0::/32(-2.18), asn: 15169(-1.90), country: US(-0.05)] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Dec 2019 19:20:38 -0000 On Thu, 19 Dec 2019, Hans Petter Selasky wrote: > On 2019-12-19 19:40, Cy Schubert wrote: >> In message , Hans Petter >> Sela >> sky writes: >>> On 2019-12-19 17:50, Cy Schubert wrote: >>>> Has anyone else had these since Dec 9? >>>> >>>> <4>WARN_ON(!mutex_is_locked(&fbc->lock))WARN_ON(!mutex_is_locked(&fbc-> >>>> lock)) >>>> panic: page fault >>>> cpuid = 1 >>>> time = 1576772837 >>>> KDB: stack backtrace: >>>> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame >>>> 0xfffffe007c98b930 >>>> vpanic() at vpanic+0x17e/frame 0xfffffe007c98b990 >>>> panic() at panic+0x43/frame 0xfffffe007c98b9f0 >>>> trap_fatal() at trap_fatal+0x386/frame 0xfffffe007c98ba50 >>>> trap_pfault() at trap_pfault+0x4f/frame 0xfffffe007c98bac0 >>>> trap() at trap+0x41b/frame 0xfffffe007c98bbf0 >>>> calltrap() at calltrap+0x8/frame 0xfffffe007c98bbf0 >>>> --- trap 0xc, rip = 0x242c52, rsp = 0x7fffffffbe70, rbp = 0x7fffffffbe90 >>>> -- >>> - >>>> Uptime: 59m7s >>>> >>>> It is triggered through random keystrokes or mouse movements. >>> >>> Looks like a double fault. >>> >>> Did you recompile drm-current-kmod with the latest kernel sources? >> >> Yes. >> >> > > Are you able to get a full backtrace? Since my recent scheduler commits the following functions now return without the thread lock held: sched_add()/sched_wakeup()/sched_switch()/mi_switch()/setrunnable()/sleepq_abort() I audited drm and linuxkpi for use of these functions. There was one in the linuxkpi sources that I corrected in the same commit as the change in api. I don't see any users of these in drm-current-kmod. It is possible that I have somehow missed it. I did just commit a fix to cpuset that may be called indirectly somehow. That fix is r355915. The first commit of this series was r35579. If this is at fault I may need some assistance in identifying what the offending call is. It should show up with INVARIANTS/WITNESS more quickly than a pagefault if so though. Thanks, Jeff > > --HPS > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > From owner-freebsd-current@freebsd.org Thu Dec 19 19:21:06 2019 Return-Path: Delivered-To: freebsd-current@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 C44C61E8FC9 for ; Thu, 19 Dec 2019 19:21:06 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 47f1v64GKTz42l0 for ; Thu, 19 Dec 2019 19:21:06 +0000 (UTC) (envelope-from hps@selasky.org) Received: by mailman.nyi.freebsd.org (Postfix) id 91FB51E8FC8; Thu, 19 Dec 2019 19:21:06 +0000 (UTC) Delivered-To: current@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 91AD71E8FC7 for ; Thu, 19 Dec 2019 19:21:06 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47f1v607z2z42kx for ; Thu, 19 Dec 2019 19:21:05 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id C663526003E; Thu, 19 Dec 2019 20:21:04 +0100 (CET) Subject: Re: drm-current-kmod panics To: Cy Schubert Cc: current@freebsd.org References: <201912191650.xBJGotp2003261@slippy.cwsent.com> <201912191840.xBJIeqQX071052@slippy.cwsent.com> <201912191912.xBJJCwNh071304@slippy.cwsent.com> From: Hans Petter Selasky Message-ID: <6f60d4b5-8abe-573c-7140-9b449f3dd581@selasky.org> Date: Thu, 19 Dec 2019 20:19:57 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 MIME-Version: 1.0 In-Reply-To: <201912191912.xBJJCwNh071304@slippy.cwsent.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47f1v607z2z42kx X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 2a01:4f8:c17:6c4b::2 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-4.94 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-2.64)[ip: (-9.19), ipnet: 2a01:4f8::/29(-2.43), asn: 24940(-1.55), country: DE(-0.02)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Dec 2019 19:21:06 -0000 On 2019-12-19 20:12, Cy Schubert wrote: > In message , Hans Petter > Sela > sky writes: >> On 2019-12-19 19:40, Cy Schubert wrote: >>> In message , Hans Petter >>> Sela >>> sky writes: >>>> On 2019-12-19 17:50, Cy Schubert wrote: >>>>> Has anyone else had these since Dec 9? >>>>> >>>>> <4>WARN_ON(!mutex_is_locked(&fbc->lock))WARN_ON(!mutex_is_locked(&fbc-> >>>>> lock)) >>>>> panic: page fault >>>>> cpuid = 1 >>>>> time = 1576772837 >>>>> KDB: stack backtrace: >>>>> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame >>>>> 0xfffffe007c98b930 >>>>> vpanic() at vpanic+0x17e/frame 0xfffffe007c98b990 >>>>> panic() at panic+0x43/frame 0xfffffe007c98b9f0 >>>>> trap_fatal() at trap_fatal+0x386/frame 0xfffffe007c98ba50 >>>>> trap_pfault() at trap_pfault+0x4f/frame 0xfffffe007c98bac0 >>>>> trap() at trap+0x41b/frame 0xfffffe007c98bbf0 >>>>> calltrap() at calltrap+0x8/frame 0xfffffe007c98bbf0 >>>>> --- trap 0xc, rip = 0x242c52, rsp = 0x7fffffffbe70, rbp = 0x7fffffffbe90 >> -- >>>> - >>>>> Uptime: 59m7s >>>>> >>>>> It is triggered through random keystrokes or mouse movements. >>>> >>>> Looks like a double fault. >>>> >>>> Did you recompile drm-current-kmod with the latest kernel sources? >>> >>> Yes. >>> >>> >> >> Are you able to get a full backtrace? > > (kgdb) #0 __curthread () at /opt/src/svn-current/sys/amd64/include/pcpu_aux > .h:5 > 5 > #1 doadump (textdump=1) at /opt/src/svn-current/sys/kern/kern_shutdown.c:39 > 2 > #2 0xffffffff80690a2a in kern_reboot (howto=260) > at /opt/src/svn-current/sys/kern/kern_shutdown.c:479 > #3 0xffffffff80690ec6 in vpanic (fmt=, ap=) > at /opt/src/svn-current/sys/kern/kern_shutdown.c:908 > #4 0xffffffff80690ce3 in panic (fmt=) > at /opt/src/svn-current/sys/kern/kern_shutdown.c:835 > #5 0xffffffff80a31c06 in trap_fatal (frame=0xfffffe007c98bc00, eva=2928416) > at /opt/src/svn-current/sys/amd64/amd64/trap.c:926 > #6 0xffffffff80a31c5f in trap_pfault (frame=0xfffffe007c98bc00, > usermode=, signo=, ucode=) > at /opt/src/svn-current/sys/amd64/amd64/trap.c:743 > #7 0xffffffff80a3144b in trap (frame=0xfffffe007c98bc00) > at /opt/src/svn-current/sys/amd64/amd64/trap.c:347 > #8 > #9 0x0000000000242c52 in ?? () > Backtrace stopped: Cannot access memory at address 0x7fffffffbe70 > (kgdb) > > I also tried drm-legacy-kmod this morning before heading off to work. It > wouldn't panic but a hard hang. At least drm-current-kmod panics. I suspect > some of > > It's interesting to note that though the first occurrence of this panic > occurred on Dec 9, it is more frequent now. > > -rw------- 1 root wheel 476 Dec 9 18:53 /var/crash/info.0 > -rw------- 1 root wheel 517 Dec 16 12:28 /var/crash/info.1 > -rw------- 1 root wheel 473 Dec 18 10:26 /var/crash/info.2 > -rw------- 1 root wheel 476 Dec 18 12:35 /var/crash/info.3 > -rw------- 1 root wheel 476 Dec 19 08:31 /var/crash/info.4 > > My workload hasn't changed. Random mouse clicks or key presses trigger it. > > Can you try to get the very latest FreeBSD SVN (r355915) First rebuild the kernel and then rebuild the module. Also make sure you do "porsnap fetch update" to get the latest drm-current-kmod port. --HPS From owner-freebsd-current@freebsd.org Thu Dec 19 19:41:42 2019 Return-Path: Delivered-To: freebsd-current@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 4C8B01E9974 for ; Thu, 19 Dec 2019 19:41:42 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 47f2Lt00N5z43w2 for ; Thu, 19 Dec 2019 19:41:42 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: by mailman.nyi.freebsd.org (Postfix) id F3F141E9973; Thu, 19 Dec 2019 19:41:41 +0000 (UTC) Delivered-To: current@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 F3B071E9971 for ; Thu, 19 Dec 2019 19:41:41 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47f2Lr6900z43w0 for ; Thu, 19 Dec 2019 19:41:40 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id i1g0i9z1bRnrKi1g1iuJTm; Thu, 19 Dec 2019 12:41:39 -0700 X-Authority-Analysis: v=2.3 cv=L7FjvNb8 c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=kj9zAlcOel0A:10 a=pxVhFHJ0LMsA:10 a=ndaoGXS1AAAA:8 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=xcPMti8hYbjpbBzHsY8A:9 a=CjuIK1q_8ugA:10 a=mFeOnlTyF09QQMGr2mMI:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 Received: from slippy.cwsent.com (slippy8 [10.2.2.6]) by spqr.komquats.com (Postfix) with ESMTPS id AC8F6496; Thu, 19 Dec 2019 11:41:35 -0800 (PST) Received: from slippy.cwsent.com (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id xBJJfGU5071809; Thu, 19 Dec 2019 11:41:16 -0800 (PST) (envelope-from Cy.Schubert@cschubert.com) Received: from slippy (cy@localhost) by slippy.cwsent.com (8.15.2/8.15.2/Submit) with ESMTP id xBJJfGOn071806; Thu, 19 Dec 2019 11:41:16 -0800 (PST) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201912191941.xBJJfGOn071806@slippy.cwsent.com> X-Authentication-Warning: slippy.cwsent.com: cy owned process doing -bs X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7.1 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Hans Petter Selasky cc: Cy Schubert , current@freebsd.org Subject: Re: drm-current-kmod panics In-reply-to: <6f60d4b5-8abe-573c-7140-9b449f3dd581@selasky.org> References: <201912191650.xBJGotp2003261@slippy.cwsent.com> <201912191840.xBJIeqQX071052@slippy.cwsent.com> <201912191912.xBJJCwNh071304@slippy.cwsent.com> <6f60d4b5-8abe-573c-7140-9b449f3dd581@selasky.org> Comments: In-reply-to Hans Petter Selasky message dated "Thu, 19 Dec 2019 20:19:57 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 19 Dec 2019 11:41:16 -0800 X-CMAE-Envelope: MS4wfPLwSRX7SSNBkRzfqSYKysLZpcZG/13K1XqKVNobj/8XewUjGtME3qf1WXmjqA86p2ug8VFK/4t2mNJ4wm18x3D6qjm+fHnyHbDTCKwxfUKz6R6IQ9Wn agxMsLkGS2arGsjWAPsLvdN8UzTqqbCLY79qarsENCJ2R5mJB/W8z7mS+w4xCxZfKtIgDcqC3lSoN+5N0T4CxZs24opoxbfkWIM= X-Rspamd-Queue-Id: 47f2Lr6900z43w0 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of cy.schubert@cschubert.com has no SPF policy when checking 64.59.136.137) smtp.mailfrom=cy.schubert@cschubert.com X-Spamd-Result: default: False [-4.01 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; RECEIVED_SPAMHAUS_PBL(0.00)[17.125.67.70.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; HAS_REPLYTO(0.00)[Cy.Schubert@cschubert.com]; REPLYTO_EQ_FROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6327, ipnet:64.59.128.0/20, country:CA]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-2.31)[ip: (-5.97), ipnet: 64.59.128.0/20(-3.09), asn: 6327(-2.40), country: CA(-0.09)]; RCVD_IN_DNSWL_LOW(-0.10)[137.136.59.64.list.dnswl.org : 127.0.5.1] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Dec 2019 19:41:42 -0000 In message <6f60d4b5-8abe-573c-7140-9b449f3dd581@selasky.org>, Hans Petter Sela sky writes: > On 2019-12-19 20:12, Cy Schubert wrote: > > In message , Hans Petter > > Sela > > sky writes: > >> On 2019-12-19 19:40, Cy Schubert wrote: > >>> In message , Hans Pette > r > >>> Sela > >>> sky writes: > >>>> On 2019-12-19 17:50, Cy Schubert wrote: > >>>>> Has anyone else had these since Dec 9? > >>>>> > >>>>> <4>WARN_ON(!mutex_is_locked(&fbc->lock))WARN_ON(!mutex_is_locked(&fbc-> > >>>>> lock)) > >>>>> panic: page fault > >>>>> cpuid = 1 > >>>>> time = 1576772837 > >>>>> KDB: stack backtrace: > >>>>> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame > >>>>> 0xfffffe007c98b930 > >>>>> vpanic() at vpanic+0x17e/frame 0xfffffe007c98b990 > >>>>> panic() at panic+0x43/frame 0xfffffe007c98b9f0 > >>>>> trap_fatal() at trap_fatal+0x386/frame 0xfffffe007c98ba50 > >>>>> trap_pfault() at trap_pfault+0x4f/frame 0xfffffe007c98bac0 > >>>>> trap() at trap+0x41b/frame 0xfffffe007c98bbf0 > >>>>> calltrap() at calltrap+0x8/frame 0xfffffe007c98bbf0 > >>>>> --- trap 0xc, rip = 0x242c52, rsp = 0x7fffffffbe70, rbp = 0x7fffffffbe9 > 0 > >> -- > >>>> - > >>>>> Uptime: 59m7s > >>>>> > >>>>> It is triggered through random keystrokes or mouse movements. > >>>> > >>>> Looks like a double fault. > >>>> > >>>> Did you recompile drm-current-kmod with the latest kernel sources? > >>> > >>> Yes. > >>> > >>> > >> > >> Are you able to get a full backtrace? > > > > (kgdb) #0 __curthread () at /opt/src/svn-current/sys/amd64/include/pcpu_au > x > > .h:5 > > 5 > > #1 doadump (textdump=1) at /opt/src/svn-current/sys/kern/kern_shutdown.c:3 > 9 > > 2 > > #2 0xffffffff80690a2a in kern_reboot (howto=260) > > at /opt/src/svn-current/sys/kern/kern_shutdown.c:479 > > #3 0xffffffff80690ec6 in vpanic (fmt=, ap=) > > at /opt/src/svn-current/sys/kern/kern_shutdown.c:908 > > #4 0xffffffff80690ce3 in panic (fmt=) > > at /opt/src/svn-current/sys/kern/kern_shutdown.c:835 > > #5 0xffffffff80a31c06 in trap_fatal (frame=0xfffffe007c98bc00, eva=2928416 > ) > > at /opt/src/svn-current/sys/amd64/amd64/trap.c:926 > > #6 0xffffffff80a31c5f in trap_pfault (frame=0xfffffe007c98bc00, > > usermode=, signo=, ucode= > ) > > at /opt/src/svn-current/sys/amd64/amd64/trap.c:743 > > #7 0xffffffff80a3144b in trap (frame=0xfffffe007c98bc00) > > at /opt/src/svn-current/sys/amd64/amd64/trap.c:347 > > #8 > > #9 0x0000000000242c52 in ?? () > > Backtrace stopped: Cannot access memory at address 0x7fffffffbe70 > > (kgdb) > > > > I also tried drm-legacy-kmod this morning before heading off to work. It > > wouldn't panic but a hard hang. At least drm-current-kmod panics. I suspect > > some of > > > > It's interesting to note that though the first occurrence of this panic > > occurred on Dec 9, it is more frequent now. > > > > -rw------- 1 root wheel 476 Dec 9 18:53 /var/crash/info.0 > > -rw------- 1 root wheel 517 Dec 16 12:28 /var/crash/info.1 > > -rw------- 1 root wheel 473 Dec 18 10:26 /var/crash/info.2 > > -rw------- 1 root wheel 476 Dec 18 12:35 /var/crash/info.3 > > -rw------- 1 root wheel 476 Dec 19 08:31 /var/crash/info.4 > > > > My workload hasn't changed. Random mouse clicks or key presses trigger it. > > > > > > Can you try to get the very latest FreeBSD SVN (r355915) Sure. Already running r355910 > > First rebuild the kernel and then rebuild the module. Also make sure you > do "porsnap fetch update" to get the latest drm-current-kmod port. I'm already on the latest drm-current-kmod. I'll try r355915. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few. From owner-freebsd-current@freebsd.org Thu Dec 19 20:06:23 2019 Return-Path: Delivered-To: freebsd-current@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 905EF1E9F16; Thu, 19 Dec 2019 20:06:23 +0000 (UTC) (envelope-from rlibby@gmail.com) Received: from mail-qv1-f47.google.com (mail-qv1-f47.google.com [209.85.219.47]) (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 47f2vM3HHJz44jY; Thu, 19 Dec 2019 20:06:23 +0000 (UTC) (envelope-from rlibby@gmail.com) Received: by mail-qv1-f47.google.com with SMTP id o18so2743927qvf.1; Thu, 19 Dec 2019 12:06:23 -0800 (PST) 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=QI6cwzpbRYd596q7wpAvLXaNg+TbwgQHmQNZzhNWREI=; b=TYNTywX66BDbBWUj7nsXq2jj05abZtuM8GEDAPFOvUferjCix099Yi186wacHJJ9hb rURcq0RZOTaaQ3w/rnrMiyYfZSAS+jvj7ZgVPlY7OesspOwRrbI9NDxqIbXQ7P+tatF0 3tT1tlxMYJLGtA1rG1JA3lPIZYyS+tco3ZRk//d0oMPV2Ye46T51+6Eg0Po547FJJt2/ 2h5b+73+AGUbNCH0oci9mL9ILGcu6PLChsFeMgKnVX3OsctYq1MiInBJBVciBC3xLW5l ZS5wDQc6H2agmLfu5xa1czOyudY6yPTElT/FgaOYODK5X4Z9OoEc9V/MJ7/gZjkHmIqM B9ag== X-Gm-Message-State: APjAAAXlVc3OcvUw8/VJoLPEcO0EsqM0wdIfrMKNBzCkc8amMdq4OyoK 78pWAm+5WFfDKwTB+oBq5rITqVni X-Google-Smtp-Source: APXvYqxVl5n5VtBvzKtCcKL5+sm3CD6zWcpzfb5VIj+O9aKC2ko7J2QseDh9UVCeNm+szjSkr1wdVQ== X-Received: by 2002:ad4:53a5:: with SMTP id j5mr6622822qvv.239.1576785981142; Thu, 19 Dec 2019 12:06:21 -0800 (PST) Received: from mail-qk1-f173.google.com (mail-qk1-f173.google.com. [209.85.222.173]) by smtp.gmail.com with ESMTPSA id k4sm2025799qki.35.2019.12.19.12.06.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 19 Dec 2019 12:06:20 -0800 (PST) Received: by mail-qk1-f173.google.com with SMTP id c17so5689197qkg.7; Thu, 19 Dec 2019 12:06:20 -0800 (PST) X-Received: by 2002:a37:27cc:: with SMTP id n195mr9112229qkn.428.1576785980330; Thu, 19 Dec 2019 12:06:20 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Ryan Libby Date: Thu, 19 Dec 2019 12:06:09 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: New external GCC toolchain ports/packages To: John Baldwin Cc: "freebsd-toolchain@FreeBSD.org" , "freebsd-current@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 47f2vM3HHJz44jY 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]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Dec 2019 20:06:23 -0000 On Wed, Dec 18, 2019 at 1:49 PM John Baldwin wrote: > > In the interest of supporting newer versions of GCC for a base system > toolchain, I've renamed the external GCC packages from -gcc > to -gcc6. These are built as flavors of a new devel/freebsd-gcc6 > port. The xtoolchain package is not used for these new packages, instead > one does 'pkg install mips-gcc6' to get the GCC 6.x MIPS compiler and > uses 'CROSS_TOOLCHAIN=mips-gcc6'. I've also gone ahead and updated this > compiler to 6.5.0. > > I will leave the old ports/packages around for now to permit an easy > transition, but going forward, the -gcc6 packages should be preferred > to -xtoolchain-gcc for all but riscv (riscv64-gcc and riscv64-xtoolchain-gcc > are separate from the powerpc64-gcc set of packages). > > In addition, I've also just added a devel/freebsd-gcc9 package which > builds -gcc9 packages. It adds powerpc and riscv flavors relative > to freebsd-gcc6 and uses GCC 9.2.0. To date in my testing I've yet to > be able to finish a buildworld on any of the platforms I've tried > (amd64, mips, sparc64), but the packages should permit other developers > to get the tree building with GCC 9. To use these packages one would do > something like: > > # pkg install amd64-gcc9 > # make buildworld CROSS_TOOLCHAIN=amd64-gcc9 > > You can install both the gcc6 and gcc9 versions of a package at the same > time, e.g. amd64-gcc6 and amd64-gcc9. Having different packages for major > versions is similar to llvm and will also let us keep a known-good > toolchain package for older releases while using newer major versions on > newer FreeBSD releases (e.g gcc9 for 13.0 and gcc6 for 12.x). > > I do plan to switch the default toolchains for make universe/tinderbox > for targets using -xtoolchain-gcc based on GCC 6 over to the > freebsd-gcc6 variants in the next week or so. > > -- > John Baldwin Awesome, thanks! I was able to get amd64 buildworld and buildkernel to succeed with just a few changes, and none to the port. I'll work on getting the changes in. From owner-freebsd-current@freebsd.org Thu Dec 19 23:58:44 2019 Return-Path: Delivered-To: freebsd-current@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 133241EE637 for ; Thu, 19 Dec 2019 23:58:44 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47f83R5pQWz4Fhf for ; Thu, 19 Dec 2019 23:58:43 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: by mailman.nyi.freebsd.org (Postfix) id C73AA1EE636; Thu, 19 Dec 2019 23:58:43 +0000 (UTC) Delivered-To: current@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 C6FEC1EE635 for ; Thu, 19 Dec 2019 23:58:43 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47f83R0836z4Fhd for ; Thu, 19 Dec 2019 23:58:42 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id i5gliB4E7kqGXi5gmiZ1NM; Thu, 19 Dec 2019 16:58:41 -0700 X-Authority-Analysis: v=2.3 cv=c/jVvi1l c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=kj9zAlcOel0A:10 a=pxVhFHJ0LMsA:10 a=ndaoGXS1AAAA:8 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=xcPMti8hYbjpbBzHsY8A:9 a=CjuIK1q_8ugA:10 a=mFeOnlTyF09QQMGr2mMI:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 Received: from slippy.cwsent.com (slippy8 [10.2.2.6]) by spqr.komquats.com (Postfix) with ESMTPS id 8B46EB8; Thu, 19 Dec 2019 15:58:38 -0800 (PST) Received: from slippy.cwsent.com (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id xBJNwJSl032491; Thu, 19 Dec 2019 15:58:19 -0800 (PST) (envelope-from Cy.Schubert@cschubert.com) Received: from slippy (cy@localhost) by slippy.cwsent.com (8.15.2/8.15.2/Submit) with ESMTP id xBJNwIxm032488; Thu, 19 Dec 2019 15:58:19 -0800 (PST) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201912192358.xBJNwIxm032488@slippy.cwsent.com> X-Authentication-Warning: slippy.cwsent.com: cy owned process doing -bs X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7.1 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Hans Petter Selasky cc: Cy Schubert , current@freebsd.org Subject: Re: drm-current-kmod panics In-reply-to: <6f60d4b5-8abe-573c-7140-9b449f3dd581@selasky.org> References: <201912191650.xBJGotp2003261@slippy.cwsent.com> <201912191840.xBJIeqQX071052@slippy.cwsent.com> <201912191912.xBJJCwNh071304@slippy.cwsent.com> <6f60d4b5-8abe-573c-7140-9b449f3dd581@selasky.org> Comments: In-reply-to Hans Petter Selasky message dated "Thu, 19 Dec 2019 20:19:57 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 19 Dec 2019 15:58:18 -0800 X-CMAE-Envelope: MS4wfLmVqtr+sohRPSTlYD35Rby0PTfqSPU1EugD2p1wmf8mkHiAOQ6HLMJJED4hUOVYHcY/ktq+LAuvk+r4lAOsRkVmt7hU8AQRALcVLURbEj5ur3pDjnPT 38OsZlj8ijc5ZNciY+GVubw9D9c7n94M8lC0h+5yLV5Um9FOYD/rVMWOdNoBhuGQTijc0llunYspwhsdUhfbxu+SwH4hQMJsdH4= X-Rspamd-Queue-Id: 47f83R0836z4Fhd X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of cy.schubert@cschubert.com has no SPF policy when checking 64.59.134.12) smtp.mailfrom=cy.schubert@cschubert.com X-Spamd-Result: default: False [-4.09 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; HAS_REPLYTO(0.00)[Cy.Schubert@cschubert.com]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RWL_MAILSPIKE_GOOD(0.00)[12.134.59.64.rep.mailspike.net : 127.0.0.18]; REPLYTO_EQ_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[17.125.67.70.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6327, ipnet:64.59.128.0/20, country:CA]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-2.39)[ip: (-6.38), ipnet: 64.59.128.0/20(-3.09), asn: 6327(-2.40), country: CA(-0.09)]; RCVD_IN_DNSWL_LOW(-0.10)[12.134.59.64.list.dnswl.org : 127.0.5.1] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Dec 2019 23:58:44 -0000 In message <6f60d4b5-8abe-573c-7140-9b449f3dd581@selasky.org>, Hans Petter Sela sky writes: > On 2019-12-19 20:12, Cy Schubert wrote: > > In message , Hans Petter > > Sela > > sky writes: > >> On 2019-12-19 19:40, Cy Schubert wrote: > >>> In message , Hans Pette > r > >>> Sela > >>> sky writes: > >>>> On 2019-12-19 17:50, Cy Schubert wrote: > >>>>> Has anyone else had these since Dec 9? > >>>>> > >>>>> <4>WARN_ON(!mutex_is_locked(&fbc->lock))WARN_ON(!mutex_is_locked(&fbc-> > >>>>> lock)) > >>>>> panic: page fault > >>>>> cpuid = 1 > >>>>> time = 1576772837 > >>>>> KDB: stack backtrace: > >>>>> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame > >>>>> 0xfffffe007c98b930 > >>>>> vpanic() at vpanic+0x17e/frame 0xfffffe007c98b990 > >>>>> panic() at panic+0x43/frame 0xfffffe007c98b9f0 > >>>>> trap_fatal() at trap_fatal+0x386/frame 0xfffffe007c98ba50 > >>>>> trap_pfault() at trap_pfault+0x4f/frame 0xfffffe007c98bac0 > >>>>> trap() at trap+0x41b/frame 0xfffffe007c98bbf0 > >>>>> calltrap() at calltrap+0x8/frame 0xfffffe007c98bbf0 > >>>>> --- trap 0xc, rip = 0x242c52, rsp = 0x7fffffffbe70, rbp = 0x7fffffffbe9 > 0 > >> -- > >>>> - > >>>>> Uptime: 59m7s > >>>>> > >>>>> It is triggered through random keystrokes or mouse movements. > >>>> > >>>> Looks like a double fault. > >>>> > >>>> Did you recompile drm-current-kmod with the latest kernel sources? > >>> > >>> Yes. > >>> > >>> > >> > >> Are you able to get a full backtrace? > > > > (kgdb) #0 __curthread () at /opt/src/svn-current/sys/amd64/include/pcpu_au > x > > .h:5 > > 5 > > #1 doadump (textdump=1) at /opt/src/svn-current/sys/kern/kern_shutdown.c:3 > 9 > > 2 > > #2 0xffffffff80690a2a in kern_reboot (howto=260) > > at /opt/src/svn-current/sys/kern/kern_shutdown.c:479 > > #3 0xffffffff80690ec6 in vpanic (fmt=, ap=) > > at /opt/src/svn-current/sys/kern/kern_shutdown.c:908 > > #4 0xffffffff80690ce3 in panic (fmt=) > > at /opt/src/svn-current/sys/kern/kern_shutdown.c:835 > > #5 0xffffffff80a31c06 in trap_fatal (frame=0xfffffe007c98bc00, eva=2928416 > ) > > at /opt/src/svn-current/sys/amd64/amd64/trap.c:926 > > #6 0xffffffff80a31c5f in trap_pfault (frame=0xfffffe007c98bc00, > > usermode=, signo=, ucode= > ) > > at /opt/src/svn-current/sys/amd64/amd64/trap.c:743 > > #7 0xffffffff80a3144b in trap (frame=0xfffffe007c98bc00) > > at /opt/src/svn-current/sys/amd64/amd64/trap.c:347 > > #8 > > #9 0x0000000000242c52 in ?? () > > Backtrace stopped: Cannot access memory at address 0x7fffffffbe70 > > (kgdb) > > > > I also tried drm-legacy-kmod this morning before heading off to work. It > > wouldn't panic but a hard hang. At least drm-current-kmod panics. I suspect > > some of > > > > It's interesting to note that though the first occurrence of this panic > > occurred on Dec 9, it is more frequent now. > > > > -rw------- 1 root wheel 476 Dec 9 18:53 /var/crash/info.0 > > -rw------- 1 root wheel 517 Dec 16 12:28 /var/crash/info.1 > > -rw------- 1 root wheel 473 Dec 18 10:26 /var/crash/info.2 > > -rw------- 1 root wheel 476 Dec 18 12:35 /var/crash/info.3 > > -rw------- 1 root wheel 476 Dec 19 08:31 /var/crash/info.4 > > > > My workload hasn't changed. Random mouse clicks or key presses trigger it. > > > > > > Can you try to get the very latest FreeBSD SVN (r355915) > > First rebuild the kernel and then rebuild the module. Also make sure you > do "porsnap fetch update" to get the latest drm-current-kmod port. The new kernel has been built and installed. Let's give it a couple of days before considering it fixed. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few. From owner-freebsd-current@freebsd.org Fri Dec 20 06:22:29 2019 Return-Path: Delivered-To: freebsd-current@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 3F47E1CEB66 for ; Fri, 20 Dec 2019 06:22:29 +0000 (UTC) (envelope-from clay.daniels.jr@gmail.com) Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) (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 47fJZD1wd4z4YYB for ; Fri, 20 Dec 2019 06:22:27 +0000 (UTC) (envelope-from clay.daniels.jr@gmail.com) Received: by mail-lj1-x233.google.com with SMTP id a13so8790565ljm.10 for ; Thu, 19 Dec 2019 22:22:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=EQWFUsyfjkCMccILf7nOkYivBgMGRb51j60o7qZR+nU=; b=my9jlHZxzjkLvvNuG7T2BAfMn++mjtG1WjcobLnfBt/RC9KsspKecZb0nDfQE7BiwT v89XfFcjSWG6wzktd4LijMtVmikHwJvdWnZJ2NVYJpd6AP8G124CLrb6JaQMXhtG5q5U oiqojJgs4ulcoa/iwK7QmxhHXmXfai3Alr64Z8EM3XyeRCKWCPe8guctbR1fEWBvCm2h oGRtw6JKqtarxfqvvER/gbSd/gXzezJ6ieUjJGIHwkTgZUURsLp/xphy/aETTGvuAz+j ph8K0by1tmwjSO6pr4NEruo2MscSRFynr5GpPu4iwc+v+FCQ11wYmpDhaMoQ7MCilV8w IU0Q== 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=EQWFUsyfjkCMccILf7nOkYivBgMGRb51j60o7qZR+nU=; b=TSPac51w3A7bz1dKr0p9IEbl4GmT8BowDesrNeSbu7MnNAfUHNmGB0HzYaVpbQzJY7 sZi28g5DLVEsB1ZjIyhOidn3W6xGsWvGdaVICLoagAvCHmANrgyIGmhm6lrRn+GWuqNC ijPn2dL37nKwfcr/0maN07DWsJw6AT3eJAos64BdtoA9tPHc0zOXvl4SKdhPgiQz1Cl1 BAGf/CqGwqL/D4O8NWnMEqqYvHeNdfeSG9tLqWBrtEBjKofq+ybsCcvZZNaXzAc/wpah ooF7RzAZumDXdUVWs8LoybaQAJCyOeBRy58EO2Mwk7Qf0rrbSVfvMv5W8oAiIsNNPbOV cJ/w== X-Gm-Message-State: APjAAAVTga8Gc/dsCFBJmLimHnW+cQTNAl5rklH0/kuFvRFoLJQX86Mb Oik8HaVT+zscDpdKcA+FK5LDSTb+ij267STQrXjYq9Q= X-Google-Smtp-Source: APXvYqxwIKNjtKIIQCrV957GL+g6AMq+5clwSQmLRAuI8/rSLNW+3fFhEnPCw2WS1RGl9Bv9DyXTN54oHC4R0GBlvTs= X-Received: by 2002:a2e:9e4c:: with SMTP id g12mr8544514ljk.15.1576822944112; Thu, 19 Dec 2019 22:22:24 -0800 (PST) MIME-Version: 1.0 From: Clay Daniels Date: Fri, 20 Dec 2019 00:22:12 -0600 Message-ID: Subject: r355889 snapshot works fine To: "freebsd-current@freebsd.org" X-Rspamd-Queue-Id: 47fJZD1wd4z4YYB X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=my9jlHZx; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of claydanielsjr@gmail.com designates 2a00:1450:4864:20::233 as permitted sender) smtp.mailfrom=claydanielsjr@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; 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)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE_FREEMAIL(0.00)[]; IP_SCORE(0.00)[ip: (-9.17), ipnet: 2a00:1450::/32(-2.65), asn: 15169(-1.89), country: US(-0.05)]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[3.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]; TO_DN_EQ_ADDR_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Dec 2019 06:22:29 -0000 I was a bit worried with all the talk in drm changes, but just fine here. AMD Ryzen 7 3700x/MSI 570 chipset Motherboard & Video card I did notice the drm-current-kmod had a date of 12/17/2019: Works fine. dmesg: nvd0: 976762MB (2000409264 512 byte sectors) hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 3 on hdaa0 pcm1: at nid 5 on hdaa0 pcm2: at nid 7 on hdaa0 pcm3: at nid 9 on hdaa0 pcm4: at nid 11 on hdaa0 pcm5: at nid 13 on hdaa0 hdacc1: at cad 0 on hdac1 hdaa1: at nid 1 on hdacc1 pcm6: at nid 20,22,21 and 24,26 on hdaa1 pcm7: at nid 27 and 25 on hdaa1 pcm8: at nid 30 on hdaa1 Trying to mount root from ufs:/dev/nvd0p2 [rw]... WARNING: WITNESS option enabled, expect reduced performance. ada0 at ahcich3 bus 0 scbus3 target 0 lun 0 ada0: ACS-3 ATA SATA 3.x device ada0: Serial Number ZFL0FRH4 ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 1907729MB (3907029168 512 byte sectors) ada0: quirks=0x1<4K> cd0 at ahcich0 bus 0 scbus0 target 0 lun 0 cd0: Removable CD-ROM SCSI device cd0: Serial Number J8D0CL027235 cd0: 150.000MB/s transfers (SATA 1.x, UDMA6, ATAPI 12bytes, PIO 8192bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed uhub1: 8 ports with 8 removable, self powered uhub0: 10 ports with 10 removable, self powered uhub2: 10 ports with 10 removable, self powered [drm] amdgpu kernel modesetting enabled. drmn0: on vgapci0 vgapci0: child drmn0 requested pci_enable_io vgapci0: child drmn0 requested pci_enable_io [drm] initializing kernel modesetting (POLARIS10 0x1002:0x67DF 0x1462:0x341B 0xEF). [drm] register mmio base: 0xFCF00000 [drm] register mmio size: 262144 [drm] PCI I/O BAR is not found. [drm] probing gen 2 caps for device 1022:1483 = 737904/180001e [drm] probing mlw for device 1002:67df = 400903 [drm] UVD is enabled in VM mode [drm] UVD ENC is enabled in VM mode [drm] VCE enabled in VM mode ATOM BIOS: 113V34114-F3 [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment size is 9-bit ugen0.2: at usbus0 ukbd0 on uhub2 ukbd0: on usbus0 ugen1.2: at usbus1 kbd2 at ukbd0 drmn0: successfully loaded firmware image with name: amdgpu/polaris10_mc.bin drmn0: VRAM: 8192M 0x000000F400000000 - 0x000000F5FFFFFFFF (8192M used) drmn0: GTT: 256M 0x0000000000000000 - 0x000000000FFFFFFF Successfully added WC MTRR for [0xe0000000-0xefffffff]: 0; [drm] Detected VRAM RAM=8192M, BAR=256M [drm] RAM width 256bits GDDR5 [TTM] Zone kernel: Available graphics memory: 8346406 kiB [TTM] Zone dma32: Available graphics memory: 2097152 kiB [TTM] Initializing pool allocator [drm] amdgpu: 8192M of VRAM memory ready [drm] amdgpu: 8192M of GTT memory ready. [drm] GART: num cpu pages 65536, num gpu pages 65536 [drm] PCIE GART of 256M enabled (table at 0x000000F400040000). [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [drm] Driver supports precise vblank timestamp query. [drm] Connector DP-1: get mode from tunables: [drm] - kern.vt.fb.modes.DP-1 [drm] - kern.vt.fb.default_mode [drm] Connector DP-2: get mode from tunables: [drm] - kern.vt.fb.modes.DP-2 [drm] - kern.vt.fb.default_mode [drm] Connector HDMI-A-1: get mode from tunables: [drm] - kern.vt.fb.modes.HDMI-A-1 [drm] - kern.vt.fb.default_mode [drm] Connector HDMI-A-2: get mode from tunables: [drm] - kern.vt.fb.modes.HDMI-A-2 [drm] - kern.vt.fb.default_mode [drm] Connector DVI-D-1: get mode from tunables: [drm] - kern.vt.fb.modes.DVI-D-1 [drm] - kern.vt.fb.default_mode [drm] AMDGPU Display Connectors [drm] Connector 0: [drm] DP-1 [drm] HPD6 [drm] DDC: 0x4868 0x4868 0x4869 0x4869 0x486a 0x486a 0x486b 0x486b [drm] Encoders: [drm] DFP1: INTERNAL_UNIPHY2 [drm] Connector 1: [drm] DP-2 [drm] HPD4 [drm] DDC: 0x4870 0x4870 0x4871 0x4871 0x4872 0x4872 0x4873 0x4873 [drm] Encoders: [drm] DFP2: INTERNAL_UNIPHY2 [drm] Connector 2: [drm] HDMI-A-1 [drm] HPD1 [drm] DDC: 0x486c 0x486c 0x486d 0x486d 0x486e 0x486e 0x486f 0x486f [drm] Encoders: [drm] DFP3: INTERNAL_UNIPHY1 [drm] Connector 3: [drm] HDMI-A-2 [drm] HPD5 [drm] DDC: 0x4874 0x4874 0x4875 0x4875 0x4876 0x4876 0x4877 0x4877 [drm] Encoders: [drm] DFP4: INTERNAL_UNIPHY1 [drm] Connector 4: [drm] DVI-D-1 [drm] HPD3 [drm] DDC: 0x487c 0x487c 0x487d 0x487d 0x487e 0x487e 0x487f 0x487f [drm] Encoders: [drm] DFP5: INTERNAL_UNIPHY drmn0: successfully loaded firmware image with name: amdgpu/polaris10_pfp_2.bin ugen1.3: at usbus1 uhub3 on uhub0 uhub3: on usbus1 ugen0.3: at usbus0 drmn0: successfully loaded firmware image with name: amdgpu/polaris10_me_2.bin uhub3: 4 ports with 4 removable, self powered drmn0: successfully loaded firmware image with name: amdgpu/polaris10_ce_2.bin [drm] Chained IB support enabled! drmn0: successfully loaded firmware image with name: amdgpu/polaris10_rlc.bin drmn0: successfully loaded firmware image with name: amdgpu/polaris10_mec_2.bin drmn0: successfully loaded firmware image with name: amdgpu/polaris10_mec2_2.bin drmn0: successfully loaded firmware image with name: amdgpu/polaris10_sdma.bin drmn0: successfully loaded firmware image with name: amdgpu/polaris10_sdma1.bin drmn0: successfully loaded firmware image with name: amdgpu/polaris10_uvd.bin [drm] Found UVD firmware Version: 1.130 Family ID: 16 drmn0: successfully loaded firmware image with name: amdgpu/polaris10_vce.bin [drm] Found VCE firmware Version: 53.26 Binary ID: 3 drmn0: successfully loaded firmware image with name: amdgpu/polaris10_k_smc.bin [drm] UVD and UVD ENC initialized successfully. [drm] VCE initialized successfully. [drm] fb mappable at 0xE0568000 [drm] vram apper at 0xE0000000 [drm] size 8294400 [drm] fb depth is 24 [drm] pitch is 7680 WARNING: Device "fb" is Giant locked and may be deleted before FreeBSD 13.0. VT: Replacing driver "vga" with new "fb". start FB_INFO: type=11 height=1080 width=1920 depth=32 cmsize=16 size=8294400 pbase=0xe0568000 vbase=0xfffff800e0568000 name=drmn0 flags=0x0 stride=7680 bpp=32 cmap[0]=0 cmap[1]=7f0000 cmap[2]=7f00 cmap[3]=c4a000 end FB_INFO drmn0: fb0: amdgpudrmfb frame buffer device [drm] Initialized amdgpu 3.23.0 20150101 for drmn0 on minor 0 lo0: link state changed to UP re0: link state changed to DOWN re0: link state changed to UP intsmb0: at device 20.0 on pci0 smbus0: on intsmb0 uhid1 on uhub0 uhid1: on usbus1 uhid0 on uhub2 uhid0: on usbus0 ums0 on uhub2 ums0: on usbus0 ums0: 3 buttons and [XYZ] coordinates ID=0 Security policy loaded: MAC/ntpd (mac_ntpd) Waiting (max 60 seconds) for system process `vnlru' to stop... done Waiting (max 60 seconds) for system process `syncer' to stop... Syncing disks, vnodes remaining... 0 0 done Waiting (max 60 seconds) for system thread `bufdaemon' to stop... done Waiting (max 60 seconds) for system thread `bufspacedaemon-0' to stop... done Waiting (max 60 seconds) for system thread `bufspacedaemon-1' to stop... done Waiting (max 60 seconds) for system thread `bufspacedaemon-2' to stop... done Waiting (max 60 seconds) for system thread `bufspacedaemon-3' to stop... done Waiting (max 60 seconds) for system thread `bufspacedaemon-4' to stop... done Waiting (max 60 seconds) for system thread `bufspacedaemon-5' to stop... done Waiting (max 60 seconds) for system thread `bufspacedaemon-6' to stop... done All buffers synced. lock order reversal: 1st 0xfffff80005e4a9c8 ufs (ufs) @ /usr/src/sys/kern/vfs_mount.c:1603 2nd 0xfffff80005c83248 devfs (devfs) @ /usr/src/sys/kern/vfs_subr.c:2827 stack backtrace: #0 0xffffffff80c35de1 at witness_debugger+0x71 #1 0xffffffff80c35b56 at witness_checkorder+0xad6 #2 0xffffffff80b9c07e at lockmgr_lock_fast_path+0x18e #3 0xffffffff80cb5115 at _vn_lock+0x65 #4 0xffffffff80ca199f at vget_finish+0x5f #5 0xffffffff80a793a5 at devfs_allocv+0x135 #6 0xffffffff80a78e73 at devfs_root+0x43 #7 0xffffffff80ca5e9b at vfs_cache_root_fallback+0x11b #8 0xffffffff80ca5c1f at vfs_cache_root+0x1af #9 0xffffffff80ca2e0c at vflush+0x4c #10 0xffffffff80a78d7e at devfs_unmount+0x3e #11 0xffffffff80c99cfa at dounmount+0x44a #12 0xffffffff80ca4224 at vfs_unmountall+0xd4 #13 0xffffffff80c7eafc at bufshutdown+0x2cc #14 0xffffffff80bc93e3 at kern_reboot+0x213 #15 0xffffffff80bc9175 at sys_reboot+0x395 #16 0xffffffff8106b9e6 at amd64_syscall+0x2d6 #17 0xffffffff810412a0 at fast_syscall_common+0x101 Uptime: 10m0s uhub1: detached uhid1: detached uhub3: detached uhub0: detached ukbd0: detached uhid0: detached ums0: detached uhub2: detached re0: link state changed to DOWN re0: link state changed to UP ---<>--- Copyright (c) 1992-2019 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 13.0-CURRENT #0 r355889: Thu Dec 19 04:21:01 UTC 2019 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 FreeBSD clang version 9.0.0 (tags/RELEASE_900/final 372316) (based on LLVM 9.0.0) WARNING: WITNESS option enabled, expect reduced performance. VT(vga): resolution 640x480 CPU: AMD Ryzen 7 3700X 8-Core Processor (3600.08-MHz K8-class CPU) Origin="AuthenticAMD" Id=0x870f10 Family=0x17 Model=0x71 Stepping=0 Features=0x178bfbff Features2=0x7ed8320b AMD Features=0x2e500800 AMD Features2=0x75c237ff> Structured Extended Features=0x219c91a9 Structured Extended Features2=0x400004 XSAVE Features=0xf AMD Extended Feature Extensions ID EBX=0x108b657 SVM: (disabled in BIOS) NP,NRIP,VClean,AFlush,DAssist,NAsids=32768 TSC: P-state invariant, performance statistics real memory = 17179869184 (16384 MB) avail memory = 16542453760 (15776 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs FreeBSD/SMP: 1 package(s) x 2 cache groups x 4 core(s) x 2 hardware threads random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" random: unblocking device. ioapic0: Changing APIC ID to 17 ioapic1: Changing APIC ID to 18 ioapic0 irqs 0-23 ioapic1 irqs 24-55 Launching APs: 9 15 8 12 1 3 6 5 13 2 7 4 10 11 14 Timecounter "TSC-low" frequency 1800038808 Hz quality 1000 random: entropy device external interface WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD 13.0. kbd1 at kbdmux0 000.000059 [4336] netmap_init netmap: loaded module [ath_hal] loaded nexus0 efirtc0: efirtc0: registered as a time-of-day clock, resolution 1.000000s vtvga0: cryptosoft0: acpi0: acpi0: Power Button (fixed) cpu0: on acpi0 attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: port 0x70-0x71 on acpi0 atrtc0: registered as a time-of-day clock, resolution 1.000000s Event timer "RTC" frequency 32768 Hz quality 0 hpet0: iomem 0xfed00000-0xfed003ff irq 0,8 on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 350 Event timer "HPET1" frequency 14318180 Hz quality 350 Event timer "HPET2" frequency 14318180 Hz quality 350 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.2 (no driver attached) pcib1: at device 1.2 on pci0 pci1: on pcib1 pcib2: irq 28 at device 0.0 on pci1 pci2: on pcib2 pcib3: at device 0.0 on pci2 pci3: on pcib3 nvme0: mem 0xfca00000-0xfca03fff irq 28 at device 0.0 on pci3 pcib4: at device 4.0 on pci2 pci4: on pcib4 ahci0: port 0xe050-0xe057,0xe040-0xe043,0xe030-0xe037,0xe020-0xe023,0xe000-0xe01f mem 0xfc900000-0xfc9001ff irq 28 at device 0.0 on pci4 ahci0: AHCI v1.20 with 2 6Gbps ports, Port Multiplier supported ahci0: quirks=0xc00000 ahcich0: at channel 0 on ahci0 ahcich1: at channel 1 on ahci0 pcib5: at device 5.0 on pci2 pci5: on pcib5 re0: port 0xd000-0xd0ff mem 0xfc804000-0xfc804fff,0xfc800000-0xfc803fff irq 29 at device 0.0 on pci5 re0: Using 1 MSI-X message re0: ASPM disabled re0: Chip rev. 0x54000000 re0: MAC rev. 0x00100000 miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow re0: Using defaults for TSO: 65518/35/2048 re0: Ethernet address: 00:d8:61:9c:eb:d9 re0: netmap queues/slots: TX 1/256, RX 1/256 pcib6: irq 28 at device 8.0 on pci2 pci6: on pcib6 pci6: at device 0.0 (no driver attached) xhci0: mem 0xfc500000-0xfc5fffff irq 28 at device 0.1 on pci6 xhci0: 64 bytes context size, 64-bit DMA usbus0 on xhci0 usbus0: 5.0Gbps Super Speed USB v3.0 xhci1: mem 0xfc400000-0xfc4fffff irq 30 at device 0.3 on pci6 xhci1: 64 bytes context size, 64-bit DMA xhci1: Unable to map MSI-X table usbus1 on xhci1 usbus1: 5.0Gbps Super Speed USB v3.0 pcib7: irq 29 at device 9.0 on pci2 pci7: on pcib7 ahci1: mem 0xfc700000-0xfc7007ff irq 29 at device 0.0 on pci7 ahci1: AHCI v1.31 with 1 6Gbps ports, Port Multiplier supported with FBS ahcich2: at channel 0 on ahci1 pcib8: irq 30 at device 10.0 on pci2 pci8: on pcib8 ahci2: mem 0xfc600000-0xfc6007ff irq 30 at device 0.0 on pci8 ahci2: AHCI v1.31 with 1 6Gbps ports, Port Multiplier supported with FBS ahcich3: at channel 0 on ahci2 pcib9: at device 3.1 on pci0 pci9: on pcib9 vgapci0: port 0xf000-0xf0ff mem 0xe0000000-0xefffffff,0xf0000000-0xf01fffff,0xfcf00000-0xfcf3ffff irq 54 at device 0.0 on pci9 vgapci0: Boot video device hdac0: mem 0xfcf60000-0xfcf63fff irq 55 at device 0.1 on pci9 pcib10: at device 7.1 on pci0 pci10: on pcib10 pci10: at device 0.0 (no driver attached) pcib11: at device 8.1 on pci0 pci11: on pcib11 pci11: at device 0.0 (no driver attached) xhci2: mem 0xfcb00000-0xfcbfffff irq 39 at device 0.3 on pci11 xhci2: 64 bytes context size, 64-bit DMA xhci2: Unable to map MSI-X table usbus2 on xhci2 usbus2: 5.0Gbps Super Speed USB v3.0 hdac1: mem 0xfcc00000-0xfcc07fff irq 36 at device 0.4 on pci11 pcib12: at device 8.2 on pci0 pci12: on pcib12 ahci3: mem 0xfce00000-0xfce007ff irq 41 at device 0.0 on pci12 ahci3: AHCI v1.31 with 1 6Gbps ports, Port Multiplier supported with FBS ahcich4: at channel 0 on ahci3 pcib13: at device 8.3 on pci0 pci13: on pcib13 ahci4: mem 0xfcd00000-0xfcd007ff irq 45 at device 0.0 on pci13 ahci4: AHCI v1.31 with 1 6Gbps ports, Port Multiplier supported with FBS ahcich5: at channel 0 on ahci4 isab0: at device 20.3 on pci0 isa0: on isab0 acpi_button0: on acpi0 uart2: <16x50 with 256 byte FIFO> iomem 0xfedc9000-0xfedc9fff,0xfedc7000-0xfedc7fff irq 3 on acpi0 uart3: <16x50 with 256 byte FIFO> iomem 0xfedca000-0xfedcafff,0xfedc8000-0xfedc8fff irq 4 on acpi0 uart4: <16x50 with 256 byte FIFO> iomem 0xfedce000-0xfedcefff,0xfedcc000-0xfedccfff irq 3 on acpi0 uart5: <16x50 with 256 byte FIFO> iomem 0xfedcf000-0xfedcffff,0xfedcd000-0xfedcdfff irq 4 on acpi0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 orm0: at iomem 0xc0000-0xcefff pnpid ORM0000 on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbdc0: non-PNP ISA device will be removed from GENERIC in FreeBSD 12. hwpstate0: on cpu0 Timecounters tick every 1.000 msec ugen1.1: <0x1022 XHCI root HUB> at usbus1 ugen0.1: <0x1022 XHCI root HUB> at usbus0 ugen2.1: <0x1022 XHCI root HUB> at usbus2 uhub0 on usbus2 uhub0: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus2 uhub1 on usbus0 uhub1: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 uhub2 on usbus1 uhub2: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus1 nvd0: NVMe namespace nvd0: 976762MB (2000409264 512 byte sectors) hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 3 on hdaa0 pcm1: at nid 5 on hdaa0 pcm2: at nid 7 on hdaa0 pcm3: at nid 9 on hdaa0 pcm4: at nid 11 on hdaa0 pcm5: at nid 13 on hdaa0 hdacc1: at cad 0 on hdac1 hdaa1: at nid 1 on hdacc1 pcm6: at nid 20,22,21 and 24,26 on hdaa1 pcm7: at nid 27 and 25 on hdaa1 pcm8: at nid 30 on hdaa1 Trying to mount root from ufs:/dev/nvd0p2 [rw]... WARNING: WITNESS option enabled, expect reduced performance. ada0 at ahcich3 bus 0 scbus3 target 0 lun 0 ada0: ACS-3 ATA SATA 3.x device ada0: Serial Number ZFL0FRH4 ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 1907729MB (3907029168 512 byte sectors) ada0: quirks=0x1<4K> cd0 at ahcich0 bus 0 scbus0 target 0 lun 0 cd0: Removable CD-ROM SCSI device cd0: Serial Number J8D0CL027235 cd0: 150.000MB/s transfers (SATA 1.x, UDMA6, ATAPI 12bytes, PIO 8192bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed uhub0: 8 ports with 8 removable, self powered uhub1: 10 ports with 10 removable, self powered uhub2: 10 ports with 10 removable, self powered [drm] amdgpu kernel modesetting enabled. drmn0: on vgapci0 vgapci0: child drmn0 requested pci_enable_io vgapci0: child drmn0 requested pci_enable_io [drm] initializing kernel modesetting (POLARIS10 0x1002:0x67DF 0x1462:0x341B 0xEF). [drm] register mmio base: 0xFCF00000 [drm] register mmio size: 262144 [drm] PCI I/O BAR is not found. [drm] probing gen 2 caps for device 1022:1483 = 737904/180001e [drm] probing mlw for device 1002:67df = 400903 [drm] UVD is enabled in VM mode [drm] UVD ENC is enabled in VM mode [drm] VCE enabled in VM mode ATOM BIOS: 113V34114-F3 [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment size is 9-bit ugen0.2: at usbus0 ukbd0 on uhub1 ukbd0: on usbus0 ugen1.2: at usbus1 kbd2 at ukbd0 drmn0: successfully loaded firmware image with name: amdgpu/polaris10_mc.bin drmn0: VRAM: 8192M 0x000000F400000000 - 0x000000F5FFFFFFFF (8192M used) drmn0: GTT: 256M 0x0000000000000000 - 0x000000000FFFFFFF Successfully added WC MTRR for [0xe0000000-0xefffffff]: 0; [drm] Detected VRAM RAM=8192M, BAR=256M [drm] RAM width 256bits GDDR5 [TTM] Zone kernel: Available graphics memory: 8346406 kiB [TTM] Zone dma32: Available graphics memory: 2097152 kiB [TTM] Initializing pool allocator [drm] amdgpu: 8192M of VRAM memory ready [drm] amdgpu: 8192M of GTT memory ready. [drm] GART: num cpu pages 65536, num gpu pages 65536 [drm] PCIE GART of 256M enabled (table at 0x000000F400040000). [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [drm] Driver supports precise vblank timestamp query. [drm] Connector DP-1: get mode from tunables: [drm] - kern.vt.fb.modes.DP-1 [drm] - kern.vt.fb.default_mode [drm] Connector DP-2: get mode from tunables: [drm] - kern.vt.fb.modes.DP-2 [drm] - kern.vt.fb.default_mode [drm] Connector HDMI-A-1: get mode from tunables: [drm] - kern.vt.fb.modes.HDMI-A-1 [drm] - kern.vt.fb.default_mode [drm] Connector HDMI-A-2: get mode from tunables: [drm] - kern.vt.fb.modes.HDMI-A-2 [drm] - kern.vt.fb.default_mode [drm] Connector DVI-D-1: get mode from tunables: [drm] - kern.vt.fb.modes.DVI-D-1 [drm] - kern.vt.fb.default_mode [drm] AMDGPU Display Connectors [drm] Connector 0: [drm] DP-1 [drm] HPD6 [drm] DDC: 0x4868 0x4868 0x4869 0x4869 0x486a 0x486a 0x486b 0x486b [drm] Encoders: [drm] DFP1: INTERNAL_UNIPHY2 [drm] Connector 1: [drm] DP-2 [drm] HPD4 [drm] DDC: 0x4870 0x4870 0x4871 0x4871 0x4872 0x4872 0x4873 0x4873 [drm] Encoders: [drm] DFP2: INTERNAL_UNIPHY2 [drm] Connector 2: [drm] HDMI-A-1 [drm] HPD1 [drm] DDC: 0x486c 0x486c 0x486d 0x486d 0x486e 0x486e 0x486f 0x486f [drm] Encoders: [drm] DFP3: INTERNAL_UNIPHY1 [drm] Connector 3: [drm] HDMI-A-2 [drm] HPD5 [drm] DDC: 0x4874 0x4874 0x4875 0x4875 0x4876 0x4876 0x4877 0x4877 [drm] Encoders: [drm] DFP4: INTERNAL_UNIPHY1 [drm] Connector 4: [drm] DVI-D-1 [drm] HPD3 [drm] DDC: 0x487c 0x487c 0x487d 0x487d 0x487e 0x487e 0x487f 0x487f [drm] Encoders: [drm] DFP5: INTERNAL_UNIPHY drmn0: successfully loaded firmware image with name: amdgpu/polaris10_pfp_2.bin ugen1.3: at usbus1 uhub3 on uhub2 uhub3: on usbus1 ugen0.3: at usbus0 drmn0: successfully loaded firmware image with name: amdgpu/polaris10_me_2.bin uhub3: 4 ports with 4 removable, self powered drmn0: successfully loaded firmware image with name: amdgpu/polaris10_ce_2.bin [drm] Chained IB support enabled! drmn0: successfully loaded firmware image with name: amdgpu/polaris10_rlc.bin drmn0: successfully loaded firmware image with name: amdgpu/polaris10_mec_2.bin drmn0: successfully loaded firmware image with name: amdgpu/polaris10_mec2_2.bin drmn0: successfully loaded firmware image with name: amdgpu/polaris10_sdma.bin drmn0: successfully loaded firmware image with name: amdgpu/polaris10_sdma1.bin drmn0: successfully loaded firmware image with name: amdgpu/polaris10_uvd.bin [drm] Found UVD firmware Version: 1.130 Family ID: 16 drmn0: successfully loaded firmware image with name: amdgpu/polaris10_vce.bin [drm] Found VCE firmware Version: 53.26 Binary ID: 3 drmn0: successfully loaded firmware image with name: amdgpu/polaris10_k_smc.bin [drm] UVD and UVD ENC initialized successfully. [drm] VCE initialized successfully. [drm] fb mappable at 0xE0568000 [drm] vram apper at 0xE0000000 [drm] size 8294400 [drm] fb depth is 24 [drm] pitch is 7680 WARNING: Device "fb" is Giant locked and may be deleted before FreeBSD 13.0. VT: Replacing driver "vga" with new "fb". start FB_INFO: type=11 height=1080 width=1920 depth=32 cmsize=16 size=8294400 pbase=0xe0568000 vbase=0xfffff800e0568000 name=drmn0 flags=0x0 stride=7680 bpp=32 cmap[0]=0 cmap[1]=7f0000 cmap[2]=7f00 cmap[3]=c4a000 end FB_INFO drmn0: fb0: amdgpudrmfb frame buffer device [drm] Initialized amdgpu 3.23.0 20150101 for drmn0 on minor 0 lo0: link state changed to UP re0: link state changed to DOWN re0: link state changed to UP intsmb0: at device 20.0 on pci0 smbus0: on intsmb0 uhid1 on uhub2 uhid1: on usbus1 uhid0 on uhub1 uhid0: on usbus0 ums0 on uhub1 ums0: on usbus0 ums0: 3 buttons and [XYZ] coordinates ID=0 Security policy loaded: MAC/ntpd (mac_ntpd) Waiting (max 60 seconds) for system process `vnlru' to stop... done Waiting (max 60 seconds) for system process `syncer' to stop... Syncing disks, vnodes remaining... 354 0 done Waiting (max 60 seconds) for system thread `bufdaemon' to stop... done Waiting (max 60 seconds) for system thread `bufspacedaemon-0' to stop... done Waiting (max 60 seconds) for system thread `bufspacedaemon-1' to stop... done Waiting (max 60 seconds) for system thread `bufspacedaemon-2' to stop... done Waiting (max 60 seconds) for system thread `bufspacedaemon-3' to stop... done Waiting (max 60 seconds) for system thread `bufspacedaemon-4' to stop... done Waiting (max 60 seconds) for system thread `bufspacedaemon-5' to stop... done Waiting (max 60 seconds) for system thread `bufspacedaemon-6' to stop... done All buffers synced. lock order reversal: 1st 0xfffff80005e38ba8 ufs (ufs) @ /usr/src/sys/kern/vfs_mount.c:1603 2nd 0xfffff80005cbb248 devfs (devfs) @ /usr/src/sys/kern/vfs_subr.c:2827 stack backtrace: #0 0xffffffff80c35de1 at witness_debugger+0x71 #1 0xffffffff80c35b56 at witness_checkorder+0xad6 #2 0xffffffff80b9c07e at lockmgr_lock_fast_path+0x18e #3 0xffffffff80cb5115 at _vn_lock+0x65 #4 0xffffffff80ca199f at vget_finish+0x5f #5 0xffffffff80a793a5 at devfs_allocv+0x135 #6 0xffffffff80a78e73 at devfs_root+0x43 #7 0xffffffff80ca5e9b at vfs_cache_root_fallback+0x11b #8 0xffffffff80ca5c1f at vfs_cache_root+0x1af #9 0xffffffff80ca2e0c at vflush+0x4c #10 0xffffffff80a78d7e at devfs_unmount+0x3e #11 0xffffffff80c99cfa at dounmount+0x44a #12 0xffffffff80ca4224 at vfs_unmountall+0xd4 #13 0xffffffff80c7eafc at bufshutdown+0x2cc #14 0xffffffff80bc93e3 at kern_reboot+0x213 #15 0xffffffff80bc9175 at sys_reboot+0x395 #16 0xffffffff8106b9e6 at amd64_syscall+0x2d6 #17 0xffffffff810412a0 at fast_syscall_common+0x101 Uptime: 17m24s uhub0: detached uhid1: detached uhub3: detached uhub2: detached ukbd0: detached uhid0: detached ums0: detached uhub1: detached re0: link state changed to DOWN re0: link state changed to UP ---<>--- Copyright (c) 1992-2019 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 13.0-CURRENT #0 r355889: Thu Dec 19 04:21:01 UTC 2019 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 FreeBSD clang version 9.0.0 (tags/RELEASE_900/final 372316) (based on LLVM 9.0.0) WARNING: WITNESS option enabled, expect reduced performance. VT(vga): resolution 640x480 CPU: AMD Ryzen 7 3700X 8-Core Processor (3600.08-MHz K8-class CPU) Origin="AuthenticAMD" Id=0x870f10 Family=0x17 Model=0x71 Stepping=0 Features=0x178bfbff Features2=0x7ed8320b AMD Features=0x2e500800 AMD Features2=0x75c237ff> Structured Extended Features=0x219c91a9 Structured Extended Features2=0x400004 XSAVE Features=0xf AMD Extended Feature Extensions ID EBX=0x108b657 SVM: (disabled in BIOS) NP,NRIP,VClean,AFlush,DAssist,NAsids=32768 TSC: P-state invariant, performance statistics real memory = 17179869184 (16384 MB) avail memory = 16542453760 (15776 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs FreeBSD/SMP: 1 package(s) x 2 cache groups x 4 core(s) x 2 hardware threads random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" random: unblocking device. ioapic0: Changing APIC ID to 17 ioapic1: Changing APIC ID to 18 ioapic0 irqs 0-23 ioapic1 irqs 24-55 Launching APs: 14 13 15 8 10 1 5 7 3 11 12 4 2 6 9 Timecounter "TSC-low" frequency 1800038538 Hz quality 1000 random: entropy device external interface WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD 13.0. kbd1 at kbdmux0 000.000059 [4336] netmap_init netmap: loaded module [ath_hal] loaded nexus0 efirtc0: efirtc0: registered as a time-of-day clock, resolution 1.000000s vtvga0: cryptosoft0: acpi0: acpi0: Power Button (fixed) cpu0: on acpi0 attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: port 0x70-0x71 on acpi0 atrtc0: registered as a time-of-day clock, resolution 1.000000s Event timer "RTC" frequency 32768 Hz quality 0 hpet0: iomem 0xfed00000-0xfed003ff irq 0,8 on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 350 Event timer "HPET1" frequency 14318180 Hz quality 350 Event timer "HPET2" frequency 14318180 Hz quality 350 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.2 (no driver attached) pcib1: at device 1.2 on pci0 pci1: on pcib1 pcib2: irq 28 at device 0.0 on pci1 pci2: on pcib2 pcib3: at device 0.0 on pci2 pci3: on pcib3 nvme0: mem 0xfca00000-0xfca03fff irq 28 at device 0.0 on pci3 pcib4: at device 4.0 on pci2 pci4: on pcib4 ahci0: port 0xe050-0xe057,0xe040-0xe043,0xe030-0xe037,0xe020-0xe023,0xe000-0xe01f mem 0xfc900000-0xfc9001ff irq 28 at device 0.0 on pci4 ahci0: AHCI v1.20 with 2 6Gbps ports, Port Multiplier supported ahci0: quirks=0xc00000 ahcich0: at channel 0 on ahci0 ahcich1: at channel 1 on ahci0 pcib5: at device 5.0 on pci2 pci5: on pcib5 re0: port 0xd000-0xd0ff mem 0xfc804000-0xfc804fff,0xfc800000-0xfc803fff irq 29 at device 0.0 on pci5 re0: Using 1 MSI-X message re0: ASPM disabled re0: Chip rev. 0x54000000 re0: MAC rev. 0x00100000 miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow re0: Using defaults for TSO: 65518/35/2048 re0: Ethernet address: 00:d8:61:9c:eb:d9 re0: netmap queues/slots: TX 1/256, RX 1/256 pcib6: irq 28 at device 8.0 on pci2 pci6: on pcib6 pci6: at device 0.0 (no driver attached) xhci0: mem 0xfc500000-0xfc5fffff irq 28 at device 0.1 on pci6 xhci0: 64 bytes context size, 64-bit DMA usbus0 on xhci0 usbus0: 5.0Gbps Super Speed USB v3.0 xhci1: mem 0xfc400000-0xfc4fffff irq 30 at device 0.3 on pci6 xhci1: 64 bytes context size, 64-bit DMA xhci1: Unable to map MSI-X table usbus1 on xhci1 usbus1: 5.0Gbps Super Speed USB v3.0 pcib7: irq 29 at device 9.0 on pci2 pci7: on pcib7 ahci1: mem 0xfc700000-0xfc7007ff irq 29 at device 0.0 on pci7 ahci1: AHCI v1.31 with 1 6Gbps ports, Port Multiplier supported with FBS ahcich2: at channel 0 on ahci1 pcib8: irq 30 at device 10.0 on pci2 pci8: on pcib8 ahci2: mem 0xfc600000-0xfc6007ff irq 30 at device 0.0 on pci8 ahci2: AHCI v1.31 with 1 6Gbps ports, Port Multiplier supported with FBS ahcich3: at channel 0 on ahci2 pcib9: at device 3.1 on pci0 pci9: on pcib9 vgapci0: port 0xf000-0xf0ff mem 0xe0000000-0xefffffff,0xf0000000-0xf01fffff,0xfcf00000-0xfcf3ffff irq 54 at device 0.0 on pci9 vgapci0: Boot video device hdac0: mem 0xfcf60000-0xfcf63fff irq 55 at device 0.1 on pci9 pcib10: at device 7.1 on pci0 pci10: on pcib10 pci10: at device 0.0 (no driver attached) pcib11: at device 8.1 on pci0 pci11: on pcib11 pci11: at device 0.0 (no driver attached) xhci2: mem 0xfcb00000-0xfcbfffff irq 39 at device 0.3 on pci11 xhci2: 64 bytes context size, 64-bit DMA xhci2: Unable to map MSI-X table usbus2 on xhci2 usbus2: 5.0Gbps Super Speed USB v3.0 hdac1: mem 0xfcc00000-0xfcc07fff irq 36 at device 0.4 on pci11 pcib12: at device 8.2 on pci0 pci12: on pcib12 ahci3: mem 0xfce00000-0xfce007ff irq 41 at device 0.0 on pci12 ahci3: AHCI v1.31 with 1 6Gbps ports, Port Multiplier supported with FBS ahcich4: at channel 0 on ahci3 pcib13: at device 8.3 on pci0 pci13: on pcib13 ahci4: mem 0xfcd00000-0xfcd007ff irq 45 at device 0.0 on pci13 ahci4: AHCI v1.31 with 1 6Gbps ports, Port Multiplier supported with FBS ahcich5: at channel 0 on ahci4 isab0: at device 20.3 on pci0 isa0: on isab0 acpi_button0: on acpi0 uart2: <16x50 with 256 byte FIFO> iomem 0xfedc9000-0xfedc9fff,0xfedc7000-0xfedc7fff irq 3 on acpi0 uart3: <16x50 with 256 byte FIFO> iomem 0xfedca000-0xfedcafff,0xfedc8000-0xfedc8fff irq 4 on acpi0 uart4: <16x50 with 256 byte FIFO> iomem 0xfedce000-0xfedcefff,0xfedcc000-0xfedccfff irq 3 on acpi0 uart5: <16x50 with 256 byte FIFO> iomem 0xfedcf000-0xfedcffff,0xfedcd000-0xfedcdfff irq 4 on acpi0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 orm0: at iomem 0xc0000-0xcefff pnpid ORM0000 on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbdc0: non-PNP ISA device will be removed from GENERIC in FreeBSD 12. hwpstate0: on cpu0 Timecounters tick every 1.000 msec ugen1.1: <0x1022 XHCI root HUB> at usbus1 ugen2.1: <0x1022 XHCI root HUB> at usbus2 ugen0.1: <0x1022 XHCI root HUB> at usbus0 uhub0 on usbus2 uhub0: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus2 uhub1 on usbus1 uhub1: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus1 uhub2 on usbus0 uhub2: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 nvd0: NVMe namespace nvd0: 976762MB (2000409264 512 byte sectors) hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 3 on hdaa0 pcm1: at nid 5 on hdaa0 pcm2: at nid 7 on hdaa0 pcm3: at nid 9 on hdaa0 pcm4: at nid 11 on hdaa0 pcm5: at nid 13 on hdaa0 hdacc1: at cad 0 on hdac1 hdaa1: at nid 1 on hdacc1 pcm6: at nid 20,22,21 and 24,26 on hdaa1 pcm7: at nid 27 and 25 on hdaa1 pcm8: at nid 30 on hdaa1 Trying to mount root from ufs:/dev/nvd0p2 [rw]... WARNING: WITNESS option enabled, expect reduced performance. ada0 at ahcich3 bus 0 scbus3 target 0 lun 0 ada0: ACS-3 ATA SATA 3.x device ada0: Serial Number ZFL0FRH4 ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 1907729MB (3907029168 512 byte sectors) ada0: quirks=0x1<4K> cd0 at ahcich0 bus 0 scbus0 target 0 lun 0 cd0: Removable CD-ROM SCSI device cd0: Serial Number J8D0CL027235 cd0: 150.000MB/s transfers (SATA 1.x, UDMA6, ATAPI 12bytes, PIO 8192bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed uhub0: 8 ports with 8 removable, self powered uhub1: 10 ports with 10 removable, self powered uhub2: 10 ports with 10 removable, self powered [drm] amdgpu kernel modesetting enabled. drmn0: on vgapci0 vgapci0: child drmn0 requested pci_enable_io vgapci0: child drmn0 requested pci_enable_io [drm] initializing kernel modesetting (POLARIS10 0x1002:0x67DF 0x1462:0x341B 0xEF). [drm] register mmio base: 0xFCF00000 [drm] register mmio size: 262144 [drm] PCI I/O BAR is not found. [drm] probing gen 2 caps for device 1022:1483 = 737904/180001e [drm] probing mlw for device 1002:67df = 400903 [drm] UVD is enabled in VM mode [drm] UVD ENC is enabled in VM mode [drm] VCE enabled in VM mode ATOM BIOS: 113V34114-F3 [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment size is 9-bit ugen0.2: at usbus0 ukbd0 on uhub2 ukbd0: on usbus0 ugen1.2: at usbus1 kbd2 at ukbd0 drmn0: successfully loaded firmware image with name: amdgpu/polaris10_mc.bin drmn0: VRAM: 8192M 0x000000F400000000 - 0x000000F5FFFFFFFF (8192M used) drmn0: GTT: 256M 0x0000000000000000 - 0x000000000FFFFFFF Successfully added WC MTRR for [0xe0000000-0xefffffff]: 0; [drm] Detected VRAM RAM=8192M, BAR=256M [drm] RAM width 256bits GDDR5 [TTM] Zone kernel: Available graphics memory: 8346406 kiB [TTM] Zone dma32: Available graphics memory: 2097152 kiB [TTM] Initializing pool allocator [drm] amdgpu: 8192M of VRAM memory ready [drm] amdgpu: 8192M of GTT memory ready. [drm] GART: num cpu pages 65536, num gpu pages 65536 [drm] PCIE GART of 256M enabled (table at 0x000000F400040000). [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [drm] Driver supports precise vblank timestamp query. [drm] Connector DP-1: get mode from tunables: [drm] - kern.vt.fb.modes.DP-1 [drm] - kern.vt.fb.default_mode [drm] Connector DP-2: get mode from tunables: [drm] - kern.vt.fb.modes.DP-2 [drm] - kern.vt.fb.default_mode [drm] Connector HDMI-A-1: get mode from tunables: [drm] - kern.vt.fb.modes.HDMI-A-1 [drm] - kern.vt.fb.default_mode [drm] Connector HDMI-A-2: get mode from tunables: [drm] - kern.vt.fb.modes.HDMI-A-2 [drm] - kern.vt.fb.default_mode [drm] Connector DVI-D-1: get mode from tunables: [drm] - kern.vt.fb.modes.DVI-D-1 [drm] - kern.vt.fb.default_mode [drm] AMDGPU Display Connectors [drm] Connector 0: [drm] DP-1 [drm] HPD6 [drm] DDC: 0x4868 0x4868 0x4869 0x4869 0x486a 0x486a 0x486b 0x486b [drm] Encoders: [drm] DFP1: INTERNAL_UNIPHY2 [drm] Connector 1: [drm] DP-2 [drm] HPD4 [drm] DDC: 0x4870 0x4870 0x4871 0x4871 0x4872 0x4872 0x4873 0x4873 [drm] Encoders: [drm] DFP2: INTERNAL_UNIPHY2 [drm] Connector 2: [drm] HDMI-A-1 [drm] HPD1 [drm] DDC: 0x486c 0x486c 0x486d 0x486d 0x486e 0x486e 0x486f 0x486f [drm] Encoders: [drm] DFP3: INTERNAL_UNIPHY1 [drm] Connector 3: [drm] HDMI-A-2 [drm] HPD5 [drm] DDC: 0x4874 0x4874 0x4875 0x4875 0x4876 0x4876 0x4877 0x4877 [drm] Encoders: [drm] DFP4: INTERNAL_UNIPHY1 [drm] Connector 4: [drm] DVI-D-1 [drm] HPD3 [drm] DDC: 0x487c 0x487c 0x487d 0x487d 0x487e 0x487e 0x487f 0x487f [drm] Encoders: [drm] DFP5: INTERNAL_UNIPHY drmn0: successfully loaded firmware image with name: amdgpu/polaris10_pfp_2.bin ugen1.3: at usbus1 uhub3 on uhub1 uhub3: on usbus1 ugen0.3: at usbus0 drmn0: successfully loaded firmware image with name: amdgpu/polaris10_me_2.bin uhub3: 4 ports with 4 removable, self powered drmn0: successfully loaded firmware image with name: amdgpu/polaris10_ce_2.bin [drm] Chained IB support enabled! drmn0: successfully loaded firmware image with name: amdgpu/polaris10_rlc.bin drmn0: successfully loaded firmware image with name: amdgpu/polaris10_mec_2.bin drmn0: successfully loaded firmware image with name: amdgpu/polaris10_mec2_2.bin drmn0: successfully loaded firmware image with name: amdgpu/polaris10_sdma.bin drmn0: successfully loaded firmware image with name: amdgpu/polaris10_sdma1.bin drmn0: successfully loaded firmware image with name: amdgpu/polaris10_uvd.bin [drm] Found UVD firmware Version: 1.130 Family ID: 16 drmn0: successfully loaded firmware image with name: amdgpu/polaris10_vce.bin [drm] Found VCE firmware Version: 53.26 Binary ID: 3 drmn0: successfully loaded firmware image with name: amdgpu/polaris10_k_smc.bin [drm] UVD and UVD ENC initialized successfully. [drm] VCE initialized successfully. [drm] fb mappable at 0xE0568000 [drm] vram apper at 0xE0000000 [drm] size 8294400 [drm] fb depth is 24 [drm] pitch is 7680 WARNING: Device "fb" is Giant locked and may be deleted before FreeBSD 13.0. VT: Replacing driver "vga" with new "fb". start FB_INFO: type=11 height=1080 width=1920 depth=32 cmsize=16 size=8294400 pbase=0xe0568000 vbase=0xfffff800e0568000 name=drmn0 flags=0x0 stride=7680 bpp=32 cmap[0]=0 cmap[1]=7f0000 cmap[2]=7f00 cmap[3]=c4a000 end FB_INFO drmn0: fb0: amdgpudrmfb frame buffer device [drm] Initialized amdgpu 3.23.0 20150101 for drmn0 on minor 0 lo0: link state changed to UP re0: link state changed to DOWN re0: link state changed to UP intsmb0: at device 20.0 on pci0 smbus0: on intsmb0 uhid1 on uhub1 uhid1: on usbus1 uhid0 on uhub2 uhid0: on usbus0 ums0 on uhub2 ums0: on usbus0 ums0: 3 buttons and [XYZ] coordinates ID=0 Security policy loaded: MAC/ntpd (mac_ntpd) clay@r355889:~ $ uname -a FreeBSD r355889 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r355889: Thu Dec 19 04:21:01 UTC 2019 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 clay@r355889:~ $ From owner-freebsd-current@freebsd.org Fri Dec 20 17:24:02 2019 Return-Path: Delivered-To: freebsd-current@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 638231DF2ED; Fri, 20 Dec 2019 17:24:02 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47fbFZ1XBJz4CTM; Fri, 20 Dec 2019 17:24:02 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from John-Baldwins-MacBook-Pro-7.local (unknown [IPv6:2603:3024:1538:1e00:db1:a560:c156:3cc7]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: jhb) by smtp.freebsd.org (Postfix) with ESMTPSA id 70C2F9F8C; Fri, 20 Dec 2019 17:24:01 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Subject: Re: New external GCC toolchain ports/packages To: Ryan Libby Cc: "freebsd-toolchain@FreeBSD.org" , "freebsd-current@freebsd.org" References: From: John Baldwin Openpgp: preference=signencrypt Autocrypt: addr=jhb@FreeBSD.org; keydata= mQGiBETQ+XcRBADMFybiq69u+fJRy/0wzqTNS8jFfWaBTs5/OfcV7wWezVmf9sgwn8TW0Dk0 c9MBl0pz+H01dA2ZSGZ5fXlmFIsee1WEzqeJzpiwd/pejPgSzXB9ijbLHZ2/E0jhGBcVy5Yo /Tw5+U/+laeYKu2xb0XPvM0zMNls1ah5OnP9a6Ql6wCgupaoMySb7DXm2LHD1Z9jTsHcAQMD /1jzh2BoHriy/Q2s4KzzjVp/mQO5DSm2z14BvbQRcXU48oAosHA1u3Wrov6LfPY+0U1tG47X 1BGfnQH+rNAaH0livoSBQ0IPI/8WfIW7ub4qV6HYwWKVqkDkqwcpmGNDbz3gfaDht6nsie5Z pcuCcul4M9CW7Md6zzyvktjnbz61BADGDCopfZC4of0Z3Ka0u8Wik6UJOuqShBt1WcFS8ya1 oB4rc4tXfSHyMF63aPUBMxHR5DXeH+EO2edoSwViDMqWk1jTnYza51rbGY+pebLQOVOxAY7k do5Ordl3wklBPMVEPWoZ61SdbcjhHVwaC5zfiskcxj5wwXd2E9qYlBqRg7QeSm9obiBCYWxk d2luIDxqaGJARnJlZUJTRC5vcmc+iGAEExECACAFAkTQ+awCGwMGCwkIBwMCBBUCCAMEFgID AQIeAQIXgAAKCRBy3lIGd+N/BI6RAJ9S97fvbME+3hxzE3JUyUZ6vTewDACdE1stFuSfqMvM jomvZdYxIYyTUpC5Ag0ERND5ghAIAPwsO0B7BL+bz8sLlLoQktGxXwXQfS5cInvL17Dsgnr3 1AKa94j9EnXQyPEj7u0d+LmEe6CGEGDh1OcGFTMVrof2ZzkSy4+FkZwMKJpTiqeaShMh+Goj XlwIMDxyADYvBIg3eN5YdFKaPQpfgSqhT+7El7w+wSZZD8pPQuLAnie5iz9C8iKy4/cMSOrH YUK/tO+Nhw8Jjlw94Ik0T80iEhI2t+XBVjwdfjbq3HrJ0ehqdBwukyeJRYKmbn298KOFQVHO EVbHA4rF/37jzaMadK43FgJ0SAhPPF5l4l89z5oPu0b/+5e2inA3b8J3iGZxywjM+Csq1tqz hltEc7Q+E08AAwUIAL+15XH8bPbjNJdVyg2CMl10JNW2wWg2Q6qdljeaRqeR6zFus7EZTwtX sNzs5bP8y51PSUDJbeiy2RNCNKWFMndM22TZnk3GNG45nQd4OwYK0RZVrikalmJY5Q6m7Z16 4yrZgIXFdKj2t8F+x613/SJW1lIr9/bDp4U9tw0V1g3l2dFtD3p3ZrQ3hpoDtoK70ioIAjjH aIXIAcm3FGZFXy503DOA0KaTWwvOVdYCFLm3zWuSOmrX/GsEc7ovasOWwjPn878qVjbUKWwx Q4QkF4OhUV9zPtf9tDSAZ3x7QSwoKbCoRCZ/xbyTUPyQ1VvNy/mYrBcYlzHodsaqUDjHuW+I SQQYEQIACQUCRND5ggIbDAAKCRBy3lIGd+N/BCO8AJ9j1dWVQWxw/YdTbEyrRKOY8YZNwwCf afMAg8QvmOWnHx3wl8WslCaXaE8= Message-ID: Date: Fri, 20 Dec 2019 09:24:00 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Dec 2019 17:24:02 -0000 On 12/19/19 12:06 PM, Ryan Libby wrote: > On Wed, Dec 18, 2019 at 1:49 PM John Baldwin wrote: >> >> In the interest of supporting newer versions of GCC for a base system >> toolchain, I've renamed the external GCC packages from -gcc >> to -gcc6. These are built as flavors of a new devel/freebsd-gcc6 >> port. The xtoolchain package is not used for these new packages, instead >> one does 'pkg install mips-gcc6' to get the GCC 6.x MIPS compiler and >> uses 'CROSS_TOOLCHAIN=mips-gcc6'. I've also gone ahead and updated this >> compiler to 6.5.0. >> >> I will leave the old ports/packages around for now to permit an easy >> transition, but going forward, the -gcc6 packages should be preferred >> to -xtoolchain-gcc for all but riscv (riscv64-gcc and riscv64-xtoolchain-gcc >> are separate from the powerpc64-gcc set of packages). >> >> In addition, I've also just added a devel/freebsd-gcc9 package which >> builds -gcc9 packages. It adds powerpc and riscv flavors relative >> to freebsd-gcc6 and uses GCC 9.2.0. To date in my testing I've yet to >> be able to finish a buildworld on any of the platforms I've tried >> (amd64, mips, sparc64), but the packages should permit other developers >> to get the tree building with GCC 9. To use these packages one would do >> something like: >> >> # pkg install amd64-gcc9 >> # make buildworld CROSS_TOOLCHAIN=amd64-gcc9 >> >> You can install both the gcc6 and gcc9 versions of a package at the same >> time, e.g. amd64-gcc6 and amd64-gcc9. Having different packages for major >> versions is similar to llvm and will also let us keep a known-good >> toolchain package for older releases while using newer major versions on >> newer FreeBSD releases (e.g gcc9 for 13.0 and gcc6 for 12.x). >> >> I do plan to switch the default toolchains for make universe/tinderbox >> for targets using -xtoolchain-gcc based on GCC 6 over to the >> freebsd-gcc6 variants in the next week or so. >> >> -- >> John Baldwin > > Awesome, thanks! I was able to get amd64 buildworld and buildkernel to > succeed with just a few changes, and none to the port. I'll work on > getting the changes in. I have been able to get it building as well, mostly by muting a few warnings, adding libcompiler_rt to rtld's link for i386, disabling googletest (needs an upstream patch to stop using signed wchar_t), and a hack to jemalloc. I was able to build riscv as well with those same changes and am working through builds of other platforms. I'm happy to compare notes. The jemalloc one is a bit weird. -- John Baldwin From owner-freebsd-current@freebsd.org Fri Dec 20 17:31:47 2019 Return-Path: Delivered-To: freebsd-current@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 1BDC51DF504; Fri, 20 Dec 2019 17:31:47 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47fbQV68mGz4Cw2; Fri, 20 Dec 2019 17:31:46 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id xBKHVVFl034029 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 20 Dec 2019 19:31:35 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua xBKHVVFl034029 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id xBKHVVft034028; Fri, 20 Dec 2019 19:31:31 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 20 Dec 2019 19:31:31 +0200 From: Konstantin Belousov To: John Baldwin Cc: Ryan Libby , "freebsd-toolchain@FreeBSD.org" , "freebsd-current@freebsd.org" Subject: Re: New external GCC toolchain ports/packages Message-ID: <20191220173131.GM32279@kib.kiev.ua> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.3 X-Spam-Checker-Version: SpamAssassin 3.4.3 (2019-12-06) on tom.home X-Rspamd-Queue-Id: 47fbQV68mGz4Cw2 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Dec 2019 17:31:47 -0000 On Fri, Dec 20, 2019 at 09:24:00AM -0800, John Baldwin wrote: > On 12/19/19 12:06 PM, Ryan Libby wrote: > > On Wed, Dec 18, 2019 at 1:49 PM John Baldwin wrote: > >> > >> In the interest of supporting newer versions of GCC for a base system > >> toolchain, I've renamed the external GCC packages from -gcc > >> to -gcc6. These are built as flavors of a new devel/freebsd-gcc6 > >> port. The xtoolchain package is not used for these new packages, instead > >> one does 'pkg install mips-gcc6' to get the GCC 6.x MIPS compiler and > >> uses 'CROSS_TOOLCHAIN=mips-gcc6'. I've also gone ahead and updated this > >> compiler to 6.5.0. > >> > >> I will leave the old ports/packages around for now to permit an easy > >> transition, but going forward, the -gcc6 packages should be preferred > >> to -xtoolchain-gcc for all but riscv (riscv64-gcc and riscv64-xtoolchain-gcc > >> are separate from the powerpc64-gcc set of packages). > >> > >> In addition, I've also just added a devel/freebsd-gcc9 package which > >> builds -gcc9 packages. It adds powerpc and riscv flavors relative > >> to freebsd-gcc6 and uses GCC 9.2.0. To date in my testing I've yet to > >> be able to finish a buildworld on any of the platforms I've tried > >> (amd64, mips, sparc64), but the packages should permit other developers > >> to get the tree building with GCC 9. To use these packages one would do > >> something like: > >> > >> # pkg install amd64-gcc9 > >> # make buildworld CROSS_TOOLCHAIN=amd64-gcc9 > >> > >> You can install both the gcc6 and gcc9 versions of a package at the same > >> time, e.g. amd64-gcc6 and amd64-gcc9. Having different packages for major > >> versions is similar to llvm and will also let us keep a known-good > >> toolchain package for older releases while using newer major versions on > >> newer FreeBSD releases (e.g gcc9 for 13.0 and gcc6 for 12.x). > >> > >> I do plan to switch the default toolchains for make universe/tinderbox > >> for targets using -xtoolchain-gcc based on GCC 6 over to the > >> freebsd-gcc6 variants in the next week or so. > >> > >> -- > >> John Baldwin > > > > Awesome, thanks! I was able to get amd64 buildworld and buildkernel to > > succeed with just a few changes, and none to the port. I'll work on > > getting the changes in. > > I have been able to get it building as well, mostly by muting a few > warnings, adding libcompiler_rt to rtld's link for i386, disabling I am curious about the rtld issue. Can you show me the pristine error with gcc, please ? > googletest (needs an upstream patch to stop using signed wchar_t), > and a hack to jemalloc. I was able to build riscv as well with those > same changes and am working through builds of other platforms. > > I'm happy to compare notes. The jemalloc one is a bit weird. > > -- > John Baldwin > _______________________________________________ > freebsd-toolchain@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain > To unsubscribe, send any mail to "freebsd-toolchain-unsubscribe@freebsd.org" From owner-freebsd-current@freebsd.org Fri Dec 20 17:51:29 2019 Return-Path: Delivered-To: freebsd-current@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 406D41DFAD7; Fri, 20 Dec 2019 17:51:29 +0000 (UTC) (envelope-from rlibby@gmail.com) Received: from mail-qk1-f193.google.com (mail-qk1-f193.google.com [209.85.222.193]) (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 47fbsD3Gyvz4Dlr; Fri, 20 Dec 2019 17:51:28 +0000 (UTC) (envelope-from rlibby@gmail.com) Received: by mail-qk1-f193.google.com with SMTP id 21so8335128qky.4; Fri, 20 Dec 2019 09:51:28 -0800 (PST) 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=fE8uAvfzz9vB5fa/2XqP3RUnegUBbSdfEEL729RXOlE=; b=Dj0yZcctdEZj293E6S77nS8IkjvCWgKibnQLBqjIGeMdxDBz2HqgmEzWBYOW5l4NtD BFWln0zlJopO4/hX43/A+I3fJfLhUaLEmXqOn8jUBIWEs/yOni5twspmru9M3lrFqXnm XOBTwjXlWw4q1b0o6Kjc2YwjM8NuJwYDqKi/O+EDEvrt1Bm14bDA7LcM8x85WJA6IQhU b6NoBURDOETuHMhkzyhMsmAI5aTw8dAzXvZaLws4c6+4J7FZsZXZF+axwxG3hR1WA53t dcvgjhQZ5j2i0hEl/37g6N6dV6INzEGjIvetNhlZp+3U6sQr8l28Bk8wqF+GbfooBYQT VEmA== X-Gm-Message-State: APjAAAXNXiC9h/Abk+o9+EXM3YZmolCUchKi4U/srIpiOMOUQUgQIo5N kPj/+QGific9OMc0xJNJYEqTfxnl X-Google-Smtp-Source: APXvYqz4LZJPdTjC80Mye5d4hkTccTzcD4nS3IbG46hjkV1d0Lz5d7WvLddCDXald8fHXJ2cZIyN9Q== X-Received: by 2002:a05:620a:6ce:: with SMTP id 14mr14235839qky.417.1576864286702; Fri, 20 Dec 2019 09:51:26 -0800 (PST) Received: from mail-qk1-f178.google.com (mail-qk1-f178.google.com. [209.85.222.178]) by smtp.gmail.com with ESMTPSA id e19sm3366000qtc.75.2019.12.20.09.51.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 Dec 2019 09:51:26 -0800 (PST) Received: by mail-qk1-f178.google.com with SMTP id 21so8335058qky.4; Fri, 20 Dec 2019 09:51:26 -0800 (PST) X-Received: by 2002:a37:e10f:: with SMTP id c15mr14665056qkm.331.1576864286009; Fri, 20 Dec 2019 09:51:26 -0800 (PST) MIME-Version: 1.0 References: <20191220173131.GM32279@kib.kiev.ua> In-Reply-To: <20191220173131.GM32279@kib.kiev.ua> From: Ryan Libby Date: Fri, 20 Dec 2019 09:51:15 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: New external GCC toolchain ports/packages To: Konstantin Belousov , John Baldwin Cc: "freebsd-toolchain@FreeBSD.org" , "freebsd-current@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 47fbsD3Gyvz4Dlr X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of rlibby@gmail.com designates 209.85.222.193 as permitted sender) smtp.mailfrom=rlibby@gmail.com X-Spamd-Result: default: False [-4.39 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[freebsd.org]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[193.222.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; IP_SCORE(-2.39)[ip: (-6.91), ipnet: 209.85.128.0/17(-3.12), asn: 15169(-1.89), country: US(-0.05)]; FORGED_SENDER(0.30)[rlibby@freebsd.org,rlibby@gmail.com]; FREEMAIL_TO(0.00)[gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[193.222.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[rlibby@freebsd.org,rlibby@gmail.com]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Dec 2019 17:51:29 -0000 On Fri, Dec 20, 2019 at 9:31 AM Konstantin Belousov wrote: > > On Fri, Dec 20, 2019 at 09:24:00AM -0800, John Baldwin wrote: > > On 12/19/19 12:06 PM, Ryan Libby wrote: > > > On Wed, Dec 18, 2019 at 1:49 PM John Baldwin wrote: > > >> > > >> In the interest of supporting newer versions of GCC for a base system > > >> toolchain, I've renamed the external GCC packages from -gcc > > >> to -gcc6. These are built as flavors of a new devel/freebsd-gcc6 > > >> port. The xtoolchain package is not used for these new packages, instead > > >> one does 'pkg install mips-gcc6' to get the GCC 6.x MIPS compiler and > > >> uses 'CROSS_TOOLCHAIN=mips-gcc6'. I've also gone ahead and updated this > > >> compiler to 6.5.0. > > >> > > >> I will leave the old ports/packages around for now to permit an easy > > >> transition, but going forward, the -gcc6 packages should be preferred > > >> to -xtoolchain-gcc for all but riscv (riscv64-gcc and riscv64-xtoolchain-gcc > > >> are separate from the powerpc64-gcc set of packages). > > >> > > >> In addition, I've also just added a devel/freebsd-gcc9 package which > > >> builds -gcc9 packages. It adds powerpc and riscv flavors relative > > >> to freebsd-gcc6 and uses GCC 9.2.0. To date in my testing I've yet to > > >> be able to finish a buildworld on any of the platforms I've tried > > >> (amd64, mips, sparc64), but the packages should permit other developers > > >> to get the tree building with GCC 9. To use these packages one would do > > >> something like: > > >> > > >> # pkg install amd64-gcc9 > > >> # make buildworld CROSS_TOOLCHAIN=amd64-gcc9 > > >> > > >> You can install both the gcc6 and gcc9 versions of a package at the same > > >> time, e.g. amd64-gcc6 and amd64-gcc9. Having different packages for major > > >> versions is similar to llvm and will also let us keep a known-good > > >> toolchain package for older releases while using newer major versions on > > >> newer FreeBSD releases (e.g gcc9 for 13.0 and gcc6 for 12.x). > > >> > > >> I do plan to switch the default toolchains for make universe/tinderbox > > >> for targets using -xtoolchain-gcc based on GCC 6 over to the > > >> freebsd-gcc6 variants in the next week or so. > > >> > > >> -- > > >> John Baldwin > > > > > > Awesome, thanks! I was able to get amd64 buildworld and buildkernel to > > > succeed with just a few changes, and none to the port. I'll work on > > > getting the changes in. > > > > I have been able to get it building as well, mostly by muting a few > > warnings, adding libcompiler_rt to rtld's link for i386, disabling > I am curious about the rtld issue. Can you show me the pristine error with > gcc, please ? For me, it's gcc generates __udivmoddi4 for the -m32 build but we used -nostdlib, and we get a link error. My hack right now is to explicitly link libgcc, but I don't think this is what we are intending to do because we seem to go through effort to reimplement other libgcc functions. Here's the text: --- ld-elf32.so.1.full --- /usr/local/bin/x86_64-unknown-freebsd13.0-ld: rtld_printf.o: in function `ksprintn': /usr/src/freebsd/libexec/rtld-elf/rtld_printf.c:115: undefined reference to `__udivmoddi4' /usr/local/bin/x86_64-unknown-freebsd13.0-ld: /usr/src/freebsd/libexec/rtld-elf/rtld_printf.c:117: undefined reference to `__udivmoddi4' collect2: error: ld returned 1 exit status *** [ld-elf32.so.1.full] Error code 1 You can see my hack at the link below. I'm not sure what the right solution is. > > > googletest (needs an upstream patch to stop using signed wchar_t), > > and a hack to jemalloc. I was able to build riscv as well with those > > same changes and am working through builds of other platforms. > > Actually, both those have upstream fixes. (For the jemalloc one, gcc is technically right, but because of a literal signed char argument to a macro.) > > I'm happy to compare notes. The jemalloc one is a bit weird. I pushed non-polished changes here. I'm working to get them reviewed. Please feel free to comment on any/all. https://github.com/rlibby/freebsd/commits/gcc9-fixes > > > > -- > > John Baldwin > > _______________________________________________ > > freebsd-toolchain@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain > > To unsubscribe, send any mail to "freebsd-toolchain-unsubscribe@freebsd.org" From owner-freebsd-current@freebsd.org Fri Dec 20 18:15:43 2019 Return-Path: Delivered-To: freebsd-current@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 015031E0346; Fri, 20 Dec 2019 18:15:43 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47fcPB5PyHz4Fmx; Fri, 20 Dec 2019 18:15:42 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id xBKIFYur044478 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 20 Dec 2019 20:15:37 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua xBKIFYur044478 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id xBKIFY5w044477; Fri, 20 Dec 2019 20:15:34 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 20 Dec 2019 20:15:34 +0200 From: Konstantin Belousov To: Ryan Libby Cc: John Baldwin , "freebsd-toolchain@FreeBSD.org" , "freebsd-current@freebsd.org" Subject: Re: New external GCC toolchain ports/packages Message-ID: <20191220181534.GN32279@kib.kiev.ua> References: <20191220173131.GM32279@kib.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.3 X-Spam-Checker-Version: SpamAssassin 3.4.3 (2019-12-06) on tom.home X-Rspamd-Queue-Id: 47fcPB5PyHz4Fmx X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Dec 2019 18:15:43 -0000 On Fri, Dec 20, 2019 at 09:51:15AM -0800, Ryan Libby wrote: > On Fri, Dec 20, 2019 at 9:31 AM Konstantin Belousov wrote: > > > > On Fri, Dec 20, 2019 at 09:24:00AM -0800, John Baldwin wrote: > > > On 12/19/19 12:06 PM, Ryan Libby wrote: > > > > On Wed, Dec 18, 2019 at 1:49 PM John Baldwin wrote: > > > >> > > > >> In the interest of supporting newer versions of GCC for a base system > > > >> toolchain, I've renamed the external GCC packages from -gcc > > > >> to -gcc6. These are built as flavors of a new devel/freebsd-gcc6 > > > >> port. The xtoolchain package is not used for these new packages, instead > > > >> one does 'pkg install mips-gcc6' to get the GCC 6.x MIPS compiler and > > > >> uses 'CROSS_TOOLCHAIN=mips-gcc6'. I've also gone ahead and updated this > > > >> compiler to 6.5.0. > > > >> > > > >> I will leave the old ports/packages around for now to permit an easy > > > >> transition, but going forward, the -gcc6 packages should be preferred > > > >> to -xtoolchain-gcc for all but riscv (riscv64-gcc and riscv64-xtoolchain-gcc > > > >> are separate from the powerpc64-gcc set of packages). > > > >> > > > >> In addition, I've also just added a devel/freebsd-gcc9 package which > > > >> builds -gcc9 packages. It adds powerpc and riscv flavors relative > > > >> to freebsd-gcc6 and uses GCC 9.2.0. To date in my testing I've yet to > > > >> be able to finish a buildworld on any of the platforms I've tried > > > >> (amd64, mips, sparc64), but the packages should permit other developers > > > >> to get the tree building with GCC 9. To use these packages one would do > > > >> something like: > > > >> > > > >> # pkg install amd64-gcc9 > > > >> # make buildworld CROSS_TOOLCHAIN=amd64-gcc9 > > > >> > > > >> You can install both the gcc6 and gcc9 versions of a package at the same > > > >> time, e.g. amd64-gcc6 and amd64-gcc9. Having different packages for major > > > >> versions is similar to llvm and will also let us keep a known-good > > > >> toolchain package for older releases while using newer major versions on > > > >> newer FreeBSD releases (e.g gcc9 for 13.0 and gcc6 for 12.x). > > > >> > > > >> I do plan to switch the default toolchains for make universe/tinderbox > > > >> for targets using -xtoolchain-gcc based on GCC 6 over to the > > > >> freebsd-gcc6 variants in the next week or so. > > > >> > > > >> -- > > > >> John Baldwin > > > > > > > > Awesome, thanks! I was able to get amd64 buildworld and buildkernel to > > > > succeed with just a few changes, and none to the port. I'll work on > > > > getting the changes in. > > > > > > I have been able to get it building as well, mostly by muting a few > > > warnings, adding libcompiler_rt to rtld's link for i386, disabling > > I am curious about the rtld issue. Can you show me the pristine error with > > gcc, please ? > > For me, it's gcc generates __udivmoddi4 for the -m32 build but we used > -nostdlib, and we get a link error. My hack right now is to explicitly > link libgcc, but I don't think this is what we are intending to do > because we seem to go through effort to reimplement other libgcc > functions. > > Here's the text: > --- ld-elf32.so.1.full --- > /usr/local/bin/x86_64-unknown-freebsd13.0-ld: rtld_printf.o: in > function `ksprintn': > /usr/src/freebsd/libexec/rtld-elf/rtld_printf.c:115: undefined > reference to `__udivmoddi4' > /usr/local/bin/x86_64-unknown-freebsd13.0-ld: > /usr/src/freebsd/libexec/rtld-elf/rtld_printf.c:117: undefined > reference to `__udivmoddi4' > collect2: error: ld returned 1 exit status > *** [ld-elf32.so.1.full] Error code 1 > > You can see my hack at the link below. I'm not sure what the > right solution is. Does changing the base type from int to u_int help ? > > > > > > googletest (needs an upstream patch to stop using signed wchar_t), > > > and a hack to jemalloc. I was able to build riscv as well with those > > > same changes and am working through builds of other platforms. > > > > > Actually, both those have upstream fixes. (For the jemalloc one, gcc is > technically right, but because of a literal signed char argument to a > macro.) > > > > I'm happy to compare notes. The jemalloc one is a bit weird. > > I pushed non-polished changes here. I'm working to get them reviewed. > Please feel free to comment on any/all. > https://github.com/rlibby/freebsd/commits/gcc9-fixes > > > > > > > -- > > > John Baldwin > > > _______________________________________________ > > > freebsd-toolchain@freebsd.org mailing list > > > https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain > > > To unsubscribe, send any mail to "freebsd-toolchain-unsubscribe@freebsd.org" From owner-freebsd-current@freebsd.org Fri Dec 20 19:49:36 2019 Return-Path: Delivered-To: freebsd-current@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 12A1A1E1A97; Fri, 20 Dec 2019 19:49:36 +0000 (UTC) (envelope-from rlibby@gmail.com) Received: from mail-qt1-f172.google.com (mail-qt1-f172.google.com [209.85.160.172]) (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 47ffTW0kFgz4KF8; Fri, 20 Dec 2019 19:49:34 +0000 (UTC) (envelope-from rlibby@gmail.com) Received: by mail-qt1-f172.google.com with SMTP id w47so9201833qtk.4; Fri, 20 Dec 2019 11:49:34 -0800 (PST) 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=gQjlZ0wyUJrIR45MkoCYvqj+gU90HBpYeU7eEhrfixM=; b=Fx2exigUPzE9ZVv1k/oOJ/lEwoI51lweGoJg9DttUM8+ToD3a1YqJl1qqBP/zdarfG Fx8S621EzOaEL0VvWdemc/UxZ5Nwncl0DDiO/O7U792WhnCVnhCui07EhwfdWPMVTAa5 kVfkNM9pQv5AUs7X4kA6pmA4x9hJo5cJxKdbMDGKF0orQdHZT05WC3SecL9i1tvY2Iiy A3urdljxPFLHo8oSOzokjBga+Av532HhgnJWGqxnxMq+pxcGVbKrnbtp18ARNKkGDHxB uErtIEvXo2JrT9aFkchHde2SwhpVGtlX6QWUmzBwE74UNg/y8Rc3UPtErNLJSLfU8MFH cFZQ== X-Gm-Message-State: APjAAAW1rktFjM67XMVMl2SeCpQJ0lX1oh22Uh5HDbhaOJlxutqPDF3o hTXEZywE9WSBlV8XoTNqRXDAaby3 X-Google-Smtp-Source: APXvYqy3nYJK5kgMM4xL9Vw77pE+rCXW6CVW2MdhQZmVZPSqu8EdYqwtT/XOFCqU3j3e7xvOyuCrEA== X-Received: by 2002:ac8:460a:: with SMTP id p10mr12626766qtn.98.1576871373419; Fri, 20 Dec 2019 11:49:33 -0800 (PST) Received: from mail-qt1-f182.google.com (mail-qt1-f182.google.com. [209.85.160.182]) by smtp.gmail.com with ESMTPSA id r37sm3447795qtj.44.2019.12.20.11.49.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 Dec 2019 11:49:33 -0800 (PST) Received: by mail-qt1-f182.google.com with SMTP id j5so9166899qtq.9; Fri, 20 Dec 2019 11:49:32 -0800 (PST) X-Received: by 2002:ac8:5510:: with SMTP id j16mr13147170qtq.262.1576871372776; Fri, 20 Dec 2019 11:49:32 -0800 (PST) MIME-Version: 1.0 References: <20191220173131.GM32279@kib.kiev.ua> <20191220181534.GN32279@kib.kiev.ua> In-Reply-To: <20191220181534.GN32279@kib.kiev.ua> From: Ryan Libby Date: Fri, 20 Dec 2019 11:49:21 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: New external GCC toolchain ports/packages To: Konstantin Belousov Cc: John Baldwin , "freebsd-toolchain@FreeBSD.org" , "freebsd-current@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 47ffTW0kFgz4KF8 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of rlibby@gmail.com designates 209.85.160.172 as permitted sender) smtp.mailfrom=rlibby@gmail.com X-Spamd-Result: default: False [-3.68 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[freebsd.org]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[172.160.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; IP_SCORE(-1.68)[ip: (-3.35), ipnet: 209.85.128.0/17(-3.12), asn: 15169(-1.89), country: US(-0.05)]; FORGED_SENDER(0.30)[rlibby@freebsd.org,rlibby@gmail.com]; FREEMAIL_TO(0.00)[gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[172.160.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[rlibby@freebsd.org,rlibby@gmail.com]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Dec 2019 19:49:36 -0000 On Fri, Dec 20, 2019 at 10:15 AM Konstantin Belousov wrote: > > On Fri, Dec 20, 2019 at 09:51:15AM -0800, Ryan Libby wrote: > > On Fri, Dec 20, 2019 at 9:31 AM Konstantin Belousov wrote: > > > > > > On Fri, Dec 20, 2019 at 09:24:00AM -0800, John Baldwin wrote: > > > > On 12/19/19 12:06 PM, Ryan Libby wrote: > > > > > On Wed, Dec 18, 2019 at 1:49 PM John Baldwin wrote: > > > > >> > > > > >> In the interest of supporting newer versions of GCC for a base system > > > > >> toolchain, I've renamed the external GCC packages from -gcc > > > > >> to -gcc6. These are built as flavors of a new devel/freebsd-gcc6 > > > > >> port. The xtoolchain package is not used for these new packages, instead > > > > >> one does 'pkg install mips-gcc6' to get the GCC 6.x MIPS compiler and > > > > >> uses 'CROSS_TOOLCHAIN=mips-gcc6'. I've also gone ahead and updated this > > > > >> compiler to 6.5.0. > > > > >> > > > > >> I will leave the old ports/packages around for now to permit an easy > > > > >> transition, but going forward, the -gcc6 packages should be preferred > > > > >> to -xtoolchain-gcc for all but riscv (riscv64-gcc and riscv64-xtoolchain-gcc > > > > >> are separate from the powerpc64-gcc set of packages). > > > > >> > > > > >> In addition, I've also just added a devel/freebsd-gcc9 package which > > > > >> builds -gcc9 packages. It adds powerpc and riscv flavors relative > > > > >> to freebsd-gcc6 and uses GCC 9.2.0. To date in my testing I've yet to > > > > >> be able to finish a buildworld on any of the platforms I've tried > > > > >> (amd64, mips, sparc64), but the packages should permit other developers > > > > >> to get the tree building with GCC 9. To use these packages one would do > > > > >> something like: > > > > >> > > > > >> # pkg install amd64-gcc9 > > > > >> # make buildworld CROSS_TOOLCHAIN=amd64-gcc9 > > > > >> > > > > >> You can install both the gcc6 and gcc9 versions of a package at the same > > > > >> time, e.g. amd64-gcc6 and amd64-gcc9. Having different packages for major > > > > >> versions is similar to llvm and will also let us keep a known-good > > > > >> toolchain package for older releases while using newer major versions on > > > > >> newer FreeBSD releases (e.g gcc9 for 13.0 and gcc6 for 12.x). > > > > >> > > > > >> I do plan to switch the default toolchains for make universe/tinderbox > > > > >> for targets using -xtoolchain-gcc based on GCC 6 over to the > > > > >> freebsd-gcc6 variants in the next week or so. > > > > >> > > > > >> -- > > > > >> John Baldwin > > > > > > > > > > Awesome, thanks! I was able to get amd64 buildworld and buildkernel to > > > > > succeed with just a few changes, and none to the port. I'll work on > > > > > getting the changes in. > > > > > > > > I have been able to get it building as well, mostly by muting a few > > > > warnings, adding libcompiler_rt to rtld's link for i386, disabling > > > I am curious about the rtld issue. Can you show me the pristine error with > > > gcc, please ? > > > > For me, it's gcc generates __udivmoddi4 for the -m32 build but we used > > -nostdlib, and we get a link error. My hack right now is to explicitly > > link libgcc, but I don't think this is what we are intending to do > > because we seem to go through effort to reimplement other libgcc > > functions. > > > > Here's the text: > > --- ld-elf32.so.1.full --- > > /usr/local/bin/x86_64-unknown-freebsd13.0-ld: rtld_printf.o: in > > function `ksprintn': > > /usr/src/freebsd/libexec/rtld-elf/rtld_printf.c:115: undefined > > reference to `__udivmoddi4' > > /usr/local/bin/x86_64-unknown-freebsd13.0-ld: > > /usr/src/freebsd/libexec/rtld-elf/rtld_printf.c:117: undefined > > reference to `__udivmoddi4' > > collect2: error: ld returned 1 exit status > > *** [ld-elf32.so.1.full] Error code 1 > > > > You can see my hack at the link below. I'm not sure what the > > right solution is. > Does changing the base type from int to u_int help ? It does not; it fails in the same way. From owner-freebsd-current@freebsd.org Fri Dec 20 21:26:55 2019 Return-Path: Delivered-To: freebsd-current@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 125C91E3C17 for ; Fri, 20 Dec 2019 21:26:55 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-qk1-x72f.google.com (mail-qk1-x72f.google.com [IPv6:2607:f8b0:4864:20::72f]) (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 47fhdn6p3hz4RBS for ; Fri, 20 Dec 2019 21:26:53 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: by mail-qk1-x72f.google.com with SMTP id c16so8794145qko.6 for ; Fri, 20 Dec 2019 13:26:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=2LWWQe7leq/cIvePc4FdXZapSGPGwNPSnTpaPd5/q2I=; b=ZsIVjgw542OcDtVqVNVb0dpKhr3dOA9yE7oy8xaHaAp2ueuNcndZsmQqPirsTlzxAH 38MEIAzaHHaOSKsBPAZ7K6Csku30ZL3DGq146xXA/Ch3M3cglClPkz3PJjtISwYPBlaG bf5HG36r99hBWl2J9YtQ6C2uFnT7BFCSwc+dQdqt8ZG7uOfSQ05rW5Whgdt8WYVkds8a B/8vCZF2/4YyhbPe7bAygzhEqQ44IQmAPv1jJ2YA95QK4KSpkQptQrcF2OtxD2MnMTjx qQfw5pSK1u6TiNgtBoizklYI6QE5dGGIAzI+bIcoD+hWDeMDBtcCwJa23/OG2bn5Dlu9 LEPA== 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=2LWWQe7leq/cIvePc4FdXZapSGPGwNPSnTpaPd5/q2I=; b=QLCDYeLSFpEvDkW1vVJTB22hmfea26cSmB6/+P+LANe6mABoMuPDbWTtu5r/4y+icA +BVCvjUFy8yu9WL2IOVGKR6G9rNhnnF9KLHnlupzdIF4R6BWumS2IIoBROe7GjlaLm1w rgp/DK3xniy7SCkNUKjfPcXaOuLucPUC1bbIYUXIMjz/dfL15t2mnGSv1xTqZFwDrQRU FMl4iwFcmVZypUUJXhDneycwmAOwBhW5dOtVeLPZwCTYUsGUfCEBD3sFImepPLwH7L6O W62dLi3zOV/PHIBdaeqkZpWcUtxNbDWXC2jMyLd3RsnWt95beMohKz7RWUaJtCY8LqaP be4Q== X-Gm-Message-State: APjAAAUglJi8tFw8AYJXnzx3th75Av7TEWc5mRQ944NvXd3xQ3DUVIR7 niLpipSbnArLQdignrtXP0+ifsp5+m9A1fGG3kHomIMN X-Google-Smtp-Source: APXvYqzaToOvWOCg4+d++lUjT0hGCoSeRHo0LqDd1mgekuWUKF6cOjN/QbJLyGiYDhBUE9FK0Nu2aTPR3VsNJ1Zbevc= X-Received: by 2002:a37:308:: with SMTP id 8mr14739194qkd.98.1576877212506; Fri, 20 Dec 2019 13:26:52 -0800 (PST) MIME-Version: 1.0 From: Ryan Stone Date: Fri, 20 Dec 2019 16:26:41 -0500 Message-ID: Subject: AT_EXECPATH aux_info vector contains path of interpreter when directly exec'ing rtld To: FreeBSD Current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 47fhdn6p3hz4RBS X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=ZsIVjgw5; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of rysto32@gmail.com designates 2607:f8b0:4864:20::72f as permitted sender) smtp.mailfrom=rysto32@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; 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)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(0.00)[ip: (-9.37), ipnet: 2607:f8b0::/32(-2.18), asn: 15169(-1.89), country: US(-0.05)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[f.2.7.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]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Dec 2019 21:26:55 -0000 I've noticed that on head, if I directly execute rtld to run an executable, AT_EXECPATH contains the path to rtld on head (on 12.0-RELEASE it will contain nothing). This is causing me a problem because clang uses AT_EXECPATH to preferentially locate where it's installed, which it uses to locate its driver programs. The end result is that clang can no longer successfully be executed from a process in capability mode, whereas before I could fexecve rtld and give it a pre-opened file descriptor to /usr/bin/clang. I've put together a quick test program demonstrating the problem: https://people.freebsd.org/~rstone/getprogname.c On 12.0-RELEASE, directly executing rtld to run this program gives this output: $ /libexec/ld-elf.so.1 -- ./progname progname: progname argv[0]: ./progname elf_aux_info failed: No such file or directory On head, I get this instead: /libexec/ld-elf.so.1 -- ./progname progname: progname argv[0]: ./progname AT_EXECPATH: /libexec/ld-elf.so.1 From owner-freebsd-current@freebsd.org Fri Dec 20 22:02:28 2019 Return-Path: Delivered-To: freebsd-current@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 7AE771E4E4B for ; Fri, 20 Dec 2019 22:02:28 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-ot1-f51.google.com (mail-ot1-f51.google.com [209.85.210.51]) (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 47fjQq1qspz4Tnv for ; Fri, 20 Dec 2019 22:02:27 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-ot1-f51.google.com with SMTP id r27so13601820otc.8 for ; Fri, 20 Dec 2019 14:02:27 -0800 (PST) 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:reply-to :from:date:message-id:subject:to:cc; bh=J4aOQR6QG2EhfqBGsPhrp7y6uHrwfySE9NhYuhi00kE=; b=uL09JIsqD7Cop+a2pJgjDE3Nd+lK4jfQeywbdVxlkmG3uFZ/ZE0bHY2KJ+SxWRu4i7 9DNBu+JJ2S4e1Zx4m9jYfj68wd9cOzd6hcqDKrFFBd0Csfrs3HxeA9e+S+yD15PHbuTn OY7RN8hihTiajSukZjM20jJpjo5x1zY+JGGX1o2iOz6qLYPozQymtN0CtEFvxG03TpH3 iU8NQNe3TfJ2n9XcsAS3gki0NQ2lcwXD165UrEQAQKS058WYCvvCr2hEZM9mVghuH4IJ 08QowYGc6PvuD0SUfF7vz1DwLGnsh8WXHcsU0wkkA8IliaOXCt75Onpk6hUM7aRJl54x RFqQ== X-Gm-Message-State: APjAAAW7VBkyCpcyszqWdehOiLL+TW93rPDNFTe6uPL9xBKaXzLuYfVY GT0fBbM2O5qkirGL6SVh5JPXF5tx X-Google-Smtp-Source: APXvYqx49o0nUVoaibepTOZEvR0RiPIKBdAd5aoFkbaeM6Y9W4cLczBq6YfiJMSNakyTA24OseOJPA== X-Received: by 2002:a9d:6e98:: with SMTP id a24mr4127334otr.109.1576879345750; Fri, 20 Dec 2019 14:02:25 -0800 (PST) Received: from mail-oi1-f175.google.com (mail-oi1-f175.google.com. [209.85.167.175]) by smtp.gmail.com with ESMTPSA id v200sm3630099oie.35.2019.12.20.14.02.25 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 Dec 2019 14:02:25 -0800 (PST) Received: by mail-oi1-f175.google.com with SMTP id c77so4977463oib.7 for ; Fri, 20 Dec 2019 14:02:25 -0800 (PST) X-Received: by 2002:aca:90a:: with SMTP id 10mr4870591oij.81.1576879345372; Fri, 20 Dec 2019 14:02:25 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Reply-To: cem@freebsd.org From: Conrad Meyer Date: Fri, 20 Dec 2019 14:02:14 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: AT_EXECPATH aux_info vector contains path of interpreter when directly exec'ing rtld To: Ryan Stone Cc: FreeBSD Current X-Rspamd-Queue-Id: 47fjQq1qspz4Tnv X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of csecem@gmail.com designates 209.85.210.51 as permitted sender) smtp.mailfrom=csecem@gmail.com X-Spamd-Result: default: False [-3.24 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[cem@freebsd.org]; RWL_MAILSPIKE_GOOD(0.00)[51.210.85.209.rep.mailspike.net : 127.0.0.18]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FORGED_SENDER(0.30)[cem@freebsd.org,csecem@gmail.com]; FREEMAIL_TO(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; TAGGED_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_NEQ_ENVFROM(0.00)[cem@freebsd.org,csecem@gmail.com]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[51.210.85.209.list.dnswl.org : 127.0.5.0]; IP_SCORE(-1.24)[ip: (-1.13), ipnet: 209.85.128.0/17(-3.11), asn: 15169(-1.89), country: US(-0.05)]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Dec 2019 22:02:28 -0000 Isn=E2=80=99t rtld=E2=80=99s behavior here correct? It=E2=80=99s really Cla= ng which is doing something quite odd. On Fri, Dec 20, 2019 at 13:27 Ryan Stone wrote: > I've noticed that on head, if I directly execute rtld to run an > executable, AT_EXECPATH contains the path to rtld on head (on > 12.0-RELEASE it will contain nothing). This is causing me a problem > because clang uses AT_EXECPATH to preferentially locate where it's > installed, which it uses to locate its driver programs. > > The end result is that clang can no longer successfully be executed > from a process in capability mode, whereas before I could fexecve rtld > and give it a pre-opened file descriptor to /usr/bin/clang. > > I've put together a quick test program demonstrating the problem: > > https://people.freebsd.org/~rstone/getprogname.c > > On 12.0-RELEASE, directly executing rtld to run this program gives this > output: > $ /libexec/ld-elf.so.1 -- ./progname > progname: progname > argv[0]: ./progname > elf_aux_info failed: No such file or directory > > On head, I get this instead: > /libexec/ld-elf.so.1 -- ./progname > progname: progname > argv[0]: ./progname > AT_EXECPATH: /libexec/ld-elf.so.1 > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " > From owner-freebsd-current@freebsd.org Fri Dec 20 22:03:15 2019 Return-Path: Delivered-To: freebsd-current@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 08E771E4F8C for ; Fri, 20 Dec 2019 22:03:15 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io1-f65.google.com (mail-io1-f65.google.com [209.85.166.65]) (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 47fjRk1gptz4V5c for ; Fri, 20 Dec 2019 22:03:14 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-io1-f65.google.com with SMTP id z193so10885804iof.1 for ; Fri, 20 Dec 2019 14:03:14 -0800 (PST) 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=NltXWQRuFoA8l1S9gGBoFT/z6nv2k6+O3Pn/RXaQCD8=; b=c4u8YUgAmn6DEMsfTbI0YSHhwfbZjB/JtSm6fS+CaATqANx4Be4TIqMyJYto1zsqpx KEYkGMSPBBcqqDCU6rVYDoIy76kz4hVBaFvnlFA1qM8WtfVQs/p5ENJO96UzScAuIHr3 NI0i9nLLP3jJxUjA6lF8AWPC54aJpe1jPrKZWBjW6E7C/JwAboL5+VpeRXU802CFp70b wZ3Yfmnixd0zFI00Yh6emw80AN3Tc0GlvZbE0agv4jxEYuJmi4dYHVfh05IYEGOHsZWQ oOtb2yvSGU7Ulgpn3+yvejg3+G97GAc7S5CcCfgjx5FS996XIcImxJLWDIxyKfzBWytK y3XA== X-Gm-Message-State: APjAAAXEXl/YehrDnoIlyArSun7h2JpOngu6EfWsvMiCNExr0Z+lUmoT 1Euh0QjKh+A4UrrJ5b72Dm7ECSN6S5ePNgbeW2t1qvTPfEI= X-Google-Smtp-Source: APXvYqx4P/UZAfZCKZh3RR4sofeKRt1uSRDXESXcaoMKBBPlp8sJexZOF5PROE6IzvPdVYlLZmL8XJ5IjdkrdbyiqqY= X-Received: by 2002:a5e:aa12:: with SMTP id s18mr11110979ioe.182.1576879393177; Fri, 20 Dec 2019 14:03:13 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Ed Maste Date: Fri, 20 Dec 2019 17:03:01 -0500 Message-ID: Subject: Re: AT_EXECPATH aux_info vector contains path of interpreter when directly exec'ing rtld To: Ryan Stone Cc: FreeBSD Current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 47fjRk1gptz4V5c X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of carpeddiem@gmail.com designates 209.85.166.65 as permitted sender) smtp.mailfrom=carpeddiem@gmail.com X-Spamd-Result: default: False [-3.07 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; MIME_TRACE(0.00)[0:+]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[65.166.85.209.list.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(-1.07)[ip: (-0.29), ipnet: 209.85.128.0/17(-3.11), asn: 15169(-1.89), country: US(-0.05)]; FORGED_SENDER(0.30)[emaste@freebsd.org,carpeddiem@gmail.com]; FREEMAIL_TO(0.00)[gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[65.166.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[emaste@freebsd.org,carpeddiem@gmail.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Dec 2019 22:03:15 -0000 On Fri, 20 Dec 2019 at 16:26, Ryan Stone wrote: > > I've noticed that on head, if I directly execute rtld to run an > executable, AT_EXECPATH contains the path to rtld on head (on > 12.0-RELEASE it will contain nothing). This is causing me a problem > because clang uses AT_EXECPATH to preferentially locate where it's > installed, which it uses to locate its driver programs. I have two questions, I suppose: - What is the correct thing for AT_EXECPATH in light of fexecve rtld? Arguably /libexec/ld-elf.so.1 is correct. - What's the desired behaviour for Clang when run from ld-elf.so.1 -f fd? From owner-freebsd-current@freebsd.org Fri Dec 20 22:13:52 2019 Return-Path: Delivered-To: freebsd-current@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 B351A1E563C for ; Fri, 20 Dec 2019 22:13:52 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47fjgz3dVMz4W0G for ; Fri, 20 Dec 2019 22:13:51 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id xBKMDhoi098760 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sat, 21 Dec 2019 00:13:46 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua xBKMDhoi098760 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id xBKMDhgj098759; Sat, 21 Dec 2019 00:13:43 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 21 Dec 2019 00:13:43 +0200 From: Konstantin Belousov To: Ryan Stone Cc: FreeBSD Current Subject: Re: AT_EXECPATH aux_info vector contains path of interpreter when directly exec'ing rtld Message-ID: <20191220221343.GO32279@kib.kiev.ua> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.3 X-Spam-Checker-Version: SpamAssassin 3.4.3 (2019-12-06) on tom.home X-Rspamd-Queue-Id: 47fjgz3dVMz4W0G X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=gmail.com (policy=none); spf=softfail (mx1.freebsd.org: 2001:470:d5e7:1::1 is neither permitted nor denied by domain of kostikbel@gmail.com) smtp.mailfrom=kostikbel@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(0.00)[ip: (-2.87), ipnet: 2001:470::/32(-4.66), asn: 6939(-3.56), country: US(-0.05)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_ENVFROM(0.00)[gmail.com]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : No valid SPF, No valid DKIM,none] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Dec 2019 22:13:52 -0000 On Fri, Dec 20, 2019 at 04:26:41PM -0500, Ryan Stone wrote: > I've noticed that on head, if I directly execute rtld to run an > executable, AT_EXECPATH contains the path to rtld on head (on > 12.0-RELEASE it will contain nothing). This is causing me a problem > because clang uses AT_EXECPATH to preferentially locate where it's > installed, which it uses to locate its driver programs. > > The end result is that clang can no longer successfully be executed > from a process in capability mode, whereas before I could fexecve rtld > and give it a pre-opened file descriptor to /usr/bin/clang. > > I've put together a quick test program demonstrating the problem: > > https://people.freebsd.org/~rstone/getprogname.c > > On 12.0-RELEASE, directly executing rtld to run this program gives this output: > $ /libexec/ld-elf.so.1 -- ./progname > progname: progname > argv[0]: ./progname > elf_aux_info failed: No such file or directory > > On head, I get this instead: > /libexec/ld-elf.so.1 -- ./progname > progname: progname > argv[0]: ./progname > AT_EXECPATH: /libexec/ld-elf.so.1 https://reviews.freebsd.org/D22894 From owner-freebsd-current@freebsd.org Sat Dec 21 14:43:32 2019 Return-Path: Delivered-To: freebsd-current@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 8976D1D594C for ; Sat, 21 Dec 2019 14:43:32 +0000 (UTC) (envelope-from lausts@acm.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 47g7dw2S7Mz4L82 for ; Sat, 21 Dec 2019 14:43:32 +0000 (UTC) (envelope-from lausts@acm.org) Received: by mailman.nyi.freebsd.org (Postfix) id 5400E1D594A; Sat, 21 Dec 2019 14:43:32 +0000 (UTC) Delivered-To: current@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 52C441D5949 for ; Sat, 21 Dec 2019 14:43:32 +0000 (UTC) (envelope-from lausts@acm.org) Received: from p-impout001.msg.pkvw.co.charter.net (p-impout001aa.msg.pkvw.co.charter.net [47.43.26.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47g7dv1hSPz4L80 for ; Sat, 21 Dec 2019 14:43:30 +0000 (UTC) (envelope-from lausts@acm.org) Received: from mail.laus.org ([65.29.112.189]) by cmsmtp with ESMTP id ifyUin5Ij4UdKifyVi3FzH; Sat, 21 Dec 2019 14:43:23 +0000 X-Authority-Analysis: v=2.3 cv=L4hjvNb8 c=1 sm=1 tr=0 a=3zBZXzGj+9YUmO1NakDj7Q==:117 a=3zBZXzGj+9YUmO1NakDj7Q==:17 a=IkcTkHD0fZMA:10 a=pxVhFHJ0LMsA:10 a=SgRNE3jRbI3DVr1b36gA:9 a=QEXdDO2ut3YA:10 a=pHzHmUro8NiASowvMSCR:22 a=nt3jZW36AmriUCFCBwmW:22 Received: from [192.168.1.100] (inspiron [192.168.1.100]) by mail.laus.org (8.15.2/8.15.2) with ESMTPS id xBLEhM0I004350 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO) for ; Sat, 21 Dec 2019 09:43:22 -0500 (EST) (envelope-from lausts@acm.org) X-Authentication-Warning: mail.laus.org: Host inspiron [192.168.1.100] claimed to be [192.168.1.100] Reply-To: lausts@acm.org To: current@freebsd.org From: Thomas Laus Subject: Current r355939 + drm-current-kmod 4.16g20191217 compiles and runs Autocrypt: addr=lausts@acm.org; prefer-encrypt=mutual; keydata= mQGiBDx1NWwRBADARalI5I8kGeBYYYWnZB73T1fU4333yCuRokRvzlAZ5Zhb3hqsNdTEMheN FDjZSL8J5jeJtvSRinY2p09CxpAMoJR9zHLmHl+zEOY8fInbB+KiFtSfGf0blSEY9/+isQP9 xmUIQWUj0kwVtrns7m1HrYLiI07NVFzbHNKqQcbPuwCg0n/KKi+VJiUs5MqLKwGuPotGeZME AIluMetTQwfLyovundMwFYlSZ/Z8JjkMybqgKuiRrZnaBVVZ80NjAYZI73yAZPfQh9mvFxW9 ipc2tSALwDy/tYDpQRK0k+0EsDmwG/wM6OarkqSuFcYx+tP86+2+6Xitn6E/hriIWa/ZQVef /fx7dZzdwhXH6fd34v8o/BuqhawLBACs4MTMGbdSmyI56vCMXWY1yxRPmuygd4vUnXqYwlrM Ee/LjQdreg1zTAJnnW1K+PgOUW/jvS+uAbgxLa3i59/Z4Uu7nB6G1y+Y1cThojUsLnvoJlt1 4XE1U/vnOcvO3evo6knB1qjbAMsZGaVleiVKDq+7XE7swe4WtBJKbYJthbQcVGhvbWFzIExh dXMgPGxhdXN0c0BhY20ub3JnPoh/BBMRAgA/AheAAh4BBgsJCAcDAgYVCAIJCgsEFgIDAQIZ ARYhBBloSoDtPqFEokqZd+v/gtRiCDbPBQJcKgq6BQkhqyDOAAoJEOv/gtRiCDbP9xQAoL7B hCgFeI2K/0koKP3U8OB52nQyAJ0dd/QVJC7tV8gER4tse5GCUN5CHrkCDQRFspgcEAgAjXsi 9WqowAKZ7d2ix6t7fiYgu2QBGWq36NvN+cPBJIu0CnagL1v4W1UrRW/0cInLzgqlWrSU7SFg y1+rGBlusMHf8/faGeZD0XwMdYgTIYdjdK5VZ0GaRWUs0LbHAOJQkOFRHLMAEG8wrc3f1xrn uVJ4JPOA81kTmTXvYTyQNXJBySc0oNSgvSut8aBbNGBZhw9U2V3yXXnnMeWR8+DYrriYdOdR eK7S0LNN8TPY60PJx3KLN9vUY9Cb5Ly0NavF3wREPQqYlNfTMoG/GA/n8XB6SCoMj73oKCyw FLbckBUjFsl7wTeKKvU68V8kWG762fscXhOhRduETGrja09MbwADBQf/WiycmdfNtB41+vvT HQqz9tm3ZHAW2yE53CxfQpvlyS/KwnWgLjl/iV0SHRDede0NJ5yTEqPVhqq7WCdlqVsHPSpX FfvyOgbNmjPmOY/a1nW4UnWSqA7bgQvkthahhoLeHzkU8YKupW0m05RIBpqQER6HwBOksTq4 sWV/lUy1P0VT8GqqPLNklKe2BEu+KhuhLV6XwEG3VrHNoY6/R5CMGvBhZbtiUViCZktmxJAj Fq0VCcuj7+Oo52eq4BL2vMrzLX+2Ib1JSWid6t0N+grXxbr2mv7H2V2/4Vo0XI3IKxPX1mdG y9RBkbRUGyV9A8RlaS0QTnXvsxZTjOnmjxPX64hmBBgRAgAmAhsMFiEEGWhKgO0+oUSiSpl3 6/+C1GIINs8FAlwqCsMFCRhtvicACgkQ6/+C1GIINs/KCgCdGI1pg3HFhr7VEQeC63bhlMKH 0GAAn0mvTZY9OWKGMPoo0x/HdXkdgJHe Message-ID: <5d6b090b-02b1-e6f4-d0cd-65ad2f5885bd@acm.org> Date: Sat, 21 Dec 2019 09:43:22 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfKvbbkmFD6IyQGsifDpuccQMheFTvLUUb8RutBfkF3c7/upPVQ1RkKL3oOx11o1REId/iblbJRlps8DWsfzosVZt53vKGvpXdTkYwLytnc4Kr83T2oO6 oYg+3LR7Id3zRGH36Fu1I1MpnxGfv/3Eape2b6YhyoUaMGy8Unb47pF1 X-Rspamd-Queue-Id: 47g7dv1hSPz4L80 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=softfail (mx1.freebsd.org: 47.43.26.132 is neither permitted nor denied by domain of lausts@acm.org) smtp.mailfrom=lausts@acm.org X-Spamd-Result: default: False [-1.80 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[lausts@acm.org]; NEURAL_HAM_MEDIUM(-0.95)[-0.949,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.98)[-0.985,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[acm.org]; RCVD_TLS_LAST(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:40294, ipnet:47.43.24.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.23)[asn: 40294(1.22), country: US(-0.05)]; RECEIVED_SPAMHAUS_PBL(0.00)[189.112.29.65.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Dec 2019 14:43:32 -0000 After about one week of problems, I was able to successfully compile and start DRM on 3 computers. My hardware Atom D510, Intel i5 Skylake and an Intel Core2-Duo laptop. I had to rm -rf /usr/obj/* on all of them however, to get a successful compile. Thanks Tom -- Public Keys: PGP KeyID = 0x5F22FDC1 GnuPG KeyID = 0x620836CF From owner-freebsd-current@freebsd.org Sat Dec 21 20:03:57 2019 Return-Path: Delivered-To: freebsd-current@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 977971DB995 for ; Sat, 21 Dec 2019 20:03:57 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47gGlb6WVjz4Zsv for ; Sat, 21 Dec 2019 20:03:55 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id xBLK3lSJ034394 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Sat, 21 Dec 2019 12:03:48 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id xBLK3lJj034393 for freebsd-current@freebsd.org; Sat, 21 Dec 2019 12:03:47 -0800 (PST) (envelope-from sgk) Date: Sat, 21 Dec 2019 12:03:47 -0800 From: Steve Kargl To: freebsd-current@freebsd.org Subject: [PATCH] Typo in hastd.8 man page Message-ID: <20191221200347.GA34388@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 47gGlb6WVjz4Zsv X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=washington.edu (policy=none); spf=none (mx1.freebsd.org: domain of sgk@troutmask.apl.washington.edu has no SPF policy when checking 128.95.76.21) smtp.mailfrom=sgk@troutmask.apl.washington.edu X-Spamd-Result: default: False [-2.22 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[sgk@troutmask.apl.washington.edu]; DMARC_POLICY_SOFTFAIL(0.10)[washington.edu : No valid SPF, No valid DKIM,none]; NEURAL_HAM_MEDIUM(-0.99)[-0.990,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(-0.23)[ip: (0.05), ipnet: 128.95.0.0/16(-0.27), asn: 73(-0.87), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; REPLYTO_ADDR_EQ_FROM(0.00)[]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:73, ipnet:128.95.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Dec 2019 20:03:57 -0000 Path should explain the issue. Index: hastd.8 =================================================================== --- hastd.8 (revision 355983) +++ hastd.8 (working copy) @@ -44,7 +44,7 @@ daemon is responsible for managing highly available GEOM providers. .Pp .Nm -allows the transpaent storage of data on two physically separated machines +allows the transparent storage of data on two physically separated machines connected over a TCP/IP network. Only one machine (cluster node) can actively use storage provided by .Nm . -- Steve From owner-freebsd-current@freebsd.org Sat Dec 21 20:54:19 2019 Return-Path: Delivered-To: freebsd-current@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 04E5D1DC6B9 for ; Sat, 21 Dec 2019 20:54:19 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) (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 47gHsk0M1bz4ckR for ; Sat, 21 Dec 2019 20:54:17 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wr1-x42c.google.com with SMTP id z7so12664856wrl.13 for ; Sat, 21 Dec 2019 12:54:17 -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=q0mQTh80Mz7HsYRapnphwQdCRD+CEK6yBAiH/kHCr6I=; b=JLXZBaiDczILTskMWI4oFreF85g+Re0F0oMiolc3vDA8RT1OQMmcQhBleRmrPNPMWX BKTfRP2Xh4r/zk6yW77jeeRcvog6HXvcfLK8yBLqg5mN/oVsw0g3HiTBkVy4JO486o1k 51lycAJqGJe/ikAoDqQp9OS+6hfPlHtAISzK+iATMcJpk8P6vZcj3VaWfeRWybzi0aGC AWevZrQt34nlOX1qFMs8LB/ZbhmccPNpvn9yMzA6OamAqnE0t2tCcc6Fr84gt5PNCp0n 50YK3a/YDeHeGz6WCrzy1W5uZIppPUzzCbVQSFwgyBbX6bSK1ld2DB/JvtBZnZ2RVcdZ P2Lw== 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=q0mQTh80Mz7HsYRapnphwQdCRD+CEK6yBAiH/kHCr6I=; b=N9rbfz9/ek+zgZBetXMYuWO0uMDDjU4hl/cza70H0l5PA22nZ4gvCizDnoiBDubMIb gT4A5SclBjzj4zNgGddZAfa8iIjJiC8KlBLppsNDMDRgHcFJFLfZ+K7Y5KlpPt1vjh4c bgsyzNEa6Jkqk+wnJKs5frfbMqwxeLgD0Uy2ou4N+c9kafGwzxyF5poBYjz+C0KZwLGx 9eFk2cg/d+YtCsm2NvTfHsdcfqFGSHUSsH3+STQOiqla57eR8gms+PTM94y2dMunC9El Vl717czHDjG+FDmJOZtrh6L0owainSm/e+mDOBmlFh2RMOYXPrEM+n4hQ5479WU/4Pbf K3wQ== X-Gm-Message-State: APjAAAUBuODIBQve9TwiRsauddgzNR5oF1AVIQ+v3n9fKmb03dHXJrYp 1ByC/giV4EXJmX+iaQXEHNaW6tbOLTg= X-Google-Smtp-Source: APXvYqygzbz/uK+utDmRpZL0LrU/JvatlwT2vQviL6awGTn1TbJWdWWw49W6whWqQwflvgfcMqdkZg== X-Received: by 2002:adf:fac1:: with SMTP id a1mr21227263wrs.376.1576961656129; Sat, 21 Dec 2019 12:54:16 -0800 (PST) Received: from [192.168.1.7] (79-66-147-78.dynamic.dsl.as9105.com. [79.66.147.78]) by smtp.gmail.com with ESMTPSA id g7sm14618801wrq.21.2019.12.21.12.54.15 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 21 Dec 2019 12:54:15 -0800 (PST) Subject: r355978 OK (was: SVN r355732 breaks DRM) To: FreeBSD CURRENT References: <79d0207a-994b-4c79-fa80-ef1c58078b77@protected-networks.net> <28378fc6-8811-8431-b7d0-87474e1b11b2@gmail.com> From: Graham Perrin Message-ID: <20ecabfd-91fd-9b03-a208-7b9876c2764a@gmail.com> Date: Sat, 21 Dec 2019 20:54:14 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 47gHsk0M1bz4ckR X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=JLXZBaiD; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::42c as permitted sender) smtp.mailfrom=grahamperrin@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RECEIVED_SPAMHAUS_PBL(0.00)[78.147.66.79.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/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-current@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(0.00)[ip: (-9.08), ipnet: 2a00:1450::/32(-2.65), asn: 15169(-1.89), country: US(-0.05)]; RCVD_IN_DNSWL_NONE(0.00)[c.2.4.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]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Dec 2019 20:54:19 -0000 On 18/12/2019 10:21, Evilham wrote: > > On dc., des. 18 2019, Graham Perrin wrote: > >> On 14/12/2019 01:30, Warner Losh wrote: >> >>  > A fix is in progress. >> >> Thank you. >> >> r355860 drm-legacy-kmod lines 70–81: the >> same issue, yes? > > FWIW: https://github.com/FreeBSDDesktop/kms-drm/issues/198 > > I've been using a locally built drm-kmod without patches (off commit > ee53eae) for a couple days with the latest HEAD. > Maybe the port just hasn't been rebuilt on FreeBSD infra yet? > > In any case, and at your own risk you can give that a go. > -- > Evilham Thank you. All good with what's above and r355978. From owner-freebsd-current@freebsd.org Sat Dec 21 21:18:46 2019 Return-Path: Delivered-To: freebsd-current@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 81EC21DD012 for ; Sat, 21 Dec 2019 21:18:46 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47gJPy1jHTz4dxJ for ; Sat, 21 Dec 2019 21:18:46 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: by mailman.nyi.freebsd.org (Postfix) id 3A86D1DD011; Sat, 21 Dec 2019 21:18:46 +0000 (UTC) Delivered-To: current@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 3A4FC1DD00F for ; Sat, 21 Dec 2019 21:18:46 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47gJPx1QkDz4dxH for ; Sat, 21 Dec 2019 21:18:44 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id im92iPMg2kqGXim94iegrK; Sat, 21 Dec 2019 14:18:43 -0700 X-Authority-Analysis: v=2.3 cv=c/jVvi1l c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=kj9zAlcOel0A:10 a=pxVhFHJ0LMsA:10 a=ndaoGXS1AAAA:8 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=ZO0UrhebNd9ci4EYASwA:9 a=CjuIK1q_8ugA:10 a=mFeOnlTyF09QQMGr2mMI:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTPS id 2DDDD154; Sat, 21 Dec 2019 13:18:40 -0800 (PST) Received: from slippy.cwsent.com (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id xBLLIdwZ053761; Sat, 21 Dec 2019 13:18:39 -0800 (PST) (envelope-from Cy.Schubert@cschubert.com) Received: from slippy (cy@localhost) by slippy.cwsent.com (8.15.2/8.15.2/Submit) with ESMTP id xBLLIbJF053713; Sat, 21 Dec 2019 13:18:38 -0800 (PST) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201912212118.xBLLIbJF053713@slippy.cwsent.com> X-Authentication-Warning: slippy.cwsent.com: cy owned process doing -bs X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7.1 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Jeff Roberson cc: Hans Petter Selasky , Cy Schubert , current@freebsd.org Subject: Re: drm-current-kmod panics In-reply-to: References: <201912191650.xBJGotp2003261@slippy.cwsent.com> <201912191840.xBJIeqQX071052@slippy.cwsent.com> Comments: In-reply-to Jeff Roberson message dated "Thu, 19 Dec 2019 09:20:32 -1000." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 21 Dec 2019 13:18:37 -0800 X-CMAE-Envelope: MS4wfFWTBpklIvjdIF5iYRn2dQSwpEZ0ug4b8TQ1rTzji5cj97QDEMvS32aewDTAj0fBoVqpzHVgKsQjSZg4KPC+Vg7Rr0/8atyvWEsy/8iOnKiNnsdPF3LD nCDfQEzC90+9WTfcMJ3/md3y8HUxxRtdiyCQ8mwCvu8heQYCy8HHiDM/6pC9R/w9sRdn1fZxufygqmm2gFo3VyUv9VLzeyzvDnMPavD3OT7w3WwjBJmOKHdE sRx/AuYsvOcBuiN8leOLoA== X-Rspamd-Queue-Id: 47gJPx1QkDz4dxH X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of cy.schubert@cschubert.com has no SPF policy when checking 64.59.134.13) smtp.mailfrom=cy.schubert@cschubert.com X-Spamd-Result: default: False [-4.11 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; HAS_REPLYTO(0.00)[Cy.Schubert@cschubert.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLYTO_EQ_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[13.134.59.64.rep.mailspike.net : 127.0.0.17]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[17.125.67.70.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; R_SPF_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCVD_IN_DNSWL_LOW(-0.10)[13.134.59.64.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6327, ipnet:64.59.128.0/20, country:CA]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-2.41)[ip: (-6.46), ipnet: 64.59.128.0/20(-3.09), asn: 6327(-2.40), country: CA(-0.09)]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Dec 2019 21:18:46 -0000 In message , Jeff Roberson wri tes: > On Thu, 19 Dec 2019, Hans Petter Selasky wrote: > > > On 2019-12-19 19:40, Cy Schubert wrote: > >> In message , Hans Petter > >> Sela > >> sky writes: > >>> On 2019-12-19 17:50, Cy Schubert wrote: > >>>> Has anyone else had these since Dec 9? > >>>> > >>>> <4>WARN_ON(!mutex_is_locked(&fbc->lock))WARN_ON(!mutex_is_locked(&fbc-> > >>>> lock)) > >>>> panic: page fault > >>>> cpuid = 1 > >>>> time = 1576772837 > >>>> KDB: stack backtrace: > >>>> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame > >>>> 0xfffffe007c98b930 > >>>> vpanic() at vpanic+0x17e/frame 0xfffffe007c98b990 > >>>> panic() at panic+0x43/frame 0xfffffe007c98b9f0 > >>>> trap_fatal() at trap_fatal+0x386/frame 0xfffffe007c98ba50 > >>>> trap_pfault() at trap_pfault+0x4f/frame 0xfffffe007c98bac0 > >>>> trap() at trap+0x41b/frame 0xfffffe007c98bbf0 > >>>> calltrap() at calltrap+0x8/frame 0xfffffe007c98bbf0 > >>>> --- trap 0xc, rip = 0x242c52, rsp = 0x7fffffffbe70, rbp = 0x7fffffffbe90 > > >>>> -- > >>> - > >>>> Uptime: 59m7s > >>>> > >>>> It is triggered through random keystrokes or mouse movements. > >>> > >>> Looks like a double fault. > >>> > >>> Did you recompile drm-current-kmod with the latest kernel sources? > >> > >> Yes. > >> > >> > > > > Are you able to get a full backtrace? > > Since my recent scheduler commits the following functions now return > without the thread lock held: > > sched_add()/sched_wakeup()/sched_switch()/mi_switch()/setrunnable()/sleepq_ab > ort() > > I audited drm and linuxkpi for use of these functions. There was one in > the linuxkpi sources that I corrected in the same commit as the change in > api. I don't see any users of these in drm-current-kmod. It is possible > that I have somehow missed it. I did just commit a fix to cpuset that may > be called indirectly somehow. That fix is r355915. The first commit of > this series was r35579. > > If this is at fault I may need some assistance in identifying what the > offending call is. It should show up with INVARIANTS/WITNESS more quickly > than a pagefault if so though. I haven't had any new drm-current-kmod panics since r355915. It's been solid. Thank you Jeff. > > Thanks, > Jeff -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.