From owner-freebsd-current@freebsd.org Sun Nov 15 18:09:04 2020 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 85126461B89 for ; Sun, 15 Nov 2020 18:09:04 +0000 (UTC) (envelope-from lizbethmutterhunt@gmail.com) Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CZ0Zg4lnCz4pts for ; Sun, 15 Nov 2020 18:08:57 +0000 (UTC) (envelope-from lizbethmutterhunt@gmail.com) Received: by mail-ej1-x635.google.com with SMTP id oq3so21216437ejb.7 for ; Sun, 15 Nov 2020 10:08:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=HT5jHzd2VzgunQVdD3hV5I13F2q05XIw411JTynCzXg=; b=cZdkqCUK+bAWtqj6S3WUt3aseaHAu4TpiGRCcaR7CBEB9Sx+VXmsMXPio/OelOpXcF vjMy3RhV1fWQWio52cHzmtUJy3WfSuPDxyQLoTt/2YE5pYu/DnGXUl1KGcHsuhDkc7/a Jr1ePXlo+fvPYiFEJbazstGLc4by35O8Og733WWPQndw5hKFvMtQMncI1AeIzxnAqI0j EvCWNkqa+FTcGA9nq2SIIBH4husVvb6HyB0a+Ca6wvHvyQXWMjse5pIAGddh0B+cu0CN cYQiq+yr8l9JWrlm2AyRllPYGpo8WiAI5c5moJaPi4st8E0C4N5QlUefZfLEmgnsrkJU E7Tw== X-Gm-Message-State: AOAM532B6GMF1Lm3zbYEZVU/tYlH9hIZR7iFRolBHml84Rir0eEzCSjT YUlf2/e6UoVTh0cDkN0QfcQr9iGTMbik3g== X-Google-Smtp-Source: ABdhPJyjgOKt8tYwm8P6/l0YnSWYwAx0X16ONUhgw5Y7vEyokp3ksMiJbYPS7zpJASvj4yFytk62vg== X-Received: by 2002:a17:906:1253:: with SMTP id u19mr11123888eja.288.1605463734540; Sun, 15 Nov 2020 10:08:54 -0800 (PST) Received: from [10.0.0.18] (213-240-75-227.adsl.highway.telekom.at. [213.240.75.227]) by smtp.gmail.com with ESMTPSA id s20sm9334254edw.26.2020.11.15.10.08.53 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 15 Nov 2020 10:08:54 -0800 (PST) To: freebsd-current@freebsd.org From: "Miranda van Breukelingen (Lizbeth Mutterhunt, Ph.D.)" Subject: in between freeBSD and ghostBSD Message-ID: <920f95c0-de78-1afc-675c-e2abf87508a1@gmail.com> Date: Sun, 15 Nov 2020 19:08:53 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 4CZ0Zg4lnCz4pts X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.04 / 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]; NEURAL_HAM_SHORT(-0.04)[-0.037]; RECEIVED_SPAMHAUS_PBL(0.00)[213.240.75.227:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::635:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::635:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::635:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 18:09:04 -0000 hiya, have this: https://www.unitedbsd.com/d/310-ghostbsd-to-be-made-current what do you think of it? laptop still compiling (29 hours for the userspace mostly llvm and clang). I think a good idea is a "('pkg update -f '*')", compiling from which ports. in ghostBSD it's simply pkg install ports but the freeBSD checked out with .svn. will post results here (maybe from the other netBSD if nothing works), inkl. the crash-trace from the drm-kmod-current; how about drm-kmod-devel? there's a binary for ghostBSD but I get a kernel panic when loading the driver; stacktrace to be rescued and brought to netBSD. any suggestions or tipps for that kinda situation? lizbeth From owner-freebsd-current@freebsd.org Sun Nov 15 18:52:07 2020 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 859DD46485C for ; Sun, 15 Nov 2020 18:52:07 +0000 (UTC) (envelope-from manfredantar@gmail.com) Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CZ1XQ65Xwz3GCH; Sun, 15 Nov 2020 18:52:06 +0000 (UTC) (envelope-from manfredantar@gmail.com) Received: by mail-pf1-x429.google.com with SMTP id w6so11329654pfu.1; Sun, 15 Nov 2020 10:52:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:cc:to; bh=y3bTM7e5vY+zHM53Qry4hOCW4XNphQDGRsdBURtS5Yw=; b=Vqg4YtHnSRCvTXPdgdLbwHZpcEmzvKKSuzXL9xlR5TvZR/3RM8qUTxlCnr3kwmg9b5 GhBD9Rx7e/5BCn7sWybSuXke1xArm4iqfQ3zwVNiD+D0HW+059GMCirb37N30mRVTJzL h/KTc4f7onvHMywJ/ui0+t+q/o320/tJOWC58QPP2b/T9xp5fb1iLWK7Ivy/N/Z21o32 YiZfk73v5RYF+Z8Lx4gBkA72FPEnCfIgEEkq80n2FOCVWcFpJW3QIDbYSr4e/76J9oCK 7+jhyAi1ZTQ2o7vFKTk6MryWDpXH4bmngS2Ty9CN62TaMvt8ia4oScp/4wI7l8Syb2mA xUng== X-Gm-Message-State: AOAM530GIPWKzqbA/7GwCJhbyScrB3eeFhHYylgzUhFP4NbclngYcopp nrX5J5RLxQbiCMPIFggU5CEmWgRgkfQ= X-Google-Smtp-Source: ABdhPJxasJC6o/KmeTJB77Uh1S5TodC4jl1eDLEKlxj8S4hOyaxu/I7TuW4hyJ++l5arNxsFYO3lRg== X-Received: by 2002:a65:688f:: with SMTP id e15mr992599pgt.44.1605466324994; Sun, 15 Nov 2020 10:52:04 -0800 (PST) Received: from octo.pozo.com (50-197-129-140-static.hfc.comcastbusiness.net. [50.197.129.140]) by smtp.gmail.com with ESMTPSA id e22sm16707290pfd.153.2020.11.15.10.52.03 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Nov 2020 10:52:04 -0800 (PST) From: Manfred Antar Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\)) Subject: pkg.c revision 367687 breaks pkg Message-Id: Date: Sun, 15 Nov 2020 10:52:02 -0800 Cc: freebsd-current To: scottl@freebsd.org X-Mailer: Apple Mail (2.3445.104.17) X-Rspamd-Queue-Id: 4CZ1XQ65Xwz3GCH X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::429:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::429:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::429:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 18:52:07 -0000 pkg.c revision 367687 breaks pkg : (pkg)5052}pkg The package management tool is not yet installed on your system. Do you want to fetch and install it now? [y/N]:=20 This is after upgrading to the latest pkg and libutil. pkg.c version 367075 works: (pkg)5057}pkg pkg: not enough arguments Usage: pkg [-v] [-d] [-l] [-N] [-j |-c |-r = ] [-C ] [-R ] [-o = var=3Dvalue] [-4|-6] [] For more information on available commands and options see 'pkg help=E2=80= =99.=20 From owner-freebsd-current@freebsd.org Sun Nov 15 18:55:06 2020 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 B995C464B9C for ; Sun, 15 Nov 2020 18:55:06 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (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 4CZ1bt4C1mz3GgQ for ; Sun, 15 Nov 2020 18:55:06 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 4778FB0C; Sun, 15 Nov 2020 13:55:05 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sun, 15 Nov 2020 13:55:05 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddvledguddvudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpegtggfuhfgjfffgkfhfvffosehtqhhmtdhhtdejnecuhfhrohhmpefutgho thhtucfnohhnghcuoehstghothhtlhesshgrmhhstghordhorhhgqeenucggtffrrghtth gvrhhnpeefjeeggfejhffgtdejveejkeegveeileeuheejgfduteevgfdttefggfeggfdv geenucfkphepkedrgeeirdekledrvddufeenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehstghothhtlhesshgrmhhstghordhorhhg X-ME-Proxy: Received: from [192.168.0.114] (unknown [8.46.89.213]) by mail.messagingengine.com (Postfix) with ESMTPA id 83494328005D; Sun, 15 Nov 2020 13:55:04 -0500 (EST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: pkg.c revision 367687 breaks pkg From: Scott Long In-Reply-To: Date: Sun, 15 Nov 2020 11:55:03 -0700 Cc: freebsd-current Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Manfred Antar X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Rspamd-Queue-Id: 4CZ1bt4C1mz3GgQ X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 18:55:06 -0000 This is fixed in revision 367701 Scott > On Nov 15, 2020, at 11:52 AM, Manfred Antar = wrote: >=20 > pkg.c revision 367687 breaks pkg : >=20 > (pkg)5052}pkg > The package management tool is not yet installed on your system. > Do you want to fetch and install it now? [y/N]:=20 >=20 > This is after upgrading to the latest pkg and libutil. > pkg.c version 367075 works: >=20 > (pkg)5057}pkg > pkg: not enough arguments > Usage: pkg [-v] [-d] [-l] [-N] [-j |-c |-r ] [-C ] [-R ] [-o = var=3Dvalue] [-4|-6] [] >=20 > For more information on available commands and options see 'pkg = help=E2=80=99.=20 >=20 From owner-freebsd-current@freebsd.org Sun Nov 15 19:23:41 2020 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 5E403465E4B for ; Sun, 15 Nov 2020 19:23:41 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from mail.protected-networks.net (mail.protected-networks.net [202.12.127.228]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.protected-networks.net", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CZ2Dr456Mz3KKQ for ; Sun, 15 Nov 2020 19:23:40 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [192.168.1.10]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: imb@mail.protected-networks.net) by mail.protected-networks.net (Postfix) with ESMTPSA id 22812121BD; Sun, 15 Nov 2020 14:23:32 -0500 (EST) Subject: Re: pkg.c revision 367687 breaks pkg To: Scott Long Cc: freebsd-current References: From: Michael Butler Message-ID: Date: Sun, 15 Nov 2020 14:23:31 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-NZ Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4CZ2Dr456Mz3KKQ X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[protected-networks.net:s=201508]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; SPAMHAUS_ZRD(0.00)[202.12.127.228:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[protected-networks.net:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[protected-networks.net,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[202.12.127.228:from]; ASN(0.00)[asn:5716, ipnet:202.12.127.0/24, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 19:23:41 -0000 Not for me, it's not .. imb@toshi:/usr/src/usr.sbin/pkg> pkg info -a The package management tool is not yet installed on your system. Do you want to fetch and install it now? [y/N]: n And yet .. imb@toshi:/home/imb> ll /usr/local/sbin/pkg -rwxr-xr-x 1 root wheel 2890304 Oct 11 09:54 /usr/local/sbin/pkg* Reverting to SVN r367686 works correctly. mailwrapper is similarly broekn, imb On 11/15/20 1:55 PM, Scott Long wrote: > This is fixed in revision 367701 > > Scott > > >> On Nov 15, 2020, at 11:52 AM, Manfred Antar wrote: >> >> pkg.c revision 367687 breaks pkg : >> >> (pkg)5052}pkg >> The package management tool is not yet installed on your system. >> Do you want to fetch and install it now? [y/N]: >> >> This is after upgrading to the latest pkg and libutil. >> pkg.c version 367075 works: >> >> (pkg)5057}pkg >> pkg: not enough arguments >> Usage: pkg [-v] [-d] [-l] [-N] [-j |-c |-r ] [-C ] [-R ] [-o var=value] [-4|-6] [] >> >> For more information on available commands and options see 'pkg help. >> > > _______________________________________________ > 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 Sun Nov 15 19:33:37 2020 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 B8037466906 for ; Sun, 15 Nov 2020 19:33:37 +0000 (UTC) (envelope-from guyyur@gmail.com) Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CZ2SJ5nX7z3LqG for ; Sun, 15 Nov 2020 19:33:36 +0000 (UTC) (envelope-from guyyur@gmail.com) Received: by mail-wm1-x332.google.com with SMTP id 10so21909686wml.2 for ; Sun, 15 Nov 2020 11:33:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=zQYdt3Eo9aMCYRwssbaNIh1C73ooJ81pOBJNfimOcsw=; b=DRzkL3qXWemZvDeC+MpQLeSV9Tc4AVAlQh8ErwfH+zpJTrL8affB0YLNoljswGGPgx orl1nxtc09by4hntUc01DXepx988HmVEPblIF5MgYNcVmoH9dLIdTy2pY4kYBeV+hC51 D/582sz7/IwUmtO1BmmEF0eJsMwoV0kvuJpoVxB3xTd1YnSTEQ0MfO1E6bg6p3XypxQl yMTbNPqbvW3sz0dwRgJUXhJC8VERherAuyaIfBOsJSG7hR/BiS+QA6DOs+b7pWvcgLJU pRdSUFjRzMMmIoG3jWrSy7ERdsnshINsnEij+vx3XNHFJE02IaPXwJOOJAAf4HdUhUUr 0ZRA== X-Gm-Message-State: AOAM531UqejWi12arRg68/PaItaUoUNbkk5vflUuBK31KjbZ2tEL7ghV GQkNyW8J1N/RCzWpu4PspUA= X-Google-Smtp-Source: ABdhPJz90XKXIiR7Nu5QdOqfsu9C0xMhRmz1pGfATQtEZdDMWTTOTyh3iASX/bgVc6AwnLPqElFXHA== X-Received: by 2002:a05:600c:2048:: with SMTP id p8mr12263684wmg.165.1605468815172; Sun, 15 Nov 2020 11:33:35 -0800 (PST) Received: from ?IPv6:2a02:ed0:33dd:4e01:f768:e5be:b86:e0e6? ([2a02:ed0:33dd:4e01:f768:e5be:b86:e0e6]) by smtp.gmail.com with ESMTPSA id 15sm16738190wmg.1.2020.11.15.11.33.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 15 Nov 2020 11:33:34 -0800 (PST) Subject: Re: pkg.c revision 367687 breaks pkg To: Scott Long , freebsd-current References: From: Guy Yur Message-ID: <4e5fe0a6-7325-d413-f68f-2c0ebaa34763@gmail.com> Date: Sun, 15 Nov 2020 21:33:31 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.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: 4CZ2SJ5nX7z3LqG X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.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]; 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]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::332:from]; 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:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::332:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::332:from]; FREEMAIL_CC(0.00)[gmail.com]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 19:33:37 -0000 On 15/11/20 8:55 pm, Scott Long wrote: > This is fixed in revision 367701 > > Scott Hi, I am on revision 367710 (newer) and have the same problem. sysctlbyname() returns an empty string and length of 1. sysctl() with name converted to mib works fine. ssize_t tmplen; char path[1000] = { 0 }; tmplen = getlocalbase(path, sizeof(path)); printf("%s : %zd\n", path, tmplen); tmplen = sizeof(path); if (sysctlbyname("user.localbase", path, (size_t *)&tmplen, NULL, 0) == 0)   printf("%s : %zd\n", path, tmplen); int mib[100] = { 0 }; size_t miblen; if (sysctlnametomib("user.localbase", mib, &miblen) == 0) {   for (int i = 0; i < miblen; i++)     printf("%d ", mib[i]);   printf("\n"); } tmplen = sizeof(path); if (sysctl(mib, miblen, path, (size_t *)&tmplen, NULL, 0) == 0)   printf("%s : %zd\n", path, tmplen); prints:  : 1  : 1 8 21 /usr/local : 11 Thanks, Guy Yur > >> On Nov 15, 2020, at 11:52 AM, Manfred Antar wrote: >> >> pkg.c revision 367687 breaks pkg : >> >> (pkg)5052}pkg >> The package management tool is not yet installed on your system. >> Do you want to fetch and install it now? [y/N]: >> >> This is after upgrading to the latest pkg and libutil. >> pkg.c version 367075 works: >> >> (pkg)5057}pkg >> pkg: not enough arguments >> Usage: pkg [-v] [-d] [-l] [-N] [-j |-c |-r ] [-C ] [-R ] [-o var=value] [-4|-6] [] >> >> For more information on available commands and options see 'pkg help’. >> > _______________________________________________ > 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 Sun Nov 15 19:42:03 2020 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 2C864466D19 for ; Sun, 15 Nov 2020 19:42:03 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CZ2f30jXsz3MM6; Sun, 15 Nov 2020 19:42:03 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qk1-f173.google.com (mail-qk1-f173.google.com [209.85.222.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 022382A483; Sun, 15 Nov 2020 19:42:03 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qk1-f173.google.com with SMTP id q5so14649107qkc.12; Sun, 15 Nov 2020 11:42:02 -0800 (PST) X-Gm-Message-State: AOAM531BXd7gYLfuz/r25BJooXNDmhJ3tLxrWNMl4gQzR+0Gnt78ITZa Y1+4bnGjPDxSzEdchBcmqyQ5yAofvQHytY4U9uo= X-Google-Smtp-Source: ABdhPJzB5oWJo7Jiwg8L7kcS0PZfoCKCFlVu2b6/dti/21ga4I/aPWTxtyJ+rdgR7hbqGW/Atbdg6dCHWwv0Dykxumk= X-Received: by 2002:a37:9883:: with SMTP id a125mr11691044qke.430.1605469322640; Sun, 15 Nov 2020 11:42:02 -0800 (PST) MIME-Version: 1.0 References: <4e5fe0a6-7325-d413-f68f-2c0ebaa34763@gmail.com> In-Reply-To: <4e5fe0a6-7325-d413-f68f-2c0ebaa34763@gmail.com> From: Kyle Evans Date: Sun, 15 Nov 2020 13:41:51 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: pkg.c revision 367687 breaks pkg To: Guy Yur Cc: Scott Long , freebsd-current , kaktus@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 19:42:03 -0000 On Sun, Nov 15, 2020 at 1:33 PM Guy Yur wrote: > > On 15/11/20 8:55 pm, Scott Long wrote: > > This is fixed in revision 367701 > > > > Scott > > Hi, > > I am on revision 367710 (newer) and have the same problem. > sysctlbyname() returns an empty string and length of 1. > sysctl() with name converted to mib works fine. > > ssize_t tmplen; > char path[1000] = { 0 }; > > tmplen = getlocalbase(path, sizeof(path)); > printf("%s : %zd\n", path, tmplen); > > tmplen = sizeof(path); > if (sysctlbyname("user.localbase", path, (size_t *)&tmplen, NULL, 0) == 0) > printf("%s : %zd\n", path, tmplen); > > int mib[100] = { 0 }; > size_t miblen; > if (sysctlnametomib("user.localbase", mib, &miblen) == 0) { > for (int i = 0; i < miblen; i++) > printf("%d ", mib[i]); > printf("\n"); > } > > tmplen = sizeof(path); > if (sysctl(mib, miblen, path, (size_t *)&tmplen, NULL, 0) == 0) > printf("%s : %zd\n", path, tmplen); > > prints: > : 1 > : 1 > 8 21 > /usr/local : 11 > > Thanks, > Guy Yur > This is a separate (valid) problem, but not directly related to Scott's work here. sysctlbyname now goes directly to the kernel with no chance for the user.* sysctls to intercept. That should independently be fixed to maintain the illusion that they're real sysctl's. Thanks, Kyle Evans From owner-freebsd-current@freebsd.org Sun Nov 15 19:51:20 2020 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 806A4467133 for ; Sun, 15 Nov 2020 19:51:20 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (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 4CZ2rm2JRSz3N4Y; Sun, 15 Nov 2020 19:51:20 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id B53AC6D4; Sun, 15 Nov 2020 14:51:18 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sun, 15 Nov 2020 14:51:19 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddvledgudefgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpegtggfuhfgjfffgkfhfvffosehtqhhmtdhhtdejnecuhfhrohhmpefutgho thhtucfnohhnghcuoehstghothhtlhesshgrmhhstghordhorhhgqeenucggtffrrghtth gvrhhnpeefjeeggfejhffgtdejveejkeegveeileeuheejgfduteevgfdttefggfeggfdv geenucfkphepkedrgeeirdekledrvddufeenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehstghothhtlhesshgrmhhstghordhorhhg X-ME-Proxy: Received: from [192.168.0.114] (unknown [8.46.89.213]) by mail.messagingengine.com (Postfix) with ESMTPA id DD32A328005E; Sun, 15 Nov 2020 14:51:17 -0500 (EST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: pkg.c revision 367687 breaks pkg From: Scott Long In-Reply-To: Date: Sun, 15 Nov 2020 12:51:17 -0700 Cc: Guy Yur , freebsd-current , kaktus@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <4e5fe0a6-7325-d413-f68f-2c0ebaa34763@gmail.com> To: Kyle Evans X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Rspamd-Queue-Id: 4CZ2rm2JRSz3N4Y X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 19:51:20 -0000 > On Nov 15, 2020, at 12:41 PM, Kyle Evans wrote: >=20 > On Sun, Nov 15, 2020 at 1:33 PM Guy Yur wrote: >>=20 >> On 15/11/20 8:55 pm, Scott Long wrote: >>> This is fixed in revision 367701 >>>=20 >>> Scott >>=20 >> Hi, >>=20 >> I am on revision 367710 (newer) and have the same problem. >> sysctlbyname() returns an empty string and length of 1. >> sysctl() with name converted to mib works fine. >>=20 >> ssize_t tmplen; >> char path[1000] =3D { 0 }; >>=20 >> tmplen =3D getlocalbase(path, sizeof(path)); >> printf("%s : %zd\n", path, tmplen); >>=20 >> tmplen =3D sizeof(path); >> if (sysctlbyname("user.localbase", path, (size_t *)&tmplen, NULL, 0) = =3D=3D 0) >> printf("%s : %zd\n", path, tmplen); >>=20 >> int mib[100] =3D { 0 }; >> size_t miblen; >> if (sysctlnametomib("user.localbase", mib, &miblen) =3D=3D 0) { >> for (int i =3D 0; i < miblen; i++) >> printf("%d ", mib[i]); >> printf("\n"); >> } >>=20 >> tmplen =3D sizeof(path); >> if (sysctl(mib, miblen, path, (size_t *)&tmplen, NULL, 0) =3D=3D 0) >> printf("%s : %zd\n", path, tmplen); >>=20 >> prints: >> : 1 >> : 1 >> 8 21 >> /usr/local : 11 >>=20 >> Thanks, >> Guy Yur >>=20 >=20 > This is a separate (valid) problem, but not directly related to > Scott's work here. sysctlbyname now goes directly to the kernel with > no chance for the user.* sysctls to intercept. That should > independently be fixed to maintain the illusion that they're real > sysctl=E2=80=99s It turns out the my userland, kernel, and startup scripts were out of sync and this was succeeding in error for me. Thanks for the hint, I think I have it working now. Scott From owner-freebsd-current@freebsd.org Sun Nov 15 20:05:33 2020 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 2F7FC467B29 for ; Sun, 15 Nov 2020 20:05:33 +0000 (UTC) (envelope-from se@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CZ3990gQNz3NyK; Sun, 15 Nov 2020 20:05:33 +0000 (UTC) (envelope-from se@freebsd.org) Received: from Stefans-MBP-WLAN.fritz.box (p200300cd5f0bbc008449886a8dac6269.dip0.t-ipconnect.de [IPv6:2003:cd:5f0b:bc00:8449:886a:8dac:6269]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: se/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4E4A22A6C4; Sun, 15 Nov 2020 20:05:32 +0000 (UTC) (envelope-from se@freebsd.org) To: Kyle Evans , Guy Yur Cc: Scott Long , freebsd-current , kaktus@freebsd.org References: <4e5fe0a6-7325-d413-f68f-2c0ebaa34763@gmail.com> From: Stefan Esser Subject: Re: pkg.c revision 367687 breaks pkg Message-ID: Date: Sun, 15 Nov 2020 21:05:31 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.4.3 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="TcuVOmD0vubyfDn2ofwYyeh2rw2ScH29w" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 20:05:33 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --TcuVOmD0vubyfDn2ofwYyeh2rw2ScH29w Content-Type: multipart/mixed; boundary="Ee6MHL1lN1DDU7EDJYG6PhMPOyBsp8Te2"; protected-headers="v1" From: Stefan Esser To: Kyle Evans , Guy Yur Cc: Scott Long , freebsd-current , kaktus@freebsd.org Message-ID: Subject: Re: pkg.c revision 367687 breaks pkg References: <4e5fe0a6-7325-d413-f68f-2c0ebaa34763@gmail.com> In-Reply-To: --Ee6MHL1lN1DDU7EDJYG6PhMPOyBsp8Te2 Content-Type: multipart/mixed; boundary="------------E7EE50520FA6C4BD99E888A6" Content-Language: en-US This is a multi-part message in MIME format. --------------E7EE50520FA6C4BD99E888A6 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable Am 15.11.20 um 20:41 schrieb Kyle Evans: > This is a separate (valid) problem, but not directly related to > Scott's work here. sysctlbyname now goes directly to the kernel with > no chance for the user.* sysctls to intercept. That should > independently be fixed to maintain the illusion that they're real > sysctl's. user.localbase is a real sysctl, but with a default value returned when sysctl(3) is used. The getlocalbase() function should not depend on this default value, since it contains an identicl default value that can be returned if sysctlbyname fails (or rather returns a zero length string in case no other value has been written to the kernel). Regards, STefan --------------E7EE50520FA6C4BD99E888A6-- --Ee6MHL1lN1DDU7EDJYG6PhMPOyBsp8Te2-- --TcuVOmD0vubyfDn2ofwYyeh2rw2ScH29w Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEo3HqZZwL7MgrcVMTR+u171r99UQFAl+xigsFAwAAAAAACgkQR+u171r99UTy 8Af/enWuROqXjSJILik4wi81xfaE6zKo/BPEyQ9SMU48Fqm6AEVwlEkV7YjdZ3lvuazld9jUhvPr k6dUFeHGxRwo/hR73THfiPVlIq2kBIE2AzZS5WJ6qSYAWosmOU+7EZQfPt+gjuf1Gon00w9hnUC5 R6FR+09OKJZ4VjrTzqoWymqRueLQpIK9pf7nQVI732MXDvb01pdBM+GE/jWUQrOy/yLAr/oC+DLa 7MqOS0hTRFtUPqqtHHSfK1XX0F6UiucXGsDnsy4H3MEqkoPE1M5L1VvuJRg/CV2WzjlabCQ8gl7i AS8UkifX7xhHXOJAhecyuW5Q2p6Rvv32U7WZKt6rFw== =2y5r -----END PGP SIGNATURE----- --TcuVOmD0vubyfDn2ofwYyeh2rw2ScH29w-- From owner-freebsd-current@freebsd.org Sun Nov 15 20:16:00 2020 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 7BA0C467BE4 for ; Sun, 15 Nov 2020 20:16:00 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (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 4CZ3PD25bYz3Psq; Sun, 15 Nov 2020 20:15:59 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 82797885; Sun, 15 Nov 2020 15:15:58 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sun, 15 Nov 2020 15:15:58 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddvledgudefkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpegtggfuhfgjfffgkfhfvffosehtqhhmtdhhtdejnecuhfhrohhmpefutgho thhtucfnohhnghcuoehstghothhtlhesshgrmhhstghordhorhhgqeenucggtffrrghtth gvrhhnpeefjeeggfejhffgtdejveejkeegveeileeuheejgfduteevgfdttefggfeggfdv geenucfkphepkedrgeeirdekledrvddufeenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehstghothhtlhesshgrmhhstghordhorhhg X-ME-Proxy: Received: from [192.168.0.114] (unknown [8.46.89.213]) by mail.messagingengine.com (Postfix) with ESMTPA id 889F53280063; Sun, 15 Nov 2020 15:15:57 -0500 (EST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: pkg.c revision 367687 breaks pkg From: Scott Long In-Reply-To: Date: Sun, 15 Nov 2020 13:15:56 -0700 Cc: Kyle Evans , Guy Yur , freebsd-current , kaktus@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <004F3036-1481-4979-BDD2-4BA5D19194E1@samsco.org> References: <4e5fe0a6-7325-d413-f68f-2c0ebaa34763@gmail.com> To: Stefan Esser X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Rspamd-Queue-Id: 4CZ3PD25bYz3Psq X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 20:16:00 -0000 > On Nov 15, 2020, at 1:05 PM, Stefan Esser wrote: >=20 > Am 15.11.20 um 20:41 schrieb Kyle Evans: >> This is a separate (valid) problem, but not directly related to >> Scott's work here. sysctlbyname now goes directly to the kernel with >> no chance for the user.* sysctls to intercept. That should >> independently be fixed to maintain the illusion that they're real >> sysctl's. >=20 > user.localbase is a real sysctl, but with a default value returned > when sysctl(3) is used. >=20 > The getlocalbase() function should not depend on this default value, > since it contains an identicl default value that can be returned if > sysctlbyname fails (or rather returns a zero length string in case > no other value has been written to the kernel). >=20 sysctlbyname() was returning success and an empty string. = getlocalbase() has no way to know if this was intentional or not, so it can=E2=80=99t = rationally check. Switching to sysctlnametomib() + sysctl() seems to solve this problem. However, I=E2=80=99m going to revert all of this and let the experts = decide on the best path forward. Scott From owner-freebsd-current@freebsd.org Sun Nov 15 20:34:58 2020 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 396874682EB for ; Sun, 15 Nov 2020 20:34:58 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CZ3q610Qgz3QyY; Sun, 15 Nov 2020 20:34:58 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com [209.85.160.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 0F8762A6D3; Sun, 15 Nov 2020 20:34:58 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qt1-f179.google.com with SMTP id n63so11256048qte.4; Sun, 15 Nov 2020 12:34:58 -0800 (PST) X-Gm-Message-State: AOAM533vfQJEY8UXnkl46I6LXU7QMCLYGV9zlJU4mkYdkJWChiFG5xTY ePYpRQ/HdubmTJEye9DUJ4EFAuFe+6LGdXwTFp8= X-Google-Smtp-Source: ABdhPJwv6uniSFluLyTXm298TRJh0hOT0OsuSoOmxyJ/v6+2t3UClwvN+rVsZ/yhAely9bTGcZhTLBtuh1mXSUhrp2o= X-Received: by 2002:ac8:4e87:: with SMTP id 7mr10922666qtp.310.1605472497645; Sun, 15 Nov 2020 12:34:57 -0800 (PST) MIME-Version: 1.0 References: <4e5fe0a6-7325-d413-f68f-2c0ebaa34763@gmail.com> In-Reply-To: From: Kyle Evans Date: Sun, 15 Nov 2020 14:34:46 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: pkg.c revision 367687 breaks pkg To: Stefan Esser Cc: Guy Yur , Scott Long , freebsd-current , kaktus@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 20:34:58 -0000 On Sun, Nov 15, 2020 at 2:05 PM Stefan Esser wrote: > > Am 15.11.20 um 20:41 schrieb Kyle Evans: > > This is a separate (valid) problem, but not directly related to > > Scott's work here. sysctlbyname now goes directly to the kernel with > > no chance for the user.* sysctls to intercept. That should > > independently be fixed to maintain the illusion that they're real > > sysctl's. > > user.localbase is a real sysctl, but with a default value returned > when sysctl(3) is used. > Yup. > The getlocalbase() function should not depend on this default value, > since it contains an identicl default value that can be returned if > sysctlbyname fails (or rather returns a zero length string in case > no other value has been written to the kernel). > I don't care about this particular application, to be honest, but about the general problem. libc has a sizable chunk of code in sysctl(3) dealing with user.* sysctls, and sysctlbyname will never see it. This isn't documented in the manpage, and IMO it's really just an oversight; libc should still be able to provide the values as seen in ^/lib/libc/gen/sysctl.c whether you've invoked sysctl() or sysctlbyname(). At a glance, it looks like localbase is the only one that's also tunable, most of these don't really even need to take a trip to the kernel to read. Thanks, Kyle Evans From owner-freebsd-current@freebsd.org Sun Nov 15 21:12:57 2020 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 6C1D046A1A7 for ; Sun, 15 Nov 2020 21:12:57 +0000 (UTC) (envelope-from se@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CZ4fx2d4Kz3kHg; Sun, 15 Nov 2020 21:12:57 +0000 (UTC) (envelope-from se@freebsd.org) Received: from Stefans-MBP-WLAN.fritz.box (p200300cd5f0bbc008449886a8dac6269.dip0.t-ipconnect.de [IPv6:2003:cd:5f0b:bc00:8449:886a:8dac:6269]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: se/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 980942AF80; Sun, 15 Nov 2020 21:12:56 +0000 (UTC) (envelope-from se@freebsd.org) To: Kyle Evans Cc: Guy Yur , Scott Long , freebsd-current , kaktus@freebsd.org References: <4e5fe0a6-7325-d413-f68f-2c0ebaa34763@gmail.com> From: Stefan Esser Subject: Re: pkg.c revision 367687 breaks pkg Message-ID: Date: Sun, 15 Nov 2020 22:12:55 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.4.3 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 21:12:57 -0000 Am 15.11.20 um 21:34 schrieb Kyle Evans: > On Sun, Nov 15, 2020 at 2:05 PM Stefan Esser wrote: >> >> Am 15.11.20 um 20:41 schrieb Kyle Evans: >>> This is a separate (valid) problem, but not directly related to >>> Scott's work here. sysctlbyname now goes directly to the kernel with >>> no chance for the user.* sysctls to intercept. That should >>> independently be fixed to maintain the illusion that they're real >>> sysctl's. >> >> user.localbase is a real sysctl, but with a default value returned >> when sysctl(3) is used. >> > > Yup. > >> The getlocalbase() function should not depend on this default value, >> since it contains an identicl default value that can be returned if >> sysctlbyname fails (or rather returns a zero length string in case >> no other value has been written to the kernel). >> > > I don't care about this particular application, to be honest, but > about the general problem. libc has a sizable chunk of code in > sysctl(3) dealing with user.* sysctls, and sysctlbyname will never see > it. This isn't documented in the manpage, and IMO it's really just an > oversight; libc should still be able to provide the values as seen in > ^/lib/libc/gen/sysctl.c whether you've invoked sysctl() or > sysctlbyname(). At a glance, it looks like localbase is the only one > that's also tunable, most of these don't really even need to take a > trip to the kernel to read. I have added user.localbase a few days back to -CURRENT. Having it under "user" seemed a logical choice and I have preserved the semantics of all the existing R/O cases. The trip through the kernel has the effect, that the conditions for access that are specified in kern_mib.c are checked, before the value is then provided by libc. I do consider this is a sensible approach, since it consolidates the access checks / policy in the kernel, independently of detailed checks in libc. The values returned by libc are read-only system parameters, and they could also be passed into the kernel, to be returned from there, but this would not provide any useful added functionality. Having getsysctlbyname() implement the same logic for accesses to the user sysctl name-space seems sensible, and if nobody beats me, I'd be willing to provide a patch for review. Back to getlocalbase() and its supposed semantics: Is it useful to have it return a NULL prefix (functionally equivalent to returning "/")? Having LOCALBASE/etc identical to /etc could lead to unexpected behavior (e.g. to files being found twice if a program collects data from both places), but might still be valid? I'd consider an undefined return value from sysctl() to indicate that the system default of (e.g.) "/usr/local" should be used, while a value of "/" maps LOCALBASE files to be found relative to the root directory. Regards, STefan From owner-freebsd-current@freebsd.org Mon Nov 16 09:27:34 2020 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 6DB652D7DC9 for ; Mon, 16 Nov 2020 09:27:34 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CZNyY339Mz4p6Y for ; Mon, 16 Nov 2020 09:27:33 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wm1-x336.google.com with SMTP id a65so22961157wme.1 for ; Mon, 16 Nov 2020 01:27:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=dIHRutPudp4nGVIsqGjIvwV0wBD9GH0yBqhArmRTqlo=; b=iNigUwy5WOMLDep8lxHqFjLszk6IbPAyf+bAMhpWqvPvqqFhL6FdKVFUh/tVONMaWN v5Yak7yXPvPj7Yj2xqYKE6tH5El4DH8nVBEO7Xu+c8q7L+DQbeusuwZNrR0mhKNwE9sR 5sLKxTASY6VwZ1gFBiqkpaWchVzgfildO6NjYg2fhSWolXZtGOg4c0+LN3/aoPFA7CVQ svnj5ZAcW18YAj4ae4rntv63TUf7Du5yNmeB3pzfgntYwG3jZ2j49/uS4MT6kQGPwWi3 pmMvV5+9r2CD9izlbQRNIrIrA2ZXfJ9djgEFMzFZzRLcGvGgQfMV68RTmFXeR5R+ltnq 21dg== X-Gm-Message-State: AOAM533byxuBJ+SzZIQi+kdKMTUMVNsQFkT/8JDUDinWvoyjsrPJSrXf XRPEzjQdyq+attwuHDHHZ56WIII18fI= X-Google-Smtp-Source: ABdhPJz5hKCwd7p2PtlL88QRc/fzQLD32CLFyBDDf4cglGJKTgzLHtZKwkGnsYQL4cwkVDlbcP7h1A== X-Received: by 2002:a1c:6405:: with SMTP id y5mr14472765wmb.150.1605518851347; Mon, 16 Nov 2020 01:27:31 -0800 (PST) Received: from [192.168.1.11] (79-66-147-78.dynamic.dsl.as9105.com. [79.66.147.78]) by smtp.gmail.com with ESMTPSA id f17sm18942992wmh.10.2020.11.16.01.27.30 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 Nov 2020 01:27:30 -0800 (PST) To: FreeBSD-CURRENT From: Graham Perrin Subject: buildworld: lib/libc: install: short write to libc.so.7.debug: [_libinstall] Error code 71 Message-ID: <746a3af4-3daf-9029-bf48-23efa3f5da8e@gmail.com> Date: Mon, 16 Nov 2020 09:27:29 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4CZNyY339Mz4p6Y X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.82 / 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]; 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]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::336:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[79.66.147.78:received]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::336:from:127.0.2.255]; NEURAL_SPAM_SHORT(0.18)[0.176]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::336:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 09:27:34 -0000 Attempting to build r367615 on Friday 13th: … ===> lib/libprocstat/zfs (install) install -U  -C -o root -g wheel -m 444 /usr/src/lib/libprocstat/libprocstat.h /usr/obj/usr/src/amd64.amd64/tmp/usr/include/ ===> lib/libc (obj,all,install) install -U  -C -o root -g wheel -m 444   libc.a /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/ install -U  -s -o root -g wheel -m 444   -S  libc.so.7 /usr/obj/usr/src/amd64.amd64/tmp/lib/ install -U  -o root -g wheel -m 444    libc.so.7.debug /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/debug/lib/ install: short write to /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/debug/lib/libc.so.7.debug: 393216 bytes written, 7462472 bytes asked to write *** [_libinstall] Error code 71 make[4]: stopped in /usr/src/lib/libc 1 error make[4]: stopped in /usr/src/lib/libc root@mowa219-gjp4-8570p:/usr/src # From owner-freebsd-current@freebsd.org Mon Nov 16 09:33:01 2020 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 DD9F12E8D0C for ; Mon, 16 Nov 2020 09:33:01 +0000 (UTC) (envelope-from kaduk@mit.edu) Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (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 4CZP4r735yz4pgK for ; Mon, 16 Nov 2020 09:33:00 +0000 (UTC) (envelope-from kaduk@mit.edu) Received: from kduck.mit.edu ([24.16.140.251]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 0AG9WnpZ015896 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 16 Nov 2020 04:32:54 -0500 Date: Mon, 16 Nov 2020 01:32:49 -0800 From: Benjamin Kaduk To: Graham Perrin Cc: FreeBSD-CURRENT Subject: Re: buildworld: lib/libc: install: short write to libc.so.7.debug: [_libinstall] Error code 71 Message-ID: <20201116093249.GU39170@kduck.mit.edu> References: <746a3af4-3daf-9029-bf48-23efa3f5da8e@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <746a3af4-3daf-9029-bf48-23efa3f5da8e@gmail.com> X-Rspamd-Queue-Id: 4CZP4r735yz4pgK X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_TLS_LAST(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[18.9.28.11:from]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:18.9.28.0/24]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[mit.edu]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; 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:3, ipnet:18.9.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current]; RECEIVED_SPAMHAUS_PBL(0.00)[24.16.140.251:received] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 09:33:01 -0000 On Mon, Nov 16, 2020 at 09:27:29AM +0000, Graham Perrin wrote: > Attempting to build r367615 on Friday 13th: > > … > > ===> lib/libprocstat/zfs (install) > install -U  -C -o root -g wheel -m 444 > /usr/src/lib/libprocstat/libprocstat.h > /usr/obj/usr/src/amd64.amd64/tmp/usr/include/ > ===> lib/libc (obj,all,install) > install -U  -C -o root -g wheel -m 444   libc.a > /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/ > install -U  -s -o root -g wheel -m 444   -S  libc.so.7 > /usr/obj/usr/src/amd64.amd64/tmp/lib/ > install -U  -o root -g wheel -m 444    libc.so.7.debug > /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/debug/lib/ > install: short write to > /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/debug/lib/libc.so.7.debug: > 393216 bytes written, 7462472 bytes asked to write > *** [_libinstall] Error code 71 Is your disk/filesystem full? -Ben From owner-freebsd-current@freebsd.org Mon Nov 16 10:56:10 2020 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 DC2702EB4E2 for ; Mon, 16 Nov 2020 10:56:10 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CZQwp0WKQz3Bnc for ; Mon, 16 Nov 2020 10:56:09 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wr1-x42c.google.com with SMTP id j7so18175122wrp.3 for ; Mon, 16 Nov 2020 02:56:09 -0800 (PST) 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=zS/TnWaHBCyNAC1Umii5vIhWbgyb4Ue2reDxe1zxsg4=; b=e8XEyBqnnT87DOPNZU54+FjsYG/8Ng1U1wI6aPEeE9ojVJ51/IVeZU2VfcFVjkKM8A vH4g9dTvZHGxwqvcgASB0zss2/wcyJYOqIYmGi3gXz4J82ox8RIrxJX9TTmeQaw+12Jw cTsHQAQ72HbvpXJeD/k/64+qd758Zx542pkoRW45R/v8WlmYSRtwEPflCUW0+UOQa6Xl aJpXxam/wXlLsRuyzC8jEy+6NdsO0I7/oDZ0DBJ3Woauq7a3pUDOKiUpVQRJf/7Yg0AZ /caj1mqjj/EJpy3UDqOajxEkeDE3kmkmZQYIHG1TcL9gLbzKg0d9/JFI5y+FDta/12iG K6HA== X-Gm-Message-State: AOAM5305cnIvH8xLXHL843+cBDmFotL4pJI7SVQUiQlABiuI89AMreSH mWZXlR9SQdJXRt5kKlH3B0rkdkUL/Kk= X-Google-Smtp-Source: ABdhPJw5OBSOCg0FXQVJVPb4Lk5oLlkOhSu4Fkd7iWPbe0XW1RsJVPk5y8t/poxajtXtZr5Qu++zzg== X-Received: by 2002:a5d:604e:: with SMTP id j14mr19650922wrt.164.1605524168255; Mon, 16 Nov 2020 02:56:08 -0800 (PST) Received: from [192.168.1.11] (79-66-147-78.dynamic.dsl.as9105.com. [79.66.147.78]) by smtp.gmail.com with ESMTPSA id i10sm22326254wrs.22.2020.11.16.02.56.07 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 Nov 2020 02:56:07 -0800 (PST) Subject: Re: buildworld: lib/libc: install: short write to libc.so.7.debug: [_libinstall] Error code 71 To: FreeBSD-CURRENT References: <746a3af4-3daf-9029-bf48-23efa3f5da8e@gmail.com> <20201116093249.GU39170@kduck.mit.edu> From: Graham Perrin Message-ID: <8824a8de-99a7-be93-2273-01941c3dda97@gmail.com> Date: Mon, 16 Nov 2020 10:56:06 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.4.1 MIME-Version: 1.0 In-Reply-To: <20201116093249.GU39170@kduck.mit.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4CZQwp0WKQz3Bnc X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.86 / 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]; 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]; NEURAL_HAM_SHORT(-0.86)[-0.858]; RECEIVED_SPAMHAUS_PBL(0.00)[79.66.147.78:received]; FROM_EQ_ENVFROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::42c:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::42c:from:127.0.2.255]; MIME_TRACE(0.00)[0:+]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42c:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 10:56:10 -0000 On 16/11/2020 09:32, Benjamin Kaduk wrote: > On Mon, Nov 16, 2020 at 09:27:29AM +0000, Graham Perrin wrote: >> Attempting to build r367615 on Friday 13th: >> >> … >> >> ===> lib/libprocstat/zfs (install) >> install -U  -C -o root -g wheel -m 444 >> /usr/src/lib/libprocstat/libprocstat.h >> /usr/obj/usr/src/amd64.amd64/tmp/usr/include/ >> ===> lib/libc (obj,all,install) >> install -U  -C -o root -g wheel -m 444   libc.a >> /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/ >> install -U  -s -o root -g wheel -m 444   -S  libc.so.7 >> /usr/obj/usr/src/amd64.amd64/tmp/lib/ >> install -U  -o root -g wheel -m 444    libc.so.7.debug >> /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/debug/lib/ >> install: short write to >> /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/debug/lib/libc.so.7.debug: >> 393216 bytes written, 7462472 bytes asked to write >> *** [_libinstall] Error code 71 > Is your disk/filesystem full? > > -Ben AVAIL: 204G From owner-freebsd-current@freebsd.org Mon Nov 16 17:00:45 2020 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 525BA46B2F5 for ; Mon, 16 Nov 2020 17:00:45 +0000 (UTC) (envelope-from se@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CZb1T1smVz3r8M; Mon, 16 Nov 2020 17:00:45 +0000 (UTC) (envelope-from se@freebsd.org) Received: from Stefans-MBP-WLAN.fritz.box (p50806a51.dip0.t-ipconnect.de [80.128.106.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: se/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id D92104530; Mon, 16 Nov 2020 17:00:44 +0000 (UTC) (envelope-from se@freebsd.org) To: FreeBSD CURRENT From: Stefan Esser Subject: [REVIEW] new function getlocalbase() - D27236 and D27237 Message-ID: Date: Mon, 16 Nov 2020 18:00:41 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.4.3 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="NHAtD3kqYM3MFjd9Z7UrDTsfKhtZNKieQ" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 17:00:45 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --NHAtD3kqYM3MFjd9Z7UrDTsfKhtZNKieQ Content-Type: multipart/mixed; boundary="AvaatoqjQlBdMedbF5n0D2EyTfRB8VrWt"; protected-headers="v1" From: Stefan Esser To: FreeBSD CURRENT Message-ID: Subject: [REVIEW] new function getlocalbase() - D27236 and D27237 --AvaatoqjQlBdMedbF5n0D2EyTfRB8VrWt Content-Type: multipart/mixed; boundary="------------50BAEB58100C4260A9116EAB" Content-Language: en-US This is a multi-part message in MIME format. --------------50BAEB58100C4260A9116EAB Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable I have created two Phabricator reviews for my proposed implementation of getlocalbase(): https://reviews.freebsd.org/D27236 https://reviews.freebsd.org/D27237 The first one implements getlocalbase() with quite similar semantics to getenv("LOCALBASE") which it will replace in a number of places in the base system. This implementation returns a pointer to either of: 1) getenv("LOCALBASE") 2) sysctlbyname("user.localbase", ...) 3) _PATH_LOCALBASE or "/usr/local" I had considered to copy any result of 1) or 3) into the same static buffer used to retrieve the sysctl result, but have for now implemented a version that returns the pointers as is (in case of getenv() into the environment, in case of the fall-back strings into the area for R/O strings). I'd be willing to change this to either: a) retrieve a value on the first invocation and copy it to the buffer b) retrieve a new value on each invocation and copy it to the buffer Most programs will call getlocalbase() at most once and will either construct the required path to e.g. a config file directory from it, or they will store a local copy. The return type should prevent any accidental overwriting of values at the returned address (but does not really protect e.g. the environment variable area - same as if getenv() was directly called). If returning the pointer into the environment is considered too dangerous, I'd prefer to implement variant a). A potential problem exists due the unlimited length of the string returned by getenv("LOCALBASE"), i.e. it could cause a path name longer than PATHNAMEMAX to be created. I do not want to introduce a potential error return or to silently discard superfluous data from the returned value and therefore prefer to return the pointer into the environment area without guarantees regarding the maximum length of the string pointed to. The second review replaces getenv() calls with getlocalbase() in code that already used getenv(). The code is simplified but has unchanged behavior if LOCALBASE is defined in the environment. If it is undefined, than the sysctl value or the hard-coded value is returned (and the only difference is that sysctl may cause the system wide value to be controlled without recompilation of the world). In one program the constant _PATH_LOCALBASE was concatenated to a relative file path, and in that case the same approach can be used as in the other two (with snprintf() filling a local buffer). I have not looked for other programs that should be modified to use getlocalbase(), but all affected by my recent _PATH_LOCALBASE commit are candidates ... I'd appreciate comments in the Phabricator or review or by mail. Regards, STefan --------------50BAEB58100C4260A9116EAB-- --AvaatoqjQlBdMedbF5n0D2EyTfRB8VrWt-- --NHAtD3kqYM3MFjd9Z7UrDTsfKhtZNKieQ Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEo3HqZZwL7MgrcVMTR+u171r99UQFAl+ysDoFAwAAAAAACgkQR+u171r99URS egf+ItpnQzslnXg2Fb5lfhPsKBrV0HsrBR9QEc80BTVSa2imkhHq6Tr942CyQru6juFz0j9n0omo nYTxulH4L5AkX2tN2mgZk+rhlGbbYifOKPCXWNmO9qj26LTgv0V54v7c7ovPVlmLUXyok9PY/G6m BrFDDdSSPOPHDlaqeTyXAOuyDKwuinuuWt1mnVcNgitQfE6GIsljxHY65d/Ze/dv7ual+hLjYIKf NOAfF6cZwFudTMtgzvnMTutpeEZBZTtu3MJoq0wmNKiiPzNgwe6uVEfNuFZAXfQgq2DAEtJjIE13 Yq6J/5gHJO71dKxzbAlDgASArwMlJ36g717TZL4h7g== =sI/5 -----END PGP SIGNATURE----- --NHAtD3kqYM3MFjd9Z7UrDTsfKhtZNKieQ-- From owner-freebsd-current@freebsd.org Mon Nov 16 18:16:57 2020 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 993F146D693 for ; Mon, 16 Nov 2020 18:16:57 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-ed1-x543.google.com (mail-ed1-x543.google.com [IPv6:2a00:1450:4864:20::543]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CZcjN3qlCz4R4t for ; Mon, 16 Nov 2020 18:16:55 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: by mail-ed1-x543.google.com with SMTP id cq7so19695043edb.4 for ; Mon, 16 Nov 2020 10:16:55 -0800 (PST) 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=RvPeaNV0vxJnhdmKyKu1iD0AvosfYL4LAQWeHpK18V4=; b=Ers7DewXPQLWL3rqMvX1k3YVdE6r8Oiaefh7jVcqyyMw4S013yALH8paO/XAEQHw+e GDGlh+Z/ncJUun8INd7/if+8kmbaPXOBo+kjZRtpbNc1fNZarirIDi5Qv20rOWlZ8/cI //hCrH3ddacENQQuDmS5Ax+rFeJ3jii4LZ7/p/S0BNnfO/+LD+9Jxfs/c/tEh3HEWXEY Jjk2a8CmGU21Hs9vEViRgWyQkx67+TUvpwAGU8m3fJFSTpUWd6zXiYsecEdDKlH8b9PQ jlsfgPthPWKhtGeOD/3vnmsqjixscNSEpA4qRj2UQQNb7e1E06HbiO5JJL8RFDccG9eQ 7jTw== X-Gm-Message-State: AOAM532K5n909jXDi+zp58bAkA5LPJytVDn7yDUhuIhM+epviyseJoSs wA32tn8mZrFNDq0UVVbrfcCBe5sSjsA= X-Google-Smtp-Source: ABdhPJwqUXF/xwZ9L7TzU5KMrAUHmM6MQiKiAJfcImpKLeRxhEY7c3nfY/jt4LwI45rEgRV93VX2wg== X-Received: by 2002:a05:6402:1a58:: with SMTP id bf24mr16433351edb.191.1605550614516; Mon, 16 Nov 2020 10:16:54 -0800 (PST) Received: from MacBook-Pro-van-Johan.local (85-147-130-226.cable.dynamic.v4.ziggo.nl. [85.147.130.226]) by smtp.gmail.com with ESMTPSA id m2sm10642484edp.48.2020.11.16.10.16.52 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 Nov 2020 10:16:53 -0800 (PST) Subject: Re: Shutdown errors and timeout To: freebsd-current@freebsd.org References: <65b1ff51-a946-61d0-79d9-104c1e053554@gmail.com> <20201113.200459.520180046556100070.yasu@utahime.org> <20201114091951.4888878c686d07ad73e55da8@dec.sakura.ne.jp> <7316979e-1a87-791a-075c-7f3d7a75f43f@FreeBSD.org> From: Johan Hendriks Message-ID: Date: Mon, 16 Nov 2020 19:16:51 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.4.3 MIME-Version: 1.0 In-Reply-To: <7316979e-1a87-791a-075c-7f3d7a75f43f@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4CZcjN3qlCz4R4t X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; 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)[]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::543:from]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::543:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::543:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 18:16:57 -0000 On 14/11/2020 13:03, Mateusz Piotrowski wrote: > Hi, > > On 11/14/20 1:19 AM, Tomoaki AOKI wrote: >> On Fri, 13 Nov 2020 20:04:59 +0900 (JST) >> Yasuhiro KIMURA wrote: >> >>> From: Johan Hendriks >>> >>>> Hello all, i have two FreeBSD 13 machines, one is a bare metal and one >>>> is virtualbox machine which i both update about once a week. >>>> >>>> The vritual machine seems to fail stopping something and gives a >>>> timeout after 90 sec. >>>> >>>> The console ends with >>>> >>>> Writing entropy file: . >>>> Writing early boot entropy file: . >>>> >>>> 90 second watchdog timeout expired. Shutdown terminated. >>>> Fri Nov13 11:20:40 CEST 2020 >>>> Nov 13 11:20:40 test-head init[1]: /etc/rc.shutdown terminated >>>> abnormally, going to single user mode >>>> ... >>>> >>>> On the bare metal machine i see the following. >>>> Writing entropy file: . >>>> Writing early boot entropy file: . >>>> cannot unmount '/var/run': umount failed >>>> cannot unmount '/var/log': umount failed >>>> cannot unmount '/var': umount failed >>>> cannot unmount '/usr/home': umount failed >>>> cannot unmount '/usr': umount failed >>>> cannot unmount '/': umount failed >>>> >>> (snip) >>>> The pools have not been upgraded after the latest openzfs import, >>>> maybe that is related? >>>> >>>> FreeBSD test-freebsd-head 13.0-CURRENT FreeBSD 13.0-CURRENT #2 >>>> r367585: >>>> >>>> First thing i noticed is about a week ago. >>> I'm facing same problem with 13.0-CURRENT amd64 r367487 and >>> virtualbox. In my case I use autofs to mount remote file system of >>> 12.2-RELEASE amd64 server with NFSv4. When there is still filesystem >>> mounted by autofs, then watchdog timeout happens while shutdown. The >>> watchdog timeout can be worked around by executing `automount -fu` >>> before shutting down. But 'cannot unmount ...' error messages are >>> still displayed. >>> >>> I added 'rc_debug="YES"' to /etc/rc.conf and checked which rc script >>> causes this message. Then it is displayed when following `zfs_stop` >>> function of /etc/rc.d/zfs is executed. >>> >>> ---------------------------------------------------------------------- >>> zfs_stop_main() >>> { >>>     zfs unshare -a >>>     zfs unmount -a >>> } >>> ---------------------------------------------------------------------- >>> >>> At this point syslog process still running and it opens some files >>> under /var/log. So it make sence that `zfs unmount -a` results in the >>> message. >>> >>> Probably order of executing each rc script in shutdown time should be >>> changed so `/etc/rc.d/zfs faststop` is executed after all processes >>> other than `init' are exited. >> This happens on stable/12, too. >> As a workaround, reverting r367291 on head (r367546 on stable/12) >> would stop the issue until this is really fixed. >> >> If you have shared dataset or jail(s) mounting dataset, the workaround >> would be discouraged. Read commit message for detail. > > I've committed r367291 and r367546. > > I am not sure if I can think of a proper fix for the described issues, > so I guess the best idea would be to revert those changes for now > until we figure out how to do it properly. > > Sorry for the regression. > > Best, > > Mateusz I can tell that reverting the mentioned commit i do not have the symptoms when i reboot my servers. Thank you all for your time, and no sorry needed ;-) regards, Johan From owner-freebsd-current@freebsd.org Mon Nov 16 19:29:15 2020 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 7E48546EFE1 for ; Mon, 16 Nov 2020 19:29:15 +0000 (UTC) (envelope-from lizbethmutterhunt@gmail.com) Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CZfJp25hfz4W1X for ; Mon, 16 Nov 2020 19:29:14 +0000 (UTC) (envelope-from lizbethmutterhunt@gmail.com) Received: by mail-io1-xd30.google.com with SMTP id s24so18586245ioj.13 for ; Mon, 16 Nov 2020 11:29: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:from:date:message-id:subject:to; bh=0UVW0nHhmZO6/gt/cN86qt2SFyLyLEf0bhia8FM5Pag=; b=Op9CsPDLOrTYNW4i5cN7m1JyDy6VuxTvlHYw9h+gYlSoBuQbYmRThQLQavXwagXQg1 Iwo4LW5Y5XOeOzom0fL01JK1exHGJXmw4wfFYclyPEq2EhdGKDs8guxmSvfPUORVVWqW yqVYaZ6PrH5HW4jP32NXIe6F1X7gAjAvnqRAiAShnBUAnQ2DeVkFQzenLdAFvGbUBbIK mzKpqh6zqNAh9ezLucuDy55cpfkmmOowvZM8DKbHaz8bgkMBhanbkzO4uOsRtXigh+T5 zlGbEGAM7qlfI05M7m0CT2+L2mRFbgHefbGTglJ4KvoTONTndN1+Ub8EOpSwZ1DqLbqj biSA== X-Gm-Message-State: AOAM533Aw1et9U/Z9EfyJLXgfPKhZdnqvDHp68ep618MFVDvQvbDyeJv xnII3E1svfP6ncvefrdst9R6gui67pu7d62zffzwWIP1XDE= X-Google-Smtp-Source: ABdhPJzBpi7V8xGZjnk9byv8vhb6KHtIPVUK4nrJVRoAhb8/Y6QSC/+fCiaydgEpn+6fCNR5sVxS0OgJitagMbT1ecQ= X-Received: by 2002:a5d:9049:: with SMTP id v9mr9227165ioq.199.1605554952927; Mon, 16 Nov 2020 11:29:12 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a6b:8dd7:0:0:0:0:0 with HTTP; Mon, 16 Nov 2020 11:29:12 -0800 (PST) From: "Lizbeth Mutterhunt, Ph.D" Date: Mon, 16 Nov 2020 20:29:12 +0100 Message-ID: Subject: ghostBSD-CURRENT? To: Current FreeBSD Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4CZfJp25hfz4W1X X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.95 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.95)[-0.947]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::d30:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; 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]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::d30:from:127.0.2.255]; MIME_TRACE(0.00)[0:+]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d30:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 19:29:15 -0000 hi again, now world is installed and mergemaster done I get every time I try to command pkg: cannot determine local path. built pkg or pkg-devel from /ports/ports-mgmt pkg can't be installed as /usr/local/etc/bash_completion/_pkg.bash exists --- error 70. rm'ing doesn't help! tar -xfv pkg.tgz leads to the same output "cannot determine local path"! what now? lizbeth From owner-freebsd-current@freebsd.org Mon Nov 16 21:53:35 2020 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 0924247324B for ; Mon, 16 Nov 2020 21:53:35 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (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 4CZjWK6B8tz4fGy for ; Mon, 16 Nov 2020 21:53:33 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id C013D5C024B for ; Mon, 16 Nov 2020 16:53:32 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 16 Nov 2020 16:53:32 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudefuddgudehhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfggtggusehgtderre dttddvnecuhfhrohhmpehtvggthhdqlhhishhtshcuoehtvggthhdqlhhishhtshesiiih gihsthdrnhgvtheqnecuggftrfgrthhtvghrnhepvefghffftdefkeelleehtdejledvhf dvgeeijeevfffguddvhfetgeejueejueeinecukfhppeekvddrjedtrdeluddruddtuden ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehtvggthh dqlhhishhtshesiiihgihsthdrnhgvth X-ME-Proxy: Received: from rpi4.local (fws.zyxst.net [82.70.91.101]) by mail.messagingengine.com (Postfix) with ESMTPA id 44ADD328005D for ; Mon, 16 Nov 2020 16:53:32 -0500 (EST) Date: Mon, 16 Nov 2020 21:53:30 +0000 From: tech-lists To: freebsd-current@freebsd.org Subject: in -current is svn still canonical? Message-ID: Mail-Followup-To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="riWJoqQWP7Zdnm/F" Content-Disposition: inline X-Rspamd-Queue-Id: 4CZjWK6B8tz4fGy X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[66.111.4.29:from]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.29]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[66.111.4.29:from]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.29:from]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm1,messagingengine.com:s=fm1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[zyxst.net]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[66.111.4.29:from:127.0.2.255]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 21:53:35 -0000 --riWJoqQWP7Zdnm/F Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi As subject - is svn still canonical for -current or is it git now? If it's not git now, when roughly is the intended switch? thanks, --=20 J. --riWJoqQWP7Zdnm/F Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAl+y9NAACgkQs8o7QhFz NAVVLg/9Fc3frqYx1oOhdNm9TtC9d6S+JRU4GEeSS+rCdb5048rs7+ZodLBUxfjf ojXISItf9HdLJj3RQFgDAxSUCO8+I8cBr9+HXOGa3ua/flLxq1EDGzNyxbTsWBM1 nUWtfXYtAqQ71U5AmLrTtmd7TmOcQ0MrCWBl8cTsPlQ1R+I2jo2Dw9xa9Y83UjSH T+yEfzi54cyGzK6ha5AzfViQrYtFAi0GEU1uPhinDthQMRDk6VYsetY7CKhlw+Xr xM4Osp0V2ZDHfr+lbuSI+MqcLdptx2bRxutpAQt7XU3ysF5HDeDxuVw6exM7YWXe FyCHLauzlLqo807GFG9O1+DZTn26v4fp3j9ryzf1nndVM1j8Z3E9cPXZnNC2vdL2 2PKSgcDnAQSNN9JH7WHxZxlTD2mQRYXwWKpth/AGOLioQiBoym9o1TIsslQVSPvt 08W6C4usqOBLmsHKX31wOkYIzxTE9O19H8kKqU8NINIsX/df7cxWlma8rHHl9e1O CLwwFsWKI+Kq6JFUPfxCAVStH8PXjXBLNev97NkexE+Vh4RNMKEVOjGDKy7nCO4M aiVOiAPd3kNgPAprkq7fJ32ampHpgv2xpf9jdOLytfulOST5HMwi9UBCx4aSzmQS oNhGpFLQgoBFEWfp4dWeNuXSmNmIoQ5lXVPrEeKXivVhslrb/hE= =X/8C -----END PGP SIGNATURE----- --riWJoqQWP7Zdnm/F-- From owner-freebsd-current@freebsd.org Tue Nov 17 00:01:19 2020 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 984FA475571 for ; Tue, 17 Nov 2020 00:01:19 +0000 (UTC) (envelope-from yuripv@yuripv.dev) 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 4CZmLl24mfz4lrD for ; Tue, 17 Nov 2020 00:01:19 +0000 (UTC) (envelope-from yuripv@yuripv.dev) Received: by mailman.nyi.freebsd.org (Postfix) id 4757D4751D8; Tue, 17 Nov 2020 00:01:19 +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 4719F475345 for ; Tue, 17 Nov 2020 00:01:19 +0000 (UTC) (envelope-from yuripv@yuripv.dev) Received: from new3-smtp.messagingengine.com (new3-smtp.messagingengine.com [66.111.4.229]) (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 4CZmLk0R8Rz4ljM for ; Tue, 17 Nov 2020 00:01:17 +0000 (UTC) (envelope-from yuripv@yuripv.dev) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.nyi.internal (Postfix) with ESMTP id 3763F58017E for ; Mon, 16 Nov 2020 19:01:17 -0500 (EST) Received: from imap22 ([10.202.2.72]) by compute1.internal (MEProxy); Mon, 16 Nov 2020 19:01:17 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudefvddgudeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsehttdertd erredtnecuhfhrohhmpedfjghurhhiucfrrghnkhhovhdfuceohihurhhiphhvseihuhhr ihhpvhdruggvvheqnecuggftrfgrthhtvghrnhepfeeuheevudegkeeigfdtveeggeduke evleejueehkedtleekgfeglefftefgteelnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomhephihurhhiphhvseihuhhrihhpvhdruggvvh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 8B6BF668007C; Mon, 16 Nov 2020 19:01:16 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-570-gba0a262-fm-20201106.001-gba0a2623 Mime-Version: 1.0 Message-Id: <7dc142d3-1e0b-41d4-bdb4-7217bd09bbef@www.fastmail.com> Date: Tue, 17 Nov 2020 03:00:16 +0300 From: "Yuri Pankov" To: current@freebsd.org Subject: acpi_wmi noisy without EC Content-Type: text/plain X-Rspamd-Queue-Id: 4CZmLk0R8Rz4ljM X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.59 / 15.00]; XM_UA_NO_VERSION(0.01)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.229]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[yuripv.dev:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.229:from]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[66.111.4.229:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[yuripv.dev:s=fm1,messagingengine.com:s=fm1]; FREEFALL_USER(0.00)[yuripv]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; DMARC_NA(0.00)[yuripv.dev]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[66.111.4.229:from:127.0.2.255]; MAILMAN_DEST(0.00)[current]; MID_RHS_WWW(0.50)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 00:01:19 -0000 I have started seeing the following on boot since some time: acpi_wmi0: on acpi0 acpi_wmi0: cannot find EC device device_attach: acpi_wmi0 attach returned 6 acpi_wmi0: on acpi0 acpi_wmi0: cannot find EC device device_attach: acpi_wmi0 attach returned 6 acpi_wmi0: on acpi0 acpi_wmi0: cannot find EC device device_attach: acpi_wmi0 attach returned 6 acpi_wmi0: on acpi0 acpi_wmi0: cannot find EC device device_attach: acpi_wmi0 attach returned 6 Likely following this commit: commit 708d048ccfdacf6199cc08a56aa05a9c899441fd Author: Vladimir Kondratyev Date: Sat Oct 31 22:19:39 2020 +0000 acpi_wmi(4): Add ACPI_PNP_INFO While the reason is obvious -- there's no EC in this system (Gigabyte X299X AORUS MASTER desktop motherboard), at least searching the `acpidump -dt` output doesn't show any PNP0C09 entries -- it certainly looks like "something is broken" when first noticed. I wonder if we could/should handle this gracefully -- no EC, do nothing, simply exit? From owner-freebsd-current@freebsd.org Tue Nov 17 00:39:33 2020 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 43659476CB5 for ; Tue, 17 Nov 2020 00:39:33 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CZnBq3jmxz4pSR for ; Tue, 17 Nov 2020 00:39:31 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.16.1/8.16.1) with ESMTPS id 0AH0dOcW035605 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 17 Nov 2020 02:39:27 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 0AH0dOcW035605 Received: (from kostik@localhost) by tom.home (8.16.1/8.16.1/Submit) id 0AH0dNgL035604; Tue, 17 Nov 2020 02:39:23 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 17 Nov 2020 02:39:23 +0200 From: Konstantin Belousov To: Graham Perrin Cc: FreeBSD-CURRENT Subject: Re: buildworld: lib/libc: install: short write to libc.so.7.debug: [_libinstall] Error code 71 Message-ID: References: <746a3af4-3daf-9029-bf48-23efa3f5da8e@gmail.com> <20201116093249.GU39170@kduck.mit.edu> <8824a8de-99a7-be93-2273-01941c3dda97@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8824a8de-99a7-be93-2273-01941c3dda97@gmail.com> 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.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on tom.home X-Rspamd-Queue-Id: 4CZnBq3jmxz4pSR X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.99 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : No valid SPF, No valid DKIM,none]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:470:d5e7:1::1:from]; FREEMAIL_FROM(0.00)[gmail.com]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; SPAMHAUS_ZRD(0.00)[2001:470:d5e7:1::1:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.991]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MIME_TRACE(0.00)[0:+]; MAILMAN_DEST(0.00)[freebsd-current]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 00:39:33 -0000 On Mon, Nov 16, 2020 at 10:56:06AM +0000, Graham Perrin wrote: > On 16/11/2020 09:32, Benjamin Kaduk wrote: > > On Mon, Nov 16, 2020 at 09:27:29AM +0000, Graham Perrin wrote: > > > Attempting to build r367615 on Friday 13th: > > > > > > … > > > > > > ===> lib/libprocstat/zfs (install) > > > install -U  -C -o root -g wheel -m 444 > > > /usr/src/lib/libprocstat/libprocstat.h > > > /usr/obj/usr/src/amd64.amd64/tmp/usr/include/ > > > ===> lib/libc (obj,all,install) > > > install -U  -C -o root -g wheel -m 444   libc.a > > > /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/ > > > install -U  -s -o root -g wheel -m 444   -S  libc.so.7 > > > /usr/obj/usr/src/amd64.amd64/tmp/lib/ > > > install -U  -o root -g wheel -m 444    libc.so.7.debug > > > /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/debug/lib/ > > > install: short write to > > > /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/debug/lib/libc.so.7.debug: > > > 393216 bytes written, 7462472 bytes asked to write > > > *** [_libinstall] Error code 71 > > Is your disk/filesystem full? > > > > -Ben > AVAIL: 204G And what is the type of filesystem you are _installing_ to ? Also what is the type of filesystem for /tmp, and how much space do you have there ? From owner-freebsd-current@freebsd.org Tue Nov 17 02:48:34 2020 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 F1F1147CA2C for ; Tue, 17 Nov 2020 02:48:34 +0000 (UTC) (envelope-from mueller6722@twc.com) 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 4CZr3k04Bhz3G5V for ; Tue, 17 Nov 2020 02:48:33 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from localhost ([96.28.177.163]) by cmsmtp with ESMTP id er2gkyqkqDdV4er2hkR3Ay; Tue, 17 Nov 2020 02:48:27 +0000 X-Authority-Analysis: v=2.3 cv=H8qlPNQi c=1 sm=1 tr=0 a=xqrt2BZAGHte7XHhrxJgbA==:117 a=xqrt2BZAGHte7XHhrxJgbA==:17 a=HpEJnUlJZJkA:10 a=qmmWLhPMFsJuMMsmSJAA:9 Date: Tue, 17 Nov 2020 02:48:32 +0000 From: "Thomas Mueller" To: freebsd-current@freebsd.org Subject: Re: in -current is svn still canonical? References: X-CMAE-Envelope: MS4wfGh9rj8PK++oogGXWJzjPpAVk9g3rzilYEIYqZEqNJW72tBBZdDvFsVO4uxdhdU+ELUWGxYyfLiGTWhjGq3s1XemRg2OTxUcCHEJcdxtHGbKevm9Jw29 zoUhRCROMyyvaJMp09BuoY6bZrViS1jcYS2AVaPfhLn5qSmSRmf/rWI2 X-Rspamd-Queue-Id: 4CZr3k04Bhz3G5V X-Spamd-Bar: + X-Spamd-Result: default: False [1.93 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; NEURAL_SPAM_SHORT(0.73)[0.728]; RECEIVED_SPAMHAUS_PBL(0.00)[96.28.177.163:received]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[47.43.26.132:from]; FREEMAIL_FROM(0.00)[twc.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[twc.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[47.43.26.132:from:127.0.2.255]; MISSING_MID(2.50)[]; R_SPF_ALLOW(-0.20)[+ip4:47.43.26.0/24]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.99)[-0.994]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[twc.com]; RCVD_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; MAILMAN_DEST(0.00)[freebsd-current]; ASN(0.00)[asn:40294, ipnet:47.43.24.0/21, country:US] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 02:48:35 -0000 from tech-lists: > As subject - is svn still canonical for -current or is it git now? > If it's not git now, when roughly is the intended switch? I recently updated FreeBSD doc, ports, src (current), and src12 (12-stable) using svn (not svnup or svnlite). But I read some time before that, FreeBSD current source would go on git, while other src trees (non-current), ports and doc would stay with svn for the time being, until git on current src is further tested and stabilized. Tom From owner-freebsd-current@freebsd.org Tue Nov 17 03:40:55 2020 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 251EE47E90C for ; Tue, 17 Nov 2020 03:40:55 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CZsD53cCqz3LKW for ; Tue, 17 Nov 2020 03:40:53 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x82e.google.com with SMTP id j31so14742496qtb.8 for ; Mon, 16 Nov 2020 19:40:53 -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=IGydH/AYYGIk9IvJAsltouAW+Vy4II2EQ+BAEHIMpRg=; b=bk63RsaNezPFhCKE/VfSU2W8bW2RkIMQitJoHPAqnljrhePqQXFqBZE3xLs580dygz pWxDiiFkotFiahsELsuED5S7ZW1PWnQXNB8/r7huolln2JYmbxi4zo9hSSdUL7Zer5eJ x5u3L5X9KdV/OTSOz8BzfAVUHuKUhOuQk2Q3OViXgWWaqKbfO5h53kmh8gN+zvWTa/rE p+wEOO3HbkA/bPfHXKwEOlfb/ByKQhzNkCLerX3/MhW7h2YJRxlPP6miOGIuH6ZsXXox J8fEoDlzudBQF9iyI+jyU+tRegCGwNb6/q7JOlX5typkgVawZ2vK4XML/DTtgbphf1r1 YEcw== X-Gm-Message-State: AOAM533T4rbuFETxZebzAAZY5lQto4pX1GsB30ZzkEwm+//2FVjSXrYv jSXqoRh12wUDIKloO2rod1OODZqd4os7wKCIKjuShQ== X-Google-Smtp-Source: ABdhPJwpgtJL3MYu6J+UuC4o+wY4Za5EtvdLxmuihRPHHC9qNecfggFWyOOOt4RHW4vL29eurEFAdvGLe11Q/Q0desg= X-Received: by 2002:ac8:67da:: with SMTP id r26mr17671234qtp.101.1605584452408; Mon, 16 Nov 2020 19:40:52 -0800 (PST) MIME-Version: 1.0 References: <5fb33a11.1c69fb81.2d2a6.f92eSMTPIN_ADDED_MISSING@mx.google.com> In-Reply-To: <5fb33a11.1c69fb81.2d2a6.f92eSMTPIN_ADDED_MISSING@mx.google.com> From: Warner Losh Date: Mon, 16 Nov 2020 20:40:41 -0700 Message-ID: Subject: Re: in -current is svn still canonical? To: Thomas Mueller Cc: FreeBSD Current X-Rspamd-Queue-Id: 4CZsD53cCqz3LKW X-Spamd-Bar: / X-Spamd-Result: default: False [0.00 / 15.00]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[twc.com]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::82e:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::82e:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::82e:from]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 03:40:55 -0000 On Mon, Nov 16, 2020 at 7:48 PM Thomas Mueller wrote: > from tech-lists: > > > As subject - is svn still canonical for -current or is it git now? > > If it's not git now, when roughly is the intended switch? > > I recently updated FreeBSD doc, ports, src (current), and src12 > (12-stable) using svn (not svnup or svnlite). > > But I read some time before that, FreeBSD current source would go on git, > while other src trees (non-current), ports and doc would stay with svn for > the time being, until git on current src is further tested and stabilized. > Subversion is the source of truth for FreeBSD today. In the near future, likely early next month, we'll move our operations over to git. Git will be the source of truth after the flag day. All developer operations will be in git: committing to current, and MFCing will all be done with git. As an aide to users that started the FreeBSD stable/11 and stable/12 branches, however, we'll be exporting the commits to the git branch stable/11 and stable/12 to subversion. The subversion tree will otherwise be read-only after this date. The doc tree will likely convert at the same time that the src tree moves over. There will likely be a lag for the ports tree. It's unclear if they will switch at the same time as the src tree, or if there will be a few-months-long lag. Warner From owner-freebsd-current@freebsd.org Tue Nov 17 05:00:36 2020 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 C5DEC47FB52 for ; Tue, 17 Nov 2020 05:00:36 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from p-impout009.msg.pkvw.co.charter.net (p-impout009aa.msg.pkvw.co.charter.net [47.43.26.140]) (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 4CZv032tmjz3PnH for ; Tue, 17 Nov 2020 05:00:34 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from localhost ([96.28.177.163]) by cmsmtp with ESMTP id et6Wkiay5xzwQet6Wk1ZlF; Tue, 17 Nov 2020 05:00:33 +0000 X-Authority-Analysis: v=2.3 cv=AtOQI91P c=1 sm=1 tr=0 a=xqrt2BZAGHte7XHhrxJgbA==:117 a=xqrt2BZAGHte7XHhrxJgbA==:17 a=HpEJnUlJZJkA:10 a=kTFOTQGJQHt4JXjAkusA:9 Date: Tue, 17 Nov 2020 05:00:37 +0000 From: "Thomas Mueller" To: freebsd-current@freebsd.org Subject: Re: in -current is svn still canonical? References: <5fb33a11.1c69fb81.2d2a6.f92eSMTPIN_ADDED_MISSING@mx.google.com> X-CMAE-Envelope: MS4wfOVF5wBibtpjw28E39cyeF5CkAieFEBE4LNFNFIT8a3ZeNSl95/b5OYaLWhl7hGqRDz9l6V4T6UpwJUH4K7iWI8IVrfRs7CB2Lb5Qr9Rg6nPU/ERTvqv vqUbzpCSxz34EoRl/yoPm3pgd6kHTlyTyYFnCdCg+FGp5XammwMs12Z8 X-Rspamd-Queue-Id: 4CZv032tmjz3PnH X-Spamd-Bar: ++ X-Spamd-Result: default: False [2.15 / 15.00]; FREEMAIL_FROM(0.00)[twc.com]; R_SPF_ALLOW(-0.20)[+ip4:47.43.26.0/24]; TO_DN_NONE(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[96.28.177.163:received]; SUBJECT_ENDS_QUESTION(1.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[twc.com]; ASN(0.00)[asn:40294, ipnet:47.43.24.0/21, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[47.43.26.140:from]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.995]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[twc.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[47.43.26.140:from:127.0.2.255]; MISSING_MID(2.50)[]; NEURAL_SPAM_SHORT(0.95)[0.949]; RCVD_IN_DNSWL_NONE(0.00)[47.43.26.140:from]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 05:00:36 -0000 > Subversion is the source of truth for FreeBSD today. > In the near future, likely early next month, we'll move our operations over > to git. Git will be the source of truth after the flag day. All developer > operations will be in git: committing to current, and MFCing will all be > done with git. As an aide to users that started the FreeBSD stable/11 and > stable/12 branches, however, we'll be exporting the commits to the git > branch stable/11 and stable/12 to subversion. The subversion tree will > otherwise be read-only after this date. > The doc tree will likely convert at the same time that the src tree moves > over. There will likely be a lag for the ports tree. It's unclear if they > will switch at the same time as the src tree, or if there will be a > few-months-long lag. > Warner Thanks for the information, but if you feel the need to send me a not-quite-CC, please don't send me the multipart/alternative version when you send the plain-text version to the list. I hate multipart/alternative! When git becomes the source of truth on FreeBSD after the flag day, will it be necessary to git-clone the whole tree from scratch, or will there be a conversion tool to switch the svn download to proper git format? The doc tree is much smaller than the src tree, while the ports tree is much bigger than the src tree. Is that the reason for the few-months-long lag switching the ports trree to git? Tom From owner-freebsd-current@freebsd.org Tue Nov 17 05:32:51 2020 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 D86D62D0799 for ; Tue, 17 Nov 2020 05:32:51 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x736.google.com (mail-qk1-x736.google.com [IPv6:2607:f8b0:4864:20::736]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CZvjG4Tbmz3h7Q for ; Tue, 17 Nov 2020 05:32:50 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x736.google.com with SMTP id 199so19403844qkg.9 for ; Mon, 16 Nov 2020 21:32:50 -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:cc; bh=zQSV3C5RwnBjQ3pX9GlLzDAMxoxagrzZtVY8/AR3UhQ=; b=faOV7MdWGip6EAOiiAzKBmd3gl04sbBh/KKv6bKyOQM5SFX8EhKPgUQmPQ14M3oAcD bZia5dqNYtFI8GZh04D6BICnaItCAj7Ko+/tvijqgVwJl7JlGb1ZGES0Kw4eb5Xuf4Qq jZ518JL92F0MPrZre8ZMD+8SqTRbIXJjryxHHQstdZ0g7qqcO+r2GoPbkHMI8o8F32yo CMc9KzKROwws/WBj/m2A8I5Afep2Xkv9a9Riuv4Fpad42TCbEBySzHSOGmGwOnam6YDA jkeh48fd6Zw6z8C8m2V/5ymIAII1jRPAEt++SCK4Fm3Ysvh7LSU6EDLCdOaXse6VTU7Y kA8g== X-Gm-Message-State: AOAM5320/0Z8uVKciEBct81Jo73GREFi8m+Wqyl2RKFuNtO1pFPvTTK2 LGDk6lEam+4DhFCJ16orD+ycaGsOguoZla2sXlXSnwTSryqLvw== X-Google-Smtp-Source: ABdhPJz5Qh4aR6t/EV0raoiOkKuhp8e2uXW8+ZqGcXqxcuGYu+L8GsPbRV7ejqSFjP9O1CLu3YNFTzQz+RzOMo/HVsI= X-Received: by 2002:a37:78c:: with SMTP id 134mr18674229qkh.359.1605591169279; Mon, 16 Nov 2020 21:32:49 -0800 (PST) MIME-Version: 1.0 References: <5fb33a11.1c69fb81.2d2a6.f92eSMTPIN_ADDED_MISSING@mx.google.com> <5fb35900.1c69fb81.7679c.a50eSMTPIN_ADDED_MISSING@mx.google.com> In-Reply-To: <5fb35900.1c69fb81.7679c.a50eSMTPIN_ADDED_MISSING@mx.google.com> From: Warner Losh Date: Mon, 16 Nov 2020 22:32:38 -0700 Message-ID: Subject: Re: in -current is svn still canonical? Cc: FreeBSD Current X-Rspamd-Queue-Id: 4CZvjG4Tbmz3h7Q X-Spamd-Bar: + X-Spamd-Result: default: False [1.63 / 15.00]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; MISSING_TO(2.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::736:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::736:from:127.0.2.255]; NEURAL_SPAM_SHORT(0.63)[0.630]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::736:from]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 05:32:51 -0000 On Mon, Nov 16, 2020 at 10:00 PM Thomas Mueller wrote: > > Subversion is the source of truth for FreeBSD today. > > > In the near future, likely early next month, we'll move our operations > over > > to git. Git will be the source of truth after the flag day. All developer > > operations will be in git: committing to current, and MFCing will all be > > done with git. As an aide to users that started the FreeBSD stable/11 and > > stable/12 branches, however, we'll be exporting the commits to the git > > branch stable/11 and stable/12 to subversion. The subversion tree will > > otherwise be read-only after this date. > > > The doc tree will likely convert at the same time that the src tree moves > > over. There will likely be a lag for the ports tree. It's unclear if they > > will switch at the same time as the src tree, or if there will be a > > few-months-long lag. > > > Warner > > Thanks for the information, but if you feel the need to send me a > not-quite-CC, please don't send me the multipart/alternative version when > you send the plain-text version to the list. > > I hate multipart/alternative! > I must apologize. Sadly, I use gmail, so I have no control over how it decides to encode things, sadly. I've tried in the past, and alas, nothing I've tried works for any length of time. Please forgive me whatever unspeakable MIME atrocities it sends on my behalf. I've removed you from the cc line in the hopes that the FreeBSD mail server cleans things up to be more to your liking. > When git becomes the source of truth on FreeBSD after the flag day, will > it be necessary to git-clone the whole tree from scratch, or will there be > a conversion tool to switch the svn download to proper git format? > For the supported stable branches, you'll be able to download via subversion and switch over at any time before the end of project support for the branch. However, when you make the switch to git (either due to the flag day and tracking -current, or jumping from svn on a stable branch), there's no tool to convert the subversion checked out tree to a git tree. The needed information needed to create the git tree isn't easily available from the subversion checkout, so you'll need to do a git clone. If bandwidth is a problem, you can do a shallow clone that omits all the history and just grabs the branch of interest. Git is a bit more link efficient than subversion, which is helpful. Git also has ways to help you share one local repo across checked out versions, which can also help if you have to track multiple branches. > The doc tree is much smaller than the src tree, while the ports tree is > much bigger than the src tree. Is that the reason for the few-months-long > lag switching the ports trree to git? > There's a couple of things that make it trickier. The ports tree does quarterly branches. So there's a window around the quarterly branch when it's easiest to make the switch. In addition, the character of the files in the ports tree differs from src. Unlike subversion, git infers copies, moves, etc. The mostly similar nature of the ports tree is likely to cause git grief when ports are copied, resurrected from the attic, etc. The ports folks are still figuring out how to best use git to track the history they need to track without creating undue issues. It's not clear if that will all be sorted out before the next window in December, or if they will have to defer until March. This is why I hedged a bit as to the exact time, since it's not been nailed down yet. So it's not so much the size, as the difference in makeup and character between the two trees. The doc tree is, as you point out, much smaller, less active and its needs are more modest and largely mirror the src tree, so it can be done quickly at any time. Warner From owner-freebsd-current@freebsd.org Tue Nov 17 06:13:34 2020 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 C2D652D151A for ; Tue, 17 Nov 2020 06:13:34 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (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 4CZwcF6bskz3kT9 for ; Tue, 17 Nov 2020 06:13:33 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [178.254.11.41] (helo=r314251-amd64) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1keuF9-0001OI-0h for freebsd-current@freebsd.org; Tue, 17 Nov 2020 07:13:31 +0100 Date: Tue, 17 Nov 2020 07:13:27 +0100 From: Matthias Apitz To: freebsd-current@freebsd.org Subject: Re: in -current is svn still canonical? Message-ID: <20201117061327.GA2478@r314251-amd64> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-current@freebsd.org References: <5fb33a11.1c69fb81.2d2a6.f92eSMTPIN_ADDED_MISSING@mx.google.com> <5fb35900.1c69fb81.7679c.a50eSMTPIN_ADDED_MISSING@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.8.0 (2017-02-23) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 178.254.11.41 X-Rspamd-Queue-Id: 4CZwcF6bskz3kT9 X-Spamd-Bar: + X-Spamd-Result: default: False [1.30 / 15.00]; HAS_REPLYTO(0.00)[guru@unixarea.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[178.254.4.101:from]; TO_DN_NONE(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[178.254.4.101:from]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[178.254.4.101:from]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SUBJECT_ENDS_QUESTION(1.00)[]; DMARC_NA(0.00)[unixarea.de]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[178.254.4.101:from:127.0.2.255]; NEURAL_SPAM_SHORT(1.00)[1.000]; R_SPF_NA(0.00)[no SPF record]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 06:13:34 -0000 El día lunes, noviembre 16, 2020 a las 10:32:38p. m. -0700, Warner Losh escribió: > For the supported stable branches, you'll be able to download via > subversion and switch over at any time before the end of project support > for the branch. > > However, when you make the switch to git (either due to the flag day and > tracking -current, or jumping from svn on a stable branch), there's no tool > to convert the subversion checked out tree to a git tree. The needed > information needed to create the git tree isn't easily available from the > subversion checkout, so you'll need to do a git clone. If bandwidth is a > problem, you can do a shallow clone that omits all the history and just > grabs the branch of interest. Git is a bit more link efficient than > subversion, which is helpful. Git also has ways to help you share one local > repo across checked out versions, which can also help if you have to track > multiple branches. > > Warner, please forgive me my nearly off-topic question: When we move to git, will this conserve all the FreeBSD svn history of ci's somehow? Can you please point me to a document about FreeBSD's transition from svn to git? Thanks matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub Без книги нет знания, без знания нет коммунизма (Влaдимир Ильич Ленин) Without books no knowledge - without knowledge no communism (Vladimir Ilyich Lenin) Sin libros no hay saber - sin saber no hay comunismo. (Vladimir Ilich Lenin) From owner-freebsd-current@freebsd.org Tue Nov 17 08:01:26 2020 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 492BC2D3AC0 for ; Tue, 17 Nov 2020 08:01:26 +0000 (UTC) (envelope-from vladimir@kondratyev.su) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CZz0k079dz3pcs for ; Tue, 17 Nov 2020 08:01:26 +0000 (UTC) (envelope-from vladimir@kondratyev.su) Received: by mailman.nyi.freebsd.org (Postfix) id 0439C2D3F8A; Tue, 17 Nov 2020 08:01:26 +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 03EE32D4183; Tue, 17 Nov 2020 08:01:26 +0000 (UTC) (envelope-from vladimir@kondratyev.su) Received: from corp.infotel.ru (corp.infotel.ru [195.170.219.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CZz0j5xn0z3pcr; Tue, 17 Nov 2020 08:01:25 +0000 (UTC) (envelope-from vladimir@kondratyev.su) Received: from corp (corp.infotel.ru [195.170.219.3]) by corp.infotel.ru (Postfix) with ESMTP id 32BA6148D12; Tue, 17 Nov 2020 11:01:18 +0300 (MSK) X-Virus-Scanned: amavisd-new at corp.infotel.ru Received: from corp.infotel.ru ([195.170.219.3]) by corp (corp.infotel.ru [195.170.219.3]) (amavisd-new, port 10024) with ESMTP id bv2SakxaveBU; Tue, 17 Nov 2020 11:01:17 +0300 (MSK) Received: from mail.cicgroup.ru (unknown [195.170.219.74]) by corp.infotel.ru (Postfix) with ESMTP id 200A8148D05; Tue, 17 Nov 2020 11:01:17 +0300 (MSK) Received: from mail.cicgroup.ru (localhost [127.0.0.1]) by mail.cicgroup.ru (Postfix) with ESMTP id AE47E42211F; Tue, 17 Nov 2020 10:57:42 +0300 (MSK) X-Virus-Scanned: amavisd-new at cicgroup.ru Received: from mail.cicgroup.ru ([127.0.0.1]) by mail.cicgroup.ru (mail.cicgroup.ru [127.0.0.1]) (amavisd-new, port 10024) with SMTP id v5K4HBwgUOKW; Tue, 17 Nov 2020 10:57:39 +0300 (MSK) Received: from localhost (localhost [127.0.0.1]) by mail.cicgroup.ru (Postfix) with ESMTPA id 8E30F42211C; Tue, 17 Nov 2020 10:57:39 +0300 (MSK) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 17 Nov 2020 10:57:39 +0300 From: Vladimir Kondratyev To: Yuri Pankov Cc: current@freebsd.org, owner-freebsd-current@freebsd.org Subject: Re: acpi_wmi noisy without EC In-Reply-To: <7dc142d3-1e0b-41d4-bdb4-7217bd09bbef@www.fastmail.com> References: <7dc142d3-1e0b-41d4-bdb4-7217bd09bbef@www.fastmail.com> Message-ID: <7b80877ae59fdd90f2f3b5dbf3db2113@kondratyev.su> X-Sender: vladimir@kondratyev.su User-Agent: Roundcube Webmail/1.3.5 X-Rspamd-Queue-Id: 4CZz0j5xn0z3pcr X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 08:01:26 -0000 On 2020-11-17 03:00, Yuri Pankov wrote: > I have started seeing the following on boot since some time: > > acpi_wmi0: on acpi0 > acpi_wmi0: cannot find EC device > device_attach: acpi_wmi0 attach returned 6 > acpi_wmi0: on acpi0 > acpi_wmi0: cannot find EC device > device_attach: acpi_wmi0 attach returned 6 > acpi_wmi0: on acpi0 > acpi_wmi0: cannot find EC device > device_attach: acpi_wmi0 attach returned 6 > acpi_wmi0: on acpi0 > acpi_wmi0: cannot find EC device > device_attach: acpi_wmi0 attach returned 6 > > Likely following this commit: > > commit 708d048ccfdacf6199cc08a56aa05a9c899441fd > Author: Vladimir Kondratyev > Date: Sat Oct 31 22:19:39 2020 +0000 > > acpi_wmi(4): Add ACPI_PNP_INFO > > While the reason is obvious -- there's no EC in this system (Gigabyte > X299X AORUS MASTER desktop motherboard), at least searching the > `acpidump -dt` output doesn't show any PNP0C09 entries -- it certainly > looks like "something is broken" when first noticed. I wonder if we > could/should handle this gracefully -- no EC, do nothing, simply exit? Following patch should ignore missing EC like Linux does. Could you test it? diff --git a/sys/dev/acpi_support/acpi_wmi.c b/sys/dev/acpi_support/acpi_wmi.c index 379cfd1705f1..efae96cdcc9a 100644 --- a/sys/dev/acpi_support/acpi_wmi.c +++ b/sys/dev/acpi_support/acpi_wmi.c @@ -246,7 +246,7 @@ acpi_wmi_attach(device_t dev) if ((sc->ec_dev = devclass_get_device(devclass_find("acpi_ec"), 0)) == NULL) device_printf(dev, "cannot find EC device\n"); - else if (ACPI_FAILURE((status = AcpiInstallNotifyHandler(sc->wmi_handle, + if (ACPI_FAILURE((status = AcpiInstallNotifyHandler(sc->wmi_handle, ACPI_DEVICE_NOTIFY, acpi_wmi_notify_handler, sc)))) device_printf(sc->wmi_dev, "couldn't install notify handler - %s\n", AcpiFormatException(status)); @@ -701,6 +701,8 @@ acpi_wmi_ec_handler(UINT32 function, ACPI_PHYSICAL_ADDRESS address, return (AE_BAD_PARAMETER); if (address + (width / 8) - 1 > 0xFF) return (AE_BAD_ADDRESS); + if (sc->ec_dev == NULL) + return (AE_NOT_FOUND); if (function == ACPI_READ) *value = 0; ec_addr = address; -- WBR Vladimir Kondratyev From owner-freebsd-current@freebsd.org Tue Nov 17 08:10:40 2020 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 DA6852D3CE7 for ; Tue, 17 Nov 2020 08:10:40 +0000 (UTC) (envelope-from vladimir@kondratyev.su) 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 4CZzCN471sz3qLs for ; Tue, 17 Nov 2020 08:10:40 +0000 (UTC) (envelope-from vladimir@kondratyev.su) Received: by mailman.nyi.freebsd.org (Postfix) id 8D45D2D42C4; Tue, 17 Nov 2020 08:10:40 +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 8CF932D3CE6; Tue, 17 Nov 2020 08:10:40 +0000 (UTC) (envelope-from vladimir@kondratyev.su) Received: from corp.infotel.ru (corp.infotel.ru [195.170.219.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CZzCM4dBpz3qRG; Tue, 17 Nov 2020 08:10:39 +0000 (UTC) (envelope-from vladimir@kondratyev.su) Received: from corp (corp.infotel.ru [195.170.219.3]) by corp.infotel.ru (Postfix) with ESMTP id 797DB148E13; Tue, 17 Nov 2020 11:10:38 +0300 (MSK) X-Virus-Scanned: amavisd-new at corp.infotel.ru Received: from corp.infotel.ru ([195.170.219.3]) by corp (corp.infotel.ru [195.170.219.3]) (amavisd-new, port 10024) with ESMTP id EU40zjlJ7aW8; Tue, 17 Nov 2020 11:10:37 +0300 (MSK) Received: from mail.cicgroup.ru (unknown [195.170.219.74]) by corp.infotel.ru (Postfix) with ESMTP id 8ED8E148E00; Tue, 17 Nov 2020 11:10:37 +0300 (MSK) Received: from mail.cicgroup.ru (localhost [127.0.0.1]) by mail.cicgroup.ru (Postfix) with ESMTP id 2FDA442211F; Tue, 17 Nov 2020 11:07:03 +0300 (MSK) X-Virus-Scanned: amavisd-new at cicgroup.ru Received: from mail.cicgroup.ru ([127.0.0.1]) by mail.cicgroup.ru (mail.cicgroup.ru [127.0.0.1]) (amavisd-new, port 10024) with SMTP id lhKPa18KVedz; Tue, 17 Nov 2020 11:07:00 +0300 (MSK) Received: from localhost (localhost [127.0.0.1]) by mail.cicgroup.ru (Postfix) with ESMTPA id 3276C42211C; Tue, 17 Nov 2020 11:07:00 +0300 (MSK) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_78f0970818859361063826d296ba337a" Date: Tue, 17 Nov 2020 11:07:00 +0300 From: Vladimir Kondratyev To: Yuri Pankov Cc: current@freebsd.org, owner-freebsd-current@freebsd.org Subject: Re: acpi_wmi noisy without EC In-Reply-To: <7b80877ae59fdd90f2f3b5dbf3db2113@kondratyev.su> References: <7dc142d3-1e0b-41d4-bdb4-7217bd09bbef@www.fastmail.com> <7b80877ae59fdd90f2f3b5dbf3db2113@kondratyev.su> Message-ID: X-Sender: vladimir@kondratyev.su User-Agent: Roundcube Webmail/1.3.5 X-Rspamd-Queue-Id: 4CZzCM4dBpz3qRG X-Spamd-Bar: / X-Spamd-Result: default: False [-0.90 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; HAS_ATTACHMENT(0.00)[]; MIME_BASE64_TEXT_BOGUS(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MIME_BASE64_TEXT(0.10)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[195.170.219.3:from]; ASN(0.00)[asn:8299, ipnet:195.170.192.0/19, country:RU]; MIME_TRACE(0.00)[0:+,1:+,2:+]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_COUNT_FIVE(0.00)[6]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/mixed,text/plain,text/x-diff]; DMARC_NA(0.00)[kondratyev.su]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[195.170.219.3:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[no SPF record]; MAILMAN_DEST(0.00)[current,owner-freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 08:10:40 -0000 --=_78f0970818859361063826d296ba337a Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On 2020-11-17 10:57, Vladimir Kondratyev wrote: > On 2020-11-17 03:00, Yuri Pankov wrote: >> I have started seeing the following on boot since some time: >> >> acpi_wmi0: on acpi0 >> acpi_wmi0: cannot find EC device >> device_attach: acpi_wmi0 attach returned 6 >> acpi_wmi0: on acpi0 >> acpi_wmi0: cannot find EC device >> device_attach: acpi_wmi0 attach returned 6 >> acpi_wmi0: on acpi0 >> acpi_wmi0: cannot find EC device >> device_attach: acpi_wmi0 attach returned 6 >> acpi_wmi0: on acpi0 >> acpi_wmi0: cannot find EC device >> device_attach: acpi_wmi0 attach returned 6 >> >> Likely following this commit: >> >> commit 708d048ccfdacf6199cc08a56aa05a9c899441fd >> Author: Vladimir Kondratyev >> Date: Sat Oct 31 22:19:39 2020 +0000 >> >> acpi_wmi(4): Add ACPI_PNP_INFO >> >> While the reason is obvious -- there's no EC in this system (Gigabyte >> X299X AORUS MASTER desktop motherboard), at least searching the >> `acpidump -dt` output doesn't show any PNP0C09 entries -- it certainly >> looks like "something is broken" when first noticed. I wonder if we >> could/should handle this gracefully -- no EC, do nothing, simply exit? > > Following patch should ignore missing EC like Linux does. Could you > test it? > > diff --git a/sys/dev/acpi_support/acpi_wmi.c > b/sys/dev/acpi_support/acpi_wmi.c > index 379cfd1705f1..efae96cdcc9a 100644 > --- a/sys/dev/acpi_support/acpi_wmi.c > +++ b/sys/dev/acpi_support/acpi_wmi.c > @@ -246,7 +246,7 @@ acpi_wmi_attach(device_t dev) > if ((sc->ec_dev = devclass_get_device(devclass_find("acpi_ec"), 0)) > == NULL) > device_printf(dev, "cannot find EC device\n"); > - else if (ACPI_FAILURE((status = > AcpiInstallNotifyHandler(sc->wmi_handle, > + if (ACPI_FAILURE((status = AcpiInstallNotifyHandler(sc->wmi_handle, > ACPI_DEVICE_NOTIFY, acpi_wmi_notify_handler, sc)))) > device_printf(sc->wmi_dev, "couldn't install notify handler - %s\n", > AcpiFormatException(status)); > @@ -701,6 +701,8 @@ acpi_wmi_ec_handler(UINT32 function, > ACPI_PHYSICAL_ADDRESS address, > return (AE_BAD_PARAMETER); > if (address + (width / 8) - 1 > 0xFF) > return (AE_BAD_ADDRESS); > + if (sc->ec_dev == NULL) > + return (AE_NOT_FOUND); > if (function == ACPI_READ) > *value = 0; > ec_addr = address; @#@##! Web client ate all the tabs. Patch is in attachment. -- WBR Vladimir Kondratyev --=_78f0970818859361063826d296ba337a Content-Transfer-Encoding: base64 Content-Type: text/x-diff; name=acpi_wmi.c.patch Content-Disposition: attachment; filename=acpi_wmi.c.patch; size=996 ZGlmZiAtLWdpdCBhL3N5cy9kZXYvYWNwaV9zdXBwb3J0L2FjcGlfd21pLmMgYi9zeXMvZGV2L2Fj cGlfc3VwcG9ydC9hY3BpX3dtaS5jCmluZGV4IDM3OWNmZDE3MDVmMS4uZWZhZTk2Y2RjYzlhIDEw MDY0NAotLS0gYS9zeXMvZGV2L2FjcGlfc3VwcG9ydC9hY3BpX3dtaS5jCisrKyBiL3N5cy9kZXYv YWNwaV9zdXBwb3J0L2FjcGlfd21pLmMKQEAgLTI0Niw3ICsyNDYsNyBAQCBhY3BpX3dtaV9hdHRh Y2goZGV2aWNlX3QgZGV2KQogCWlmICgoc2MtPmVjX2RldiA9IGRldmNsYXNzX2dldF9kZXZpY2Uo ZGV2Y2xhc3NfZmluZCgiYWNwaV9lYyIpLCAwKSkKIAkgICAgPT0gTlVMTCkKIAkJZGV2aWNlX3By aW50ZihkZXYsICJjYW5ub3QgZmluZCBFQyBkZXZpY2VcbiIpOwotCWVsc2UgaWYgKEFDUElfRkFJ TFVSRSgoc3RhdHVzID0gQWNwaUluc3RhbGxOb3RpZnlIYW5kbGVyKHNjLT53bWlfaGFuZGxlLAor CWlmIChBQ1BJX0ZBSUxVUkUoKHN0YXR1cyA9IEFjcGlJbnN0YWxsTm90aWZ5SGFuZGxlcihzYy0+ d21pX2hhbmRsZSwKIAkJICAgIEFDUElfREVWSUNFX05PVElGWSwgYWNwaV93bWlfbm90aWZ5X2hh bmRsZXIsIHNjKSkpKQogCQlkZXZpY2VfcHJpbnRmKHNjLT53bWlfZGV2LCAiY291bGRuJ3QgaW5z dGFsbCBub3RpZnkgaGFuZGxlciAtICVzXG4iLAogCQkgICAgQWNwaUZvcm1hdEV4Y2VwdGlvbihz dGF0dXMpKTsKQEAgLTcwMSw2ICs3MDEsOCBAQCBhY3BpX3dtaV9lY19oYW5kbGVyKFVJTlQzMiBm dW5jdGlvbiwgQUNQSV9QSFlTSUNBTF9BRERSRVNTIGFkZHJlc3MsCiAJCXJldHVybiAoQUVfQkFE X1BBUkFNRVRFUik7CiAJaWYgKGFkZHJlc3MgKyAod2lkdGggLyA4KSAtIDEgPiAweEZGKQogCQly ZXR1cm4gKEFFX0JBRF9BRERSRVNTKTsKKwlpZiAoc2MtPmVjX2RldiA9PSBOVUxMKQorCQlyZXR1 cm4gKEFFX05PVF9GT1VORCk7CiAJaWYgKGZ1bmN0aW9uID09IEFDUElfUkVBRCkKIAkJKnZhbHVl ID0gMDsKIAllY19hZGRyID0gYWRkcmVzczsK --=_78f0970818859361063826d296ba337a-- From owner-freebsd-current@freebsd.org Tue Nov 17 09:25:38 2020 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 359192D5D18 for ; Tue, 17 Nov 2020 09:25:38 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from p-impout007.msg.pkvw.co.charter.net (p-impout007aa.msg.pkvw.co.charter.net [47.43.26.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 4Cb0sr4Jl5z3v3L for ; Tue, 17 Nov 2020 09:25:36 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from localhost ([96.28.177.163]) by cmsmtp with ESMTP id exEuk4KGsrMmRexEukdEWC; Tue, 17 Nov 2020 09:25:29 +0000 X-Authority-Analysis: v=2.3 cv=C4eXNjH+ c=1 sm=1 tr=0 a=xqrt2BZAGHte7XHhrxJgbA==:117 a=xqrt2BZAGHte7XHhrxJgbA==:17 a=HpEJnUlJZJkA:10 a=nuYV4Kko6MFewygOLU0A:9 Date: Tue, 17 Nov 2020 09:25:32 +0000 From: "Thomas Mueller" To: freebsd-current@freebsd.org Subject: Re: in -current is svn still canonical? References: <5fb33a11.1c69fb81.2d2a6.f92eSMTPIN_ADDED_MISSING@mx.google.com> <5fb35900.1c69fb81.7679c.a50eSMTPIN_ADDED_MISSING@mx.google.com> X-CMAE-Envelope: MS4wfGg2gLbRTlNbDHnM4V/XvQLETaOOpwNtzC4kZPk40cfp+im9qvoD6V1rWilvV1we3zidg0ar2A2SqQbtVHYUEhGek1dhfbz+0NsI12AbTH+g9BHp1Wk2 jlFdX7ZOW0D4sA5r/jTNybJXsKIgkyFanJ+DWslOdankp03Mp7ZwlwmQ X-Rspamd-Queue-Id: 4Cb0sr4Jl5z3v3L X-Spamd-Bar: ++ X-Spamd-Result: default: False [2.23 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; NEURAL_SPAM_SHORT(1.00)[0.997]; RECEIVED_SPAMHAUS_PBL(0.00)[96.28.177.163:received]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[47.43.26.138:from]; FREEMAIL_FROM(0.00)[twc.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[twc.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[47.43.26.138:from:127.0.2.255]; MISSING_MID(2.50)[]; R_SPF_ALLOW(-0.20)[+ip4:47.43.26.0/24]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.97)[-0.971]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[twc.com]; RCVD_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; MAILMAN_DEST(0.00)[freebsd-current]; ASN(0.00)[asn:40294, ipnet:47.43.24.0/21, country:US] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 09:25:38 -0000 from Warner Losh and my last message: > > Thanks for the information, but if you feel the need to send me a > > not-quite-CC, please don't send me the multipart/alternative version when > > you send the plain-text version to the list. > > I hate multipart/alternative! > I must apologize. Sadly, I use gmail, so I have no control over how it > decides to encode things, sadly. I've tried in the past, and alas, nothing > I've tried works for any length of time. Please forgive me whatever > unspeakable MIME atrocities it sends on my behalf. I've removed you from > the cc line in the hopes that the FreeBSD mail server cleans things up to > be more to your liking. The message on the list had only the plain-text part. Either you sent it differently, or the list server stripped the HTML attachment. > > When git becomes the source of truth on FreeBSD after the flag day, will > > it be necessary to git-clone the whole tree from scratch, or will there be > > a conversion tool to switch the svn download to proper git format? > For the supported stable branches, you'll be able to download via > subversion and switch over at any time before the end of project support > for the branch. I suppose this applies only to the current stable branches (11 and 12) but not to future stable branches, beginning with 13? > However, when you make the switch to git (either due to the flag day and > tracking -current, or jumping from svn on a stable branch), there's no tool > to convert the subversion checked out tree to a git tree. The needed > information needed to create the git tree isn't easily available from the > subversion checkout, so you'll need to do a git clone. If bandwidth is a > problem, you can do a shallow clone that omits all the history and just > grabs the branch of interest. Git is a bit more link efficient than > subversion, which is helpful. Git also has ways to help you share one local > repo across checked out versions, which can also help if you have to track > multiple branches. I suppose I would then git-clone the current/13 src tree separately and delete the svn version. > > The doc tree is much smaller than the src tree, while the ports tree is > > much bigger than the src tree. Is that the reason for the few-months-long > > lag switching the ports trree to git? > There's a couple of things that make it trickier. The ports tree does > quarterly branches. So there's a window around the quarterly branch when > it's easiest to make the switch. In addition, the character of the files in > the ports tree differs from src. Unlike subversion, git infers copies, > moves, etc. The mostly similar nature of the ports tree is likely to cause > git grief when ports are copied, resurrected from the attic, etc. The ports > folks are still figuring out how to best use git to track the history they > need to track without creating undue issues. It's not clear if that will > all be sorted out before the next window in December, or if they will have > to defer until March. This is why I hedged a bit as to the exact time, > since it's not been nailed down yet. So it's not so much the size, as the > difference in makeup and character between the two trees. The doc tree is, > as you point out, much smaller, less active and its needs are more modest > and largely mirror the src tree, so it can be done quickly at any time. > Warner Now I see the reason for timing the switch of the ports tree from svn to git. I never tracked the quarterly ports tree, just as I never followed the quarterly (NetBSD) pkgsrc, only the current version. NetBSD is readying to switch src trees and pkgsrc from cvs to hg (Mercurial), but it takes some time to prepare and not mess things up. I am under the impression that they intend to switch everything over at once when ready. Pkgsrc has both current and quarterly, so maybe they will have issues similar to FreeBSD ports on switching to hg. I have git installed on both FreeBSD and NetBSD, but no Mercurial. As far as I can see, git repositories greatly outnumber mercurial repositories. Tom From owner-freebsd-current@freebsd.org Tue Nov 17 11:04:31 2020 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 B23D12E82BB for ; Tue, 17 Nov 2020 11:04:31 +0000 (UTC) (envelope-from jbtakk@iherebuywisely.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 4Cb33z38W8z4VMr for ; Tue, 17 Nov 2020 11:04:31 +0000 (UTC) (envelope-from jbtakk@iherebuywisely.com) Received: by mailman.nyi.freebsd.org (Postfix) id 6C1E02E81FD; Tue, 17 Nov 2020 11:04:31 +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 6BE592E81FC for ; Tue, 17 Nov 2020 11:04:31 +0000 (UTC) (envelope-from jbtakk@iherebuywisely.com) Received: from aibo.runbox.com (aibo.runbox.com [91.220.196.211]) (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 4Cb33y2HLJz4V8F for ; Tue, 17 Nov 2020 11:04:29 +0000 (UTC) (envelope-from jbtakk@iherebuywisely.com) Received: from [10.9.9.129] (helo=rmmprod07.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1keymg-0003hc-TQ for current@freebsd.org; Tue, 17 Nov 2020 12:04:27 +0100 Received: from mail by rmmprod07.runbox with local (Exim 4.86_2) (envelope-from ) id 1keymg-00064i-S6 for current@freebsd.org; Tue, 17 Nov 2020 12:04:26 +0100 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Received: from [Authenticated alias (650894)] by runbox.com with http (RMM6); for ; Tue, 17 Nov 2020 11:04:26 GMT From: "Jeffrey Bouquet" To: "current" Subject: Re: in -current is svn still canonical? Date: Tue, 17 Nov 2020 03:04:26 -0800 (PST) X-RMM-Aliasid: 650894 X-Mailer: RMM6 In-Reply-To: Message-Id: X-Rspamd-Queue-Id: 4Cb33y2HLJz4V8F X-Spamd-Bar: - X-Spamd-Result: default: False [-1.20 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[91.220.196.211:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; RBL_DBL_DONT_QUERY_IPS(0.00)[91.220.196.211:from]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[91.220.196.211:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[iherebuywisely.com]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.999]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:50304, ipnet:91.220.196.0/24, country:NO]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[current]; RCVD_IN_DNSWL_LOW(-0.10)[91.220.196.211:from] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 11:04:31 -0000 On Tue, 17 Nov 2020 02:48:32 +0000, "Thomas Mueller" = wrote: > from tech-lists: >=20 > > As subject - is svn still canonical for -current or is it git now? > > If it's not git now, when roughly is the intended switch? >=20 > I recently updated FreeBSD doc, ports, src (current), and src12 (12-stabl= e) using svn (not svnup or svnlite). >=20 > But I read some time before that, FreeBSD current source would go on git,= while other src trees (non-current), ports and doc would stay with svn for= the time being, until git on current src is further tested and stabilized. >=20 ...........................................................................= ....................... Can this be put up in a wiki page as well as in each UPDATING, referencing = the wiki page?=20 something like=20 src - current dec 2020 now svn up /usr/src ... git ....= svn cleanup .... git ... [ other svn-git... src - stable may 2021 dec 2020 svn up /usr/ports src -release july 2021=20=20=20 ports dec 2021 doc dec 2021 and an additional column as to when svn will become obsolete for each respo= sitory?=20 and maybe an additional wiki page with all the svn > git translations one c= an reasonably presume to be of use ?=20= From owner-freebsd-current@freebsd.org Tue Nov 17 11:37:38 2020 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 D31BD2E8E46 for ; Tue, 17 Nov 2020 11:37:38 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cb3p93Gjzz4Wrg for ; Tue, 17 Nov 2020 11:37:37 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.16.1/8.15.2) with ESMTP id 0AHBbamI022584 for ; Tue, 17 Nov 2020 11:37:36 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.16.1/8.16.1/Submit) id 0AHBbaDd022583 for freebsd-current@freebsd.org; Tue, 17 Nov 2020 03:37:36 -0800 (PST) (envelope-from david) Date: Tue, 17 Nov 2020 03:37:35 -0800 From: David Wolfskill To: FreeBSD Current Subject: Re: in -current is svn still canonical? Message-ID: Reply-To: current@freebsd.org Mail-Followup-To: current@freebsd.org, FreeBSD Current References: <5fb33a11.1c69fb81.2d2a6.f92eSMTPIN_ADDED_MISSING@mx.google.com> <5fb35900.1c69fb81.7679c.a50eSMTPIN_ADDED_MISSING@mx.google.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="9sJD2Nqq7wb1cq7Y" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4Cb3p93Gjzz4Wrg X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.40 / 15.00]; HAS_REPLYTO(0.00)[current@freebsd.org]; R_SPF_ALLOW(-0.20)[+ip4:107.204.234.170]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[107.204.234.170:from]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[david]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[107.204.234.170:from:127.0.2.255]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[catwhisker.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 11:37:38 -0000 --9sJD2Nqq7wb1cq7Y Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 16, 2020 at 10:32:38PM -0700, Warner Losh wrote: > ... > However, when you make the switch to git (either due to the flag day and > tracking -current, or jumping from svn on a stable branch), there's no to= ol > to convert the subversion checked out tree to a git tree. The needed > information needed to create the git tree isn't easily available from the > subversion checkout, so you'll need to do a git clone. If bandwidth is a > problem, you can do a shallow clone that omits all the history and just > grabs the branch of interest. Git is a bit more link efficient than > subversion, which is helpful. Git also has ways to help you share one loc= al > repo across checked out versions, which can also help if you have to track > multiple branches. > .... Folks in that position might want to consider making the switch (for a given repo -- src; ports; doc) in two stages over a period of time: the first, to get an initial copy, then (the first of a series of) incremental updates. The duration of the first need not be especially critical. Of course, this presumes adequate local storage space. (I am currently testing my approach, using cgit-beta.freebsd.org for each of the three repos; the approach I am using is described in http://www.catwhisker.org/~david/FreeBSD/repo-sync.html, in case that's of use. Please note that I am actually using both svn & git, relying on svn for now, as it is the Source of Truth.) Peace, david --=20 David H. Wolfskill david@catwhisker.org Trump's continuing malfeasance is costing lives -- and 72M voted for this??= !? See http://www.catwhisker.org/~david/publickey.gpg for my public key. --9sJD2Nqq7wb1cq7Y Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAl+ztf9fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2 PclOnAgAy1KJRNh6V2uwR0+oPTfXXi4uroiCVkmex0B8q1c0pFhd/J6YAvNbNlIn /r98mbj9Fl5I4CIyPuptvxrufYx6Ipwg2tDH6BMdcJYw++BvMzMYMZdsaynQSks4 M+AiRe3t5qxgPTvm9og8V7VkCiERwxLQ3n44C8hhekfHKEajgpBXqj6/ApYVV+Nu s7dlcEnWmm0J/cG8qIR2kl3HEBNAADzpDHXWJ1SHWMND0CH+MO5swFmtvScKOFlZ dbUTeNWoWuikGQAMz4n+7KCnKeHlFewsj6uN2d1+m2j8qZVaXx7nEu7VPY7dRfjq sQ1YYZkslYCb7igGWh6/MFpFKEN/Vg== =WrXL -----END PGP SIGNATURE----- --9sJD2Nqq7wb1cq7Y-- From owner-freebsd-current@freebsd.org Tue Nov 17 12:29:48 2020 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 305302EB82B for ; Tue, 17 Nov 2020 12:29:48 +0000 (UTC) (envelope-from yuripv@yuripv.dev) 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 4Cb4yM6DbZz4ZvB for ; Tue, 17 Nov 2020 12:29:47 +0000 (UTC) (envelope-from yuripv@yuripv.dev) Received: by mailman.nyi.freebsd.org (Postfix) id D5D8C2EB52E; Tue, 17 Nov 2020 12:29:47 +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 D59DC2EB27E for ; Tue, 17 Nov 2020 12:29:47 +0000 (UTC) (envelope-from yuripv@yuripv.dev) Received: from new3-smtp.messagingengine.com (new3-smtp.messagingengine.com [66.111.4.229]) (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 4Cb4yM4tkbz4bBD for ; Tue, 17 Nov 2020 12:29:47 +0000 (UTC) (envelope-from yuripv@yuripv.dev) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.nyi.internal (Postfix) with ESMTP id 0B6CA5802CB; Tue, 17 Nov 2020 07:29:47 -0500 (EST) Received: from imap22 ([10.202.2.72]) by compute1.internal (MEProxy); Tue, 17 Nov 2020 07:29:47 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudeffedggedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreertdenucfhrhhomhepfdgjuhhr ihcurfgrnhhkohhvfdcuoeihuhhrihhpvheshihurhhiphhvrdguvghvqeenucggtffrrg htthgvrhhnpeelhfevtdefkeffveehudetkeeggfeuiedvvddvudegudefveeljeffgeel gfevteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe ihuhhrihhpvheshihurhhiphhvrdguvghv X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id F08656680078; Tue, 17 Nov 2020 07:29:45 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-622-g4a97c0b-fm-20201115.001-g4a97c0b3 Mime-Version: 1.0 Message-Id: <5bb9ac64-ebab-4d22-8a43-1305b16f28cd@www.fastmail.com> In-Reply-To: References: <7dc142d3-1e0b-41d4-bdb4-7217bd09bbef@www.fastmail.com> <7b80877ae59fdd90f2f3b5dbf3db2113@kondratyev.su> Date: Tue, 17 Nov 2020 15:29:23 +0300 From: "Yuri Pankov" To: "Vladimir Kondratyev" Cc: current@freebsd.org Subject: Re: acpi_wmi noisy without EC Content-Type: text/plain X-Rspamd-Queue-Id: 4Cb4yM4tkbz4bBD X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 12:29:48 -0000 On Tue, Nov 17, 2020, at 11:07 AM, Vladimir Kondratyev wrote: > On 2020-11-17 10:57, Vladimir Kondratyev wrote: > > On 2020-11-17 03:00, Yuri Pankov wrote: > >> I have started seeing the following on boot since some time: > >> > >> acpi_wmi0: on acpi0 > >> acpi_wmi0: cannot find EC device > >> device_attach: acpi_wmi0 attach returned 6 > >> acpi_wmi0: on acpi0 > >> acpi_wmi0: cannot find EC device > >> device_attach: acpi_wmi0 attach returned 6 > >> acpi_wmi0: on acpi0 > >> acpi_wmi0: cannot find EC device > >> device_attach: acpi_wmi0 attach returned 6 > >> acpi_wmi0: on acpi0 > >> acpi_wmi0: cannot find EC device > >> device_attach: acpi_wmi0 attach returned 6 > >> > >> Likely following this commit: > >> > >> commit 708d048ccfdacf6199cc08a56aa05a9c899441fd > >> Author: Vladimir Kondratyev > >> Date: Sat Oct 31 22:19:39 2020 +0000 > >> > >> acpi_wmi(4): Add ACPI_PNP_INFO > >> > >> While the reason is obvious -- there's no EC in this system (Gigabyte > >> X299X AORUS MASTER desktop motherboard), at least searching the > >> `acpidump -dt` output doesn't show any PNP0C09 entries -- it certainly > >> looks like "something is broken" when first noticed. I wonder if we > >> could/should handle this gracefully -- no EC, do nothing, simply exit? > > > > Following patch should ignore missing EC like Linux does. Could you > > test it? > > > > diff --git a/sys/dev/acpi_support/acpi_wmi.c > > b/sys/dev/acpi_support/acpi_wmi.c > > index 379cfd1705f1..efae96cdcc9a 100644 > > --- a/sys/dev/acpi_support/acpi_wmi.c > > +++ b/sys/dev/acpi_support/acpi_wmi.c > > @@ -246,7 +246,7 @@ acpi_wmi_attach(device_t dev) > > if ((sc->ec_dev = devclass_get_device(devclass_find("acpi_ec"), 0)) > > == NULL) > > device_printf(dev, "cannot find EC device\n"); > > - else if (ACPI_FAILURE((status = > > AcpiInstallNotifyHandler(sc->wmi_handle, > > + if (ACPI_FAILURE((status = AcpiInstallNotifyHandler(sc->wmi_handle, > > ACPI_DEVICE_NOTIFY, acpi_wmi_notify_handler, sc)))) > > device_printf(sc->wmi_dev, "couldn't install notify handler - %s\n", > > AcpiFormatException(status)); > > @@ -701,6 +701,8 @@ acpi_wmi_ec_handler(UINT32 function, > > ACPI_PHYSICAL_ADDRESS address, > > return (AE_BAD_PARAMETER); > > if (address + (width / 8) - 1 > 0xFF) > > return (AE_BAD_ADDRESS); > > + if (sc->ec_dev == NULL) > > + return (AE_NOT_FOUND); > > if (function == ACPI_READ) > > *value = 0; > > ec_addr = address; > > @#@##! Web client ate all the tabs. > > Patch is in attachment. Output changed, though it's still somewhat noisy -- I guess there isn't a way to NOT report the device that we are not going to attach to, or do that e.g. only for verbose boot? acpi_wmi0: on acpi0 acpi_wmi0: cannot find EC device acpi_wmi0: Embedded MOF found ACPI: \134GSA1.WQCC: 1 arguments were passed to a non-method ACPI object (Buffer) (20201113/nsarguments-361) acpi_wmi1: on acpi0 acpi_wmi1: cannot find EC device acpi_wmi2: on acpi0 acpi_wmi2: cannot find EC device acpi_wmi3: on acpi0 acpi_wmi3: cannot find EC device From owner-freebsd-current@freebsd.org Tue Nov 17 12:56:24 2020 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 F2D0C2EC01D for ; Tue, 17 Nov 2020 12:56:24 +0000 (UTC) (envelope-from filippomore@yahoo.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 4Cb5Y44R6Bz4cj8 for ; Tue, 17 Nov 2020 12:56:24 +0000 (UTC) (envelope-from filippomore@yahoo.com) Received: by mailman.nyi.freebsd.org (Postfix) id 964542EC01C; Tue, 17 Nov 2020 12:56: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 960AD2EC01A for ; Tue, 17 Nov 2020 12:56:24 +0000 (UTC) (envelope-from filippomore@yahoo.com) Received: from sonic307-56.consmr.mail.ne1.yahoo.com (sonic307-56.consmr.mail.ne1.yahoo.com [66.163.190.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cb5Y33J9pz4cnW for ; Tue, 17 Nov 2020 12:56:23 +0000 (UTC) (envelope-from filippomore@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1605617781; bh=4TQo4Nrnf8dLVlJmbgN6jYBEZcui7BgwzsF/6YtiSOy=; h=Date:From:To:Subject:From:Subject; b=gMWae8dZ5O+Q8aiyXadLr02ZqBZDRjlbLwDIwQkK3FNyfUMCjiyAfJRUHhJmgUauwnL+pm2QBC8S1UJ/mBsLJpP6uhaQqKhxR7DJL0uU8ZPYOsuxyk6Nm0NlmwupTIZUE1L4j9gJfnV/Kq+UPlcG532aZBMjvRP0shL69LOK/22OoQyqrB8OnWOpjCoulTFYz4RXDiDDko/1La94v7FFszVmILT272MksYKef+T0KkHVzP1RSw6aNlv6f2fj+mvECRI0czEhMAle58usKnrX8IefmobcvFQzB1T9YP52H4hsfKSs9NllQXRcnuImOCMxFl1omkGw+B7b3SHbxXdP8A== X-YMail-OSG: 9dLjNx0VM1lK.vufV9n.3UF_R7T2g3RgZ4uMlvh3ndgmXuAj_NnN8A5hfSr6oiA lqIc_um04DE0YT87W1oV3lp9li1v4vJLDynAQth8xyHBazMTf81m1KHRp5FRktMOjebkXwTnq0w6 iEmqzZZXNrhqnRrt5H6v8hbLi3jtE1IIj04FLRwrOLqRYVS_p9s3VfesnSKv4g3HWKBCbd4IWyOI prsqtPpVn.m1czJvs8OT6mwQvfZmgugSlyzNQfq8QY0ARw3Gkam0oH_a4SwcmckTNjmFJONKMrxI ZTTMnBqrwMKgQoGA6sKIk27qyV4NlbFikX7oAU4dYbpWUgGh7W.6.cFKY3iipOErNF5tD.c2QMbT 6CWXOyCL0O.AZgSmaUKNAeJ._cZBw9Nre5PdpaevlS2.fWgc338NUBHm8oexD1yOyC6CLzt3_QKN NElSSZrUn17bGv30D77DcF4XpESefhjW5dOhzk3kS6e9wFAUnVky1q9t0yYbVSmY9CPEqsZJp9_V HIf.RL4Ob8abvte4ZxlCILn7Xr2EoyxC2ehEBGiblBauJ0WXKOXDuV6BGYSZEe9lj2gKF0IvWJpz 2x8XiDNufxJHk_M3gP206wnxhaeuvyNtHcaeoBltsM.6CCCRmLU0jhj3wLBU1mn45Vlo3S0NYegi BN0JcbeeDinukqP6mDjaw6K_6Y69KUPE6Cdyt3GHweTdlvMnOnDej8tZ8bjAtdI4ad5YkdDkkauq xKyStnYw8DRTJjMG4YEnA2DvsmyqHLpkFirzq9si5kx2wqd.OsPGm4iS64pVJ6JoJLyTR8ObYPGj z7tHt5SAFCHRPL8IJLz6w2Lb_Zd382NJYCYS0VyVR7kHgh_GGu3Slo3ypPY2RDtmKCr2ZWk8OVbd x3AbZDV93wstDnVOPW7mVWr0kxhCKxRqGtlp9d.m3TFliHX__clDYluw4u5ei2G.PKkUfCEiX0nF 8hEKtpeCFP4iXy6DO9OHQRy9.qFA9bKWlX844FQZsTt5QSoML3gKbEGpR4GrMK7ExPqGJ2s7.pDr OGsypB1l3YEvhkpL7kewe_JOGMqpmix4yOTAM9pkM.3BwaHnapkx9TdVmbaMgmxOzrUdwWcOAq.W 037MA7qubybqh2_NK3i558YU3YFUvFDbOQ7uEs.6eORWjgpVgL7f1a8pD__3IfgmtUQAbN3KcDa7 F4IyQGt_c4S0pJWUYBcvLwkCPSfPQoPRc9gDkKQPSk5Fg_XrnX.Y8BEeihCv98IM_aI4F3wa5wFQ izbhloEi6EicQZt_K9xyflfBoHAbzhTs82r3yrez6ODclPECCwFdMYNfT1CKMXwQ4.ZGNyHkP8Dj rdQyy_J0zNN131scY7gqa24p198M2zAdyswzJ343zr4Bql6we0cPrtG6Wu0sh2l0vWkkTVtph74t 2YrM9.XIT4FNaIqKMHDoubu3lNLraO4q4BBqsbEnyRDcz7_aA9LeWV4NvUrcaf4VMXZ5hYOZLe93 5xa0.rX6rS_V3ximfPY3RJY43vHBxIJ7zek1PaOBk8OaJFSdn61IEQfsW1Ipgc9XvefZi_qHVYui S0xOepyehZBRMdpF9T_brWEDx9vTu.GR607T4sFtfjUvjd0BhBu6AxMhaqz8K.r5isv6EhgSPvhc Lvz5IauFeqr_FSDZmYAG9GirP96ad1lnOXQ2I7u.dsinTR4575p2z0rVvS_f070sFLpiXBLHXVZ6 OoKwOPo4rZHxMfjwWCGd5bkxRUlMwV_yLwtLbFyx1AHZCzgAA2o4vt93taa4bssggNORtT3o8HAC vDEBMhpAxbhr1y_vxgQbmra3.TRDuQPjG4ThN0U3uiIIArlwB4k.5I6cd0wncjXczEmdsA0K98F8 uDNQKfxGZ1yZ2cdtSGg8w4BbtSqOAja1UBrMzhyc.l2_Pk2D9XnrV8NJnISgy4DQtbk7E4oIzSU9 N2zKwoM99agL8Y2YRGJA47rDpbQ0bJ7oFiMtpTNHCVmhH3XVpsjFBim.Oclo6EDPqa8fBvhEDk1t gH7E6MWnrU7FmsZhGf87D3Utj8u8XhO1KCt1EtdGju1715WCKiWM3X9BXT8Dp8pFuotbyP5bvh7_ E_N4ouDhszNJXUGj81NNOBmoDs1Eq_yd8XxDLXNWFJVghxiOLuPIh25vsCku_m56LE4DZDcarrGC NHadqsbuLnn.jvflFbizc5O.fWMrhubWhfXP9vDSg9oVOjMnRncE_wWmE1NjKpp74OSxKrc6tnzk KpipOMn_kpUFB42HKHNM98TOdarozVp9GvAgp1XTFNtLz.u9ba7uT6K7UB7F3A5Dj.VpwE8pm6YL PDePa0Hu1Gl6aki0TmTqQzHk5Qetx4LM5hrBz0eSsEjdpszHdoZSnZMlNh6BJlJKrFYzmvrbd06M __FJxXsODQ5t7aD6f4k_guRxuUF38N8whTB8qSpSEBCkI_dux.9VjWyLpqoCOkWC08G7cK.L.Q5F _Mewur0psflJbR_._9ePeCL9SUrFsDcS1pI7AcB1rASVKtp0HH5whjUdg1dlYzcVveMSQsVTLZfn u_T.gDEHY9YFOMRo- Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ne1.yahoo.com with HTTP; Tue, 17 Nov 2020 12:56:21 +0000 Date: Tue, 17 Nov 2020 12:56:19 +0000 (UTC) From: Filippo Moretti To: "current@freebsd.org" Message-ID: <1456265078.6475084.1605617779122@mail.yahoo.com> In-Reply-To: References: <5fb33a11.1c69fb81.2d2a6.f92eSMTPIN_ADDED_MISSING@mx.google.com> <5fb35900.1c69fb81.7679c.a50eSMTPIN_ADDED_MISSING@mx.google.com> Subject: Re: in -current is svn still canonical? MIME-Version: 1.0 X-Mailer: WebService/1.1.16944 YMailNorrin Mozilla/5.0 (X11; FreeBSD amd64; rv:83.0) Gecko/20100101 Firefox/83.0 X-Rspamd-Queue-Id: 4Cb5Y33J9pz4cnW X-Spamd-Bar: -- X-Spamd-Result: default: False [-3.00 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[66.163.190.31:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[66.163.190.31:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[66.163.190.31:from]; TO_DN_EQ_ADDR_ALL(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.163.190.31:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[current] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 12:56:25 -0000 For=C2=A0 user will git be in the base system or should we install from po= rts/pkg?Filippo On Tuesday, November 17, 2020, 12:38:00 PM GMT+1, David Wolfskill wrote: =20 =20 On Mon, Nov 16, 2020 at 10:32:38PM -0700, Warner Losh wrote: > ... > However, when you make the switch to git (either due to the flag day and > tracking -current, or jumping from svn on a stable branch), there's no to= ol > to convert the subversion checked out tree to a git tree. The needed > information needed to create the git tree isn't easily available from the > subversion checkout, so you'll need to do a git clone. If bandwidth is a > problem, you can do a shallow clone that omits all the history and just > grabs the branch of interest. Git is a bit more link efficient than > subversion, which is helpful. Git also has ways to help you share one loc= al > repo across checked out versions, which can also help if you have to trac= k > multiple branches. > .... Folks in that position might want to consider making the switch (for a given repo -- src; ports; doc) in two stages over a period of time: the first, to get an initial copy, then (the first of a series of) incremental updates.=C2=A0 The duration of the first need not be especially critical.=C2=A0 Of course, this presumes adequate local storage space. (I am currently testing my approach, using cgit-beta.freebsd.org for each of the three repos; the approach I am using is described in http://www.catwhisker.org/~david/FreeBSD/repo-sync.html, in case that's of use.=C2=A0 Please note that I am actually using both svn & git, relying = on svn for now, as it is the Source of Truth.) Peace, david --=20 David H. Wolfskill=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 david@catwhisker.org Trump's continuing malfeasance is costing lives -- and 72M voted for this??= !? See http://www.catwhisker.org/~david/publickey.gpg for my public key. =20 From owner-freebsd-current@freebsd.org Tue Nov 17 13:03:45 2020 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 B3F982EC519 for ; Tue, 17 Nov 2020 13:03:45 +0000 (UTC) (envelope-from vladimir@kondratyev.su) 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 4Cb5jY2Mcjz4dRB for ; Tue, 17 Nov 2020 13:03:45 +0000 (UTC) (envelope-from vladimir@kondratyev.su) Received: by mailman.nyi.freebsd.org (Postfix) id 4F76B2EC518; Tue, 17 Nov 2020 13:03:45 +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 4F2C52EC07A; Tue, 17 Nov 2020 13:03:45 +0000 (UTC) (envelope-from vladimir@kondratyev.su) Received: from corp.infotel.ru (corp.infotel.ru [195.170.219.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4Cb5jY0vdHz4dJD; Tue, 17 Nov 2020 13:03:44 +0000 (UTC) (envelope-from vladimir@kondratyev.su) Received: from corp (corp.infotel.ru [195.170.219.3]) by corp.infotel.ru (Postfix) with ESMTP id 3C91714A1DB; Tue, 17 Nov 2020 16:03:41 +0300 (MSK) X-Virus-Scanned: amavisd-new at corp.infotel.ru Received: from corp.infotel.ru ([195.170.219.3]) by corp (corp.infotel.ru [195.170.219.3]) (amavisd-new, port 10024) with ESMTP id LbZ41G1Y-B3O; Tue, 17 Nov 2020 16:03:40 +0300 (MSK) Received: from mail.cicgroup.ru (unknown [195.170.219.74]) by corp.infotel.ru (Postfix) with ESMTP id 3682514A1C9; Tue, 17 Nov 2020 16:03:40 +0300 (MSK) Received: from mail.cicgroup.ru (localhost [127.0.0.1]) by mail.cicgroup.ru (Postfix) with ESMTP id A26D942211F; Tue, 17 Nov 2020 16:00:05 +0300 (MSK) X-Virus-Scanned: amavisd-new at cicgroup.ru Received: from mail.cicgroup.ru ([127.0.0.1]) by mail.cicgroup.ru (mail.cicgroup.ru [127.0.0.1]) (amavisd-new, port 10024) with SMTP id SoR4_zRiYRoB; Tue, 17 Nov 2020 16:00:02 +0300 (MSK) Received: from localhost (localhost [127.0.0.1]) by mail.cicgroup.ru (Postfix) with ESMTPA id 827E142211C; Tue, 17 Nov 2020 16:00:02 +0300 (MSK) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_f223c48cebd9d2186d47a843b4b786c1" Date: Tue, 17 Nov 2020 16:00:02 +0300 From: Vladimir Kondratyev To: Yuri Pankov Cc: current@freebsd.org, owner-freebsd-current@freebsd.org Subject: Re: acpi_wmi noisy without EC In-Reply-To: <5bb9ac64-ebab-4d22-8a43-1305b16f28cd@www.fastmail.com> References: <7dc142d3-1e0b-41d4-bdb4-7217bd09bbef@www.fastmail.com> <7b80877ae59fdd90f2f3b5dbf3db2113@kondratyev.su> <5bb9ac64-ebab-4d22-8a43-1305b16f28cd@www.fastmail.com> Message-ID: <274d456e15ce621889bfe9e7eda190da@kondratyev.su> X-Sender: vladimir@kondratyev.su User-Agent: Roundcube Webmail/1.3.5 X-Rspamd-Queue-Id: 4Cb5jY0vdHz4dJD X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 13:03:45 -0000 --=_f223c48cebd9d2186d47a843b4b786c1 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On 2020-11-17 15:29, Yuri Pankov wrote: > On Tue, Nov 17, 2020, at 11:07 AM, Vladimir Kondratyev wrote: >> On 2020-11-17 10:57, Vladimir Kondratyev wrote: >> > On 2020-11-17 03:00, Yuri Pankov wrote: >> >> I have started seeing the following on boot since some time: >> >> >> >> acpi_wmi0: on acpi0 >> >> acpi_wmi0: cannot find EC device >> >> device_attach: acpi_wmi0 attach returned 6 >> >> acpi_wmi0: on acpi0 >> >> acpi_wmi0: cannot find EC device >> >> device_attach: acpi_wmi0 attach returned 6 >> >> acpi_wmi0: on acpi0 >> >> acpi_wmi0: cannot find EC device >> >> device_attach: acpi_wmi0 attach returned 6 >> >> acpi_wmi0: on acpi0 >> >> acpi_wmi0: cannot find EC device >> >> device_attach: acpi_wmi0 attach returned 6 >> >> >> >> Likely following this commit: >> >> >> >> commit 708d048ccfdacf6199cc08a56aa05a9c899441fd >> >> Author: Vladimir Kondratyev >> >> Date: Sat Oct 31 22:19:39 2020 +0000 >> >> >> >> acpi_wmi(4): Add ACPI_PNP_INFO >> >> >> >> While the reason is obvious -- there's no EC in this system (Gigabyte >> >> X299X AORUS MASTER desktop motherboard), at least searching the >> >> `acpidump -dt` output doesn't show any PNP0C09 entries -- it certainly >> >> looks like "something is broken" when first noticed. I wonder if we >> >> could/should handle this gracefully -- no EC, do nothing, simply exit? >> > >> > Following patch should ignore missing EC like Linux does. Could you >> > test it? >> > >> > diff --git a/sys/dev/acpi_support/acpi_wmi.c >> > b/sys/dev/acpi_support/acpi_wmi.c >> > index 379cfd1705f1..efae96cdcc9a 100644 >> > --- a/sys/dev/acpi_support/acpi_wmi.c >> > +++ b/sys/dev/acpi_support/acpi_wmi.c >> > @@ -246,7 +246,7 @@ acpi_wmi_attach(device_t dev) >> > if ((sc->ec_dev = devclass_get_device(devclass_find("acpi_ec"), 0)) >> > == NULL) >> > device_printf(dev, "cannot find EC device\n"); >> > - else if (ACPI_FAILURE((status = >> > AcpiInstallNotifyHandler(sc->wmi_handle, >> > + if (ACPI_FAILURE((status = AcpiInstallNotifyHandler(sc->wmi_handle, >> > ACPI_DEVICE_NOTIFY, acpi_wmi_notify_handler, sc)))) >> > device_printf(sc->wmi_dev, "couldn't install notify handler - %s\n", >> > AcpiFormatException(status)); >> > @@ -701,6 +701,8 @@ acpi_wmi_ec_handler(UINT32 function, >> > ACPI_PHYSICAL_ADDRESS address, >> > return (AE_BAD_PARAMETER); >> > if (address + (width / 8) - 1 > 0xFF) >> > return (AE_BAD_ADDRESS); >> > + if (sc->ec_dev == NULL) >> > + return (AE_NOT_FOUND); >> > if (function == ACPI_READ) >> > *value = 0; >> > ec_addr = address; >> >> @#@##! Web client ate all the tabs. >> >> Patch is in attachment. > > Output changed, though it's still somewhat noisy -- I guess there > isn't a way to NOT report the device that we are not going to attach > to, or do that e.g. only for verbose boot? > > acpi_wmi0: on acpi0 > acpi_wmi0: cannot find EC device > acpi_wmi0: Embedded MOF found > ACPI: \134GSA1.WQCC: 1 arguments were passed to a non-method ACPI > object (Buffer) (20201113/nsarguments-361) > acpi_wmi1: on acpi0 > acpi_wmi1: cannot find EC device > acpi_wmi2: on acpi0 > acpi_wmi2: cannot find EC device > acpi_wmi3: on acpi0 > acpi_wmi3: cannot find EC device acpi_wmi does not try to attach to EC node (PNP0C09). It only queries it in OpRegion handler. WMI's _HID/_CID is PNP0C14. According to your output, acpi_wmi has successfully attached to 4 nodes. Verbosity can be reduced with attached patch if current level is too high for you. -- WBR Vladimir Kondratyev --=_f223c48cebd9d2186d47a843b4b786c1 Content-Transfer-Encoding: base64 Content-Type: text/x-diff; name=acpi_wmi.c.patch Content-Disposition: attachment; filename=acpi_wmi.c.patch; size=1160 ZGlmZiAtLWdpdCBhL3N5cy9kZXYvYWNwaV9zdXBwb3J0L2FjcGlfd21pLmMgYi9zeXMvZGV2L2Fj cGlfc3VwcG9ydC9hY3BpX3dtaS5jCmluZGV4IDM3OWNmZDE3MDVmMS4uMWZkZGNkNGYzNjM3IDEw MDY0NAotLS0gYS9zeXMvZGV2L2FjcGlfc3VwcG9ydC9hY3BpX3dtaS5jCisrKyBiL3N5cy9kZXYv YWNwaV9zdXBwb3J0L2FjcGlfd21pLmMKQEAgLTI0NSw4ICsyNDUsOSBAQCBhY3BpX3dtaV9hdHRh Y2goZGV2aWNlX3QgZGV2KQogCS8qIFhYWCBPbmx5IHdvcmtzIHdpdGggb25lIEVDLCBidXQgbmVh cmx5IGFsbCBzeXN0ZW1zIG9ubHkgaGF2ZSBvbmUuICovCiAJaWYgKChzYy0+ZWNfZGV2ID0gZGV2 Y2xhc3NfZ2V0X2RldmljZShkZXZjbGFzc19maW5kKCJhY3BpX2VjIiksIDApKQogCSAgICA9PSBO VUxMKQotCQlkZXZpY2VfcHJpbnRmKGRldiwgImNhbm5vdCBmaW5kIEVDIGRldmljZVxuIik7Ci0J ZWxzZSBpZiAoQUNQSV9GQUlMVVJFKChzdGF0dXMgPSBBY3BpSW5zdGFsbE5vdGlmeUhhbmRsZXIo c2MtPndtaV9oYW5kbGUsCisJCUFDUElfVlBSSU5UKGRldiwgYWNwaV9kZXZpY2VfZ2V0X3BhcmVu dF9zb2Z0YyhkZXYpLAorCQkgICAgImNhbm5vdCBmaW5kIEVDIGRldmljZVxuIik7CisJaWYgKEFD UElfRkFJTFVSRSgoc3RhdHVzID0gQWNwaUluc3RhbGxOb3RpZnlIYW5kbGVyKHNjLT53bWlfaGFu ZGxlLAogCQkgICAgQUNQSV9ERVZJQ0VfTk9USUZZLCBhY3BpX3dtaV9ub3RpZnlfaGFuZGxlciwg c2MpKSkpCiAJCWRldmljZV9wcmludGYoc2MtPndtaV9kZXYsICJjb3VsZG4ndCBpbnN0YWxsIG5v dGlmeSBoYW5kbGVyIC0gJXNcbiIsCiAJCSAgICBBY3BpRm9ybWF0RXhjZXB0aW9uKHN0YXR1cykp OwpAQCAtNzAxLDYgKzcwMiw4IEBAIGFjcGlfd21pX2VjX2hhbmRsZXIoVUlOVDMyIGZ1bmN0aW9u LCBBQ1BJX1BIWVNJQ0FMX0FERFJFU1MgYWRkcmVzcywKIAkJcmV0dXJuIChBRV9CQURfUEFSQU1F VEVSKTsKIAlpZiAoYWRkcmVzcyArICh3aWR0aCAvIDgpIC0gMSA+IDB4RkYpCiAJCXJldHVybiAo QUVfQkFEX0FERFJFU1MpOworCWlmIChzYy0+ZWNfZGV2ID09IE5VTEwpCisJCXJldHVybiAoQUVf Tk9UX0ZPVU5EKTsKIAlpZiAoZnVuY3Rpb24gPT0gQUNQSV9SRUFEKQogCQkqdmFsdWUgPSAwOwog CWVjX2FkZHIgPSBhZGRyZXNzOwo= --=_f223c48cebd9d2186d47a843b4b786c1-- From owner-freebsd-current@freebsd.org Tue Nov 17 13:19:20 2020 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 A459E2ECB9E for ; Tue, 17 Nov 2020 13:19:20 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from mail.in-addr.com (mail.in-addr.com [IPv6:2a01:4f8:191:61e8::2525:2525]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cb63W5qs1z4f5f for ; Tue, 17 Nov 2020 13:19:19 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from gjp by mail.in-addr.com with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1kf0t4-000GMq-Mj; Tue, 17 Nov 2020 13:19:10 +0000 Date: Tue, 17 Nov 2020 13:19:10 +0000 From: Gary Palmer To: Thomas Mueller Cc: freebsd-current@freebsd.org Subject: Re: in -current is svn still canonical? Message-ID: <20201117131910.GA46155@in-addr.com> References: <5fb33a11.1c69fb81.2d2a6.f92eSMTPIN_ADDED_MISSING@mx.google.com> <5fb35900.1c69fb81.7679c.a50eSMTPIN_ADDED_MISSING@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: gpalmer@freebsd.org X-SA-Exim-Scanned: No (on mail.in-addr.com); SAEximRunCond expanded to false X-Rspamd-Queue-Id: 4Cb63W5qs1z4f5f X-Spamd-Bar: / X-Spamd-Result: default: False [0.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 13:19:20 -0000 On Tue, Nov 17, 2020 at 09:25:32AM +0000, Thomas Mueller wrote: > from Warner Losh and my last message: > > > > Thanks for the information, but if you feel the need to send me a > > > not-quite-CC, please don't send me the multipart/alternative version when > > > you send the plain-text version to the list. > > > > I hate multipart/alternative! > > > I must apologize. Sadly, I use gmail, so I have no control over how it > > decides to encode things, sadly. I've tried in the past, and alas, nothing > > I've tried works for any length of time. Please forgive me whatever > > unspeakable MIME atrocities it sends on my behalf. I've removed you from > > the cc line in the hopes that the FreeBSD mail server cleans things up to > > be more to your liking. > > The message on the list had only the plain-text part. Either you sent it differently, or the list server stripped the HTML attachment. > The mailing list software is set to strip all non-plain-text content. This is why you sometimes see mails with no body content. The sender sent a mail which only had a HTML part and it was stripped, and without an alternate MIME part there was nothing to send. Regards, Gary From owner-freebsd-current@freebsd.org Tue Nov 17 13:21:22 2020 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 374552ECD55 for ; Tue, 17 Nov 2020 13:21:22 +0000 (UTC) (envelope-from yuripv@yuripv.dev) 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 4Cb65s6Rpcz4fYp for ; Tue, 17 Nov 2020 13:21:21 +0000 (UTC) (envelope-from yuripv@yuripv.dev) Received: by mailman.nyi.freebsd.org (Postfix) id DD2BC2ECDB8; Tue, 17 Nov 2020 13:21: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 DCEE72ED006 for ; Tue, 17 Nov 2020 13:21:21 +0000 (UTC) (envelope-from yuripv@yuripv.dev) Received: from new4-smtp.messagingengine.com (new4-smtp.messagingengine.com [66.111.4.230]) (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 4Cb65s5gyGz4fJ6 for ; Tue, 17 Nov 2020 13:21:21 +0000 (UTC) (envelope-from yuripv@yuripv.dev) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.nyi.internal (Postfix) with ESMTP id 13C46580259; Tue, 17 Nov 2020 08:21:21 -0500 (EST) Received: from imap22 ([10.202.2.72]) by compute1.internal (MEProxy); Tue, 17 Nov 2020 08:21:21 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudeffedgheduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreertdenucfhrhhomhepfdgjuhhr ihcurfgrnhhkohhvfdcuoeihuhhrihhpvheshihurhhiphhvrdguvghvqeenucggtffrrg htthgvrhhnpeelhfevtdefkeffveehudetkeeggfeuiedvvddvudegudefveeljeffgeel gfevteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe ihuhhrihhpvheshihurhhiphhvrdguvghv X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 3AD0A6680078; Tue, 17 Nov 2020 08:21:20 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-622-g4a97c0b-fm-20201115.001-g4a97c0b3 Mime-Version: 1.0 Message-Id: In-Reply-To: <274d456e15ce621889bfe9e7eda190da@kondratyev.su> References: <7dc142d3-1e0b-41d4-bdb4-7217bd09bbef@www.fastmail.com> <7b80877ae59fdd90f2f3b5dbf3db2113@kondratyev.su> <5bb9ac64-ebab-4d22-8a43-1305b16f28cd@www.fastmail.com> <274d456e15ce621889bfe9e7eda190da@kondratyev.su> Date: Tue, 17 Nov 2020 16:20:59 +0300 From: "Yuri Pankov" To: "Vladimir Kondratyev" Cc: current@freebsd.org Subject: Re: acpi_wmi noisy without EC Content-Type: text/plain X-Rspamd-Queue-Id: 4Cb65s5gyGz4fJ6 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 13:21:22 -0000 On Tue, Nov 17, 2020, at 4:00 PM, Vladimir Kondratyev wrote: > On 2020-11-17 15:29, Yuri Pankov wrote: > > On Tue, Nov 17, 2020, at 11:07 AM, Vladimir Kondratyev wrote: > >> On 2020-11-17 10:57, Vladimir Kondratyev wrote: > >> > On 2020-11-17 03:00, Yuri Pankov wrote: > >> >> I have started seeing the following on boot since some time: > >> >> > >> >> acpi_wmi0: on acpi0 > >> >> acpi_wmi0: cannot find EC device > >> >> device_attach: acpi_wmi0 attach returned 6 > >> >> acpi_wmi0: on acpi0 > >> >> acpi_wmi0: cannot find EC device > >> >> device_attach: acpi_wmi0 attach returned 6 > >> >> acpi_wmi0: on acpi0 > >> >> acpi_wmi0: cannot find EC device > >> >> device_attach: acpi_wmi0 attach returned 6 > >> >> acpi_wmi0: on acpi0 > >> >> acpi_wmi0: cannot find EC device > >> >> device_attach: acpi_wmi0 attach returned 6 > >> >> > >> >> Likely following this commit: > >> >> > >> >> commit 708d048ccfdacf6199cc08a56aa05a9c899441fd > >> >> Author: Vladimir Kondratyev > >> >> Date: Sat Oct 31 22:19:39 2020 +0000 > >> >> > >> >> acpi_wmi(4): Add ACPI_PNP_INFO > >> >> > >> >> While the reason is obvious -- there's no EC in this system (Gigabyte > >> >> X299X AORUS MASTER desktop motherboard), at least searching the > >> >> `acpidump -dt` output doesn't show any PNP0C09 entries -- it certainly > >> >> looks like "something is broken" when first noticed. I wonder if we > >> >> could/should handle this gracefully -- no EC, do nothing, simply exit? > >> > > >> > Following patch should ignore missing EC like Linux does. Could you > >> > test it? > >> > > >> > diff --git a/sys/dev/acpi_support/acpi_wmi.c > >> > b/sys/dev/acpi_support/acpi_wmi.c > >> > index 379cfd1705f1..efae96cdcc9a 100644 > >> > --- a/sys/dev/acpi_support/acpi_wmi.c > >> > +++ b/sys/dev/acpi_support/acpi_wmi.c > >> > @@ -246,7 +246,7 @@ acpi_wmi_attach(device_t dev) > >> > if ((sc->ec_dev = devclass_get_device(devclass_find("acpi_ec"), 0)) > >> > == NULL) > >> > device_printf(dev, "cannot find EC device\n"); > >> > - else if (ACPI_FAILURE((status = > >> > AcpiInstallNotifyHandler(sc->wmi_handle, > >> > + if (ACPI_FAILURE((status = AcpiInstallNotifyHandler(sc->wmi_handle, > >> > ACPI_DEVICE_NOTIFY, acpi_wmi_notify_handler, sc)))) > >> > device_printf(sc->wmi_dev, "couldn't install notify handler - %s\n", > >> > AcpiFormatException(status)); > >> > @@ -701,6 +701,8 @@ acpi_wmi_ec_handler(UINT32 function, > >> > ACPI_PHYSICAL_ADDRESS address, > >> > return (AE_BAD_PARAMETER); > >> > if (address + (width / 8) - 1 > 0xFF) > >> > return (AE_BAD_ADDRESS); > >> > + if (sc->ec_dev == NULL) > >> > + return (AE_NOT_FOUND); > >> > if (function == ACPI_READ) > >> > *value = 0; > >> > ec_addr = address; > >> > >> @#@##! Web client ate all the tabs. > >> > >> Patch is in attachment. > > > > Output changed, though it's still somewhat noisy -- I guess there > > isn't a way to NOT report the device that we are not going to attach > > to, or do that e.g. only for verbose boot? > > > > acpi_wmi0: on acpi0 > > acpi_wmi0: cannot find EC device > > acpi_wmi0: Embedded MOF found > > ACPI: \134GSA1.WQCC: 1 arguments were passed to a non-method ACPI > > object (Buffer) (20201113/nsarguments-361) > > acpi_wmi1: on acpi0 > > acpi_wmi1: cannot find EC device > > acpi_wmi2: on acpi0 > > acpi_wmi2: cannot find EC device > > acpi_wmi3: on acpi0 > > acpi_wmi3: cannot find EC device > > acpi_wmi does not try to attach to EC node (PNP0C09). It only queries it > in OpRegion handler. > WMI's _HID/_CID is PNP0C14. According to your output, acpi_wmi has > successfully attached to 4 nodes. Oh great, I misunderstood then. And indeed, sysctl -b dev.acpi_wmi.0.bmof | bmf2mof provides some interesting information. All other 3 instances do not though. In any case, it seems to work now. > Verbosity can be reduced with attached patch if current level is too > high for you. Works for me both ways, I simply had the wrong impression that if we don't have EC, we can't attach at all. From owner-freebsd-current@freebsd.org Tue Nov 17 17:20:36 2020 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 3FBEB469E0F for ; Tue, 17 Nov 2020 17:20:36 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CbCPv0ygXz4vSL for ; Tue, 17 Nov 2020 17:20:34 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: by mail-ej1-x631.google.com with SMTP id 7so30516864ejm.0 for ; Tue, 17 Nov 2020 09:20: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:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=jW8iVdPHedcFmfLP1jOAWfY7mleVvnslqX/Zybq/WBM=; b=bRls3WDqfJicNwhLjjpOMKtsZQB4ppVSDzB88p8oLjROC3YSnf4iYXjyIlzCQHFqH7 g2KscuC1SDHOEzOsEfrT1hkVEdsci+PGDdr/Wsk6rJhrj3oPHAfhppS6W8zNBrzvpIW1 0XSxegXzU/VFupf4nWbholq83BgQyAKz5tc/xVnsDiuW7yNmHgMIIXEVTadIPWVnnnED mVUVMT25kwGN9JxbRjGsxRlQeVtm01sV4mgl4t6BZAyKYRsbjZ/EnKZGBGeXgCpb8wu5 cK/ptTuTJa9yw5wk84xqfl3eDaZDUFXWdpEMydiC9H0KbIH7k07RWuAsy5MmNIMOgjN5 pZ5Q== X-Gm-Message-State: AOAM5301K+iKvXJf0xOaIA7pZnftBWd6M4mqslFgiAOipXM9UNrbEJIw QQip8cjZOEbP8ffhEBGVy1E5dv2hrkc= X-Google-Smtp-Source: ABdhPJyliM2fktViLf9nvvSHq/zakROrw0GEUJSap7+GJHUkm2pprz/sO3uqZ/D+v+OCONWJrYZvWw== X-Received: by 2002:a17:906:13d2:: with SMTP id g18mr1883073ejc.76.1605633633179; Tue, 17 Nov 2020 09:20:33 -0800 (PST) Received: from MacBook-Pro-van-Johan.local (85-147-130-226.cable.dynamic.v4.ziggo.nl. [85.147.130.226]) by smtp.gmail.com with ESMTPSA id dn16sm12269325edb.19.2020.11.17.09.20.32 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 17 Nov 2020 09:20:32 -0800 (PST) To: freebsd-current@freebsd.org From: Johan Hendriks Subject: Samba kernel panics. Message-ID: Date: Tue, 17 Nov 2020 18:20:31 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.4.3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4CbCPv0ygXz4vSL X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.98 / 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]; NEURAL_HAM_SHORT(-0.98)[-0.977]; 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)[]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::631:from]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::631:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::631:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 17:20:36 -0000 Hello all after updating FreeBSD13 from r367724 to r367755 my samba server craches the server. I did rebuild samba 4.11 but that does not help. The output on the console is the following. Fatal trap 12: page fault while in kernel mode cpuid =3; apic id = 06 fault virtual address    = 0x803a122b8 fault code                   = supervisor read instruction, protection violation instruction pointer      = 0x20:0x803a122b8 stack pointer               = 0x28:0xfffffe0127733a50 frame pointer              = 0x28:0x803a122b0 code segment             = base 0x0, limit 0xfffff, type 0x1b                                    = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags          = 17340 (smbd) trap number                = 12 panic: page fault cpuid =3 time = 1605632521 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_setf_wrapper+0x2b/frame 0xfffffe0127733700 vpanic() at vpanic+0x182/frame 0xfffffe0127733750 panic() at panic+0x43/frame 0xfffffe01277337b0 trap_fatal() at trap_fatal+0x387/frame 0xfffffe0127733810 trap_pfault() at trap_pfault+0x4f/frame 0xfffffe0127733870 trap() at trap+0x27d/frame 0xfffffe0127733980 calltrap() at caltrap+0x8/frame 0xfffffe0127733980 --- trap 0xc, rip = 0x803a122b8, rsp = 0xfffffe0127733a50, rbp = 0x803a122b0 --- KDB: enter: panic [ thread pid 17340 tid 101772 ] stopped at        kdb_enter+0x37: movq     $0,0x1fa9446(%rip) db> regards, Johan From owner-freebsd-current@freebsd.org Tue Nov 17 17:58:05 2020 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 82F6346AB53 for ; Tue, 17 Nov 2020 17:58:05 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CbDF91RM5z3Dsg for ; Tue, 17 Nov 2020 17:58:05 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mailman.nyi.freebsd.org (Postfix) id 3148B46AC91; Tue, 17 Nov 2020 17:58:05 +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 310CF46AC90 for ; Tue, 17 Nov 2020 17:58:05 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CbDF90nKyz3DqN for ; Tue, 17 Nov 2020 17:58:04 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x732.google.com with SMTP id d9so21376268qke.8 for ; Tue, 17 Nov 2020 09:58:04 -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=7fQddj9UvubTNY87fA8KYca4UpYNWcP1efmfTqvlWso=; b=iYWS1W1QZXp6pRdn8p9RSJgtEvEnoqEBrA2XvBM/hJ7wCpnILCMLxOW6DofxQlAtfG WMKjbVa9BaaFeVpM9YvOS0UxePPIiqCbutBhmxBc+KGxQMXbh8eQnDkBCgy2Dofm/STg m0DoNc8uT40oPVM9peMbzbXjU6M+cMp/xYzCy2F0KuZD0ULZSyzv1zwVmeR2IUy2qSIM W/MkIpbFIt6RwsYp0rcTd4KateXiDIqD9pQh68ybgGnZN3Vhb92bCzb8Ph1wKVBVQU1E rHCAK5dx3mM05ZOXNDofBUwEJcdeydjcRzGBTycjXvmxLbx1Jx5CAcDqWaRykydbrWUW xS2Q== X-Gm-Message-State: AOAM531d60r3OuRN/dFBQ7VZVKfLpMgrNIA+K4veE+p2yQva5Z52l3bb jJx42eowAtaVFypHxBo/jKqvzT9pG8MtlqEZs29nMMdfNlyQM798 X-Google-Smtp-Source: ABdhPJwkqLplSnRHxWW+5Nvkt11vRszdVOa8Z1nT6lblyXGjLQHu8ji8vs3OcWrGB+OItwGk/v6QkM3xuH1tps9y6MY= X-Received: by 2002:a37:e207:: with SMTP id g7mr801385qki.44.1605635882715; Tue, 17 Nov 2020 09:58:02 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Tue, 17 Nov 2020 10:57:51 -0700 Message-ID: Subject: Re: in -current is svn still canonical? To: Jeffrey Bouquet Cc: current X-Rspamd-Queue-Id: 4CbDF90nKyz3DqN X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 17:58:05 -0000 On Tue, Nov 17, 2020 at 4:04 AM Jeffrey Bouquet wrote: > > > On Tue, 17 Nov 2020 02:48:32 +0000, "Thomas Mueller" > wrote: > > > from tech-lists: > > > > > As subject - is svn still canonical for -current or is it git now? > > > If it's not git now, when roughly is the intended switch? > > > > I recently updated FreeBSD doc, ports, src (current), and src12 > (12-stable) using svn (not svnup or svnlite). > > > > But I read some time before that, FreeBSD current source would go on > git, while other src trees (non-current), ports and doc would stay with svn > for the time being, until git on current src is further tested and > stabilized. > > > > .................................................................................................. > Can this be put up in a wiki page as well as in each UPDATING, referencing > the wiki page? > something like > > src - current dec 2020 now svn up /usr/src ... git > .... svn cleanup .... git ... [ other svn-git... > src - stable may 2021 dec 2020 svn up /usr/ports > src -release july 2021 > ports dec 2021 > doc dec 2021 > > and an additional column as to when svn will become obsolete for each > respository? > and maybe an additional wiki page with all the svn > git translations one > can reasonably presume to > be of use ? > We'll make sure that the plans are clear. All this history has been preserved, modulo some really weird things that were done back in the CVS era with repo copies. We have a 'beta' version of this available today. I'll write up something that has these basic details in it. I've been focusing on the harder stuff. For now, though, you might want to look at https://github.com/bsdimp/freebsd-git-docs/ for the docs we do have, especially https://github.com/bsdimp/freebsd-git-docs/blob/main/mini-primer.md which should answer most of your questions. Warner Warner From owner-freebsd-current@freebsd.org Tue Nov 17 18:05:26 2020 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 D501F46B1DF for ; Tue, 17 Nov 2020 18:05:26 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qv1-xf32.google.com (mail-qv1-xf32.google.com [IPv6:2607:f8b0:4864:20::f32]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CbDPd6Gv0z3Fb4 for ; Tue, 17 Nov 2020 18:05:25 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qv1-xf32.google.com with SMTP id y11so11107432qvu.10 for ; Tue, 17 Nov 2020 10:05:25 -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; bh=L90xknWZq5CBKTfncmg9Y4EHOld4vXbeBDpjjDwK3F0=; b=pqYfGbop0iW798OT86RjG8ASGGOPm9t4iUHxKxq06ESnXqPxbC2fGzTtz+x/cdIqja IoUvTTifWH7sUasHy8+E2rtH2xe1Sn83L5/zYy+/Uy2Hf8oaXWlaH5ryfaV6ez+2mUiP XZvzkVrQUChbDtSGFOYh8DLddoavvkcxrv8m/F7SJkT8kABNX47XuxrXFFBM3l2bjwoD DWEJwGhFLs1QncsrFFKJ5Y8+NqnDr9ZkEvGP/ISnlHmTI0csZhRwErxMPQUZKW0d5YIK 9D8v4S6aChJkj57+if7tZBttijWHBhGdvV8uENf4KXn7smuxXH7K5+lTquya0AxVsuLC qu7Q== X-Gm-Message-State: AOAM531uzzyLLeDSnzYyCYc4ETXDhb0aFSg0XRYpn6hs1KyUuOPpaLqW Ll9+PwiVOO1wkB/ac7Fh9X14O13IDqweEIxI4sCAMiqmkucArTvl X-Google-Smtp-Source: ABdhPJwDO1UrFOtRGSzYu5ihlm/9CfevH9ss8UekT3re4RbJiETwO3b5QWiHUDwa4MSpXaeJmqGMdTmeGrercxilS2k= X-Received: by 2002:ad4:4743:: with SMTP id c3mr864729qvx.62.1605636324737; Tue, 17 Nov 2020 10:05:24 -0800 (PST) MIME-Version: 1.0 References: <5fb33a11.1c69fb81.2d2a6.f92eSMTPIN_ADDED_MISSING@mx.google.com> <5fb35900.1c69fb81.7679c.a50eSMTPIN_ADDED_MISSING@mx.google.com> <20201117061327.GA2478@r314251-amd64> In-Reply-To: <20201117061327.GA2478@r314251-amd64> From: Warner Losh Date: Tue, 17 Nov 2020 11:05:13 -0700 Message-ID: Subject: Re: in -current is svn still canonical? To: Matthias Apitz , FreeBSD Current X-Rspamd-Queue-Id: 4CbDPd6Gv0z3Fb4 X-Spamd-Bar: / X-Spamd-Result: default: False [-1.00 / 15.00]; URI_COUNT_ODD(1.00)[1]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-0.995]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::f32:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::f32:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::f32:from]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 18:05:26 -0000 On Mon, Nov 16, 2020 at 11:13 PM Matthias Apitz wrote: > El d=C3=ADa lunes, noviembre 16, 2020 a las 10:32:38p. m. -0700, Warner L= osh > escribi=C3=B3: > > > For the supported stable branches, you'll be able to download via > > subversion and switch over at any time before the end of project suppor= t > > for the branch. > > > > However, when you make the switch to git (either due to the flag day an= d > > tracking -current, or jumping from svn on a stable branch), there's no > tool > > to convert the subversion checked out tree to a git tree. The needed > > information needed to create the git tree isn't easily available from t= he > > subversion checkout, so you'll need to do a git clone. If bandwidth is = a > > problem, you can do a shallow clone that omits all the history and just > > grabs the branch of interest. Git is a bit more link efficient than > > subversion, which is helpful. Git also has ways to help you share one > local > > repo across checked out versions, which can also help if you have to > track > > multiple branches. > > > > > > Warner, please forgive me my nearly off-topic question: When we move to > git, will this conserve all the FreeBSD svn history of ci's somehow? Can > you please point me to a document about FreeBSD's transition from svn to > git? > Yes. The history is preserved. As an aside, we've been exporting a git tree for a while now, but it has so many issues in it that we decided to redo the export to fix them. They weren't apparent in day-to-day grabbing of the sources. However, when you went to do vendor-branch stuff or anything at all complicated, the issues were so bad that we decided to fix them. For docs, I'd start here: https://github.com/bsdimp/freebsd-git-docs/blob/main/mini-primer.md but in general https://github.com/bsdimp/freebsd-git-docs/blob/main/ has interesting docs that I'm working on. These are rough drafts for handbook chapters. Since docs is migrating from DocBook to AsciiDoc, I did them in markdown. Please let me know if there's bits that are missing that would be helpful to add, or drop a pull request if you think you can improve the wording of sections... Warner From owner-freebsd-current@freebsd.org Tue Nov 17 18:10:24 2020 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 2A6C946B34D for ; Tue, 17 Nov 2020 18:10:24 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CbDWK6zRwz3FfT for ; Tue, 17 Nov 2020 18:10:21 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x735.google.com with SMTP id n132so21465781qke.1 for ; Tue, 17 Nov 2020 10:10:21 -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:cc; bh=02c6Bj5iDQ7Oro3qID+ohVFE1bSZM5xDnBhG4CT8AOE=; b=ISKU9VB4d4qRxdDUq/TZwiEunQQCJxf9ru97v+4kTgEfbv/mftcXbFPNekhCdL7Tna Iu/EeUc4kXK86LZ/s619nIHHXfG9o+FKe/Le/Plfz1LD/UMKHLDC8SDkwWggEZyjBMzr kerMzRjBnmnmJ6mVcdFOVsj7+Sal58ixVs05YcwTX9SMkY3PMEvqvDRry06qTCVLwx8o CvxyzuDgYoZZTpK78J/xYXapCxFXI5fr0JzZYwgAPeuTuTaeQtJ4CmIOibXWGsK3Jy8Y GnBuaakz0nqGJAt1oFf8o/wgZjmcYA4RH5x/vQzSubAJed6sHGnGCQ7xgW5bq3YJmKSG +fvA== X-Gm-Message-State: AOAM533oiPs0PJ1NjDzuO3ROn9EgKPVyKq04sNoWa0su3kFyKmMpNtdv EnbLH9iFNgJFSDLwBtTKCOp/DuXJV/L7os30p+WTuFAGyph3yA== X-Google-Smtp-Source: ABdhPJwZy/WBRNrojx6aONcw+tyAtf1FtgE4akHdNUPMsn16RRXwzgUkBWQJMz8wTPXzfrr9p9ThwZDBZQCmXBz0DHo= X-Received: by 2002:a37:6307:: with SMTP id x7mr778934qkb.195.1605636620622; Tue, 17 Nov 2020 10:10:20 -0800 (PST) MIME-Version: 1.0 References: <5fb33a11.1c69fb81.2d2a6.f92eSMTPIN_ADDED_MISSING@mx.google.com> <5fb35900.1c69fb81.7679c.a50eSMTPIN_ADDED_MISSING@mx.google.com> <5fb3971e.1c69fb81.8dcdf.5385SMTPIN_ADDED_MISSING@mx.google.com> In-Reply-To: <5fb3971e.1c69fb81.8dcdf.5385SMTPIN_ADDED_MISSING@mx.google.com> From: Warner Losh Date: Tue, 17 Nov 2020 11:10:09 -0700 Message-ID: Subject: Re: in -current is svn still canonical? Cc: FreeBSD Current X-Rspamd-Queue-Id: 4CbDWK6zRwz3FfT X-Spamd-Bar: + X-Spamd-Result: default: False [1.51 / 15.00]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; MISSING_TO(2.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::735:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::735:from:127.0.2.255]; NEURAL_SPAM_SHORT(0.51)[0.509]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::735:from]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 18:10:24 -0000 On Tue, Nov 17, 2020 at 2:25 AM Thomas Mueller wrote: > from Warner Losh and my last message: > > > > Thanks for the information, but if you feel the need to send me a > > > not-quite-CC, please don't send me the multipart/alternative version > when > > > you send the plain-text version to the list. > > > > I hate multipart/alternative! > > > I must apologize. Sadly, I use gmail, so I have no control over how it > > decides to encode things, sadly. I've tried in the past, and alas, > nothing > > I've tried works for any length of time. Please forgive me whatever > > unspeakable MIME atrocities it sends on my behalf. I've removed you from > > the cc line in the hopes that the FreeBSD mail server cleans things up > to > > be more to your liking. > > The message on the list had only the plain-text part. Either you sent it > differently, or the list server stripped the HTML attachment. > > > > When git becomes the source of truth on FreeBSD after the flag day, > will > > > it be necessary to git-clone the whole tree from scratch, or will > there be > > > a conversion tool to switch the svn download to proper git format? > > > > For the supported stable branches, you'll be able to download via > > subversion and switch over at any time before the end of project support > > for the branch. > > I suppose this applies only to the current stable branches (11 and 12) but > not to future stable branches, beginning with 13? > Correct. It's a migration aid for people that have svn tooling based on the supported FreeBSD branches. Future branches, as well as the main development branch, will be in git only. > > However, when you make the switch to git (either due to the flag day and > > tracking -current, or jumping from svn on a stable branch), there's no > tool > > to convert the subversion checked out tree to a git tree. The needed > > information needed to create the git tree isn't easily available from the > > subversion checkout, so you'll need to do a git clone. If bandwidth is a > > problem, you can do a shallow clone that omits all the history and just > > grabs the branch of interest. Git is a bit more link efficient than > > subversion, which is helpful. Git also has ways to help you share one > local > > repo across checked out versions, which can also help if you have to > track > > multiple branches. > > I suppose I would then git-clone the current/13 src tree separately and > delete the svn version. > Yes. If you have the space, I'd grab new sources from git, make sure they are good and then delete the svn version once you've made the switch. > > > The doc tree is much smaller than the src tree, while the ports tree is > > > much bigger than the src tree. Is that the reason for the > few-months-long > > > lag switching the ports trree to git? > > > > There's a couple of things that make it trickier. The ports tree does > > quarterly branches. So there's a window around the quarterly branch when > > it's easiest to make the switch. In addition, the character of the files > in > > the ports tree differs from src. Unlike subversion, git infers copies, > > moves, etc. The mostly similar nature of the ports tree is likely to > cause > > git grief when ports are copied, resurrected from the attic, etc. The > ports > > folks are still figuring out how to best use git to track the history > they > > need to track without creating undue issues. It's not clear if that will > > all be sorted out before the next window in December, or if they will > have > > to defer until March. This is why I hedged a bit as to the exact time, > > since it's not been nailed down yet. So it's not so much the size, as the > > difference in makeup and character between the two trees. The doc tree > is, > > as you point out, much smaller, less active and its needs are more modest > > and largely mirror the src tree, so it can be done quickly at any time. > > > Warner > > Now I see the reason for timing the switch of the ports tree from svn to > git. > > I never tracked the quarterly ports tree, just as I never followed the > quarterly (NetBSD) pkgsrc, only the current version. > > NetBSD is readying to switch src trees and pkgsrc from cvs to hg > (Mercurial), but it takes some time to prepare and not mess things up. > > I am under the impression that they intend to switch everything over at > once when ready. > > Pkgsrc has both current and quarterly, so maybe they will have issues > similar to FreeBSD ports on switching to hg. > > I have git installed on both FreeBSD and NetBSD, but no Mercurial. > > As far as I can see, git repositories greatly outnumber mercurial > repositories. > Yea. Mercurial is interesting too. It's got a saner CLI command set than git (though, honestly, that's a low bar), but doesn't have as many of the easy history rewriting tools that git does and isn't as forgiving to 'oopses' in the middle of complex operations. In researching open source repos, I found that maybe 85% were git, 10% were svn and 2% mercurial and 3% other, though the numbers were quite noisy. Warner From owner-freebsd-current@freebsd.org Tue Nov 17 18:19:23 2020 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 5F15346BB4B for ; Tue, 17 Nov 2020 18:19:23 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CbDjj0HFJz3GZg for ; Tue, 17 Nov 2020 18:19:20 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.16.1/8.16.1) with ESMTPS id 0AHIJCfm088394 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 17 Nov 2020 20:19:15 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 0AHIJCfm088394 Received: (from kostik@localhost) by tom.home (8.16.1/8.16.1/Submit) id 0AHIJCfm088393; Tue, 17 Nov 2020 20:19:12 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 17 Nov 2020 20:19:12 +0200 From: Konstantin Belousov To: Johan Hendriks Cc: freebsd-current@freebsd.org Subject: Re: Samba kernel panics. Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit 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.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on tom.home X-Rspamd-Queue-Id: 4CbDjj0HFJz3GZg X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.47 / 15.00]; RCVD_TLS_ALL(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; SPAMHAUS_ZRD(0.00)[2001:470:d5e7:1::1:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:470:d5e7:1::1:from]; NEURAL_HAM_SHORT(-0.47)[-0.470]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; 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]; MAILMAN_DEST(0.00)[freebsd-current]; 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.34 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 Nov 2020 18:19:23 -0000 On Tue, Nov 17, 2020 at 06:20:31PM +0100, Johan Hendriks wrote: > Hello all after updating FreeBSD13 from r367724 to r367755 my samba server > craches the server. > I did rebuild samba 4.11 but that does not help. > > The output on the console is the following. > > Fatal trap 12: page fault while in kernel mode > cpuid =3; apic id = 06 > fault virtual address    = 0x803a122b8 > fault code                   = supervisor read instruction, protection > violation > instruction pointer      = 0x20:0x803a122b8 > stack pointer               = 0x28:0xfffffe0127733a50 > frame pointer              = 0x28:0x803a122b0 > code segment             = base 0x0, limit 0xfffff, type 0x1b >                                    = DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags          = 17340 (smbd) > trap number                = 12 > panic: page fault > cpuid =3 > time = 1605632521 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_setf_wrapper+0x2b/frame > 0xfffffe0127733700 > vpanic() at vpanic+0x182/frame 0xfffffe0127733750 > panic() at panic+0x43/frame 0xfffffe01277337b0 > trap_fatal() at trap_fatal+0x387/frame 0xfffffe0127733810 > trap_pfault() at trap_pfault+0x4f/frame 0xfffffe0127733870 > trap() at trap+0x27d/frame 0xfffffe0127733980 > calltrap() at caltrap+0x8/frame 0xfffffe0127733980 > --- trap 0xc, rip = 0x803a122b8, rsp = 0xfffffe0127733a50, rbp = 0x803a122b0 > --- > KDB: enter: panic > [ thread pid 17340 tid 101772 ] > stopped at        kdb_enter+0x37: movq     $0,0x1fa9446(%rip) > db> This looks like SMEP catching an issue, but it is not clear why. Did you clean rebuild of the kernel ? What filesystems types do you use ? Can you bisect ? I would actually suspect not clean rebuild after recent changes to kern_event.c. From owner-freebsd-current@freebsd.org Wed Nov 18 04:01:11 2020 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 19B76477CAB for ; Wed, 18 Nov 2020 04:01:11 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-qk1-x741.google.com (mail-qk1-x741.google.com [IPv6:2607:f8b0:4864:20::741]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CbTd22GXXz4bvp for ; Wed, 18 Nov 2020 04:01:10 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-qk1-x741.google.com with SMTP id 199so565641qkg.9 for ; Tue, 17 Nov 2020 20:01:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to; bh=MNgmM8aXYxMg/0ap0711N7ES7UQkKYCu9CAcPBUQ8SA=; b=euqlROl/TWfATocBkL54Hq5RXPGy6z6U9DFvIXHdPqFQHbHOCql+I7kWSOabZVOPFn KqVUaQ8Ivu5sZ5pFwqTPO2LSjijSMa88JkLEaaJv6ep8vYnXHSkQJQVBS3Mdd0nsspdu AMDQjwAlwikcReTqYlSKy+BtIKH668T8ws0oA2Sh5u9UeKK2XQZ8JtAGePCcnFfxrGpk EIYsBUJ5PM3uppONu4JzDfYuK9zJm+2g3o1g35G7TMsF7FVgEVBpLpXHQE8ryyeinlY5 Fvo0b0M4BZrLXwrwBaYw3xEiaLqpYjo0T0wrW6u3UFSscSaAx/TXMZp98tphaJFm+xOl zPxw== X-Gm-Message-State: AOAM533ve8nuQioZnj6lM+VS2vH4EuFqPObikpfxMODklRhyq6JXJZsD uUCiByoenlxdG6LH6s1viKg1iH79wXw= X-Google-Smtp-Source: ABdhPJzQ3S7YyhhiQUYzeUYvFXXe8rCxIa067n2h8QYBOVDORRe7v5R0jKqwgss7XyFiIxSen3Slkg== X-Received: by 2002:ae9:eb10:: with SMTP id b16mr3025984qkg.494.1605672069451; Tue, 17 Nov 2020 20:01:09 -0800 (PST) Received: from raichu ([142.126.164.150]) by smtp.gmail.com with ESMTPSA id o5sm15174420qtt.60.2020.11.17.20.01.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Nov 2020 20:01:08 -0800 (PST) Sender: Mark Johnston Date: Tue, 17 Nov 2020 23:01:06 -0500 From: Mark Johnston To: Konstantin Belousov Cc: Johan Hendriks , freebsd-current@freebsd.org Subject: Re: Samba kernel panics. Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Rspamd-Queue-Id: 4CbTd22GXXz4bvp X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[gmail.com]; FORGED_SENDER(0.30)[markj@freebsd.org,markjdb@gmail.com]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[markj@freebsd.org,markjdb@gmail.com]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::741:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::741:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::741:from]; MID_RHS_NOT_FQDN(0.50)[]; FREEMAIL_CC(0.00)[gmail.com,freebsd.org]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 04:01:11 -0000 On Tue, Nov 17, 2020 at 08:19:12PM +0200, Konstantin Belousov wrote: > On Tue, Nov 17, 2020 at 06:20:31PM +0100, Johan Hendriks wrote: > > Hello all after updating FreeBSD13 from r367724 to r367755 my samba server > > craches the server. > > I did rebuild samba 4.11 but that does not help. > > > > The output on the console is the following. > > > > Fatal trap 12: page fault while in kernel mode > > cpuid =3; apic id = 06 > > fault virtual address = 0x803a122b8 > > fault code = supervisor read instruction, protection > > violation > > instruction pointer = 0x20:0x803a122b8 > > stack pointer = 0x28:0xfffffe0127733a50 > > frame pointer = 0x28:0x803a122b0 > > code segment = base 0x0, limit 0xfffff, type 0x1b > > = DPL 0, pres 1, long 1, def32 0, gran 1 > > processor eflags = 17340 (smbd) > > trap number = 12 > > panic: page fault > > cpuid =3 > > time = 1605632521 > > KDB: stack backtrace: > > db_trace_self_wrapper() at db_trace_setf_wrapper+0x2b/frame > > 0xfffffe0127733700 > > vpanic() at vpanic+0x182/frame 0xfffffe0127733750 > > panic() at panic+0x43/frame 0xfffffe01277337b0 > > trap_fatal() at trap_fatal+0x387/frame 0xfffffe0127733810 > > trap_pfault() at trap_pfault+0x4f/frame 0xfffffe0127733870 > > trap() at trap+0x27d/frame 0xfffffe0127733980 > > calltrap() at caltrap+0x8/frame 0xfffffe0127733980 > > --- trap 0xc, rip = 0x803a122b8, rsp = 0xfffffe0127733a50, rbp = 0x803a122b0 > > --- > > KDB: enter: panic > > [ thread pid 17340 tid 101772 ] > > stopped at kdb_enter+0x37: movq $0,0x1fa9446(%rip) > > db> > > This looks like SMEP catching an issue, but it is not clear why. Probably fixed by r367783? The bug would have partially overwritten the stack frame, resulting in a jump to a user address after a return. > Did you clean rebuild of the kernel ? > > What filesystems types do you use ? > > Can you bisect ? I would actually suspect not clean rebuild after recent > changes to kern_event.c. From owner-freebsd-current@freebsd.org Wed Nov 18 04:53:16 2020 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 416D82E20D3 for ; Wed, 18 Nov 2020 04:53:16 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CbVn81P63z4g65; Wed, 18 Nov 2020 04:53:16 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qk1-f177.google.com (mail-qk1-f177.google.com [209.85.222.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 1E4D224827; Wed, 18 Nov 2020 04:53:16 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qk1-f177.google.com with SMTP id n132so714753qke.1; Tue, 17 Nov 2020 20:53:16 -0800 (PST) X-Gm-Message-State: AOAM533tAkHL+TVF3N/WYleS2BmYFTibixMcpYtMfT4o+h/fkm6Ezw+q 2w+jvv0XBgjXunr784QS0zmIicKXSA7ApVyjkWY= X-Google-Smtp-Source: ABdhPJyo6o77DaVhxaBgmsLNDNAF95lPqKk77/50EfdBhS/CU5Fqk8Pno6B7p9GCiF7e8vNDUISZ4iNtjQMrLK9UpfQ= X-Received: by 2002:a37:9883:: with SMTP id a125mr3224019qke.430.1605675195650; Tue, 17 Nov 2020 20:53:15 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Kyle Evans Date: Tue, 17 Nov 2020 22:53:04 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Samba kernel panics. To: Mark Johnston Cc: Konstantin Belousov , Johan Hendriks , FreeBSD Current Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 04:53:16 -0000 On Tue, Nov 17, 2020 at 10:01 PM Mark Johnston wrote: > > On Tue, Nov 17, 2020 at 08:19:12PM +0200, Konstantin Belousov wrote: > > On Tue, Nov 17, 2020 at 06:20:31PM +0100, Johan Hendriks wrote: > > > Hello all after updating FreeBSD13 from r367724 to r367755 my samba server > > > craches the server. > > > I did rebuild samba 4.11 but that does not help. > > > > > > The output on the console is the following. > > > > > > Fatal trap 12: page fault while in kernel mode > > > cpuid =3; apic id = 06 > > > fault virtual address = 0x803a122b8 > > > fault code = supervisor read instruction, protection > > > violation > > > instruction pointer = 0x20:0x803a122b8 > > > stack pointer = 0x28:0xfffffe0127733a50 > > > frame pointer = 0x28:0x803a122b0 > > > code segment = base 0x0, limit 0xfffff, type 0x1b > > > = DPL 0, pres 1, long 1, def32 0, gran 1 > > > processor eflags = 17340 (smbd) > > > trap number = 12 > > > panic: page fault > > > cpuid =3 > > > time = 1605632521 > > > KDB: stack backtrace: > > > db_trace_self_wrapper() at db_trace_setf_wrapper+0x2b/frame > > > 0xfffffe0127733700 > > > vpanic() at vpanic+0x182/frame 0xfffffe0127733750 > > > panic() at panic+0x43/frame 0xfffffe01277337b0 > > > trap_fatal() at trap_fatal+0x387/frame 0xfffffe0127733810 > > > trap_pfault() at trap_pfault+0x4f/frame 0xfffffe0127733870 > > > trap() at trap+0x27d/frame 0xfffffe0127733980 > > > calltrap() at caltrap+0x8/frame 0xfffffe0127733980 > > > --- trap 0xc, rip = 0x803a122b8, rsp = 0xfffffe0127733a50, rbp = 0x803a122b0 > > > --- > > > KDB: enter: panic > > > [ thread pid 17340 tid 101772 ] > > > stopped at kdb_enter+0x37: movq $0,0x1fa9446(%rip) > > > db> > > > > This looks like SMEP catching an issue, but it is not clear why. > > Probably fixed by r367783? The bug would have partially overwritten the > stack frame, resulting in a jump to a user address after a return. > Ah, yes, sorry that I missed this -- smbd was in-fact the exact program that the reporter noted observed it with, and what the fix was confirmed with. Sorry for the breakage~ Kyle Evans From owner-freebsd-current@freebsd.org Wed Nov 18 08:46:58 2020 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 1A85D2E7715 for ; Wed, 18 Nov 2020 08:46:58 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (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 4Cbbym5h2Qz4r6h for ; Wed, 18 Nov 2020 08:46:56 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [178.254.11.41] (helo=r314251-amd64) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kfJ77-0006Hy-Pn; Wed, 18 Nov 2020 09:46:53 +0100 Date: Wed, 18 Nov 2020 09:46:51 +0100 From: Matthias Apitz To: freebsd-current@freebsd.org Subject: Re: in -current is svn still canonical? Message-ID: <20201118084651.GA7613@r314251-amd64> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-current@freebsd.org References: <5fb33a11.1c69fb81.2d2a6.f92eSMTPIN_ADDED_MISSING@mx.google.com> <5fb35900.1c69fb81.7679c.a50eSMTPIN_ADDED_MISSING@mx.google.com> <20201117061327.GA2478@r314251-amd64> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.8.0 (2017-02-23) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 178.254.11.41 X-Rspamd-Queue-Id: 4Cbbym5h2Qz4r6h X-Spamd-Bar: / X-Spamd-Result: default: False [0.14 / 15.00]; HAS_REPLYTO(0.00)[guru@unixarea.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[178.254.4.101:from]; TO_DN_NONE(0.00)[]; NEURAL_HAM_SHORT(-0.16)[-0.163]; RCVD_IN_DNSWL_LOW(-0.10)[178.254.4.101:from]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[178.254.4.101:from]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SUBJECT_ENDS_QUESTION(1.00)[]; DMARC_NA(0.00)[unixarea.de]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[178.254.4.101:from:127.0.2.255]; R_SPF_NA(0.00)[no SPF record]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 08:46:58 -0000 El día martes, noviembre 17, 2020 a las 11:05:13a. m. -0700, Warner Losh escribió: > > Warner, please forgive me my nearly off-topic question: When we move to > > git, will this conserve all the FreeBSD svn history of ci's somehow? Can > > you please point me to a document about FreeBSD's transition from svn to > > git? > > > > Yes. The history is preserved. As an aside, we've been exporting a git tree > for a while now, but it has so many issues in it that we decided to redo > the export to fix them. They weren't apparent in day-to-day grabbing of the > sources. However, when you went to do vendor-branch stuff or anything at > all complicated, the issues were so bad that we decided to fix them. > > For docs, I'd start here: > https://github.com/bsdimp/freebsd-git-docs/blob/main/mini-primer.md but in > general https://github.com/bsdimp/freebsd-git-docs/blob/main/ has > interesting docs that I'm working on. These are rough drafts for handbook > chapters. Since docs is migrating from DocBook to AsciiDoc, I did them in > markdown. Warner, thanks for the pointers to your docs in Git. The 2nd one does not work, but I can glance through the docs below https://github.com/bsdimp/freebsd-git-docs Is there also a document about how the export and setup of git was done for FreeBSD? I'm asking with the background that the organization I'm working for also is thinking in moving from svn to git. At the moment we're studying the pros and conts for such a step. > > Please let me know if there's bits that are missing that would be helpful > to add, or drop a pull request if you think you can improve the wording of > sections... I will do so. Thanks matthias > _______________________________________________ > 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" -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub Без книги нет знания, без знания нет коммунизма (Влaдимир Ильич Ленин) Without books no knowledge - without knowledge no communism (Vladimir Ilyich Lenin) Sin libros no hay saber - sin saber no hay comunismo. (Vladimir Ilich Lenin) From owner-freebsd-current@freebsd.org Wed Nov 18 08:47:31 2020 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 919122E7475 for ; Wed, 18 Nov 2020 08:47:31 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mail-ed1-f68.google.com (mail-ed1-f68.google.com [209.85.208.68]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CbbzQ0SzGz4qxg for ; Wed, 18 Nov 2020 08:47:29 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mail-ed1-f68.google.com with SMTP id q16so1096290edv.10 for ; Wed, 18 Nov 2020 00:47:29 -0800 (PST) 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=BTk/DNquzQzwsVw+Lw0GzcuYueoN5GHe8lItzohwFhw=; b=JTv3xM7hGBqHXwP+H+zHNwq4H8aui6h1rQUVQJj/f9YxYKQyyTfB2ErEif1+yv1t2m ancrZFv83C3L/NyO6MVOca1UcOPpCPBdB0AYxlW5bGwtXnJpQhhiSwmMT36Rv2IjWidy KaUUmfVUuVTbnmEwrCykgrK1ihNWew5ID4Xxzz8eZcYzKme5pRg6TO5g2ZGXT6kj31Bw 2+1gqLSYQO21R5l2ODEEmmSHo4qnmLy2TzrfyQMdJCeHLPMkc14UoPgXZb7WFxMGRW00 ZOcxAEvi8q1IS/z4FTM4otYuvzBw2l+1yLoo/x0VUG56Xpaan9ty0YABcf3SYYRjnZV4 sRBw== X-Gm-Message-State: AOAM5323MEXPaxa+s0H57t7tI074b0UWbsbiQA4i25XKTld9P5ckOvxF q+v+w+RiKTgtld+nfwLME3CCagoQe30= X-Google-Smtp-Source: ABdhPJxxYDPNWgeX7ad8iW17p4tkG+Zdr9qAmGElZgAIQFYepwuBwbUxsks9bDTZpooSiaLe532EcQ== X-Received: by 2002:a05:6402:154b:: with SMTP id p11mr25194430edx.217.1605689248013; Wed, 18 Nov 2020 00:47:28 -0800 (PST) Received: from ?IPv6:2a02:8109:98c0:1bc0:5e5f:67ff:fef4:ffd8? ([2a02:8109:98c0:1bc0:5e5f:67ff:fef4:ffd8]) by smtp.gmail.com with ESMTPSA id ks18sm1585657ejb.67.2020.11.18.00.47.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 Nov 2020 00:47:26 -0800 (PST) Subject: Re: Shutdown errors and timeout To: Johan Hendriks , freebsd-current@freebsd.org References: <65b1ff51-a946-61d0-79d9-104c1e053554@gmail.com> <20201113.200459.520180046556100070.yasu@utahime.org> <20201114091951.4888878c686d07ad73e55da8@dec.sakura.ne.jp> <7316979e-1a87-791a-075c-7f3d7a75f43f@FreeBSD.org> From: Mateusz Piotrowski <0mp@FreeBSD.org> Message-ID: Date: Wed, 18 Nov 2020 09:47:32 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.4.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: 4CbbzQ0SzGz4qxg X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org]; FORGED_SENDER(0.30)[0mp@FreeBSD.org,mpp302@gmail.com]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; R_DKIM_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[0mp@FreeBSD.org,mpp302@gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[209.85.208.68:from]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[FreeBSD.org]; SPAMHAUS_ZRD(0.00)[209.85.208.68:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[209.85.208.68:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.208.68:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 08:47:31 -0000 On 11/16/20 7:16 PM, Johan Hendriks wrote: > > On 14/11/2020 13:03, Mateusz Piotrowski wrote: >> On 11/14/20 1:19 AM, Tomoaki AOKI wrote: >>> On Fri, 13 Nov 2020 20:04:59 +0900 (JST) >>> Yasuhiro KIMURA wrote: >>> >>>> From: Johan Hendriks >>>> >>>>> Hello all, i have two FreeBSD 13 machines, one is a bare metal and one >>>>> is virtualbox machine which i both update about once a week. >>>>> >>>>> The vritual machine seems to fail stopping something and gives a >>>>> timeout after 90 sec. >>>>> >>>>> The console ends with >>>>> >>>>> Writing entropy file: . >>>>> Writing early boot entropy file: . >>>>> >>>>> 90 second watchdog timeout expired. Shutdown terminated. >>>>> Fri Nov13 11:20:40 CEST 2020 >>>>> Nov 13 11:20:40 test-head init[1]: /etc/rc.shutdown terminated >>>>> abnormally, going to single user mode >>>>> ... >>>>> >>>>> On the bare metal machine i see the following. >>>>> Writing entropy file: . >>>>> Writing early boot entropy file: . >>>>> cannot unmount '/var/run': umount failed >>>>> cannot unmount '/var/log': umount failed >>>>> cannot unmount '/var': umount failed >>>>> cannot unmount '/usr/home': umount failed >>>>> cannot unmount '/usr': umount failed >>>>> cannot unmount '/': umount failed >>>>> >>>> (snip) >>>>> The pools have not been upgraded after the latest openzfs import, >>>>> maybe that is related? >>>>> >>>>> FreeBSD test-freebsd-head 13.0-CURRENT FreeBSD 13.0-CURRENT #2 >>>>> r367585: >>>>> >>>>> First thing i noticed is about a week ago. >>>> I'm facing same problem with 13.0-CURRENT amd64 r367487 and >>>> virtualbox. In my case I use autofs to mount remote file system of >>>> 12.2-RELEASE amd64 server with NFSv4. When there is still filesystem >>>> mounted by autofs, then watchdog timeout happens while shutdown. The >>>> watchdog timeout can be worked around by executing `automount -fu` >>>> before shutting down. But 'cannot unmount ...' error messages are >>>> still displayed. >>>> >>>> I added 'rc_debug="YES"' to /etc/rc.conf and checked which rc script >>>> causes this message. Then it is displayed when following `zfs_stop` >>>> function of /etc/rc.d/zfs is executed. >>>> >>>> ---------------------------------------------------------------------- >>>> zfs_stop_main() >>>> { >>>>     zfs unshare -a >>>>     zfs unmount -a >>>> } >>>> ---------------------------------------------------------------------- >>>> >>>> At this point syslog process still running and it opens some files >>>> under /var/log. So it make sence that `zfs unmount -a` results in the >>>> message. >>>> >>>> Probably order of executing each rc script in shutdown time should be >>>> changed so `/etc/rc.d/zfs faststop` is executed after all processes >>>> other than `init' are exited. >>> This happens on stable/12, too. >>> As a workaround, reverting r367291 on head (r367546 on stable/12) >>> would stop the issue until this is really fixed. >>> >>> If you have shared dataset or jail(s) mounting dataset, the workaround >>> would be discouraged. Read commit message for detail. >> >> I've committed r367291 and r367546. >> >> I am not sure if I can think of a proper fix for the described issues, so I guess the best idea >> would be to revert those changes for now until we figure out how to do it properly. > > > I can tell that reverting the mentioned commit i do not have the symptoms when i reboot my servers. > Thank you all for your time, and no sorry needed ;-) I'll revert the commit then. I'm just waiting for an approval from a src committer. Best, Mateusz From owner-freebsd-current@freebsd.org Wed Nov 18 10:01:05 2020 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 4B54E2EA085 for ; Wed, 18 Nov 2020 10:01:05 +0000 (UTC) (envelope-from chardon.frederic@gmail.com) Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CbdcJ1ChSz4vq5 for ; Wed, 18 Nov 2020 10:01:03 +0000 (UTC) (envelope-from chardon.frederic@gmail.com) Received: by mail-pj1-x1035.google.com with SMTP id gv24so786192pjb.3 for ; Wed, 18 Nov 2020 02:01:03 -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:from:date:message-id:subject:to; bh=oK57fjYQHY/fjBRhHX3MYCv5cITjCnL5Eb6pZuQv6J0=; b=JGHA2Fvv38Pu1PKKRqHLFNRNwrlptgczgs5UrwyuwYzb0wU/GORkhzBPWJahT0WyYj uyzMFEzP+4KPeG0oqoI9TJIQTFN5usSmnLUKvfV5JSXtD3QKFlthPBPbRI2474gr5Xua POd7S4ILMDOZxna6ZIYbVIx26dP8qtC/qaCipKT8Y+20I8NYGLG6zHIb3+s2yEKyNvna x4HB8utUUGFxy1iSPtMDQacnNuQEo2lfky6jkFp6h02rqhq5oiNDuq6aUPUdu+g+YDm9 QEYISf/4HvACLKefQ1hwWkNkO01vpIHkDV6n6cLY/JPCfSMzrjVA2ton87y+u932qf5D piAg== X-Gm-Message-State: AOAM531vdAW8/91UDgsKSynS+/A3U00vv1qmamTRTLKDcrZHsI0yGGft 9JgzDnU+7MBJ8vyr7oQS3MoqvjZnf2hyfL1yxPlZNiUdLjSC9w== X-Google-Smtp-Source: ABdhPJxP4jQvFASN8EhQWWIR0j7fiMp0ENf31NSC3l94uC/PlbCJ/f7yvzfddfwX3lYCIHy8ZazTLnRvNSqlDt5W2Ls= X-Received: by 2002:a17:902:fe0f:b029:d6:9fa1:eee0 with SMTP id g15-20020a170902fe0fb02900d69fa1eee0mr3740092plj.24.1605693662340; Wed, 18 Nov 2020 02:01:02 -0800 (PST) MIME-Version: 1.0 From: Frederic Chardon Date: Wed, 18 Nov 2020 11:00:50 +0100 Message-ID: Subject: sdhci timeout on wakeup To: freebsd-current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4CbdcJ1ChSz4vq5 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.00 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::1035:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; 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]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::1035:from:127.0.2.255]; NEURAL_SPAM_SHORT(1.00)[1.000]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1035:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 10:01:05 -0000 Hello Any time I wake my laptop from sleep, I get these errors a dozen times on the console. sdhci_pci0-slot0: Controller timeout sdhci_pci0-slot0: ============== REGISTER DUMP ============== sdhci_pci0-slot0: Sys addr: 0x00000000 | Version: 0x0000c001 sdhci_pci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_pci0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 sdhci_pci0-slot0: Present: 0x01f70000 | Host ctl: 0x00000001 sdhci_pci0-slot0: Power: 0x0000000f | Blk gap: 0x00000000 sdhci_pci0-slot0: Wake-up: 0x00000000 | Clock: 0x00004007 sdhci_pci0-slot0: Timeout: 0x00000000 | Int stat: 0x00000001 sdhci_pci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb sdhci_pci0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_pci0-slot0: Caps: 0x21fe32b2 | Caps2: 0x00000077 sdhci_pci0-slot0: Max curr: 0x00000064 | ADMA err: 0x00000000 sdhci_pci0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000001 sdhci_pci0-slot0: =========================================== Eventually it stops and then everything is working without issues, the annoying part is that it takes a few minutes to wake. This is running current at r367762, however this issue lasts since sleeping with drm started working for me a few months ago. The laptop is a Latitude E5430 booting through UEFI. The sd slot is empty. Anything I could do to prevent this from happening? Thanks From owner-freebsd-current@freebsd.org Wed Nov 18 10:32:34 2020 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 95AA32EAAFB for ; Wed, 18 Nov 2020 10:32:34 +0000 (UTC) (envelope-from Krasznai.Andras@mands.hu) Received: from mail2.mands.hu (mail2.mands.hu [93.189.114.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.mands.hu", Issuer "e-Szigno SSL CA 2014" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CbfJb6qydz3DXY for ; Wed, 18 Nov 2020 10:32:31 +0000 (UTC) (envelope-from Krasznai.Andras@mands.hu) From: =?iso-8859-2?Q?M=26S_-_Krasznai_Andr=E1s?= To: freebsd-current Subject: dma-resv.c: make does not know, how to compile Thread-Topic: dma-resv.c: make does not know, how to compile Thread-Index: Ada9lbhRfYwa5/POTI6AaAN85ceSJA== Date: Wed, 18 Nov 2020 10:32:23 +0000 Message-ID: Accept-Language: en-US, hu-HU Content-Language: hu-HU X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [192.168.6.10] MIME-Version: 1.0 X-Rspamd-Queue-Id: 4CbfJb6qydz3DXY X-Spamd-Bar: - X-Spamd-Result: default: False [-1.30 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[93.189.114.146:from]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[multipart/related,multipart/alternative,text/plain]; DMARC_NA(0.00)[mands.hu]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[93.189.114.146:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; TO_DN_ALL(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~,4:~]; ASN(0.00)[asn:47116, ipnet:93.189.112.0/21, country:HU]; MAILMAN_DEST(0.00)[freebsd-current] Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 10:32:34 -0000 Hi in the last two days I was not able to compile FreeBSD-CURRENT, make stoppe= d with error: does not know, how to compile dma-resv.c I did not find the above file in a freshly synchromized source tree (dma-re= sv.h file does exist). =DCdv=F6zlettel / with regards Krasznai Andr=E1s rendszerm=E9rn=F6k [M&S_logo] 1136 Budapest, Pann=F3nia utca 11. Tel: +36 1 703 2923 Mobil: +36 30 703 2923 K=F6zpont: +36 1 703 2920 Fax: +36 1 703 2949 email: krasznai.andras@mands.hu From owner-freebsd-current@freebsd.org Wed Nov 18 10:38:18 2020 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 AA9742EADDE for ; Wed, 18 Nov 2020 10:38:18 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CbfRD0kJSz3Dhy for ; Wed, 18 Nov 2020 10:38:15 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mail-ej1-f41.google.com with SMTP id f23so2073227ejk.2 for ; Wed, 18 Nov 2020 02:38:15 -0800 (PST) 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=4vEe71hh4Lz9chxr8oz1bAlmK90m5GIexAoAsHmwKpY=; b=H6sAtEkrXxnyE4GndZ6UPzgzcCfFITXmWddB1ZxEe6NWOXs0YoFQBu4KlJJrwt7bp6 ED17FEMAhdMQRvkpLvxOi21xGHANIiMftzDLI3YeL/03eXONrwt+m5eTIo4TeJDmj4Dh sP6lTsRuTWgiSklRElQPBEoQtiModpuuyUFIRmg/Yq52DzTKs59aSaS26OZYFZeVGVD1 Y+PlhSsu3V9ZJtTqil1ZR9LQmSpXHEd902heWKd3lzczgyYIAJb54bF/P6G1uWxy1dOI OpXQCaktFbpgwkQeslQ7p9rQ5AtOJ6ph3zpmb3v5M1kTKoaoVNuY1G1cBHD8SVGp82kB Z37g== X-Gm-Message-State: AOAM533U5SvOyB8sGxx12q6HqtkUq6oVZ1j6BOrl1WdsJI4DJjpqSXOa FA9G1R1ZlgAaSwNHw24czf1CpMnbURY= X-Google-Smtp-Source: ABdhPJwiOcaVPEoU9G3cE4owpllM0zU3se77XeEZeKEDD60GmfsHgp4WOURdzm5cZo266AnuYgrV0w== X-Received: by 2002:a17:906:3c13:: with SMTP id h19mr24449992ejg.117.1605695893755; Wed, 18 Nov 2020 02:38:13 -0800 (PST) Received: from ?IPv6:2a02:8109:98c0:1bc0:5e5f:67ff:fef4:ffd8? ([2a02:8109:98c0:1bc0:5e5f:67ff:fef4:ffd8]) by smtp.gmail.com with ESMTPSA id k12sm12766838ejz.48.2020.11.18.02.38.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 Nov 2020 02:38:12 -0800 (PST) Subject: Re: dma-resv.c: make does not know, how to compile To: =?UTF-8?Q?M=26S_-_Krasznai_Andr=c3=a1s?= , freebsd-current References: From: Mateusz Piotrowski <0mp@FreeBSD.org> Message-ID: <2d62a49f-1cbb-a9dc-5c20-b5034527a518@FreeBSD.org> Date: Wed, 18 Nov 2020 11:38:18 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.4.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=iso-8859-2; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4CbfRD0kJSz3Dhy X-Spamd-Bar: - X-Spamd-Result: default: False [-1.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[209.85.218.41:from]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FORGED_SENDER(0.30)[0mp@FreeBSD.org,mpp302@gmail.com]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[209.85.218.41:from]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_NEQ_ENVFROM(0.00)[0mp@FreeBSD.org,mpp302@gmail.com]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[FreeBSD.org]; SPAMHAUS_ZRD(0.00)[209.85.218.41:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[209.85.218.41:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 10:38:18 -0000 On 11/18/20 11:32 AM, M&S - Krasznai Andrs wrote: > Hi > > in the last two days I was not able to compile FreeBSD-CURRENT, make stopped with error: > > does not know, how to compile dma-resv.c > > I did not find the above file in a freshly synchromized source tree (dma-resv.h file does exist). You are probably using drm-kmod and missing the following patch: https://docs.freebsd.org/cgi/getmsg.cgi?fetch=2979410+0+/usr/local/www/mailindex/archive/2020/svn-ports-head/20201115.svn-ports-head Basically, you probably want to update the graphics/drm-current-kmod port and install it so that all the required driver sources are present at /usr/local/sys/modules/drm-current-kmod. Cheers, Mateusz From owner-freebsd-current@freebsd.org Wed Nov 18 11:13:09 2020 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 6CE192EBAFC for ; Wed, 18 Nov 2020 11:13:09 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CbgCT2QxCz3GKH; Wed, 18 Nov 2020 11:13:09 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: by mail-ej1-x62c.google.com with SMTP id s25so2187750ejy.6; Wed, 18 Nov 2020 03:13:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=Up+ei0aBUj5roKpPPpaecPYOnaIcDQkg+s37sZDQz5A=; b=KTqIkFzdMO185/xtItTfN1pNG5ViPpbT8RfwoPwv3GJ/Dp62RKVuKWPcW5x5YX0zVb P9Z7OADyJZsndkd17VsgWRCgkHaUj28FNdX1iW9dOhLE+P8P0dsBzPVPl1Vx2CUmylrx GKoiP/8P+M6zY7/Q2D9BIEO8iDxwG/d33/4oc4WdC+t8QM8li+jt1AVJSTDRjMhXRm+l Ioq/0JjCTpnofFyyEm43MvdF3uz/GOfq61nBVc/SD4lCblNQ5P2/uvUanTe4P1algk8t ciZDZl3QBnHUYYahaWFttF5PCb5fqwlCMxdR6PHfwCILFSjrKHJVBSKPhcegWQ3bV1J2 AqeQ== X-Gm-Message-State: AOAM531ybX0+5nyBodYelmI8Hv0PtVyuqb9J7SBkZ4hinmKyNqLClwxx E9QMtSW89pnazi4hAFlquWT60FVLdvg= X-Google-Smtp-Source: ABdhPJyZKdpMexDOReVFYZK0RUuKOgWQCgL4xVtzGpQUpCD+CCEbPY2Tcd/4V9bRnV2oQdCurEH5oQ== X-Received: by 2002:a17:906:ce2a:: with SMTP id sd10mr5491079ejb.21.1605697986960; Wed, 18 Nov 2020 03:13:06 -0800 (PST) Received: from MacBook-Pro-van-Johan.local (85-147-130-226.cable.dynamic.v4.ziggo.nl. [85.147.130.226]) by smtp.gmail.com with ESMTPSA id g13sm2163768edv.14.2020.11.18.03.13.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 Nov 2020 03:13:06 -0800 (PST) Subject: Re: Samba kernel panics. To: Kyle Evans Cc: FreeBSD Current References: From: Johan Hendriks Message-ID: Date: Wed, 18 Nov 2020 12:13:05 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.4.3 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 4CbgCT2QxCz3GKH X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; TAGGED_FROM(0.00)[]; REPLY(-4.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 11:13:09 -0000 On 18/11/2020 05:53, Kyle Evans wrote: > On Tue, Nov 17, 2020 at 10:01 PM Mark Johnston wrote: >> On Tue, Nov 17, 2020 at 08:19:12PM +0200, Konstantin Belousov wrote: >>> On Tue, Nov 17, 2020 at 06:20:31PM +0100, Johan Hendriks wrote: >>>> Hello all after updating FreeBSD13 from r367724 to r367755 my samba server >>>> craches the server. >>>> I did rebuild samba 4.11 but that does not help. >>>> >>>> The output on the console is the following. >>>> >>>> Fatal trap 12: page fault while in kernel mode >>>> cpuid =3; apic id = 06 >>>> fault virtual address = 0x803a122b8 >>>> fault code = supervisor read instruction, protection >>>> violation >>>> instruction pointer = 0x20:0x803a122b8 >>>> stack pointer = 0x28:0xfffffe0127733a50 >>>> frame pointer = 0x28:0x803a122b0 >>>> code segment = base 0x0, limit 0xfffff, type 0x1b >>>> = DPL 0, pres 1, long 1, def32 0, gran 1 >>>> processor eflags = 17340 (smbd) >>>> trap number = 12 >>>> panic: page fault >>>> cpuid =3 >>>> time = 1605632521 >>>> KDB: stack backtrace: >>>> db_trace_self_wrapper() at db_trace_setf_wrapper+0x2b/frame >>>> 0xfffffe0127733700 >>>> vpanic() at vpanic+0x182/frame 0xfffffe0127733750 >>>> panic() at panic+0x43/frame 0xfffffe01277337b0 >>>> trap_fatal() at trap_fatal+0x387/frame 0xfffffe0127733810 >>>> trap_pfault() at trap_pfault+0x4f/frame 0xfffffe0127733870 >>>> trap() at trap+0x27d/frame 0xfffffe0127733980 >>>> calltrap() at caltrap+0x8/frame 0xfffffe0127733980 >>>> --- trap 0xc, rip = 0x803a122b8, rsp = 0xfffffe0127733a50, rbp = 0x803a122b0 >>>> --- >>>> KDB: enter: panic >>>> [ thread pid 17340 tid 101772 ] >>>> stopped at kdb_enter+0x37: movq $0,0x1fa9446(%rip) >>>> db> >>> This looks like SMEP catching an issue, but it is not clear why. >> Probably fixed by r367783? The bug would have partially overwritten the >> stack frame, resulting in a jump to a user address after a return. >> > Ah, yes, sorry that I missed this -- smbd was in-fact the exact > program that the reporter noted observed it with, and what the fix was > confirmed with. Sorry for the breakage~ > > Kyle Evans > I can confirm all is working fine again after i svnupped to r367785 Thank you all for your time. regards Johan From owner-freebsd-current@freebsd.org Wed Nov 18 11:15:47 2020 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 3C3712EC3C3 for ; Wed, 18 Nov 2020 11:15:47 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from maybe.home.utahime.org (gate.home.utahime.org [183.180.29.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CbgGV0bJ2z3Gtl for ; Wed, 18 Nov 2020 11:15:45 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by maybe.home.utahime.org (Postfix) with ESMTPS id 78ACE2D7DF for ; Wed, 18 Nov 2020 20:15:35 +0900 (JST) Received: from localhost (rolling.home.utahime.org [192.168.174.11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by eastasia.home.utahime.org (Postfix) with ESMTPSA id A12E3476BA; Wed, 18 Nov 2020 20:15:32 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.0 at eastasia.home.utahime.org Date: Wed, 18 Nov 2020 20:14:39 +0900 (JST) Message-Id: <20201118.201439.1502496832985621878.yasu@utahime.org> To: freebsd-current@freebsd.org Subject: Re: /etc/os-release isn't created From: Yasuhiro KIMURA In-Reply-To: <20200122.155654.980180717476039692.yasu@utahime.org> References: <20191125011135.GA69956@mail.bsd4all.net> <20191125.102736.1372422754370589145.yasu@utahime.org> <20200122.155654.980180717476039692.yasu@utahime.org> X-Mailer: Mew version 6.8 on Emacs 27.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4CbgGV0bJ2z3Gtl X-Spamd-Bar: + X-Spamd-Result: default: False [1.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+a:spf-authorized.utahime.org]; TO_DN_NONE(0.00)[]; HFILTER_HELO_IP_A(1.00)[maybe.home.utahime.org]; HFILTER_HELO_NORES_A_OR_MX(0.30)[maybe.home.utahime.org]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[utahime.org:+]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[183.180.29.210:from]; ASN(0.00)[asn:2519, ipnet:183.180.0.0/16, country:JP]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[utahime.org:s=maybe2019112701]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[utahime.org]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[183.180.29.210:from:127.0.2.255]; NEURAL_SPAM_SHORT(1.00)[0.996]; MID_CONTAINS_FROM(1.00)[]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 11:15:47 -0000 Dear Committers, From: Yasuhiro KIMURA Subject: Re: /etc/os-release isn't created Date: Wed, 22 Jan 2020 15:56:54 +0900 (JST) > I created patch adding logic that handles symbolik link to mergemaster > and submitted it to following bug report. > > Bug 242212 usr.sbin/mergemaster/mergemaster.sh: There is no logic to handle symbolic > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242212 > > So please review and/or test it. Would someone please commit it? As is explained currently mergemaster doesn't handle symbolic links. And it causes that /etc/os-release symbolink link isn't created when it doesn't exit before upgrade and you upgrade base system with steps described in /usr/src/Makefile. It happens such cases as following. * 13-CURRENT before r354922 -> 13-CURRENT r354922 or later * 12.1-RELEASE -> 12.2-RELEASE * 11.4-RELEASE -> 12.2-RELEASE Best Regards. --- Yasuhiro KIMURA From owner-freebsd-current@freebsd.org Wed Nov 18 18:02:40 2020 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 660AA46DF90 for ; Wed, 18 Nov 2020 18:02:40 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CbrHz3fMsz4RD2 for ; Wed, 18 Nov 2020 18:02:39 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x733.google.com with SMTP id y197so2674859qkb.7 for ; Wed, 18 Nov 2020 10:02:39 -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; bh=wZmwESvFrK3miD35wbP7KwTIeixb68LVWyXuR1rLL0U=; b=sG6VWTVpGrDIXn+JWp81FDUURAxH6EAEW0ooraz8bRXyGKf6KvyX6B3+kgAUUxT7eo c1ZJSq33uf+O7kLjUgOQIkjqsSt7OcJdSR+QNfU+MMMEkqB/sH57/TWU8LOnqTyPinlv ww0Xyufn/6ia6xsoQr8Sx4j2WEsLRCwXuYWZ7NbOi/nus3zkPt6Ght64HCbAFmIK1nxB ebmFKJEVg2BSrI+igV3H4lCE54CBKwz1zMoyFCv6Lx40gUtuSD+libQh3t5cW4dVzkCo +d9okJqrFP2otKuh3xWpy6jBAyPz5Ny+qnTLYkGFObgO1ncxS815YAyS6ZnnczyjLUG4 euMQ== X-Gm-Message-State: AOAM531tFMNVXFLwJtAFXQX29WXi5G+CAWbA/vGRMd8ovHLZ1oweLPO9 vIkkXMEeokCcf/QORBwNrWg9OOLSOUWf7dPgrit84a1p7VRuM81S X-Google-Smtp-Source: ABdhPJxNp9vqjnTcaSF+DT1tu9wdxCk1abznAK+2XvErhulxmaLrZDTjqD2kvn0GJtKFsRYXEamY4M9wKLW1X4fFDWk= X-Received: by 2002:a37:78c:: with SMTP id 134mr6218321qkh.359.1605722558247; Wed, 18 Nov 2020 10:02:38 -0800 (PST) MIME-Version: 1.0 References: <5fb33a11.1c69fb81.2d2a6.f92eSMTPIN_ADDED_MISSING@mx.google.com> <5fb35900.1c69fb81.7679c.a50eSMTPIN_ADDED_MISSING@mx.google.com> <20201117061327.GA2478@r314251-amd64> <20201118084651.GA7613@r314251-amd64> In-Reply-To: <20201118084651.GA7613@r314251-amd64> From: Warner Losh Date: Wed, 18 Nov 2020 11:02:27 -0700 Message-ID: Subject: Re: in -current is svn still canonical? To: Matthias Apitz , FreeBSD Current X-Rspamd-Queue-Id: 4CbrHz3fMsz4RD2 X-Spamd-Bar: / X-Spamd-Result: default: False [-0.99 / 15.00]; URI_COUNT_ODD(1.00)[1]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.99)[-0.988]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::733:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::733:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::733:from]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 18:02:40 -0000 On Wed, Nov 18, 2020 at 1:47 AM Matthias Apitz wrote: > El d=C3=ADa martes, noviembre 17, 2020 a las 11:05:13a. m. -0700, Warner = Losh > escribi=C3=B3: > > > > Warner, please forgive me my nearly off-topic question: When we move = to > > > git, will this conserve all the FreeBSD svn history of ci's somehow? > Can > > > you please point me to a document about FreeBSD's transition from svn > to > > > git? > > > > > > > Yes. The history is preserved. As an aside, we've been exporting a git > tree > > for a while now, but it has so many issues in it that we decided to red= o > > the export to fix them. They weren't apparent in day-to-day grabbing of > the > > sources. However, when you went to do vendor-branch stuff or anything a= t > > all complicated, the issues were so bad that we decided to fix them. > > > > For docs, I'd start here: > > https://github.com/bsdimp/freebsd-git-docs/blob/main/mini-primer.md > but in > > general https://github.com/bsdimp/freebsd-git-docs/blob/main/ has > > interesting docs that I'm working on. These are rough drafts for handbo= ok > > chapters. Since docs is migrating from DocBook to AsciiDoc, I did them = in > > markdown. > > Warner, thanks for the pointers to your docs in Git. The 2nd one does > not work, but I can glance through the docs below > https://github.com/bsdimp/freebsd-git-docs Yea, that's the right one to look at... sorry for the wrong link. > Is there also a document about how the export and setup of git was done > for FreeBSD? I'm asking with the background that the organization I'm > working for also is thinking in moving from svn to git. At the moment > we're studying the pros and conts for such a step. > So you can get the code that FreeBSD used at https://github.com/freebsd/git_conv/ which goes through things. This code does a number of things that your organization likely wouldn't need to do. It uses the latest different versions of the svn->git conversion tools. Each has their pros and cons and part of the issue with this process was evaluating which ones to use for the conversion. Not least because the conversions can take quite a while with some of the less efficient tools...= . We don't have a paper or write-up on the nuts and bolts of this conversion, though. Warner > Please let me know if there's bits that are missing that would be helpful > > to add, or drop a pull request if you think you can improve the wording > of > > sections... > > I will do so. Thanks > > matthias > > > _______________________________________________ > > 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" > > -- > Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ > +49-176-38902045 > Public GnuPG key: http://www.unixarea.de/key.pub > =D0=91=D0=B5=D0=B7 =D0=BA=D0=BD=D0=B8=D0=B3=D0=B8 =D0=BD=D0=B5=D1=82 =D0= =B7=D0=BD=D0=B0=D0=BD=D0=B8=D1=8F, =D0=B1=D0=B5=D0=B7 =D0=B7=D0=BD=D0=B0=D0= =BD=D0=B8=D1=8F =D0=BD=D0=B5=D1=82 =D0=BA=D0=BE=D0=BC=D0=BC=D1=83=D0=BD=D0= =B8=D0=B7=D0=BC=D0=B0 (=D0=92=D0=BBa=D0=B4=D0=B8=D0=BC=D0=B8=D1=80 =D0=98= =D0=BB=D1=8C=D0=B8=D1=87 =D0=9B=D0=B5=D0=BD=D0=B8=D0=BD) > Without books no knowledge - without knowledge no communism (Vladimir > Ilyich Lenin) > Sin libros no hay saber - sin saber no hay comunismo. (Vladimir Ilich > Lenin) > _______________________________________________ > 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 Wed Nov 18 19:23:59 2020 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 5D7D946FE62 for ; Wed, 18 Nov 2020 19:23:59 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cbt5n6Kbtz4Xfm for ; Wed, 18 Nov 2020 19:23:57 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x732.google.com with SMTP id v143so2995573qkb.2 for ; Wed, 18 Nov 2020 11:23:57 -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=nBnha86KnbtLkMJuwYeiyrcb6zyiwyN1ZxmP8KUVTxs=; b=bGbEO/nYtR02nK/i1tXsillOyeS7uaRcTkDaJ5w3ukABOI5wr+/XoYfclYK1wG5VtB 6MCaZ5bW/ZjL1ez8mXCGcxK1nAKDwfj0i2jDo4SaqJcDGQEnRfe0DuYxJsqNjqK+MqxK smM24gbyPvz2RLkAYPslm4DExDrGMTSTQotK3Gzajsx9Zkq42yNFnUN6FljgBXyiFGRn 8Sd2o1ynjjbrFEWnT6lt6cHKW8Tm17HPP6L7vj3C10XvpRlEYeZ4TTaW1+UyBDdoS71t XkDQqiCZDgQnP5m9aDyL0LYmawzckg4EJC8Z7KwCZ/ntYOX/W9UJnA5sHPa8HEstsKgj djQg== X-Gm-Message-State: AOAM530SqlGIhqO59tdaC8enyX2myawHmC2N8XjRejwEy+ZxwNcfYwb4 YlUNiUuSnOFt6PL7mnCc0raUKoDn1XjfYzcSSS7ixa7r01ghxPq5 X-Google-Smtp-Source: ABdhPJwERRQtT6gNHpxr9pgTjeti8E5skBzqezbV8wBDmSa1D8gHKZzH0MGPGjqNGYzIQGgVqqzsA9/I55bvKGk1RS0= X-Received: by 2002:a05:620a:228f:: with SMTP id o15mr6724129qkh.206.1605727436896; Wed, 18 Nov 2020 11:23:56 -0800 (PST) MIME-Version: 1.0 References: <20191125011135.GA69956@mail.bsd4all.net> <20191125.102736.1372422754370589145.yasu@utahime.org> <20200122.155654.980180717476039692.yasu@utahime.org> <20201118.201439.1502496832985621878.yasu@utahime.org> In-Reply-To: <20201118.201439.1502496832985621878.yasu@utahime.org> From: Warner Losh Date: Wed, 18 Nov 2020 12:23:45 -0700 Message-ID: Subject: Re: /etc/os-release isn't created To: Yasuhiro KIMURA Cc: FreeBSD Current X-Rspamd-Queue-Id: 4Cbt5n6Kbtz4Xfm X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.99 / 15.00]; ARC_NA(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::732:from:127.0.2.255]; 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]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::732:from]; NEURAL_HAM_SHORT(-0.99)[-0.993]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::732:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 19:23:59 -0000 On Wed, Nov 18, 2020 at 4:16 AM Yasuhiro KIMURA wrote: > Dear Committers, > > From: Yasuhiro KIMURA > Subject: Re: /etc/os-release isn't created > Date: Wed, 22 Jan 2020 15:56:54 +0900 (JST) > > > I created patch adding logic that handles symbolik link to mergemaster > > and submitted it to following bug report. > > > > Bug 242212 usr.sbin/mergemaster/mergemaster.sh: There is no logic to > handle symbolic > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242212 > > > > So please review and/or test it. > > Would someone please commit it? As is explained currently mergemaster > doesn't handle symbolic links. And it causes that /etc/os-release > symbolink link isn't created when it doesn't exit before upgrade and > you upgrade base system with steps described in /usr/src/Makefile. > It happens such cases as following. > > * 13-CURRENT before r354922 -> 13-CURRENT r354922 or later > * 12.1-RELEASE -> 12.2-RELEASE > * 11.4-RELEASE -> 12.2-RELEASE > I did some light testing and it seemed to work for me, so I've gone ahead and committed it as r367810. Thanks for the reminder. From owner-freebsd-current@freebsd.org Wed Nov 18 19:28:30 2020 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 40A264703C1 for ; Wed, 18 Nov 2020 19:28:30 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (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 4CbtC137csz4Xf1 for ; Wed, 18 Nov 2020 19:28:29 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id C038D5C0195 for ; Wed, 18 Nov 2020 14:28:28 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 18 Nov 2020 14:28:28 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudefhedguddvjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehgtd erredttddvnecuhfhrohhmpehtvggthhdqlhhishhtshcuoehtvggthhdqlhhishhtshes iiihgihsthdrnhgvtheqnecuggftrfgrthhtvghrnheptdehiefgvddufeekkedvtdefvd ettddtkeduvdegveelffdtkeffudejvdfhudetnecukfhppeekvddrjedtrdeluddruddt udenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehtvg gthhdqlhhishhtshesiiihgihsthdrnhgvth X-ME-Proxy: Received: from rpi4.local (fws.zyxst.net [82.70.91.101]) by mail.messagingengine.com (Postfix) with ESMTPA id 0FFE33064AAA for ; Wed, 18 Nov 2020 14:28:27 -0500 (EST) Date: Wed, 18 Nov 2020 19:28:26 +0000 From: tech-lists To: freebsd-current@freebsd.org Subject: Re: in -current is svn still canonical? Message-ID: Mail-Followup-To: freebsd-current@freebsd.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="SSMApUWibjGbDoYJ" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4CbtC137csz4Xf1 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[66.111.4.28:from]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.28]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[66.111.4.28:from]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.28:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm1,messagingengine.com:s=fm1]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[zyxst.net]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[66.111.4.28:from:127.0.2.255]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 19:28:30 -0000 --SSMApUWibjGbDoYJ Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 17, 2020 at 03:04:26AM -0800, Jeffrey Bouquet wrote: >..........................................................................= =2E....................... >Can this be put up in a wiki page as well as in each UPDATING, referencing= the wiki page? >something like > >src - current dec 2020 now svn up /usr/src ... git ...= =2E svn cleanup .... git ... [ other svn-git... >src - stable may 2021 dec 2020 svn up /usr/ports >src -release july 2021 >ports dec 2021 >doc dec 2021 Yeah this is what I was looking for before posting here, was surprised not = to find it.=20 Thought something as important as this would be linked off the main page.= =20 --=20 J. --SSMApUWibjGbDoYJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAl+1ddEACgkQs8o7QhFz NAXAMQ//bOtPVvBeNcXiueZwKRqgTAL7tsTTmZ1Df6ZFIqdw3urb4oFAWnA1dUVn Pws0CMVkffjgpOBfzTATU0toIpDsPpsp0b2/n5C/cgyst3pbGQfEnxLoXH6AKvqs uOKDDZxhIknaBUqcJeBFLQNZIzMYzHTGnYp+dwbAmWl3vU5jNgS2tUji0XK0bRDq hCcMm5PRxOfTNYyUVviNUDzn7DOSDWi7IKvUlkg8US+AA7D1Lj5b6Q8kpu8szoHO MxlpSSsV2N+okidHhKTGmjSY98DdSK34YrLQW8F2nIFGA91HMGfb0319bT9df/3o 8RffmnjwIJxwmRXB6EasiHcUlluZ/SudopNRwhRZKQqwfSFksIrYwAt96+MbujbI jgEpnJnrjNts8y5bxFzFeNRjl+Ufmb8dU0A9TTKKBZ+aAVbI9fUrbwtG+LhtWM18 RrDeSUj2bamIQxM2n0CXLQDssXaJbLsW+RSTzMfuZpFOQoHcjOv1U4QRzXJSpKQF rplpHM8hjvXOaHK7skx0w3y0YM7fPm9/GiSMkOKem5RsI79vAgq6rhUpiUHVpHZR lDW38ncRvOEFNlBo58UOvjTytOlM32LPRu+oNXL4tY1vh2HPKLVxVMqwnZc4hUAj hCys2PQCL9vahhZaoMfDZPj98YnyG8ou+KGFuuB51f2ejRXY5tw= =zibA -----END PGP SIGNATURE----- --SSMApUWibjGbDoYJ-- From owner-freebsd-current@freebsd.org Wed Nov 18 19:42:30 2020 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 DFF86470D00 for ; Wed, 18 Nov 2020 19:42:30 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (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 4CbtWB0zq0z4Ysx for ; Wed, 18 Nov 2020 19:42:29 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 83CFB5C0120 for ; Wed, 18 Nov 2020 14:42:29 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 18 Nov 2020 14:42:29 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudefhedgudeftdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehgtd erredttddvnecuhfhrohhmpehtvggthhdqlhhishhtshcuoehtvggthhdqlhhishhtshes iiihgihsthdrnhgvtheqnecuggftrfgrthhtvghrnhepfefhudeglefhledtudegheehve dtgfelkeduffduveegtedtkeefkeduueettdeknecuffhomhgrihhnpehgihhthhhusgdr tghomhdpfhhrvggvsghsugdrohhrghenucfkphepkedvrdejtddrledurddutddunecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthgvtghhqdhl ihhsthhsseiihiigshhtrdhnvght X-ME-Proxy: Received: from rpi4.local (fws.zyxst.net [82.70.91.101]) by mail.messagingengine.com (Postfix) with ESMTPA id C8B0F3064AA7 for ; Wed, 18 Nov 2020 14:42:28 -0500 (EST) Date: Wed, 18 Nov 2020 19:42:27 +0000 From: tech-lists To: freebsd-current@freebsd.org Subject: Re: in -current is svn still canonical? Message-ID: Mail-Followup-To: freebsd-current@freebsd.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="AMxsfDWAN27FmjAa" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4CbtWB0zq0z4Ysx X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[66.111.4.28:from]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.28:c]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[66.111.4.28:from]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.28:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm1,messagingengine.com:s=fm1]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[zyxst.net]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[66.111.4.28:from:127.0.2.255]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 19:42:30 -0000 --AMxsfDWAN27FmjAa Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 17, 2020 at 10:57:51AM -0700, Warner Losh wrote: >For now, though, you might want to look at >https://github.com/bsdimp/freebsd-git-docs/ for the docs we do have, >especially >https://github.com/bsdimp/freebsd-git-docs/blob/main/mini-primer.md which >should answer most of your questions. Thanks for posting this. May I suggest that it is linked somewhere off the= =20 section of the website that deals with updating? Particularly following -cu= rrent. Like here: https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updat= ing-upgrading.html or here: https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makewor= ld.html where someone considering following -current would see immediately that=20 changes were afoot. As well as say a link off the main site, so a casual re= ader=20 could see, too. --=20 J. --AMxsfDWAN27FmjAa Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAl+1eRkACgkQs8o7QhFz NAWzVBAAo0+OUHbZVro2J0dsAWbTlagYk9RIsaQ1KdBUeWFdGlzk5m3X4pzgjSyJ Ti6dGQFRL2RW6TeVC5tqVM3kTZ6OKjOxtBL8Tn80iLAwmwEFG+XCaforUBhN7aDH QzC5V9bkoLvszOgdz3vHY5wlBX9IMDhBLeWTR3ORldGIFdIaTg2NASn9o+wEX2RR 9lPvFYjxRK8/7LYsoLmL1zAyckeNBUjS8J3rtdQB7aRoYN4qH5dHi0J11oQBMqyP 0HGIr52zI1X7BwReRTHw6+S1n1zSlPwBa6pOcZQaSmrMam8aQ0IMwRdvdjeGzzd4 dEQl1BiAJE3f/cSgo426WtqVW9rjihkcxrk5prZoSf6M8NxZpcSQ+t45HnJurSRt snc1VM0LtZcz0Ichqu3+ItEmOekjRjZINbOfpLZR8cm7GqUHoa/AnGkfn6iFZn7p yOC1JekMHtivM6P8jJZh83VzybjSMzY2ZjWAXWJdhQUgm8uktoUTBPrfUvsSHlR0 a+wlxY0P6TgoT0Xz3M5R9WObCYuYc2yuVrFIQ8XcD9F3NkY+IBxEpfCqVgoKDZxZ aJp1voCoxQu2OA+FDXn4DqwfywKaV7XmwsBuX/b+THek5Qd3GU6H0iuEMbLflsN7 8CHqbMF66rea7iWVGo8WWV3MNdyYjUajDQyFBec7cCPoMgTF5XY= =voic -----END PGP SIGNATURE----- --AMxsfDWAN27FmjAa-- From owner-freebsd-current@freebsd.org Thu Nov 19 11:29:06 2020 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 D043C468193; Thu, 19 Nov 2020 11:29:06 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) (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 4CcHWQ0bwWz4Ydb; Thu, 19 Nov 2020 11:29:05 +0000 (UTC) (envelope-from avg@FreeBSD.org) X-Originating-IP: 93.72.151.96 Received: from [192.168.0.88] (east.meadow.volia.net [93.72.151.96]) (Authenticated sender: andriy.gapon@uabsd.com) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id B83741BF209; Thu, 19 Nov 2020 11:28:57 +0000 (UTC) To: FreeBSD Current Cc: freebsd-dtrace@freebsd.org From: Andriy Gapon Subject: dtrace: give %'d a chance? Openpgp: preference=signencrypt Autocrypt: addr=avg@FreeBSD.org; keydata= mDMEX1iFDhYJKwYBBAHaRw8BAQdAiu8JG/oLFkVkOAJqJc7Dx5KI/Q6C3SBI20EQm+DXnAu0 HkFuZHJpeSBHYXBvbiA8YXZnQEZyZWVCU0Qub3JnPoiWBBMWCAA+FiEEyCHHZM09l0OE3Ir/ 1A1+Gq8+L1EFAl9YhQ4CGwMFCQeEzgAFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQ1A1+ Gq8+L1Fc0wD/ZjmhHfbCJywZU3aOxXIPjcz73FYEGMvqMCCLAWyLbSABALFL+1ZNrjV3BGjq 889cOYFuboA/Yn3eWezS+tfqYBsGuDgEX1iFDhIKKwYBBAGXVQEFAQEHQL6B20Xi600TrkpG P9fWjl7JtHNxqrHKhX6Kg7kgb4ILAwEIB4h+BBgWCAAmFiEEyCHHZM09l0OE3Ir/1A1+Gq8+ L1EFAl9YhQ4CGwwFCQeEzgAACgkQ1A1+Gq8+L1F3cgEAktp4h+IJUJxL1vn6zMOt//znni/J TanKfQuA8wGXcGkBAKpZJhqMkg+pKk7MGvJhgJ6nCpTZ+rMK6vZVZLUWc3QF Message-ID: Date: Thu, 19 Nov 2020 13:28:56 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Firefox/60.0 Thunderbird/60.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4CcHWQ0bwWz4Ydb X-Spamd-Bar: / X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:29169, ipnet:217.70.176.0/20, country:FR]; local_wl_from(0.00)[FreeBSD.org] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 11:29:07 -0000 what do people think about adding setlocale(LC_NUMERIC, ""); to dtrace's main function? My primary interest is to (pretty-)print some numbers with a thousands separator. Not sure if any other LC_ types are worth bothering. -- Andriy Gapon From owner-freebsd-current@freebsd.org Thu Nov 19 14:20:53 2020 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 C8EC346C8C5; Thu, 19 Nov 2020 14:20:53 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from relay10.mail.gandi.net (relay10.mail.gandi.net [217.70.178.230]) (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 4CcMKd3G33z4jGR; Thu, 19 Nov 2020 14:20:53 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from [192.168.0.88] (east.meadow.volia.net [93.72.151.96]) (Authenticated sender: andriy.gapon@uabsd.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 6D14724000E; Thu, 19 Nov 2020 14:20:50 +0000 (UTC) Subject: Re: dtrace: give %'d a chance? To: Ash Gokhale Cc: FreeBSD Current , freebsd-dtrace@freebsd.org References: From: Andriy Gapon Openpgp: preference=signencrypt Autocrypt: addr=avg@FreeBSD.org; keydata= mDMEX1iFDhYJKwYBBAHaRw8BAQdAiu8JG/oLFkVkOAJqJc7Dx5KI/Q6C3SBI20EQm+DXnAu0 HkFuZHJpeSBHYXBvbiA8YXZnQEZyZWVCU0Qub3JnPoiWBBMWCAA+FiEEyCHHZM09l0OE3Ir/ 1A1+Gq8+L1EFAl9YhQ4CGwMFCQeEzgAFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQ1A1+ Gq8+L1Fc0wD/ZjmhHfbCJywZU3aOxXIPjcz73FYEGMvqMCCLAWyLbSABALFL+1ZNrjV3BGjq 889cOYFuboA/Yn3eWezS+tfqYBsGuDgEX1iFDhIKKwYBBAGXVQEFAQEHQL6B20Xi600TrkpG P9fWjl7JtHNxqrHKhX6Kg7kgb4ILAwEIB4h+BBgWCAAmFiEEyCHHZM09l0OE3Ir/1A1+Gq8+ L1EFAl9YhQ4CGwwFCQeEzgAACgkQ1A1+Gq8+L1F3cgEAktp4h+IJUJxL1vn6zMOt//znni/J TanKfQuA8wGXcGkBAKpZJhqMkg+pKk7MGvJhgJ6nCpTZ+rMK6vZVZLUWc3QF Message-ID: Date: Thu, 19 Nov 2020 16:20:49 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Firefox/60.0 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4CcMKd3G33z4jGR X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 14:20:53 -0000 On 19/11/2020 15:31, Ash Gokhale wrote: > I'm not a fan of reading nanosecond timestamps ; however This would add work to > downstream scripts  that have to toss the prettyprint later;  > s|.,()||g  downstream. Think of the wee awk scripts.  > Could we gate the behaviour behind an environment DTRACE_LOCALE or whatever? > > Eh It's getting harder to live in the C locale anyway, the immigration  rules > seem to be tightening.  Sorry, but you don't have to use %'d. You can keep using %d. > On Thu, Nov 19, 2020 at 6:29 AM Andriy Gapon > wrote: > > > what do people think about adding >     setlocale(LC_NUMERIC, ""); > to dtrace's main function? > > My primary interest is to (pretty-)print some numbers with a thousands > separator. > > Not sure if any other LC_ types are worth bothering. > > -- > Andriy Gapon > _______________________________________________ > freebsd-dtrace@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-dtrace > To unsubscribe, send any mail to "freebsd-dtrace-unsubscribe@freebsd.org > " > -- Andriy Gapon From owner-freebsd-current@freebsd.org Thu Nov 19 14:57:47 2020 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 C6E9446DC60; Thu, 19 Nov 2020 14:57:47 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CcN8C0GY9z4lR9; Thu, 19 Nov 2020 14:57:46 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-qt1-x832.google.com with SMTP id 7so4543415qtp.1; Thu, 19 Nov 2020 06:57:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=8YHCZjOyS7WS6DOiPfsQtpc3ffMJ46hZkGHP8y7p/wI=; b=CiTnZYjcJLjOyb8fEYc/N1BkFwvg0vrmO5cx7Jot+FiOZai6Fw5dMy01QkaoU5H0zb dJnkxJb2H+zj3zfS06YJyV3Z0NpyduN+8gQK43cabm3kry8Zfwo4hBbpimQ9MtlwrFbf r7XhkanNK/Pl00Nro0cdoNR+nj7hwviwinSiQUjDPJPjMgO6qYLGYJkB+Fe6T1Wyqx97 RZuEKZ8UTpJ7sNyziG+vsdHEiWtRpToWhTExooFqRVt/mkK+GaAOf0MScEdW8jPUfeJZ IIREpZClhW+WWScE9jZXjV10su1NM/wEAARw4uqCab6uL/KxKHXcWOlFruBZuHslIx7o PeRg== X-Gm-Message-State: AOAM5309nhkjf0nJkWl9RGy9YdCEPiofbSDeXrV3uuEaWw5l0IT2Wgh3 Wdo4YZUvklyWtb1cuBjxIdbPsREDad0= X-Google-Smtp-Source: ABdhPJzLgVDrIYSdh53e8ohTF0lndwfYuQDcsM5jC4ZhV3JfPg1eFo4UEYhsMmihY/S1I/qWZqaaQg== X-Received: by 2002:ac8:6619:: with SMTP id c25mr10525291qtp.343.1605797865374; Thu, 19 Nov 2020 06:57:45 -0800 (PST) Received: from raichu ([142.126.164.150]) by smtp.gmail.com with ESMTPSA id h26sm19073312qkh.127.2020.11.19.06.57.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2020 06:57:44 -0800 (PST) Sender: Mark Johnston Date: Thu, 19 Nov 2020 09:57:42 -0500 From: Mark Johnston To: Andriy Gapon Cc: FreeBSD Current , freebsd-dtrace@freebsd.org Subject: Re: dtrace: give %'d a chance? Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4CcN8C0GY9z4lR9 X-Spamd-Bar: - X-Spamd-Result: default: False [-1.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[markj@freebsd.org,markjdb@gmail.com]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::832:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_NEQ_ENVFROM(0.00)[markj@freebsd.org,markjdb@gmail.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::832:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::832:from]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current,freebsd-dtrace] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 14:57:47 -0000 On Thu, Nov 19, 2020 at 01:28:56PM +0200, Andriy Gapon wrote: > > what do people think about adding > setlocale(LC_NUMERIC, ""); > to dtrace's main function? That seems reasonable to me. > My primary interest is to (pretty-)print some numbers with a thousands separator. > > Not sure if any other LC_ types are worth bothering. Maybe LC_TIME? libdtrace a couple of date formatters, %T and %Y. A locale-aware formatter might be worth having. From owner-freebsd-current@freebsd.org Fri Nov 20 09:57:59 2020 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 A58F22C2E5B for ; Fri, 20 Nov 2020 09:57:59 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CcsRp5D3pz4pHV for ; Fri, 20 Nov 2020 09:57:58 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wr1-x433.google.com with SMTP id c17so9344660wrc.11 for ; Fri, 20 Nov 2020 01:57:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=Y4iwdn5V9g1wOIR9JCt2b/n7x5q+UMp3lFqXCThdNZw=; b=JPK7mjOrwu/ywUnDUwFxhoUJ0aOWFn1zECi0Yvmdpmjjg+IP1502VFyh980BIqnWmN HkwbGls2xk62BZ1EyqE/0mFfabGRlcb8L5FYA03zV6GMTIWhSQx/WhCvkvYe16od5ppF NGMOUTxv6HVWoVqpnFH2H1G0fhpAKtVjgC3lI4bPZ598zUDMwFtPNOZrN7pjENgzzJUH OihStQL417JmCrfrRTqGIn9FcNv1i/qrqtL3eHisya8hmd3mAcoBos7F4FgAGX3hbYsl 8N0lASo57qqV3+EQIX1aA6CXt1Kn0+JbYInyh3u9NJLu/1K0j0QDxedMIuQXRUHygVkx /Sbg== X-Gm-Message-State: AOAM531wTaakq2w6CEmse04RGBxo8mb9GLUBxEIHVKm5xdZXPBiIIhSq hbTgLWkQeQHuYpA5oUJwX8fLriW4DCQ= X-Google-Smtp-Source: ABdhPJwM0ZkYS85CMV5CzkWUrNXFAALDeC1mIHf3Yovm1i9ot8ak+BD7qVqMFABRDbR+JAUCCQ0TZw== X-Received: by 2002:a5d:6689:: with SMTP id l9mr14340276wru.134.1605866277052; Fri, 20 Nov 2020 01:57:57 -0800 (PST) Received: from [192.168.1.11] (79-66-147-78.dynamic.dsl.as9105.com. [79.66.147.78]) by smtp.gmail.com with ESMTPSA id y11sm3545651wmj.36.2020.11.20.01.57.55 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 Nov 2020 01:57:55 -0800 (PST) Subject: Re: buildworld: lib/libc: install: short write to libc.so.7.debug: [_libinstall] Error code 71 From: Graham Perrin To: FreeBSD-CURRENT References: <746a3af4-3daf-9029-bf48-23efa3f5da8e@gmail.com> Message-ID: <37d2a873-8cb9-b858-fa06-4bbfcf006835@gmail.com> Date: Fri, 20 Nov 2020 09:57:54 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: <746a3af4-3daf-9029-bf48-23efa3f5da8e@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4CcsRp5D3pz4pHV X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.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]; 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]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::433:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[79.66.147.78:received]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::433:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::433:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 09:57:59 -0000 On 16/11/2020 09:27, Graham Perrin wrote: > Attempting to build r367615 on Friday 13th: > > … > > ===> lib/libprocstat/zfs (install) > install -U  -C -o root -g wheel -m 444 > /usr/src/lib/libprocstat/libprocstat.h > /usr/obj/usr/src/amd64.amd64/tmp/usr/include/ > ===> lib/libc (obj,all,install) > install -U  -C -o root -g wheel -m 444   libc.a > /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/ > install -U  -s -o root -g wheel -m 444   -S  libc.so.7 > /usr/obj/usr/src/amd64.amd64/tmp/lib/ > install -U  -o root -g wheel -m 444    libc.so.7.debug > /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/debug/lib/ > install: short write to > /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/debug/lib/libc.so.7.debug: > 393216 bytes written, 7462472 bytes asked to write > *** [_libinstall] Error code 71 > > make[4]: stopped in /usr/src/lib/libc > 1 error > > make[4]: stopped in /usr/src/lib/libc > root@mowa219-gjp4-8570p:/usr/src # The same problem – short write to /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/debug/lib/libc.so.7.debug – when attempting buildworld of r367847. If it's relevant: I'm using r367081 for these attempts. From owner-freebsd-current@freebsd.org Fri Nov 20 10:51:36 2020 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 AB5912C553B for ; Fri, 20 Nov 2020 10:51:36 +0000 (UTC) (envelope-from clbuisson@orange.fr) Received: from smtp.smtpout.orange.fr (smtp13.smtpout.orange.fr [80.12.242.135]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cctdg4Vctz4tgJ for ; Fri, 20 Nov 2020 10:51:35 +0000 (UTC) (envelope-from clbuisson@orange.fr) Received: from localhost ([86.201.191.180]) by mwinf5d70 with ME id uarW2300W3tzC9y03arX8N; Fri, 20 Nov 2020 11:51:31 +0100 X-ME-Helo: localhost X-ME-Auth: Y2xidWlzc29uQHdhbmFkb28uZnI= X-ME-Date: Fri, 20 Nov 2020 11:51:31 +0100 X-ME-IP: 86.201.191.180 To: FreeBSD Current From: Claude Buisson Subject: what's going on with SVN ? Message-ID: <625e2c77-7b3f-6130-514d-eee206b183d6@orange.fr> Date: Fri, 20 Nov 2020 11:51:32 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.4.3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Cctdg4Vctz4tgJ X-Spamd-Bar: - X-Spamd-Result: default: False [-1.08 / 15.00]; FREEMAIL_FROM(0.00)[orange.fr]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RECEIVED_SPAMHAUS_PBL(0.00)[86.201.191.180:received]; SUBJECT_ENDS_QUESTION(1.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[orange.fr]; ASN(0.00)[asn:3215, ipnet:80.12.240.0/20, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.976]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[80.12.242.135:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[orange.fr]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[80.12.242.135:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[80.12.242.135:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[80.12.242.135:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 10:51:36 -0000 Hello, $ svnsync sync file:///home/svnmirror/base svnsync: E170013: Unable to connect to a repository at URL 'https://svn.freebsd.org/base' svnsync: E000065: Error running context: No route to host $ host svn.freebsd.org svn.freebsd.org is an alias for svnmir.geo.freebsd.org. svnmir.geo.freebsd.org has address 213.138.116.72 svnmir.geo.freebsd.org has IPv6 address 2001:41c8:112:8300::e6a:0 svnmir.geo.freebsd.org mail is handled by 0 . $ svnsync sync file:///home/svnmirror/base https://213.138.116.72:443/base Error validating server certificate for 'https://213.138.116.72:443': - The certificate hostname does not match. Certificate information: - Hostname: svn.freebsd.org - Valid: from Oct 17 20:29:49 2020 GMT until Jan 15 20:29:49 2021 GMT - Issuer: Let's Encrypt Authority X3, Let's Encrypt, US - Fingerprint: 0C:6D:4D:AF:97:EB:B4:EC:94:F3:8C:E2:BD:9F:E8:8C:C8:CF:15:81 (R)eject, accept (t)emporarily or accept (p)ermanently? t idem ports,doc CBu From owner-freebsd-current@freebsd.org Fri Nov 20 11:38:34 2020 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 932EC2C6F70 for ; Fri, 20 Nov 2020 11:38:34 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ccvgs0xZQz3Fhy for ; Fri, 20 Nov 2020 11:38:32 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.16.1/8.15.2) with ESMTP id 0AKBcV7e066752; Fri, 20 Nov 2020 11:38:31 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.16.1/8.16.1/Submit) id 0AKBcU9T066751; Fri, 20 Nov 2020 03:38:30 -0800 (PST) (envelope-from david) Date: Fri, 20 Nov 2020 03:38:30 -0800 From: David Wolfskill To: Claude Buisson Cc: FreeBSD Current Subject: Re: what's going on with SVN ? Message-ID: Reply-To: current@freebsd.org Mail-Followup-To: current@freebsd.org, Claude Buisson , FreeBSD Current References: <625e2c77-7b3f-6130-514d-eee206b183d6@orange.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="FxMXJGdJ8tOAhT84" Content-Disposition: inline In-Reply-To: <625e2c77-7b3f-6130-514d-eee206b183d6@orange.fr> X-Rspamd-Queue-Id: 4Ccvgs0xZQz3Fhy X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.37 / 15.00]; HAS_REPLYTO(0.00)[current@freebsd.org]; R_SPF_ALLOW(-0.20)[+ip4:107.204.234.170]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.97)[-0.972]; RCPT_COUNT_TWO(0.00)[2]; SIGNED_PGP(-2.00)[]; FREEMAIL_TO(0.00)[orange.fr]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[107.204.234.170:from]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[david]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCVD_TLS_LAST(0.00)[]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; DMARC_NA(0.00)[catwhisker.org]; SPAMHAUS_ZRD(0.00)[107.204.234.170:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 11:38:34 -0000 --FxMXJGdJ8tOAhT84 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 20, 2020 at 11:51:32AM +0100, Claude Buisson wrote: > Hello, >=20 > $ svnsync sync file:///home/svnmirror/base > svnsync: E170013: Unable to connect to a repository at URL=20 > 'https://svn.freebsd.org/base' > svnsync: E000065: Error running context: No route to host >=20 > $ host svn.freebsd.org > svn.freebsd.org is an alias for svnmir.geo.freebsd.org. > svnmir.geo.freebsd.org has address 213.138.116.72 > svnmir.geo.freebsd.org has IPv6 address 2001:41c8:112:8300::e6a:0 > svnmir.geo.freebsd.org mail is handled by 0 . >=20 > $ svnsync sync file:///home/svnmirror/base > https://213.138.116.72:443/base > Error validating server certificate for 'https://213.138.116.72:443': > - The certificate hostname does not match. > Certificate information: > - Hostname: svn.freebsd.org > - Valid: from Oct 17 20:29:49 2020 GMT until Jan 15 20:29:49 2021 GMT > - Issuer: Let's Encrypt Authority X3, Let's Encrypt, US > - Fingerprint: 0C:6D:4D:AF:97:EB:B4:EC:94:F3:8C:E2:BD:9F:E8:8C:C8:CF:15= :81 > (R)eject, accept (t)emporarily or accept (p)ermanently? t >=20 > idem ports,doc >=20 > CBu > .... I don't see that; indeed, I just updated my local private mirrors without issue. DNS resolution from here: g1-48(12.2-S)[1] host svn.freebsd.org svn.freebsd.org is an alias for svnmir.geo.freebsd.org. svnmir.geo.freebsd.org has address 96.47.72.69 svnmir.geo.freebsd.org has IPv6 address 2610:1c1:1:606c::e6a:0 svnmir.geo.freebsd.org mail is handled by 0 . g1-48(12.2-S)[2]=20 Peace, david --=20 David H. Wolfskill david@catwhisker.org Trump's post-loss hissy-fit is placing the US in danger -- to what end? See http://www.catwhisker.org/~david/publickey.gpg for my public key. --FxMXJGdJ8tOAhT84 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAl+3qrZfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2 Pckomgf+OWp0aNTuhI2XeLPK0k5wXtPJByIkA0wEiZw5ZcRpCmKwUAs5+4OQsgYG O55CDNVFkhYPPGHZyhqh9d4qVy6XJ0kF1d1bFjZM+n/fhemUe4tjRacCzi9zixxZ 7+JHk/tcMJ4o9JQTaCLGYYB8nV1gxQATq0sYYxW0xOqDV6BeCi34UEEbNntEyiyw BrGidLlYuEqW/PD0ztf3isqoSBJweeB3SpxwgtuOVS+7tPUk1rYC/c1O2hXAC3NZ Y4irl4xkLV2lIKkojlrbKXjvu+GDivauwTZgTDcAjBDbA9c+PS0oaNucar26Prvl jDJOblFWOGigqUrUIBm3iKWQ1GaLCQ== =5CcG -----END PGP SIGNATURE----- --FxMXJGdJ8tOAhT84-- From owner-freebsd-current@freebsd.org Fri Nov 20 13:34:32 2020 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 6D8212EAD32 for ; Fri, 20 Nov 2020 13:34:32 +0000 (UTC) (envelope-from clbuisson@orange.fr) Received: from smtp.smtpout.orange.fr (smtp01.smtpout.orange.fr [80.12.242.123]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CcyFg2sgwz3NmS for ; Fri, 20 Nov 2020 13:34:30 +0000 (UTC) (envelope-from clbuisson@orange.fr) Received: from localhost ([86.201.191.180]) by mwinf5d24 with ME id udaS2300C3tzC9y03daSnN; Fri, 20 Nov 2020 14:34:27 +0100 X-ME-Helo: localhost X-ME-Auth: Y2xidWlzc29uQHdhbmFkb28uZnI= X-ME-Date: Fri, 20 Nov 2020 14:34:27 +0100 X-ME-IP: 86.201.191.180 Subject: Re: what's going on with SVN ? To: freebsd-current@freebsd.org References: <625e2c77-7b3f-6130-514d-eee206b183d6@orange.fr> From: Claude Buisson Message-ID: <5d84e8f9-ecf1-7f03-2043-ed46469752c8@orange.fr> Date: Fri, 20 Nov 2020 14:34:28 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4CcyFg2sgwz3NmS X-Spamd-Bar: / X-Spamd-Result: default: False [-0.60 / 15.00]; FREEMAIL_FROM(0.00)[orange.fr]; TO_DN_NONE(0.00)[]; NEURAL_HAM_SHORT(-0.52)[-0.520]; RECEIVED_SPAMHAUS_PBL(0.00)[86.201.191.180:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[orange.fr]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:3215, ipnet:80.12.240.0/20, country:FR]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[80.12.242.123:from]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[orange.fr]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[80.12.242.123:from:127.0.2.255]; FROM_EQ_ENVFROM(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.982]; RCVD_IN_DNSWL_NONE(0.00)[80.12.242.123:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[80.12.242.123:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 13:34:32 -0000 On 2020-11-20 12 h 38, David Wolfskill wrote: > On Fri, Nov 20, 2020 at 11:51:32AM +0100, Claude Buisson wrote: >> Hello, >> >> $ svnsync sync file:///home/svnmirror/base >> svnsync: E170013: Unable to connect to a repository at URL >> 'https://svn.freebsd.org/base' >> svnsync: E000065: Error running context: No route to host >> >> $ host svn.freebsd.org >> svn.freebsd.org is an alias for svnmir.geo.freebsd.org. >> svnmir.geo.freebsd.org has address 213.138.116.72 >> svnmir.geo.freebsd.org has IPv6 address 2001:41c8:112:8300::e6a:0 >> svnmir.geo.freebsd.org mail is handled by 0 . >> >> $ svnsync sync file:///home/svnmirror/base >> https://213.138.116.72:443/base >> Error validating server certificate for 'https://213.138.116.72:443': >> - The certificate hostname does not match. >> Certificate information: >> - Hostname: svn.freebsd.org >> - Valid: from Oct 17 20:29:49 2020 GMT until Jan 15 20:29:49 2021 GMT >> - Issuer: Let's Encrypt Authority X3, Let's Encrypt, US >> - Fingerprint: 0C:6D:4D:AF:97:EB:B4:EC:94:F3:8C:E2:BD:9F:E8:8C:C8:CF:15:81 >> (R)eject, accept (t)emporarily or accept (p)ermanently? t >> >> idem ports,doc >> >> CBu >> .... > > I don't see that; indeed, I just updated my local private mirrors > without issue. DNS resolution from here: > > g1-48(12.2-S)[1] host svn.freebsd.org > svn.freebsd.org is an alias for svnmir.geo.freebsd.org. > svnmir.geo.freebsd.org has address 96.47.72.69 > svnmir.geo.freebsd.org has IPv6 address 2610:1c1:1:606c::e6a:0 > svnmir.geo.freebsd.org mail is handled by 0 . > g1-48(12.2-S)[2] > > Peace, > david > It looks like the problem is linked to IPv6: $ svnsync sync file:///home/svnmirror/base https://[2001:41c8:112:8300::e6a:0]:443/base svnsync: E170013: Unable to connect to a repository at URL 'https://[2001:41c8:112:8300::e6a:0]/base' svnsync: E000065: Error running context: No route to host CBu From owner-freebsd-current@freebsd.org Fri Nov 20 15:01:05 2020 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 BC8F32ED0B8 for ; Fri, 20 Nov 2020 15:01:05 +0000 (UTC) (envelope-from philip@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cd09Y4wRRz3khh; Fri, 20 Nov 2020 15:01:05 +0000 (UTC) (envelope-from philip@freebsd.org) Received: from weatherwax.trouble.is (weatherwax.trouble.is [IPv6:2a00:1098:82:3a::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "weatherwax.trouble.is", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: philip/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 86018FA55; Fri, 20 Nov 2020 15:01:05 +0000 (UTC) (envelope-from philip@freebsd.org) Received: from rincewind.trouble.is (rincewind.trouble.is [95.216.22.234]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "rincewind.trouble.is", Issuer "Let's Encrypt Authority X3" (verified OK)) by weatherwax.trouble.is (Postfix) with ESMTPS id 4Cd09W64rYz972; Fri, 20 Nov 2020 15:01:03 +0000 (UTC) Received: by rincewind.trouble.is (Postfix, from userid 1001) id 4Cd09V2ZPsz5mPl; Fri, 20 Nov 2020 15:01:02 +0000 (UTC) Date: Fri, 20 Nov 2020 23:01:02 +0800 From: Philip Paeps To: Claude Buisson Cc: freebsd-current@freebsd.org Subject: Re: what's going on with SVN ? Message-ID: Mail-Followup-To: Claude Buisson , freebsd-current@freebsd.org References: <625e2c77-7b3f-6130-514d-eee206b183d6@orange.fr> <5d84e8f9-ecf1-7f03-2043-ed46469752c8@orange.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <5d84e8f9-ecf1-7f03-2043-ed46469752c8@orange.fr> X-PGP-Fingerprint: 2CD1 92C2 6EE7 B7D1 F552 6619 31AE B9B5 FDBB CB0E X-Date: Today is Prickle-Prickle, the 32nd day of The Aftermath in the YOLD 3186 X-Phase-of-Moon: The Moon is Waxing Crescent (34% of Full) X-Clacks-Overhead: GNU Terry Pratchett Organization: Happily Disorganized X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 15:01:05 -0000 On 2020-11-20 14:34:28 (+0100), Claude Buisson wrote: >On 2020-11-20 12 h 38, David Wolfskill wrote: >>On Fri, Nov 20, 2020 at 11:51:32AM +0100, Claude Buisson wrote: >>>Hello, >>> >>>$ svnsync sync file:///home/svnmirror/base >>>svnsync: E170013: Unable to connect to a repository at URL >>>'https://svn.freebsd.org/base' >>>svnsync: E000065: Error running context: No route to host >>> >>>$ host svn.freebsd.org >>>svn.freebsd.org is an alias for svnmir.geo.freebsd.org. >>>svnmir.geo.freebsd.org has address 213.138.116.72 >>>svnmir.geo.freebsd.org has IPv6 address 2001:41c8:112:8300::e6a:0 >>>svnmir.geo.freebsd.org mail is handled by 0 . >>> >>>$ svnsync sync file:///home/svnmirror/base >>>https://213.138.116.72:443/base >>>Error validating server certificate for 'https://213.138.116.72:443': >>> - The certificate hostname does not match. >>>Certificate information: >>> - Hostname: svn.freebsd.org >>> - Valid: from Oct 17 20:29:49 2020 GMT until Jan 15 20:29:49 2021 GMT >>> - Issuer: Let's Encrypt Authority X3, Let's Encrypt, US >>> - Fingerprint: 0C:6D:4D:AF:97:EB:B4:EC:94:F3:8C:E2:BD:9F:E8:8C:C8:CF:15:81 >>>(R)eject, accept (t)emporarily or accept (p)ermanently? t >>> >>>idem ports,doc >>> >>>CBu >>>.... >> >>I don't see that; indeed, I just updated my local private mirrors >>without issue. DNS resolution from here: >> >>g1-48(12.2-S)[1] host svn.freebsd.org >>svn.freebsd.org is an alias for svnmir.geo.freebsd.org. >>svnmir.geo.freebsd.org has address 96.47.72.69 >>svnmir.geo.freebsd.org has IPv6 address 2610:1c1:1:606c::e6a:0 >>svnmir.geo.freebsd.org mail is handled by 0 . >>g1-48(12.2-S)[2] >> >>Peace, >>david >> > >It looks like the problem is linked to IPv6: > >$ svnsync sync file:///home/svnmirror/base >https://[2001:41c8:112:8300::e6a:0]:443/base >svnsync: E170013: Unable to connect to a repository at URL >'https://[2001:41c8:112:8300::e6a:0]/base' >svnsync: E000065: Error running context: No route to host Errr ... I upgraded the bme svn mirror recently. I checked that svn still worked but I'm not sure if I checked ipv6 and legacy ip individually. I'll go and double-check ipv6. Thanks for pointing this out. Sorry for breaking it. Dogfood so tasty. Philip [clusteradm pointy hat collector] -- Philip Paeps Senior Reality Engineer Alternative Enterprises From owner-freebsd-current@freebsd.org Fri Nov 20 16:27:57 2020 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 3D2632EF11B for ; Fri, 20 Nov 2020 16:27:57 +0000 (UTC) (envelope-from clbuisson@orange.fr) Received: from smtp.smtpout.orange.fr (smtp01.smtpout.orange.fr [80.12.242.123]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cd25l6b20z3qWk for ; Fri, 20 Nov 2020 16:27:55 +0000 (UTC) (envelope-from clbuisson@orange.fr) Received: from localhost ([90.2.80.150]) by mwinf5d24 with ME id ugTr230033Eb7BN03gTrVN; Fri, 20 Nov 2020 17:27:51 +0100 X-ME-Helo: localhost X-ME-Auth: Y2xidWlzc29uQHdhbmFkb28uZnI= X-ME-Date: Fri, 20 Nov 2020 17:27:51 +0100 X-ME-IP: 90.2.80.150 Subject: Re: what's going on with SVN ? To: freebsd-current@freebsd.org References: <625e2c77-7b3f-6130-514d-eee206b183d6@orange.fr> <5d84e8f9-ecf1-7f03-2043-ed46469752c8@orange.fr> From: Claude Buisson Message-ID: Date: Fri, 20 Nov 2020 17:27:52 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Cd25l6b20z3qWk X-Spamd-Bar: - X-Spamd-Result: default: False [-1.10 / 15.00]; FREEMAIL_FROM(0.00)[orange.fr]; TO_DN_NONE(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RECEIVED_SPAMHAUS_PBL(0.00)[90.2.80.150:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[orange.fr]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:3215, ipnet:80.12.240.0/20, country:FR]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[80.12.242.123:from]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[orange.fr]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[80.12.242.123:from:127.0.2.255]; FROM_EQ_ENVFROM(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_IN_DNSWL_NONE(0.00)[80.12.242.123:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[80.12.242.123:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 16:27:57 -0000 On 2020-11-20 16 h 01, Philip Paeps wrote: > On 2020-11-20 14:34:28 (+0100), Claude Buisson wrote: >> On 2020-11-20 12 h 38, David Wolfskill wrote: >>> On Fri, Nov 20, 2020 at 11:51:32AM +0100, Claude Buisson wrote: >>>> Hello, >>>> >>>> $ svnsync sync file:///home/svnmirror/base >>>> svnsync: E170013: Unable to connect to a repository at URL >>>> 'https://svn.freebsd.org/base' >>>> svnsync: E000065: Error running context: No route to host >>>> >>>> $ host svn.freebsd.org >>>> svn.freebsd.org is an alias for svnmir.geo.freebsd.org. >>>> svnmir.geo.freebsd.org has address 213.138.116.72 >>>> svnmir.geo.freebsd.org has IPv6 address 2001:41c8:112:8300::e6a:0 >>>> svnmir.geo.freebsd.org mail is handled by 0 . >>>> >>>> $ svnsync sync file:///home/svnmirror/base >>>> https://213.138.116.72:443/base >>>> Error validating server certificate for 'https://213.138.116.72:443': >>>>   - The certificate hostname does not match. >>>> Certificate information: >>>>   - Hostname: svn.freebsd.org >>>>   - Valid: from Oct 17 20:29:49 2020 GMT until Jan 15 20:29:49 2021 GMT >>>>   - Issuer: Let's Encrypt Authority X3, Let's Encrypt, US >>>>   - Fingerprint: >>>> 0C:6D:4D:AF:97:EB:B4:EC:94:F3:8C:E2:BD:9F:E8:8C:C8:CF:15:81 >>>> (R)eject, accept (t)emporarily or accept (p)ermanently? t >>>> >>>> idem ports,doc >>>> >>>> CBu >>>> .... >>> >>> I don't see that; indeed, I just updated my local private mirrors >>> without issue.  DNS resolution from here: >>> >>> g1-48(12.2-S)[1] host svn.freebsd.org >>> svn.freebsd.org is an alias for svnmir.geo.freebsd.org. >>> svnmir.geo.freebsd.org has address 96.47.72.69 >>> svnmir.geo.freebsd.org has IPv6 address 2610:1c1:1:606c::e6a:0 >>> svnmir.geo.freebsd.org mail is handled by 0 . >>> g1-48(12.2-S)[2] >>> >>> Peace, >>> david >>> >> >> It looks like the problem is linked to IPv6: >> >> $ svnsync sync file:///home/svnmirror/base >> https://[2001:41c8:112:8300::e6a:0]:443/base >> svnsync: E170013: Unable to connect to a repository at URL >> 'https://[2001:41c8:112:8300::e6a:0]/base' >> svnsync: E000065: Error running context: No route to host > > Errr ... I upgraded the bme svn mirror recently.  I checked that svn > still worked but I'm not sure if I checked ipv6 and legacy ip > individually.  I'll go and double-check ipv6. > > Thanks for pointing this out.  Sorry for breaking it. > > Dogfood so tasty. > > Philip [clusteradm pointy hat collector] > It seems that the problem was the consequence of some bad IPv6 routing by my ISP. After many useless tests of my local gear, everything is back to normal. Thanks for your interest ! CBu From owner-freebsd-current@freebsd.org Sat Nov 21 00:46:31 2020 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 66D704721AA for ; Sat, 21 Nov 2020 00:46:31 +0000 (UTC) (envelope-from philip@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CdF932SdMz4pgZ; Sat, 21 Nov 2020 00:46:31 +0000 (UTC) (envelope-from philip@freebsd.org) Received: from weatherwax.trouble.is (weatherwax.trouble.is [46.235.227.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "weatherwax.trouble.is", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: philip/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 3187623B3E; Sat, 21 Nov 2020 00:46:31 +0000 (UTC) (envelope-from philip@freebsd.org) Received: from rincewind.trouble.is (rincewind.trouble.is [IPv6:2a01:4f9:2a:1715::1:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "rincewind.trouble.is", Issuer "Let's Encrypt Authority X3" (verified OK)) by weatherwax.trouble.is (Postfix) with ESMTPS id 4CdF923B57z9LG; Sat, 21 Nov 2020 00:46:30 +0000 (UTC) Received: by rincewind.trouble.is (Postfix, authenticated sender philip) id 4CdF902zlfz5mbq; Sat, 21 Nov 2020 00:46:28 +0000 (UTC) From: "Philip Paeps" To: "Claude Buisson" Cc: freebsd-current@freebsd.org Subject: Re: what's going on with SVN ? Date: Sat, 21 Nov 2020 08:46:24 +0800 X-Clacks-Overhead: GNU Terry Pratchett X-Mailer: MailMate (1.14r5737) Message-ID: In-Reply-To: References: <625e2c77-7b3f-6130-514d-eee206b183d6@orange.fr> <5d84e8f9-ecf1-7f03-2043-ed46469752c8@orange.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 00:46:31 -0000 On 2020-11-21 00:27:52 (+0800), Claude Buisson wrote: > On 2020-11-20 16 h 01, Philip Paeps wrote: >> On 2020-11-20 14:34:28 (+0100), Claude Buisson wrote: >>> On 2020-11-20 12 h 38, David Wolfskill wrote: >>>> On Fri, Nov 20, 2020 at 11:51:32AM +0100, Claude Buisson wrote: >>>>> Hello, >>>>> >>>>> $ svnsync sync file:///home/svnmirror/base >>>>> svnsync: E170013: Unable to connect to a repository at URL >>>>> 'https://svn.freebsd.org/base' >>>>> svnsync: E000065: Error running context: No route to host >>>>> >>>>> $ host svn.freebsd.org >>>>> svn.freebsd.org is an alias for svnmir.geo.freebsd.org. >>>>> svnmir.geo.freebsd.org has address 213.138.116.72 >>>>> svnmir.geo.freebsd.org has IPv6 address 2001:41c8:112:8300::e6a:0 >>>>> svnmir.geo.freebsd.org mail is handled by 0 . >>>>> >>>>> $ svnsync sync file:///home/svnmirror/base >>>>> https://213.138.116.72:443/base >>>>> Error validating server certificate for >>>>> 'https://213.138.116.72:443': >>>>>   - The certificate hostname does not match. >>>>> Certificate information: >>>>>   - Hostname: svn.freebsd.org >>>>>   - Valid: from Oct 17 20:29:49 2020 GMT until Jan 15 20:29:49 >>>>> 2021 GMT >>>>>   - Issuer: Let's Encrypt Authority X3, Let's Encrypt, US >>>>>   - Fingerprint: >>>>> 0C:6D:4D:AF:97:EB:B4:EC:94:F3:8C:E2:BD:9F:E8:8C:C8:CF:15:81 >>>>> (R)eject, accept (t)emporarily or accept (p)ermanently? t >>>>> >>>>> idem ports,doc >>>>> >>>>> CBu >>>>> .... >>>> >>>> I don't see that; indeed, I just updated my local private mirrors >>>> without issue.  DNS resolution from here: >>>> >>>> g1-48(12.2-S)[1] host svn.freebsd.org >>>> svn.freebsd.org is an alias for svnmir.geo.freebsd.org. >>>> svnmir.geo.freebsd.org has address 96.47.72.69 >>>> svnmir.geo.freebsd.org has IPv6 address 2610:1c1:1:606c::e6a:0 >>>> svnmir.geo.freebsd.org mail is handled by 0 . >>>> g1-48(12.2-S)[2] >>>> >>>> Peace, >>>> david >>>> >>> >>> It looks like the problem is linked to IPv6: >>> >>> $ svnsync sync file:///home/svnmirror/base >>> https://[2001:41c8:112:8300::e6a:0]:443/base >>> svnsync: E170013: Unable to connect to a repository at URL >>> 'https://[2001:41c8:112:8300::e6a:0]/base' >>> svnsync: E000065: Error running context: No route to host >> >> Errr ... I upgraded the bme svn mirror recently.  I checked that svn >> still worked but I'm not sure if I checked ipv6 and legacy ip >> individually.  I'll go and double-check ipv6. >> >> Thanks for pointing this out.  Sorry for breaking it. >> >> Dogfood so tasty. >> >> Philip [clusteradm pointy hat collector] >> > > It seems that the problem was the consequence of some bad IPv6 routing > by my ISP. After many useless tests of my local gear, everything is > back to normal. > > Thanks for your interest ! Good to hear I didn't botch it this time. ;-) Thanks for keeping my feet close to the fire! Philip -- Philip Paeps Senior Reality Engineer Alternative Enterprises From owner-freebsd-current@freebsd.org Sat Nov 21 22:48:21 2020 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 8DBE2472BB4 for ; Sat, 21 Nov 2020 22:48:21 +0000 (UTC) (envelope-from guyyur@gmail.com) Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CdpVD1bhNz3l7B; Sat, 21 Nov 2020 22:48:19 +0000 (UTC) (envelope-from guyyur@gmail.com) Received: by mail-wm1-x32e.google.com with SMTP id s13so13800513wmh.4; Sat, 21 Nov 2020 14:48:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=SXGXGOy42+2p6fqBTYGCDtabLxqJYRH/rerdFFpJxUs=; b=YbMdMKTeznUKQ4XwgZ9+w3+yO8PisuRSWmnbWgteGVlR5ku6y8qaQAbEnnBBrD28nq lUzpp4hLcrGoi2UGtHRHDoyeJm40WG4JJolgrBl8F8cLkSAQX4ziaeCDJTDOqQlzYcGD a3NAJ3sP1LXXCrNKBGO6eWQRCO9o+EOcYhM0wIIh6WCTBD305veisXyUcmKvkWMEWnBh K5tnTz3hhk119ZDg468pKzzX0NAlqb2Q8VPDREcUQRYws48zNdMjX71c4II8hlFHGPSa 1o6YJuLAg1/1pFWIuYhRf0csRZz/7X4TXKgSQnkDb/rNl2+ZMwhC4ZovfPhD6tTAc92P BhpQ== X-Gm-Message-State: AOAM5331rk6aUYfBWnwY/WZDpUEK4XQZy7upQybTYtqG0VLv+UiM7S/3 2wQ1P/DU9XRMsqEevT0CMi+WKnyHQ13TKw== X-Google-Smtp-Source: ABdhPJwdcu8cjX9sdpa6hFQ2IRzO7htpkatfSrYewcE1hBoe717iVqx8jqpB5ZMjxF7/YgJpMlCkUw== X-Received: by 2002:a1c:a344:: with SMTP id m65mr16969128wme.77.1605998898254; Sat, 21 Nov 2020 14:48:18 -0800 (PST) Received: from ?IPv6:2a02:ed0:33ff:5501:33e8:8c9b:8d89:594d? ([2a02:ed0:33ff:5501:33e8:8c9b:8d89:594d]) by smtp.gmail.com with ESMTPSA id 31sm10987658wre.43.2020.11.21.14.48.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 21 Nov 2020 14:48:17 -0800 (PST) From: Guy Yur Subject: adding existing ipv6 network route returns ENOMEM instead of EEXIST if loopback route also exists To: melifaro@FreeBSD.org, freebsd-current@freebsd.org Message-ID: <9b1bb259-1307-7776-cc0b-e7a8eced6ac3@gmail.com> Date: Sun, 22 Nov 2020 00:48:16 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 4CdpVD1bhNz3l7B X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::32e:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::32e:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::32e:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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 Nov 2020 22:48:21 -0000 Hi, When adding a route with a netmask, add_route() in route_ctl.c adds the route with destination address masked. If the add failed (for example, the route exists) it calls lookup_prefix() with the original unmasked destination. In a scenario where a loopback route was added followed by the network route being added, if the network route is added again and the network route destination is the same as the loopback route, lookup_prefix() will match on the loopback route, not finding the network route and add_route() will return ENOMEM instead of EEXIST. Adding the route with just the network part returns EEXIST as expected. Example: # route -6 add -host fd53::1111 -prefixlen 128 ::1 # route -6 add -net fd53::1111 -prefixlen 64 ::1 # route -6 add -net fd53::1111 -prefixlen 64 ::1 route: writing to routing socket: Cannot allocate memory add net fd53::1111: gateway ::1 fib 0: Cannot allocate memory # route -6 add -net fd53:: -prefixlen 64 ::1 add net fd53::: gateway ::1 fib 0: route already in table I was testing https://reviews.freebsd.org/D15406 changes applied to r367863. The changes call rtinit to add prefix route when interface address is added/updated and uses the interface address as the destination. rtinit returned ENOMEM instead of EEXIST causing dhcpcd to printCannot allocate memory. route commands above showing the problem were run in r367863 without D15406 changesas well. Thanks, Guy Yur