From nobody Sun Aug 27 17:15:57 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RYgM86PWSz4rQyc for ; Sun, 27 Aug 2023 17:16:04 +0000 (UTC) (envelope-from felix@palmen-it.de) Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RYgM733XFz4RW1; Sun, 27 Aug 2023 17:16:03 +0000 (UTC) (envelope-from felix@palmen-it.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=palmen-it.de header.s=20200414 header.b=EKctnl4Y; spf=pass (mx1.freebsd.org: domain of felix@palmen-it.de designates 2001:470:1f0b:bbb:1::1 as permitted sender) smtp.mailfrom=felix@palmen-it.de; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=j256Nqx1o62a1hodTT3aEMJpxVK3ZWwObRghRKlNQlY=; b=EKctnl4YRhmgvvl7vlBDY9KA5b ki9OLrLRBOwzzdBKo7B08QJIRI/qzEL4EZcCPmagaFq0yfiV1gWNGI/7DdCt6Vh1J6xBopW4fWzaD CokCecgGSQXOFK6GallzXwXdw665+zx+Cea+A1z3uOL/U0FTTvmualRKApbhoq6HD9UdlWTKNtIbj 2tvH0vZmPVnz1G0qcli2wR9WIC1wReMWVWDCqUYCLuJAMpUaTZNEo/M9V+RL1qvEo6VrxUdSRGtA1 3Zrs7Ufq9ZfuGjIS+2zaoE1W6dilPBpm5KPSpFYe3/LV8HHwOgN9ZyT7x7iHzU+KF6IZe9+aUB/2a BZgC/NHg==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qaJMk-00Azqo-C7; Sun, 27 Aug 2023 19:15:58 +0200 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.96 (FreeBSD)) (envelope-from ) id 1qaJMk-000FWP-0J; Sun, 27 Aug 2023 17:15:58 +0000 Date: Sun, 27 Aug 2023 19:15:57 +0200 From: Felix Palmen To: current@freebsd.org Cc: Dmitry Chagin Subject: Re: Possible issue with linux xattr support? Message-ID: <3q2k3tje2ig2s6wzy4hzvjmoyejiecminvcvevivumtukxrgki@btnpjbztyfa6> Mail-Followup-To: current@freebsd.org, Dmitry Chagin X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~;.B;!M/bL}*qk]p5*r7F5vW};{:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: FreeBSD.org References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="f62qipc5cbgsnfmh" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20230517 X-Spamd-Result: default: False [-6.48 / 15.00]; SIGNED_PGP(-2.00)[]; DWL_DNSWL_MED(-2.00)[palmen-it.de:dkim]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.979]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; MID_RHS_NOT_FQDN(0.50)[]; FORGED_SENDER(0.30)[zirias@freebsd.org,felix@palmen-it.de]; RCVD_IN_DNSWL_MED(-0.20)[2001:470:1f0b:bbb:1::1:from]; R_DKIM_ALLOW(-0.20)[palmen-it.de:s=20200414]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f0b:bbb:1::1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; FROM_HAS_DN(0.00)[]; FROM_NEQ_ENVFROM(0.00)[zirias@freebsd.org,felix@palmen-it.de]; RCVD_COUNT_TWO(0.00)[2]; HAS_ORG_HEADER(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DKIM_TRACE(0.00)[palmen-it.de:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_TLS_ALL(0.00)[] X-Spamd-Bar: ------ X-Rspamd-Queue-Id: 4RYgM733XFz4RW1 --f62qipc5cbgsnfmh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Felix Palmen [20230825 19:54]: > To verify, I removed xattr support completely from coreutils (and also > sed) in commit "linuxsrc: Disable usage of xattr" and indeed, with this > change, GNU's install works as it should. I now ran into a second case which makes it very likely the xattr support is indeed the problem. Trying to create a port for python setuptools, calling "setup.py install" with debugging opened showed me this error: #v+ File "/wrkdirs/usr/ports/devel/linuxsrc-setuptools/work/setuptools-63.1.0= /setuptools/_distutils/command/install.py", line 706, in run self.run_command(cmd_name) File "/wrkdirs/usr/ports/devel/linuxsrc-setuptools/work/setuptools-63.1.0= /setuptools/_distutils/cmd.py", line 317, in run_command self.distribution.run_command(command) File "/wrkdirs/usr/ports/devel/linuxsrc-setuptools/work/setuptools-63.1.0= /setuptools/dist.py", line 1217, in run_command super().run_command(command) File "/wrkdirs/usr/ports/devel/linuxsrc-setuptools/work/setuptools-63.1.0= /setuptools/_distutils/dist.py", line 987, in run_command cmd_obj.run() File "/wrkdirs/usr/ports/devel/linuxsrc-setuptools/work/setuptools-63.1.0= /setuptools/command/install_egg_info.py", line 42, in run self.execute( File "/wrkdirs/usr/ports/devel/linuxsrc-setuptools/work/setuptools-63.1.0= /setuptools/_distutils/cmd.py", line 338, in execute util.execute(func, args, msg, dry_run=3Dself.dry_run) File "/wrkdirs/usr/ports/devel/linuxsrc-setuptools/work/setuptools-63.1.0= /setuptools/_distutils/util.py", line 344, in execute func(*args) File "/wrkdirs/usr/ports/devel/linuxsrc-setuptools/work/setuptools-63.1.0= /setuptools/command/install_egg_info.py", line 63, in copytree unpack_archive(self.source, self.target, skimmer) File "/wrkdirs/usr/ports/devel/linuxsrc-setuptools/work/setuptools-63.1.0= /setuptools/archive_util.py", line 53, in unpack_archive driver(filename, extract_dir, progress_filter) File "/wrkdirs/usr/ports/devel/linuxsrc-setuptools/work/setuptools-63.1.0= /setuptools/archive_util.py", line 88, in unpack_directory shutil.copystat(f, target) File "/usr/lib64/python3.11/shutil.py", line 380, in copystat _copyxattr(src, dst, follow_symlinks=3Dfollow) File "/usr/lib64/python3.11/shutil.py", line 322, in _copyxattr names =3D os.listxattr(src, follow_symlinks=3Dfollow_symlinks) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 1] Operation not permitted: 'setuptools.egg-info/to= p_level.txt' #v- I then rebuilt python passing "ac_cv_header_sys_xattr_h=3Dno" to its configure script, so it thinks there is no sys/xattr.h header. Indeed, this made the problem installing setuptools go away. Cheers, Felix --=20 Felix Palmen {private} felix@palmen-it.de -- ports committer -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 --f62qipc5cbgsnfmh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZOuEul8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny Mb1lAQDi5bz0p4VGJbkBagZhixNiam6MJsXsqnKC12CoqTpU+AD8CyjMnfURSFnQ 2RAMykOuO7hjMXqOeJXUjh1gX2NSYgU= =Dxjs -----END PGP SIGNATURE----- --f62qipc5cbgsnfmh-- From nobody Sun Aug 27 17:16:35 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RYgMw2C4dz4rRJ5 for ; Sun, 27 Aug 2023 17:16:44 +0000 (UTC) (envelope-from grahamperrin@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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RYgMt1Drmz4SQK for ; Sun, 27 Aug 2023 17:16:42 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=jPqbnyGP; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::635 as permitted sender) smtp.mailfrom=grahamperrin@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-99cce6f7de2so309724366b.3 for ; Sun, 27 Aug 2023 10:16:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693156599; x=1693761399; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=iSW5rDBiPYyhxcbXm1DbFOQoorv3C5ox2eiJoT/mrFM=; b=jPqbnyGPHvosgz0+tcK57aYecCZDwMXB5/Q4hg7+VSZftoiJ/pdGZzJXU3XW+dnjso 0U1XTPM+pB4hXaC6c09CX1ZlnaWcxjL2XMfJJIEqMHZGZINUvmSz0H7qIgLdj54SS9EV 6LHI5tKHCeM1X2OUp7O9jiYNqvZx0/N9D5UPOuR6NDDFoAjCJhWpY52RPfOuJoqSNIxZ Q9r4kl2uFZRaKQj/pGtaPorWFnNoN/2o7lkfkifS1ZtbZ9tXritMaEDkMQkfu3hqh+nA BDVhvCgrfiNc2HNed8dCK5f/GBnBvMRHpRdQ4XhnMGowf2l6mJSErRxz1N5a3yDkdrUB eLSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693156599; x=1693761399; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=iSW5rDBiPYyhxcbXm1DbFOQoorv3C5ox2eiJoT/mrFM=; b=U14ATElzwKIGcl6BTGG7xH/L7/tam2BP9W9vuvD1MK3/dv0l4HbanF6qkhZaRjktH4 UPjH4uYSBx/2OixYSGbxfxR/Lssny78tlegF/Xq8O3G3okRLmLykL6+7yX3dweHCEjVV LadCpLSR/AfyekZ6srEl034BnJNm94GKIWi7nWL4/TLynHMmXAYSxuGRSlGso12ImZj2 07UU9BROt7iEd5ZiAOvc3R/NG9LbRYwaCgeuc0SUhAvZZ00bvV2j1If0uSzOLEYFfZnY MwaBTmbEOk5iRPeecnbxWjmNOnCq7ScAKx8lpdsF2apqaNex4IhAbtuOZVwMNIumfY+5 D6oQ== X-Gm-Message-State: AOJu0YxddXO9JIBFMLhb9iVBJKY+i6qnykUQhVAIPhNABP/2TKTE5DF+ /dJh2EXP1FhAp96AqS9eAksHjci39aw= X-Google-Smtp-Source: AGHT+IHcHd83pcA2wuf+F/FXnbR66iBMu+b7o7hpl1ymQpZlQJzwpT7NpJqnnflbvovXHcJ5xHYMxQ== X-Received: by 2002:a17:907:78c8:b0:9a1:e994:3440 with SMTP id kv8-20020a17090778c800b009a1e9943440mr9383865ejc.4.1693156598991; Sun, 27 Aug 2023 10:16:38 -0700 (PDT) Received: from [192.168.1.10] (80-42-66-93.dynamic.dsl.as9105.com. [80.42.66.93]) by smtp.gmail.com with ESMTPSA id e18-20020a170906045200b00988b8ff849csm3618246eja.108.2023.08.27.10.16.37 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 27 Aug 2023 10:16:37 -0700 (PDT) Message-ID: <98bcf483-626c-7963-b008-02cb00703133@gmail.com> Date: Sun, 27 Aug 2023 18:16:35 +0100 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: etcupdate -p, and other uses of etcupdate(8) (was: Has the update procedure changed?) To: freebsd-current@freebsd.org References: <7A0E604D-EF40-4F10-B597-F1F076507192@gmail.com> Content-Language: en-US From: Graham Perrin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[grahamperrin]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::635:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; SUBJECT_HAS_QUESTION(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Spamd-Bar: --- X-Rspamd-Queue-Id: 4RYgMt1Drmz4SQK On 07/08/2023 16:51, Kevin Oberman wrote: > UPDATING seems to match the Makefile except that Makefile is far less > detailed. The Makefile even says "See src/UPDATING `COMMON ITEMS' for > more complete information." > > …  "etcupdate -p". … prompted me to look at . Is this fortune-provided tip outdated? From nobody Sun Aug 27 17:54:06 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RYhCC3b2Wz4rSnB for ; Sun, 27 Aug 2023 17:54:15 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Received: from heemeyer.club (heemeyer.club [195.93.173.158]) (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 4RYhCB32SGz4YKb for ; Sun, 27 Aug 2023 17:54:14 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of dchagin@heemeyer.club has no SPF policy when checking 195.93.173.158) smtp.mailfrom=dchagin@heemeyer.club; dmarc=none Received: from heemeyer.club (localhost [127.0.0.1]) by heemeyer.club (8.17.2/8.16.1) with ESMTP id 37RHs65R062983 for ; Sun, 27 Aug 2023 20:54:06 +0300 (MSK) (envelope-from dchagin@heemeyer.club) Received: (from dchagin@localhost) by heemeyer.club (8.17.2/8.16.1/Submit) id 37RHs6iL062982 for current@freebsd.org; Sun, 27 Aug 2023 20:54:06 +0300 (MSK) (envelope-from dchagin) Date: Sun, 27 Aug 2023 20:54:06 +0300 From: Dmitry Chagin To: current@freebsd.org Subject: Re: Possible issue with linux xattr support? Message-ID: References: <3q2k3tje2ig2s6wzy4hzvjmoyejiecminvcvevivumtukxrgki@btnpjbztyfa6> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3q2k3tje2ig2s6wzy4hzvjmoyejiecminvcvevivumtukxrgki@btnpjbztyfa6> X-Spamd-Result: default: False [-0.72 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; AUTH_NA(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-0.99)[-0.993]; NEURAL_HAM_SHORT(-0.93)[-0.927]; FORGED_SENDER(0.30)[dchagin@freebsd.org,dchagin@heemeyer.club]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[current@freebsd.org]; TO_DOM_EQ_FROM_DOM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_SPF_NA(0.00)[no SPF record]; R_DKIM_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; DMARC_NA(0.00)[freebsd.org]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FREEFALL_USER(0.00)[dchagin]; ARC_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[dchagin@freebsd.org,dchagin@heemeyer.club]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; ASN(0.00)[asn:61400, ipnet:195.93.173.0/24, country:RU] X-Spamd-Bar: / X-Rspamd-Queue-Id: 4RYhCB32SGz4YKb On Sun, Aug 27, 2023 at 07:15:57PM +0200, Felix Palmen wrote: > * Felix Palmen [20230825 19:54]: > > To verify, I removed xattr support completely from coreutils (and also > > sed) in commit "linuxsrc: Disable usage of xattr" and indeed, with this > > change, GNU's install works as it should. > > I now ran into a second case which makes it very likely the xattr > support is indeed the problem. Trying to create a port for python > setuptools, calling "setup.py install" with debugging opened showed me > this error: > > #v+ > File "/wrkdirs/usr/ports/devel/linuxsrc-setuptools/work/setuptools-63.1.0/setuptools/_distutils/command/install.py", line 706, in run > self.run_command(cmd_name) > File "/wrkdirs/usr/ports/devel/linuxsrc-setuptools/work/setuptools-63.1.0/setuptools/_distutils/cmd.py", line 317, in run_command > self.distribution.run_command(command) > File "/wrkdirs/usr/ports/devel/linuxsrc-setuptools/work/setuptools-63.1.0/setuptools/dist.py", line 1217, in run_command > super().run_command(command) > File "/wrkdirs/usr/ports/devel/linuxsrc-setuptools/work/setuptools-63.1.0/setuptools/_distutils/dist.py", line 987, in run_command > cmd_obj.run() > File "/wrkdirs/usr/ports/devel/linuxsrc-setuptools/work/setuptools-63.1.0/setuptools/command/install_egg_info.py", line 42, in run > self.execute( > File "/wrkdirs/usr/ports/devel/linuxsrc-setuptools/work/setuptools-63.1.0/setuptools/_distutils/cmd.py", line 338, in execute > util.execute(func, args, msg, dry_run=self.dry_run) > File "/wrkdirs/usr/ports/devel/linuxsrc-setuptools/work/setuptools-63.1.0/setuptools/_distutils/util.py", line 344, in execute > func(*args) > File "/wrkdirs/usr/ports/devel/linuxsrc-setuptools/work/setuptools-63.1.0/setuptools/command/install_egg_info.py", line 63, in copytree > unpack_archive(self.source, self.target, skimmer) > File "/wrkdirs/usr/ports/devel/linuxsrc-setuptools/work/setuptools-63.1.0/setuptools/archive_util.py", line 53, in unpack_archive > driver(filename, extract_dir, progress_filter) > File "/wrkdirs/usr/ports/devel/linuxsrc-setuptools/work/setuptools-63.1.0/setuptools/archive_util.py", line 88, in unpack_directory > shutil.copystat(f, target) > File "/usr/lib64/python3.11/shutil.py", line 380, in copystat > _copyxattr(src, dst, follow_symlinks=follow) > File "/usr/lib64/python3.11/shutil.py", line 322, in _copyxattr > names = os.listxattr(src, follow_symlinks=follow_symlinks) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > PermissionError: [Errno 1] Operation not permitted: 'setuptools.egg-info/top_level.txt' > #v- > > I then rebuilt python passing "ac_cv_header_sys_xattr_h=no" to its > configure script, so it thinks there is no sys/xattr.h header. Indeed, > this made the problem installing setuptools go away. > > Cheers, Felix Hi, 1. which fs are you using? 2. jailed? > > -- > Felix Palmen {private} felix@palmen-it.de > -- ports committer -- {web} http://palmen-it.de > {pgp public key} http://palmen-it.de/pub.txt > {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 From nobody Sun Aug 27 17:59:32 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RYhKM1Z19z4rT7d for ; Sun, 27 Aug 2023 17:59:35 +0000 (UTC) (envelope-from felix@palmen-it.de) Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RYhKL44vPz4Zk8 for ; Sun, 27 Aug 2023 17:59:34 +0000 (UTC) (envelope-from felix@palmen-it.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=palmen-it.de header.s=20200414 header.b=aEVFYKzm; spf=pass (mx1.freebsd.org: domain of felix@palmen-it.de designates 2001:470:1f0b:bbb:1::1 as permitted sender) smtp.mailfrom=felix@palmen-it.de; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=22WVY2SrfnJ/v3zl5BlmUpxWvTu5KP1tAXsOTBk3Bn0=; b=aEVFYKzmxoiV9Ii7gK242tKN3J +Oy5WQiUgeAdfkiqxefjddFQYssYKgNA2A9CFdOXOMz+eRD/K/H8HmZkQrimDRsakwI/sdn3IkRB6 ijbG29bdTQkr7R/a9M+svXe0gvJayWY4tokJ8P9QKbgNAo7znzmKcWuhnvY00aldDGyU5KPXE2NKm xHtMmi4zX9dmmBJfGFCAl9UMqFSadyYfABCLDEGNKk3n73JRxNMNm7o5NHmKDfvoSZSHOVu+ORlP2 /3X8XLXqy2sbHswT+qWF5aXYKBPmNqz0QioepvVxZp33X9QMvA0s9DAYHE0+1hecPbWDZgqyBBdSP fajq0P/w==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qaK2u-00Azvp-P8 for current@freebsd.org; Sun, 27 Aug 2023 19:59:32 +0200 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.96 (FreeBSD)) (envelope-from ) id 1qaK2u-000Fh7-1X for current@freebsd.org; Sun, 27 Aug 2023 17:59:32 +0000 Date: Sun, 27 Aug 2023 19:59:32 +0200 From: Felix Palmen To: current@freebsd.org Subject: Re: Possible issue with linux xattr support? Message-ID: Mail-Followup-To: current@freebsd.org X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~;.B;!M/bL}*qk]p5*r7F5vW};{:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: FreeBSD.org References: <3q2k3tje2ig2s6wzy4hzvjmoyejiecminvcvevivumtukxrgki@btnpjbztyfa6> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xlsa54or4vrfci5i" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20230517 X-Spamd-Result: default: False [-6.48 / 15.00]; DWL_DNSWL_MED(-2.00)[palmen-it.de:dkim]; SIGNED_PGP(-2.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.979]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; FORGED_SENDER(0.30)[zirias@freebsd.org,felix@palmen-it.de]; R_DKIM_ALLOW(-0.20)[palmen-it.de:s=20200414]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCVD_IN_DNSWL_MED(-0.20)[2001:470:1f0b:bbb:1::1:from]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f0b:bbb:1::1:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[freebsd.org]; MLMMJ_DEST(0.00)[current@freebsd.org]; FROM_HAS_DN(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; HAS_ORG_HEADER(0.00)[]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[palmen-it.de:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[zirias@freebsd.org,felix@palmen-it.de]; RCVD_TLS_ALL(0.00)[] X-Spamd-Bar: ------ X-Rspamd-Queue-Id: 4RYhKL44vPz4Zk8 --xlsa54or4vrfci5i Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Dmitry Chagin [20230827 20:54]: > 1. which fs are you using? ZFS. > 2. jailed? Yes, this is during building ports with poudriere. Cheers, Felix --=20 Felix Palmen {private} felix@palmen-it.de -- ports committer -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 --xlsa54or4vrfci5i Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZOuPBF8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny McGRAQDbktvXzZiYuryVBY5eq8SPFMgdcYLhvD+TLEhJZUGaXAEA0FJlGh4szmdb X+v0C6cMN1/C8+Pu5vaiGNI4ftvSGgQ= =rrQq -----END PGP SIGNATURE----- --xlsa54or4vrfci5i-- From nobody Sun Aug 27 19:46:39 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RYkj00bWPz4rZ6M for ; Sun, 27 Aug 2023 19:46:44 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Received: from heemeyer.club (heemeyer.club [195.93.173.158]) (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 4RYkhy3Gkrz4mjG for ; Sun, 27 Aug 2023 19:46:42 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of dchagin@heemeyer.club has no SPF policy when checking 195.93.173.158) smtp.mailfrom=dchagin@heemeyer.club; dmarc=none Received: from heemeyer.club (localhost [127.0.0.1]) by heemeyer.club (8.17.2/8.16.1) with ESMTP id 37RJkdOk063371 for ; Sun, 27 Aug 2023 22:46:39 +0300 (MSK) (envelope-from dchagin@heemeyer.club) Received: (from dchagin@localhost) by heemeyer.club (8.17.2/8.16.1/Submit) id 37RJkdMS063370 for current@freebsd.org; Sun, 27 Aug 2023 22:46:39 +0300 (MSK) (envelope-from dchagin) Date: Sun, 27 Aug 2023 22:46:39 +0300 From: Dmitry Chagin To: current@freebsd.org Subject: Re: Possible issue with linux xattr support? Message-ID: References: <3q2k3tje2ig2s6wzy4hzvjmoyejiecminvcvevivumtukxrgki@btnpjbztyfa6> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-0.79 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; AUTH_NA(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; NEURAL_HAM_LONG(-0.99)[-0.995]; FORGED_SENDER(0.30)[dchagin@freebsd.org,dchagin@heemeyer.club]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[current@freebsd.org]; TO_DOM_EQ_FROM_DOM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_SPF_NA(0.00)[no SPF record]; R_DKIM_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; DMARC_NA(0.00)[freebsd.org]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FREEFALL_USER(0.00)[dchagin]; ARC_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[dchagin@freebsd.org,dchagin@heemeyer.club]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; ASN(0.00)[asn:61400, ipnet:195.93.173.0/24, country:RU] X-Spamd-Bar: / X-Rspamd-Queue-Id: 4RYkhy3Gkrz4mjG On Sun, Aug 27, 2023 at 07:59:32PM +0200, Felix Palmen wrote: > * Dmitry Chagin [20230827 20:54]: > > 1. which fs are you using? > > ZFS. > > > 2. jailed? > > Yes, this is during building ports with poudriere. > I think it's a weird prohibition on changing system namespace extattr attributes, look to comments in extattr_check_cred() I can fix this completely disabling exttatr for jailed proc, however, it's gonna be bullshit, though > Cheers, Felix > > -- > Felix Palmen {private} felix@palmen-it.de > -- ports committer -- {web} http://palmen-it.de > {pgp public key} http://palmen-it.de/pub.txt > {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 From nobody Sun Aug 27 19:55:23 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RYkv5536vz4rZwQ for ; Sun, 27 Aug 2023 19:55:29 +0000 (UTC) (envelope-from felix@palmen-it.de) Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RYkv42kSDz4ptB for ; Sun, 27 Aug 2023 19:55:28 +0000 (UTC) (envelope-from felix@palmen-it.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=palmen-it.de header.s=20200414 header.b=lIYrG9R5; spf=pass (mx1.freebsd.org: domain of felix@palmen-it.de designates 2001:470:1f0b:bbb:1::1 as permitted sender) smtp.mailfrom=felix@palmen-it.de; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=3DOlNm6fzonxwps0jQCWMXdgYBKRJYB3EbhEqeOrGzU=; b=lIYrG9R52aWCs6lVFJVS+KaRP4 ApMUh3TgXqL/zPNYe0GNf6yon61ZgkjweA9n1rUxs/dcqeyhgRF4XaunW9i+mLAbyswu2C2wEnjBR lA0DGaTsnL+PRkNnzW+J9hUuimdTid4a7m9YLlDiIuLdjuX25iHasnF+2ai9JkxLFYgYlz/vTBjkp WhYaeYz6HbAfjYc+ArsPPFx5cjo1gdpYCuR6oLFbYuZac0SkcIuZLFAhikE8DM8r3CpQAOxfHvL+f 8THHi7RkYPrUMooOUAmCj5cfRicMwAKKjGiljbWfjG4Sk2bklXwbac2/fQ7SfCFmk9Z9tQpbkmsO1 aDzXcSzg==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qaLr2-00B0bC-CN for current@freebsd.org; Sun, 27 Aug 2023 21:55:24 +0200 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.96 (FreeBSD)) (envelope-from ) id 1qaLr2-000GCM-0Z for current@freebsd.org; Sun, 27 Aug 2023 19:55:24 +0000 Date: Sun, 27 Aug 2023 21:55:23 +0200 From: Felix Palmen To: current@freebsd.org Subject: Re: Possible issue with linux xattr support? Message-ID: Mail-Followup-To: current@freebsd.org X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~;.B;!M/bL}*qk]p5*r7F5vW};{:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: FreeBSD.org References: <3q2k3tje2ig2s6wzy4hzvjmoyejiecminvcvevivumtukxrgki@btnpjbztyfa6> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fmqwz3yp5aoqfvru" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20230517 X-Spamd-Result: default: False [-6.49 / 15.00]; DWL_DNSWL_MED(-2.00)[palmen-it.de:dkim]; SIGNED_PGP(-2.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.991]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; FORGED_SENDER(0.30)[zirias@freebsd.org,felix@palmen-it.de]; R_DKIM_ALLOW(-0.20)[palmen-it.de:s=20200414]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCVD_IN_DNSWL_MED(-0.20)[2001:470:1f0b:bbb:1::1:from]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f0b:bbb:1::1:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[freebsd.org]; MLMMJ_DEST(0.00)[current@freebsd.org]; FROM_HAS_DN(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; HAS_ORG_HEADER(0.00)[]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[palmen-it.de:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[zirias@freebsd.org,felix@palmen-it.de]; RCVD_TLS_ALL(0.00)[] X-Spamd-Bar: ------ X-Rspamd-Queue-Id: 4RYkv42kSDz4ptB --fmqwz3yp5aoqfvru Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Dmitry Chagin [20230827 22:46]: > On Sun, Aug 27, 2023 at 07:59:32PM +0200, Felix Palmen wrote: > > * Dmitry Chagin [20230827 20:54]: > > > 1. which fs are you using? > >=20 > > ZFS. > >=20 > > > 2. jailed? > >=20 > > Yes, this is during building ports with poudriere. > >=20 >=20 > I think it's a weird prohibition on changing system namespace extattr > attributes, look to comments in extattr_check_cred() Maybe that's when I should finally start trying to understand the stuff in src.git ;) > I can fix this completely disabling exttatr for jailed proc, > however, it's gonna be bullshit, though Would probably be better than nothing. AFAIK, "Linux jails" are used a lot, probably with userlands from distributions actually using xattr. Cheers, Felix --=20 Felix Palmen {private} felix@palmen-it.de -- ports committer -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 --fmqwz3yp5aoqfvru Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZOuqJF8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny MaKoAQCAlnL3aS7SriUAARCacEJIN+EQIm1jpa2Wx5QFMA+rmAEA0vuPbmQe6UNj +t0crW73XaJprlCejDmDPvufXDOuNwE= =gQFi -----END PGP SIGNATURE----- --fmqwz3yp5aoqfvru-- From nobody Sun Aug 27 23:59:06 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RYrKC2lWGz4rnJF; Sun, 27 Aug 2023 23:59:59 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) (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 4RYrKB5ZYCz3Tf7; Sun, 27 Aug 2023 23:59:58 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; none Received: from shw-obgw-4003a.ext.cloudfilter.net ([10.228.9.183]) by cmsmtp with ESMTP id a9mDqGxUvLAoIaPfhq9adW; Sun, 27 Aug 2023 23:59:57 +0000 Received: from spqr.komquats.com ([70.66.152.170]) by cmsmtp with ESMTPA id aPffqAlN0cyvuaPfgqnxNF; Sun, 27 Aug 2023 23:59:57 +0000 X-Authority-Analysis: v=2.4 cv=VbHkgXl9 c=1 sm=1 tr=0 ts=64ebe37d a=y8EK/9tc/U6QY+pUhnbtgQ==:117 a=y8EK/9tc/U6QY+pUhnbtgQ==:17 a=IkcTkHD0fZMA:10 a=UttIx32zK-AA:10 a=6I5d2MoRAAAA:8 a=YxBL1-UpAAAA:8 a=EkcXrb_YAAAA:8 a=Y1D9y8VkxgBURcYS2o0A:9 a=QEXdDO2ut3YA:10 a=IjZwj45LgO3ly-622nXo:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=LK5xJRSDVpKd5WXXoEvA:22 Received: from [127.0.0.1] (unknown [192.168.0.252]) by spqr.komquats.com (Postfix) with ESMTPSA id 7BBE62841; Sun, 27 Aug 2023 16:59:55 -0700 (PDT) Date: Sun, 27 Aug 2023 16:59:06 -0700 From: Cy Schubert To: freebsd-current@freebsd.org, Felix Palmen , current@freebsd.org Subject: Re: Possible issue with linux xattr support? In-Reply-To: References: <3q2k3tje2ig2s6wzy4hzvjmoyejiecminvcvevivumtukxrgki@btnpjbztyfa6> Message-ID: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-CMAE-Envelope: MS4xfKTCHY1Qdehi1mQdxRrGP24aBCArxQ/Q7QHpskmn8CVGiJVgRr+tQDxj2fRlzj/5Dpo+w0Zk1K6Z5+qQrB1oAbC66K9QLdTR05kf1wkLm5Yc+k8NgaE7 V4OMEoPXdyFBgnQgwZR4tthb7teqqh4Egzmw9LQqRMLvcFqUc1ABNJ8L9iPJQwuQ99JTUfDL8QIM5yQcMUvKUtvggp6D77WRcjI7coj21Yo0B7kn1vOB+R2n 7biAJ/jjBlamQ8ZXFGYJco613oYFpRUn2SX/t33PPTg= X-Rspamd-Queue-Id: 4RYrKB5ZYCz3Tf7 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US] On August 27, 2023 12:55:23 PM PDT, Felix Palmen wro= te: >* Dmitry Chagin [20230827 22:46]: >> On Sun, Aug 27, 2023 at 07:59:32PM +0200, Felix Palmen wrote: >> > * Dmitry Chagin [20230827 20:54]: >> > > 1=2E which fs are you using? >> >=20 >> > ZFS=2E >> >=20 >> > > 2=2E jailed? >> >=20 >> > Yes, this is during building ports with poudriere=2E >> >=20 >>=20 >> I think it's a weird prohibition on changing system namespace extattr >> attributes, look to comments in extattr_check_cred() > >Maybe that's when I should finally start trying to understand the stuff >in src=2Egit ;) > >> I can fix this completely disabling exttatr for jailed proc, >> however, it's gonna be bullshit, though > >Would probably be better than nothing=2E AFAIK, "Linux jails" are used a >lot, probably with userlands from distributions actually using xattr=2E > >Cheers, Felix > If we are to break it to fix a problem, maybe a sysctl to enable/disable t= hen? --=20 Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD=2Eorg NTP: Web: https://nwtime=2Eorg e^(i*pi)+1=3D0 Pardon the typos=2E Small keyboard in use=2E From nobody Sun Aug 27 23:59:06 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RYrKC2lWGz4rnJF; Sun, 27 Aug 2023 23:59:59 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) (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 4RYrKB5ZYCz3Tf7; Sun, 27 Aug 2023 23:59:58 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; none Received: from shw-obgw-4003a.ext.cloudfilter.net ([10.228.9.183]) by cmsmtp with ESMTP id a9mDqGxUvLAoIaPfhq9adW; Sun, 27 Aug 2023 23:59:57 +0000 Received: from spqr.komquats.com ([70.66.152.170]) by cmsmtp with ESMTPA id aPffqAlN0cyvuaPfgqnxNF; Sun, 27 Aug 2023 23:59:57 +0000 X-Authority-Analysis: v=2.4 cv=VbHkgXl9 c=1 sm=1 tr=0 ts=64ebe37d a=y8EK/9tc/U6QY+pUhnbtgQ==:117 a=y8EK/9tc/U6QY+pUhnbtgQ==:17 a=IkcTkHD0fZMA:10 a=UttIx32zK-AA:10 a=6I5d2MoRAAAA:8 a=YxBL1-UpAAAA:8 a=EkcXrb_YAAAA:8 a=Y1D9y8VkxgBURcYS2o0A:9 a=QEXdDO2ut3YA:10 a=IjZwj45LgO3ly-622nXo:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=LK5xJRSDVpKd5WXXoEvA:22 Received: from [127.0.0.1] (unknown [192.168.0.252]) by spqr.komquats.com (Postfix) with ESMTPSA id 7BBE62841; Sun, 27 Aug 2023 16:59:55 -0700 (PDT) Date: Sun, 27 Aug 2023 16:59:06 -0700 From: Cy Schubert To: freebsd-current@freebsd.org, Felix Palmen , current@freebsd.org Subject: Re: Possible issue with linux xattr support? In-Reply-To: References: <3q2k3tje2ig2s6wzy4hzvjmoyejiecminvcvevivumtukxrgki@btnpjbztyfa6> Message-ID: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-CMAE-Envelope: MS4xfKTCHY1Qdehi1mQdxRrGP24aBCArxQ/Q7QHpskmn8CVGiJVgRr+tQDxj2fRlzj/5Dpo+w0Zk1K6Z5+qQrB1oAbC66K9QLdTR05kf1wkLm5Yc+k8NgaE7 V4OMEoPXdyFBgnQgwZR4tthb7teqqh4Egzmw9LQqRMLvcFqUc1ABNJ8L9iPJQwuQ99JTUfDL8QIM5yQcMUvKUtvggp6D77WRcjI7coj21Yo0B7kn1vOB+R2n 7biAJ/jjBlamQ8ZXFGYJco613oYFpRUn2SX/t33PPTg= X-Rspamd-Queue-Id: 4RYrKB5ZYCz3Tf7 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US] On August 27, 2023 12:55:23 PM PDT, Felix Palmen wro= te: >* Dmitry Chagin [20230827 22:46]: >> On Sun, Aug 27, 2023 at 07:59:32PM +0200, Felix Palmen wrote: >> > * Dmitry Chagin [20230827 20:54]: >> > > 1=2E which fs are you using? >> >=20 >> > ZFS=2E >> >=20 >> > > 2=2E jailed? >> >=20 >> > Yes, this is during building ports with poudriere=2E >> >=20 >>=20 >> I think it's a weird prohibition on changing system namespace extattr >> attributes, look to comments in extattr_check_cred() > >Maybe that's when I should finally start trying to understand the stuff >in src=2Egit ;) > >> I can fix this completely disabling exttatr for jailed proc, >> however, it's gonna be bullshit, though > >Would probably be better than nothing=2E AFAIK, "Linux jails" are used a >lot, probably with userlands from distributions actually using xattr=2E > >Cheers, Felix > If we are to break it to fix a problem, maybe a sysctl to enable/disable t= hen? --=20 Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD=2Eorg NTP: Web: https://nwtime=2Eorg e^(i*pi)+1=3D0 Pardon the typos=2E Small keyboard in use=2E From nobody Mon Aug 28 02:34:47 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RYvm0500xz4rw56 for ; Mon, 28 Aug 2023 02:34:56 +0000 (UTC) (envelope-from zlei@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RYvm03VNhz4DWj; Mon, 28 Aug 2023 02:34:56 +0000 (UTC) (envelope-from zlei@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693190096; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=uh4QQUhGP9DKSas+VpypAIvX3PMp6q4PVdbzMS5ZBN8=; b=XazI6fb4FkRytJBIju4PHQTsVtdhK8AYrYvdkIjNjeDzWp1rMrGBcnR8P2DOhZR9BTU6ew uXwT4bGMl9Il1Uo+byyix8RR636/6ooc4/TJcTVc25VaY2buE08jIsxT+wic04HI76fOKq 0KwmiNxnQL9waTRI1hNoqAmMOcBgoQgEgxyNz2O0KHi9MHVsHpg+msMPW7U+QC8hofcnKU S3tW/jBrh5nHUGzyR0afjsPRkcprYs16++Yzj0OfqQmIiJagX/fYqMpFlT5iV025AIanbl 5p5tAuK9CqR6Uh0TxEvGa2SavS2WYRz8t8/9dR6EiLwBdd4Uda3Cj3bZCbU05w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693190096; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=uh4QQUhGP9DKSas+VpypAIvX3PMp6q4PVdbzMS5ZBN8=; b=ADI1Zp3ydtOa3B9j3GhJpElP7zQbQRu0ued9OPA+rLKTF5qA5gXWT9zWEARvi8+K1zZiCg e+ubmperY0Rsu0A33viQCLydAC4pGkzQOyFczD2fsb2GgXFhk9Bqrbt+mi5c/AA1OQPe3z B16oGcLOtPGdLk8JuUBU4fn/eudWDmahyF0qShWb93lgi1+orJBxiy+3OPCcEsvJngYJSa sb9o2Q4kBW3k0oS11U7L1mmR/vbf+syup6brzqk3V381X49asH3Zo/pryDAqBbN+CsTDf2 era/VydtHLhHnve7EiW1zvHLIEanqGxCJA8rIUjI70WsejknxIWTa/gAPSoIvw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693190096; a=rsa-sha256; cv=none; b=ct8EwqJj1qp2k33vxOOwCgi9sg399SkhBlKZVG0se6tElMD73FUw2T07SAWMbNYg6C1D2k qNwTv54A4NYbh6MM70oU/j7QEWqIAutttTQxiA5BXKn1N0YL9jSZkGfVQCmvFf9uZegvbV OTXso21Bfr8qoiCspF34gVWuXZL5G+CYJFVa6DVc2VN2eHZhYjWpd7gZLC7k3QszuE+LfE 2pwObIhkJp5fgYY0BS7lnoYLhTv9kqC9fuActe9HyXiORX87Yn+3ssmMv4bi1k5ylpBJmR y1VhYi5lhK9gc8UOXzmoqfFn3vV/QQPId9XJK4iDUQVuD6BdQcA6GfcVhGdpuw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from smtpclient.apple (ns1.oxydns.net [45.32.91.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: zlei/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4RYvly4tyMz1bbZ; Mon, 28 Aug 2023 02:34:54 +0000 (UTC) (envelope-from zlei@FreeBSD.org) From: Zhenlei Huang Message-Id: <8BA46336-3E51-42E7-BD95-CA3A44B9E623@FreeBSD.org> Content-Type: multipart/alternative; boundary="Apple-Mail=_55D912F6-199E-4A8F-8E91-B293242E36A3" List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.4\)) Subject: Re: Question about KBI change / new feature Date: Mon, 28 Aug 2023 10:34:47 +0800 In-Reply-To: Cc: FreeBSD CURRENT To: Warner Losh References: X-Mailer: Apple Mail (2.3696.120.41.1.4) --Apple-Mail=_55D912F6-199E-4A8F-8E91-B293242E36A3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Aug 23, 2023, at 1:06 AM, Warner Losh wrote: >=20 >=20 >=20 > On Mon, Aug 21, 2023 at 9:42=E2=80=AFAM Zhenlei Huang = > wrote: > Hi, >=20 > The https://www.freebsd.org/releases/14.0R/schedule/ = says CURRENT/14 's = KBI is froze > and new features should be avoided. >=20 > I'm working on https://reviews.freebsd.org/D39638 = (sysctl(9): Enable vnet sysctl = variables be loader tunable) > and I think it is new feature, but not quite sure whether the KBI = changed. >=20 > So, >=20 > 1. Is it a KBI change ? >=20 > IMHO, It's a KPI change, not a KBI breakage. So from that perspective, = it's OK. Thanks for the explanation ! > =20 > 2. It is a simple change ( while so far as I know currently only = tested by myself on x86 and qemu riscv ), can > it catch up with 14 ? >=20 > That I'm less sure of. I think it's good, but I'm gun shy about = approving / committing vnet things. The review suggests, > though, there's at least some consensus for having this in the tree. I always hesitate to PING someone to review ;) Well I'm going to prepare to commit some of the stack, D41525, D39638, = D39852, D39866, if no objections. As for D40127, I have mixed filling about it. It might be too complex = (for a simple function). I wonder if we can have per-vnet `loader tunnable` to archive the same = goal. Best regards, Zhenlei --Apple-Mail=_55D912F6-199E-4A8F-8E91-B293242E36A3 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

On Aug 23, 2023, at 1:06 AM, Warner Losh <imp@bsdimp.com> = wrote:



On Mon, Aug 21, 2023 at 9:42=E2=80=AFAM = Zhenlei Huang <zlei@freebsd.org> wrote:
Hi,

The https://www.freebsd.org/releases/14.0R/schedule/ says = CURRENT/14 's KBI is froze
and new features should be avoided.

I'm working on https://reviews.freebsd.org/D39638 (sysctl(9): Enable = vnet sysctl variables be loader tunable)
and I think it is new feature, but not quite sure whether the KBI = changed.

So,

1. Is it a KBI change ?

IMHO, It's a KPI change, not a KBI = breakage. So from that perspective, it's = OK.

Thanks for the explanation !

 
2. It is a simple change ( while so far as I know currently only tested = by myself on x86 and qemu riscv ), can
it catch up with 14 ?

That I'm less sure of. I think it's = good, but I'm gun shy about approving / committing vnet things. The = review suggests,
though, there's at least some = consensus for having this in the = tree.

I= always hesitate to PING someone to review ;)

Well I'm going to prepare to commit some of the = stack, D41525, D39638, D39852, D39866, if no = objections.

As for D40127, I = have mixed filling about it. It might be too complex (for a simple = function).
I wonder if we can have per-vnet `loader tunnable` = to archive the same goal.

Best regards,
Zhenlei

= --Apple-Mail=_55D912F6-199E-4A8F-8E91-B293242E36A3-- From nobody Mon Aug 28 03:34:19 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RYx4n58Hdz4ql6L for ; Mon, 28 Aug 2023 03:34:33 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [66.165.241.226]) (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.nomadlogic.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RYx4m0YTJz4K08 for ; Mon, 28 Aug 2023 03:34:32 +0000 (UTC) (envelope-from pete@nomadlogic.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=nomadlogic.org header.s=04242021 header.b=TWC0JWYY; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 66.165.241.226 as permitted sender) smtp.mailfrom=pete@nomadlogic.org; dmarc=pass (policy=quarantine) header.from=nomadlogic.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nomadlogic.org; s=04242021; t=1693193663; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=NGamnXS9XLj4N15GMY2G5iqxQ7oqNidnMAYrzqQpYTs=; b=TWC0JWYYXwmHT6bwFTLskF8gdRiL1X6WjfSjFJuMJvMjksg5RCGyTyXsQnGR52ik4ZFfQ2 g6YFQOVYjCI9/D4qWslXclFVxvyqrEIMgc/LsRCNUgY7JWTC3UoYGBN4/jbXYAALwUyjXK z/Y/ESozQ1Rtcpnesh7Ew1lCNR1CHXM= Received: from topanga (cpe-24-24-168-214.socal.res.rr.com [24.24.168.214]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 6baa53cf (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Mon, 28 Aug 2023 03:34:22 +0000 (UTC) Date: Sun, 27 Aug 2023 20:34:19 -0700 From: Pete Wright To: freebsd-current@freebsd.org Subject: zfs autotrim default to off now Message-ID: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[nomadlogic.org,quarantine]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[nomadlogic.org:s=04242021]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:29802, ipnet:66.165.240.0/22, country:US]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[nomadlogic.org:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCVD_TLS_ALL(0.00)[] X-Spamd-Bar: --- X-Rspamd-Queue-Id: 4RYx4m0YTJz4K08 looking at a recent pull of CURRENT i'm noticing this in the git logs: #15079 set autotrim default to 'off' everywhere which references this openzfs PR: https://github.com/openzfs/zfs/pull/15079 looking at the PR i'm not seeing a reference to a bug report or anything, is anyone able to point me to a bug report for this. it seems like a pretty major issue: "As it turns out having autotrim default to 'on' on FreeBSD never really worked due to mess with defines where userland and kernel module were getting different default values (userland was defaulting to 'off', module was thinking it's 'on')." i'd just like to make sure i better understand the issue and can see if my systems are impacted. thanks! -pete -- Pete Wright pete@nomadlogic.org From nobody Mon Aug 28 06:03:33 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RZ0Nn4ZKkz4qsqV for ; Mon, 28 Aug 2023 06:03:37 +0000 (UTC) (envelope-from felix@palmen-it.de) Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RZ0Nm3Hyxz4Xk5 for ; Mon, 28 Aug 2023 06:03:36 +0000 (UTC) (envelope-from felix@palmen-it.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=palmen-it.de header.s=20200414 header.b=mBcAHffY; spf=pass (mx1.freebsd.org: domain of felix@palmen-it.de designates 2001:470:1f0b:bbb:1::1 as permitted sender) smtp.mailfrom=felix@palmen-it.de; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=EvA5wYs8QbKShfHp14Dvy49/1G1DHM9sK7LVBjqpt9Q=; b=mBcAHffYjxOKjbmjtNYmAtWGOo 04MNhvfVcmAU3wZQJ0Uzn7lGQZqPTp418z2wAcxktt/8cfF8DK0BUkmD/QiivsjG4jE8oy9A1thlO pXinEEDsSzwMZMEQgX0C4S6ZfWRNDpIsOaTmWmb0Uk2OKvNCdzUBnrRyCdNsN35PyDgrplVpKV3lF xlmYKLxPzJKiDQ2uecbYdA/Pc1icyyR6cOxXT76FqC6NhCoPJxr6TMX+sXV5dsBWEQothsyuNRFi0 a6jDf9eOSE4ATDfKd5tSTJc7rFVvnEpZrb4YM8S07ZjWxnSsqelW5PltZggF3uxSIXKC2hU+qD/B3 qnrNOYgA==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qaVLa-00B3JI-5S for current@freebsd.org; Mon, 28 Aug 2023 08:03:34 +0200 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.96 (FreeBSD)) (envelope-from ) id 1qaVLZ-000K3g-39 for current@freebsd.org; Mon, 28 Aug 2023 06:03:33 +0000 Date: Mon, 28 Aug 2023 08:03:33 +0200 From: Felix Palmen To: current@freebsd.org Subject: Re: Possible issue with linux xattr support? Message-ID: Mail-Followup-To: current@freebsd.org X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~;.B;!M/bL}*qk]p5*r7F5vW};{:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: FreeBSD.org References: <3q2k3tje2ig2s6wzy4hzvjmoyejiecminvcvevivumtukxrgki@btnpjbztyfa6> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zeqnf7mgns3c4mnu" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20230517 X-Spamd-Result: default: False [-6.50 / 15.00]; DWL_DNSWL_MED(-2.00)[palmen-it.de:dkim]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; FORGED_SENDER(0.30)[zirias@freebsd.org,felix@palmen-it.de]; R_DKIM_ALLOW(-0.20)[palmen-it.de:s=20200414]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCVD_IN_DNSWL_MED(-0.20)[2001:470:1f0b:bbb:1::1:from]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f0b:bbb:1::1:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[freebsd.org]; MLMMJ_DEST(0.00)[current@freebsd.org]; FROM_HAS_DN(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; HAS_ORG_HEADER(0.00)[]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[palmen-it.de:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[zirias@freebsd.org,felix@palmen-it.de]; RCVD_TLS_ALL(0.00)[] X-Spamd-Bar: ------ X-Rspamd-Queue-Id: 4RZ0Nm3Hyxz4Xk5 --zeqnf7mgns3c4mnu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Cy Schubert [20230827 16:59]: > On August 27, 2023 12:55:23 PM PDT, Felix Palmen wro= te: > >* Dmitry Chagin [20230827 22:46]: > >> On Sun, Aug 27, 2023 at 07:59:32PM +0200, Felix Palmen wrote: > >> > * Dmitry Chagin [20230827 20:54]: > >> > > 1. which fs are you using? > >> >=20 > >> > ZFS. > >> >=20 > >> > > 2. jailed? > >> >=20 > >> > Yes, this is during building ports with poudriere. > >> >=20 > >>=20 > >> I think it's a weird prohibition on changing system namespace extattr > >> attributes, look to comments in extattr_check_cred() > > > >Maybe that's when I should finally start trying to understand the stuff > >in src.git ;) > > > >> I can fix this completely disabling exttatr for jailed proc, > >> however, it's gonna be bullshit, though > > > >Would probably be better than nothing. AFAIK, "Linux jails" are used a > >lot, probably with userlands from distributions actually using xattr. > > > >Cheers, Felix > > >=20 > If we are to break it to fix a problem, maybe a sysctl to enable/disable = then? IMHO depends on the exact nature of the problem. If it's confirmed that it (always and only) breaks for jailed processes, just disabling it for them would be the better workaround. "No-op" calls won't break anything. Cheers, Felix --=20 Felix Palmen {private} felix@palmen-it.de -- ports committer -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 --zeqnf7mgns3c4mnu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZOw4r18UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny MYTGAQDcB6S61dTPBD+XCjVfiTR15y72nlAPccUBxZ0FPYCy5QEA9pGCSpEABkgK k//b96yULmTQ4lRFIN71tLFyMwvQXA0= =jWCP -----END PGP SIGNATURE----- --zeqnf7mgns3c4mnu-- From nobody Mon Aug 28 08:53:00 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RZ48Z3Xfwz4rK1g for ; Mon, 28 Aug 2023 08:53:18 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (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 4RZ48W46kYz3M2J for ; Mon, 28 Aug 2023 08:53:14 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of junchoon@dec.sakura.ne.jp has no SPF policy when checking 153.125.133.21) smtp.mailfrom=junchoon@dec.sakura.ne.jp; dmarc=none Received: from kalamity.joker.local (123-1-88-210.area1b.commufa.jp [123.1.88.210]) (authenticated bits=0) by www121.sakura.ne.jp (8.16.1/8.16.1/[SAKURA-WEB]/20201212) with ESMTPA id 37S8r0n4079361 for ; Mon, 28 Aug 2023 17:53:00 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Mon, 28 Aug 2023 17:53:00 +0900 From: Tomoaki AOKI To: freebsd-current@freebsd.org Subject: Re: etcupdate -p, and other uses of etcupdate(8) (was: Has the update procedure changed?) Message-Id: <20230828175300.4ef0bcaddbc36ea7a52c33df@dec.sakura.ne.jp> In-Reply-To: <98bcf483-626c-7963-b008-02cb00703133@gmail.com> References: <7A0E604D-EF40-4F10-B597-F1F076507192@gmail.com> <98bcf483-626c-7963-b008-02cb00703133@gmail.com> Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-1.40 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.90)[-0.902]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[sakura.ne.jp]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; SUBJECT_HAS_QUESTION(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; HAS_ORG_HEADER(0.00)[]; TO_DN_NONE(0.00)[]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:7684, ipnet:153.125.128.0/18, country:JP]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org] X-Spamd-Bar: - X-Rspamd-Queue-Id: 4RZ48W46kYz3M2J On Sun, 27 Aug 2023 18:16:35 +0100 Graham Perrin wrote: > On 07/08/2023 16:51, Kevin Oberman wrote: > > UPDATING seems to match the Makefile except that Makefile is far less > > detailed. The Makefile even says "See src/UPDATING `COMMON ITEMS' for > > more complete information." > > > > …  "etcupdate -p". … > > prompted me to > look at > . > > > Is this fortune-provided tip outdated? For new install with bsdinstall [1] and binary update by freebsd-update [2], yes. But for src updates, no [3]. [1] https://lists.freebsd.org/archives/freebsd-current/2023-August/004194.html [2] https://lists.freebsd.org/archives/freebsd-current/2023-August/004208.html [3] https://lists.freebsd.org/archives/freebsd-current/2023-August/004210.html -- Tomoaki AOKI From nobody Mon Aug 28 11:06:33 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RZ76Q6HnHz4rR5m for ; Mon, 28 Aug 2023 11:06:38 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Received: from heemeyer.club (heemeyer.club [195.93.173.158]) (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 4RZ76N5Vkyz3Xnb; Mon, 28 Aug 2023 11:06:36 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of dchagin@heemeyer.club has no SPF policy when checking 195.93.173.158) smtp.mailfrom=dchagin@heemeyer.club; dmarc=none Received: from heemeyer.club (localhost [127.0.0.1]) by heemeyer.club (8.17.2/8.16.1) with ESMTP id 37SB6XI2066517; Mon, 28 Aug 2023 14:06:33 +0300 (MSK) (envelope-from dchagin@heemeyer.club) Received: (from dchagin@localhost) by heemeyer.club (8.17.2/8.16.1/Submit) id 37SB6XA9066516; Mon, 28 Aug 2023 14:06:33 +0300 (MSK) (envelope-from dchagin) Date: Mon, 28 Aug 2023 14:06:33 +0300 From: Dmitry Chagin To: current@freebsd.org Cc: jamie@freebsd.org Subject: Re: Possible issue with linux xattr support? Message-ID: References: <3q2k3tje2ig2s6wzy4hzvjmoyejiecminvcvevivumtukxrgki@btnpjbztyfa6> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-0.39 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.59)[-0.590]; FORGED_SENDER(0.30)[dchagin@freebsd.org,dchagin@heemeyer.club]; MIME_GOOD(-0.10)[text/plain]; R_SPF_NA(0.00)[no SPF record]; MLMMJ_DEST(0.00)[current@freebsd.org]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:61400, ipnet:195.93.173.0/24, country:RU]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[freebsd.org]; FREEFALL_USER(0.00)[dchagin]; ARC_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[dchagin@freebsd.org,dchagin@heemeyer.club]; FROM_HAS_DN(0.00)[]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Spamd-Bar: / X-Rspamd-Queue-Id: 4RZ76N5Vkyz3Xnb On Sun, Aug 27, 2023 at 09:55:23PM +0200, Felix Palmen wrote: > * Dmitry Chagin [20230827 22:46]: > > On Sun, Aug 27, 2023 at 07:59:32PM +0200, Felix Palmen wrote: > > > * Dmitry Chagin [20230827 20:54]: > > > > 1. which fs are you using? > > > > > > ZFS. > > > > > > > 2. jailed? > > > > > > Yes, this is during building ports with poudriere. > > > > > > > I think it's a weird prohibition on changing system namespace extattr > > attributes, look to comments in extattr_check_cred() > > Maybe that's when I should finally start trying to understand the stuff > in src.git ;) > > > I can fix this completely disabling exttatr for jailed proc, > > however, it's gonna be bullshit, though > > Would probably be better than nothing. AFAIK, "Linux jails" are used a > lot, probably with userlands from distributions actually using xattr. > It might sense to allow this priv (PRIV_VFS_EXTATTR_SYSTEM) for linux jails by default? What do think, James? From nobody Mon Aug 28 12:17:18 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RZ8hJ4W11z4rV0b for ; Mon, 28 Aug 2023 12:17:36 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from mailgate.Leidinger.net (bastille.leidinger.net [89.238.82.207]) (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 ECDSA (P-256) client-digest SHA256) (Client CN "mailgate.leidinger.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RZ8hH2Q7Nz3gNv; Mon, 28 Aug 2023 12:17:35 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Authentication-Results: mx1.freebsd.org; none Received: from webmail2.leidinger.net (roundcube.Leidinger.net [192.168.1.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: Alexander@Leidinger.net) by outgoing.leidinger.net (Postfix) with ESMTPSA id D469D88; Mon, 28 Aug 2023 14:17:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leidinger.net; s=outgoing-alex; t=1693225041; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mQ2MeBWpantUTXP61qjmsUqAE1pW40hL8VcoviFwpyg=; b=em/fNb5CoMo1h5SIBywtpJHmFeFKN7ywi/suZ6lX5kevBEhZemLHkqfxoCF6nQbW1HIZGH XQ2lrBoAy3TfwUSYZj92EvnYI8QuDbatPn/lod+jmRrzFif4aI5tafi3ZC8Tr+6EhzOWev 8if6qq0qH966x5hFnLVXIUfTpgPL5ubaQ4A2BiLxrvznYH/ZymnOOKb+RyFMlr8Dp1RiaQ ji9xKbNZGEkhg/5S3Va2J+uj5B6ZG6PF2slRvciuw+KQH9qJ5Jcvbcmn/GrqvRi8QlPWiV G/2KcwHWZjj/5xs9RiiHkp5btfKdg9qDoqxHgiJXCFFiplGnVAFnP3rSp7f2fw== List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Date: Mon, 28 Aug 2023 14:17:18 +0200 From: Alexander Leidinger To: Dmitry Chagin Cc: current@freebsd.org, jamie@freebsd.org Subject: Re: Possible issue with linux xattr support? In-Reply-To: References: <3q2k3tje2ig2s6wzy4hzvjmoyejiecminvcvevivumtukxrgki@btnpjbztyfa6> Message-ID: <7ef4e05c0dc9b9e10e1dbc16f485d83c@Leidinger.net> X-Sender: Alexander@Leidinger.net Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4RZ8hH2Q7Nz3gNv X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:34240, ipnet:89.238.64.0/18, country:DE] Am 2023-08-28 13:06, schrieb Dmitry Chagin: > On Sun, Aug 27, 2023 at 09:55:23PM +0200, Felix Palmen wrote: >> * Dmitry Chagin [20230827 22:46]: >> > I can fix this completely disabling exttatr for jailed proc, >> > however, it's gonna be bullshit, though >> >> Would probably be better than nothing. AFAIK, "Linux jails" are used a >> lot, probably with userlands from distributions actually using xattr. >> > > It might sense to allow this priv (PRIV_VFS_EXTATTR_SYSTEM) for linux > jails by default? What do think, James? I think the question is more if we want to allow it in jails (not specific to linux jails, as in: if it is ok for linux jails, it should be ok for FreeBSD jails too). So the question is what does this protect the hosts from, if this is not allowed in jails? Some kind of possibility to DoS the host? Bye, Alexander. -- http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF From nobody Mon Aug 28 14:23:09 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RZCTr0FM0z4rbpl for ; Mon, 28 Aug 2023 14:23:44 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-yw1-x1130.google.com (mail-yw1-x1130.google.com [IPv6:2607:f8b0:4864:20::1130]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RZCTq5QJZz4PpS for ; Mon, 28 Aug 2023 14:23:43 +0000 (UTC) (envelope-from mavbsd@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-x1130.google.com with SMTP id 00721157ae682-59209b12c50so41041817b3.0 for ; Mon, 28 Aug 2023 07:23:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693232623; x=1693837423; h=content-transfer-encoding:in-reply-to:subject:from:references:to :content-language:user-agent:mime-version:date:message-id:sender :from:to:cc:subject:date:message-id:reply-to; bh=bcaQztgjGiI9jFRcxpfVWyGgTE3gJulqvDPB0a4U2eI=; b=JyB3S7qItIaBhke5rfnfasBZAzjmQKD9uWYTaRACKNxRYLXguw6lLdW9HMG6+UAbbw Nxa/vdx6jilXf+FySU2LWpiJPs/7MyRQHErzqgIFPWSyUzyPaoF9tchf2OcsaIgBgw+n BfIeMyqE56shE/H8KPMAQJykurTN73oMjOuSkSlENEstkoNc4lkVryrEF3IWbT5oFYdb ecSANAr35PatMUvzkxH/iQsXsogwIQy+22iJrtKGMliz4I1+30PtRLvKAmma6UrmMOBB DQ+CC6bvgz+w8zKdXiAjAxwJ6dmO62TNLpROMYe1Z+SlEtvqYwzOQlYsbQQoQT1Zw5V/ hadQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693232623; x=1693837423; h=content-transfer-encoding:in-reply-to:subject:from:references:to :content-language:user-agent:mime-version:date:message-id:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bcaQztgjGiI9jFRcxpfVWyGgTE3gJulqvDPB0a4U2eI=; b=JqZJFM6SiEM/kXTFmHRvlF0ITP1PfQ/vAE1lMF/BH2YXCA/oCXcRxf207XOe0e4n/t 3Nz1UkHOMKIYloy6wU9czCHB2vrifbqygKIZzfXHpJtYfCpN5gWEH+D1x8413yPt1gHV l2TMbRMjtvlUgJ+XcUvECVLUM4eq0wZH9Bs1ZwViTi+BNsYoYzXA7ZYm2XnfSiIPYGiA GcWV7NiSGguHfl67c5mVpd5JxkQ2KUPiSXX+Gw5+UNLX/li9GHrv5tMYEAJn2BV0V06s T6rH4mAmuumLBvI62H/RYUl68JPkDhz990xj/DgtjdJIEYOIsBrq6auvVM8Pii+XH+Y7 T0sw== X-Gm-Message-State: AOJu0Yww+Nfkp1aHvKa2LSSex/NRkiIkvHZOyjR3PpKaBbnAHYfSRLhW UOsTepFmS0tTiq4ICintaMFi3b+ataI= X-Google-Smtp-Source: AGHT+IHTKZx0n1r7FX+0uYI3HcqDHg8d4r1FhT5xPAJ4L9v1koz7DRAdQ+W0ohq9KZpsNnbvaImyjg== X-Received: by 2002:a0d:cc93:0:b0:583:9c78:9a84 with SMTP id o141-20020a0dcc93000000b005839c789a84mr28440542ywd.43.1693232622932; Mon, 28 Aug 2023 07:23:42 -0700 (PDT) Received: from [10.230.45.5] ([38.32.73.2]) by smtp.gmail.com with ESMTPSA id u139-20020a818491000000b00583b40d907esm2177456ywf.16.2023.08.28.07.23.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Aug 2023 07:23:42 -0700 (PDT) Message-ID: Date: Mon, 28 Aug 2023 10:23:09 -0400 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Content-Language: en-US To: Pete Wright , freebsd-current@freebsd.org References: From: Alexander Motin Subject: Re: zfs autotrim default to off now In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4RZCTq5QJZz4PpS Hi Pete, On 27.08.2023 23:34, Pete Wright wrote: > looking at a recent pull of CURRENT i'm noticing this in the git logs: > > #15079 set autotrim default to 'off' everywhere > > which references this openzfs PR: > https://github.com/openzfs/zfs/pull/15079 > > > looking at the PR i'm not seeing a reference to a bug report or anything, is > anyone able to point me to a bug report for this. it seems like a pretty major > issue: > "As it turns out having autotrim default to 'on' on FreeBSD never really worked > due to mess with defines where userland and kernel module were getting different > default values (userland was defaulting to 'off', module was thinking it's > 'on')." > > i'd just like to make sure i better understand the issue and can see if my > systems are impacted. You are probably misinterpreting the quote. There is nothing wrong with the autotrim itself, assuming your specific devices properly handle it. It is just saying that setting it to "on" by default on FreeBSD, that was done to keep pre-OpenZFS behavior, appeared broken for a while. So that commit merely confirmed the status quo. It should not affect any already existing pools. On a new pool creation the default is now officially "off", matching OpenZFS on other platforms, but there is no reason why you can not set it to "on", if it is beneficial for your devices and workloads. As alternative, for example, you may run trim manually from time to time during any low activity periods. -- Alexander Motin From nobody Mon Aug 28 15:09:31 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RZDVp5VSTz4rf58 for ; Mon, 28 Aug 2023 15:09:38 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RZDVn6S07z4XQj for ; Mon, 28 Aug 2023 15:09:37 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=HyfeRZXK; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::634 as permitted sender) smtp.mailfrom=grahamperrin@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-99c93638322so692575466b.1 for ; Mon, 28 Aug 2023 08:09:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693235374; x=1693840174; h=in-reply-to:subject:from:content-language:references:to:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=gOfoHQZh8UHOvRggMd8D72Nafv62jXvKnvMQ0+GRY4w=; b=HyfeRZXKqdwzLMA+T2xk9UokNySp0x/TxPz/lJ2t1JigszLdq2ScbeyisSWMwTbBO+ GJQTukIcK86T9SjJTA52G+deGL4UIG1Ux6JeFYvxew2tjoJtm/WRruCv5wpM9WufCnNG 8C+HaElvtfaZ61eq+AVzN90CQzaCfJqGRyrwxmj9otcmS2MriHCeON3n2ezFImKkILLf 5+uaxMKcaV6d3UbzbmmnbD5GAaCpJcOwOSwS1aouSGeH38/F7kD2NcITj6hkFMDDGWvv Ct3mWbaJBjou2icqB18ZGCboj4aySvITulDPhayllqeWNKJh12spXLB0z5uwRKyAc/CP N3DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693235374; x=1693840174; h=in-reply-to:subject:from:content-language:references:to:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=gOfoHQZh8UHOvRggMd8D72Nafv62jXvKnvMQ0+GRY4w=; b=et7U0mo218QibSj8v/+iyTvenJ2gArguMTPdqj+YOPHCATu0BMXWfaJy/Uu6Nh7970 BtF+5tguT1vCSFJ4cbB1KJe8cGva8V0+EIpPSEmzA5CYSgw5Ha/pmBUZYuS97wUL8ssW Tq6RBm+goPDvL6YYgT+KOXRYaUKGtCNsOEmN0UIktUJHzzlzVr4fGev0VsgU7xMvSueA 6v9x81Lre9yUw8iZ1XAa7XZDcevh6/y+w0Ycs3dIobPDBKkGWssnUzQmaIrohX0yjkRY yepae/C4IDvXvpKddwW6Whi/VvV+u/AVrmApBYVyoJbN1s26zpCJueBQXFiqBaHX2AfS kuYQ== X-Gm-Message-State: AOJu0Yz1unMqRTNmTK8DW6ji0PglUaM8V4E8Vg50SACqt7D10sxALy2x 7CMIG9zIphuMu7VoRiDkVQgN0R4+a6eC7w== X-Google-Smtp-Source: AGHT+IHP5CnqztTglcCXE5k4QtXGhngngGm64n04KAtfUnG/dyfqPm1sxbwJ5NMv4DxeU8oi0OMC+w== X-Received: by 2002:a17:907:720e:b0:9a5:7d34:e68a with SMTP id dr14-20020a170907720e00b009a57d34e68amr8246180ejc.28.1693235374034; Mon, 28 Aug 2023 08:09:34 -0700 (PDT) Received: from [192.168.1.10] (80-42-66-93.dynamic.dsl.as9105.com. [80.42.66.93]) by smtp.gmail.com with ESMTPSA id ch26-20020a170906c2da00b0099de082442esm4720367ejb.70.2023.08.28.08.09.32 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Aug 2023 08:09:33 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------PJa7PD1W0ZfFFv7fy9lm760s" Message-ID: <3b6998f4-3588-085b-9fdb-b893f30570e3@gmail.com> Date: Mon, 28 Aug 2023 16:09:31 +0100 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 To: freebsd-current@freebsd.org References: <7A0E604D-EF40-4F10-B597-F1F076507192@gmail.com> <98bcf483-626c-7963-b008-02cb00703133@gmail.com> <20230828175300.4ef0bcaddbc36ea7a52c33df@dec.sakura.ne.jp> Content-Language: en-US From: Graham Perrin Subject: etcupdate -p, and other uses of etcupdate(8) In-Reply-To: <20230828175300.4ef0bcaddbc36ea7a52c33df@dec.sakura.ne.jp> X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.92 / 15.00]; URI_COUNT_ODD(1.00)[7]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.92)[-0.922]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[grahamperrin]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::634:from]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4RZDVn6S07z4XQj This is a multi-part message in MIME format. --------------PJa7PD1W0ZfFFv7fy9lm760s Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 28/08/2023 09:53, Tomoaki AOKI wrote: > On Sun, 27 Aug 2023 18:16:35 +0100 > Graham Perrin wrote: > >> On 07/08/2023 16:51, Kevin Oberman wrote: >>> … >>> >>> …  "etcupdate -p". … >> … >> >> >> Is this fortune-provided tip outdated? > … for src updates, no [3]. > [3] > https://lists.freebsd.org/archives/freebsd-current/2023-August/004210.html This, in particular: > run "etcupdate" after every upgrade I mean, I never ran the command without an option, just once at an indeterminate stage after an upgrade. I learnt to run it first with option -p _before_ installworld (i.e. during an upgrade), then a run with option -B after installworld. --------------PJa7PD1W0ZfFFv7fy9lm760s Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
On 28/08/2023 09:53, Tomoaki AOKI wrote:
On Sun, 27 Aug 2023 18:16:35 +0100
Graham Perrin <grahamperrin@gmail.com> wrote:

On 07/08/2023 16:51, Kevin Oberman wrote:
…

…  "etcupdate -p". …
<https://mastodon.bsd.cafe/@fbfortune/110960171470986602> …


Is this fortune-provided tip outdated?
… for src updates, no [3].

[3]
https://lists.freebsd.org/archives/freebsd-current/2023-August/004210.html


This, in particular:

run "etcupdate" after every upgrade


I mean, I never ran the command without an option, just once at an indeterminate stage after an upgrade.

I learnt to run it first with option -p _before_ installworld (i.e. during an upgrade), then a run with option -B after installworld.

--------------PJa7PD1W0ZfFFv7fy9lm760s-- From nobody Mon Aug 28 15:57:42 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RZFZN0gvsz4rhNt for ; Mon, 28 Aug 2023 15:57:48 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Received: from heemeyer.club (heemeyer.club [195.93.173.158]) (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 4RZFZL75WWz3CkK for ; Mon, 28 Aug 2023 15:57:46 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of dchagin@heemeyer.club has no SPF policy when checking 195.93.173.158) smtp.mailfrom=dchagin@heemeyer.club; dmarc=none Received: from heemeyer.club (localhost [127.0.0.1]) by heemeyer.club (8.17.2/8.16.1) with ESMTP id 37SFvgTW067545 for ; Mon, 28 Aug 2023 18:57:42 +0300 (MSK) (envelope-from dchagin@heemeyer.club) Received: (from dchagin@localhost) by heemeyer.club (8.17.2/8.16.1/Submit) id 37SFvgJ5067544 for current@freebsd.org; Mon, 28 Aug 2023 18:57:42 +0300 (MSK) (envelope-from dchagin) Date: Mon, 28 Aug 2023 18:57:42 +0300 From: Dmitry Chagin To: current@freebsd.org Subject: Re: Possible issue with linux xattr support? Message-ID: References: <3q2k3tje2ig2s6wzy4hzvjmoyejiecminvcvevivumtukxrgki@btnpjbztyfa6> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spamd-Bar: / X-Spamd-Result: default: False [-0.73 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.93)[-0.932]; FORGED_SENDER(0.30)[dchagin@freebsd.org,dchagin@heemeyer.club]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:61400, ipnet:195.93.173.0/24, country:RU]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; R_SPF_NA(0.00)[no SPF record]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; FROM_NEQ_ENVFROM(0.00)[dchagin@freebsd.org,dchagin@heemeyer.club]; FREEFALL_USER(0.00)[dchagin]; RCVD_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[] X-Rspamd-Queue-Id: 4RZFZL75WWz3CkK On Mon, Aug 28, 2023 at 08:03:33AM +0200, Felix Palmen wrote: > * Cy Schubert [20230827 16:59]: > > On August 27, 2023 12:55:23 PM PDT, Felix Palmen wrote: > > >* Dmitry Chagin [20230827 22:46]: > > >> On Sun, Aug 27, 2023 at 07:59:32PM +0200, Felix Palmen wrote: > > >> > * Dmitry Chagin [20230827 20:54]: > > >> > > 1. which fs are you using? > > >> > > > >> > ZFS. > > >> > > > >> > > 2. jailed? > > >> > > > >> > Yes, this is during building ports with poudriere. > > >> > > > >> > > >> I think it's a weird prohibition on changing system namespace extattr > > >> attributes, look to comments in extattr_check_cred() > > > > > >Maybe that's when I should finally start trying to understand the stuff > > >in src.git ;) > > > > > >> I can fix this completely disabling exttatr for jailed proc, > > >> however, it's gonna be bullshit, though > > > > > >Would probably be better than nothing. AFAIK, "Linux jails" are used a > > >lot, probably with userlands from distributions actually using xattr. > > > > > >Cheers, Felix > > > > > > > If we are to break it to fix a problem, maybe a sysctl to enable/disable then? > > IMHO depends on the exact nature of the problem. If it's confirmed that > it (always and only) breaks for jailed processes, just disabling it for > them would be the better workaround. "No-op" calls won't break anything. > please, try: https://people.freebsd.org/~dchagin/xattrerror.patch From nobody Mon Aug 28 17:56:33 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RZJCW0blhz4rngq for ; Mon, 28 Aug 2023 17:56:39 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [66.165.241.226]) (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.nomadlogic.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RZJCV4JjHz3SV4; Mon, 28 Aug 2023 17:56:38 +0000 (UTC) (envelope-from pete@nomadlogic.org) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nomadlogic.org; s=04242021; t=1693245394; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=85n7Hbmh9puF9h2RVeHW3Q0OdLmdOtY79Mu6FZk4enU=; b=DEx3xGEjASFUJzqblonGdAzIPBUvl1uyB3eTEo9eDFavJVSFXCtDTjXCgaH8CahidlusA4 5SrQ813wCmYaUjQsdQYjs3zvtnQ9hpPlKdQcW6OepsimONokcPZCIhT96SKEXp0PoS6hIl Nh30q/m/2XqN85gwWV+zutIxFDynVfg= Received: from [192.168.1.160] (cpe-24-24-168-214.socal.res.rr.com [24.24.168.214]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id a6c1544f (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 28 Aug 2023 17:56:33 +0000 (UTC) Message-ID: Date: Mon, 28 Aug 2023 10:56:33 -0700 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: zfs autotrim default to off now To: Alexander Motin , freebsd-current@freebsd.org References: Content-Language: en-US From: Pete Wright In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:29802, ipnet:66.165.240.0/22, country:US] X-Rspamd-Queue-Id: 4RZJCV4JjHz3SV4 On 8/28/23 07:23, Alexander Motin wrote: > Hi Pete, > > On 27.08.2023 23:34, Pete Wright wrote: >> looking at a recent pull of CURRENT i'm noticing this in the git logs: >> >> #15079 set autotrim default to 'off' everywhere >> >> which references this openzfs PR: >> https://github.com/openzfs/zfs/pull/15079 >> >> >> looking at the PR i'm not seeing a reference to a bug report or >> anything, is >> anyone able to point me to a bug report for this.  it seems like a >> pretty major >> issue: >> "As it turns out having autotrim default to 'on' on FreeBSD never >> really worked >> due to mess with defines where userland and kernel module were getting >> different >> default values (userland was defaulting to 'off', module was thinking >> it's >> 'on')." >> >> i'd just like to make sure i better understand the issue and can see >> if my >> systems are impacted. > > You are probably misinterpreting the quote.  There is nothing wrong with > the autotrim itself, assuming your specific devices properly handle it. > It is just saying that setting it to "on" by default on FreeBSD, that > was done to keep pre-OpenZFS behavior, appeared broken for a while.  So > that commit merely confirmed the status quo.  It should not affect any > already existing pools.  On a new pool creation the default is now > officially "off", matching OpenZFS on other platforms, but there is no > reason why you can not set it to "on", if it is beneficial for your > devices and workloads.  As alternative, for example, you may run trim > manually from time to time during any low activity periods. > OK I think that makes sense. So to be clear, if we were using the default autotrim=enabled behavior we in fact weren't having our SSDs trimmed? I think that's my concern, as an admin I was under the impression that it was enabled by default but apparently that wasn't actually happening. -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA From nobody Mon Aug 28 18:06:46 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RZJRK3HLGz4rp86 for ; Mon, 28 Aug 2023 18:06:53 +0000 (UTC) (envelope-from jamie@freebsd.org) Received: from gritton.org (gritton.org [67.43.236.212]) (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 "gritton.org", Issuer "gritton.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RZJRK1bV7z3TRt; Mon, 28 Aug 2023 18:06:53 +0000 (UTC) (envelope-from jamie@freebsd.org) Authentication-Results: mx1.freebsd.org; none Received: from gritton.org (localgritton [127.0.0.212]) (authenticated bits=0) by gritton.org (8.16.1/8.16.1) with ESMTPA id 37SI6kdr028430; Mon, 28 Aug 2023 11:06:46 -0700 (PDT) (envelope-from jamie@freebsd.org) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Date: Mon, 28 Aug 2023 11:06:46 -0700 From: James Gritton To: Alexander Leidinger Cc: Dmitry Chagin , current@freebsd.org Subject: Re: Possible issue with linux xattr support? In-Reply-To: <7ef4e05c0dc9b9e10e1dbc16f485d83c@Leidinger.net> References: <3q2k3tje2ig2s6wzy4hzvjmoyejiecminvcvevivumtukxrgki@btnpjbztyfa6> <7ef4e05c0dc9b9e10e1dbc16f485d83c@Leidinger.net> User-Agent: Roundcube Webmail/1.4.11 Message-ID: <8c074df2316ba921aa94cbcea298641c@freebsd.org> X-Sender: jamie@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36666, ipnet:67.43.224.0/20, country:CA] X-Rspamd-Queue-Id: 4RZJRK1bV7z3TRt On 2023-08-28 05:17, Alexander Leidinger wrote: > Am 2023-08-28 13:06, schrieb Dmitry Chagin: >> On Sun, Aug 27, 2023 at 09:55:23PM +0200, Felix Palmen wrote: >>> * Dmitry Chagin [20230827 22:46]: > >>> > I can fix this completely disabling exttatr for jailed proc, >>> > however, it's gonna be bullshit, though >>> >>> Would probably be better than nothing. AFAIK, "Linux jails" are used >>> a >>> lot, probably with userlands from distributions actually using xattr. >>> >> >> It might sense to allow this priv (PRIV_VFS_EXTATTR_SYSTEM) for linux >> jails by default? What do think, James? > > I think the question is more if we want to allow it in jails (not > specific to linux jails, as in: if it is ok for linux jails, it should > be ok for FreeBSD jails too). So the question is what does this > protect the hosts from, if this is not allowed in jails? Some kind of > possibility to DoS the host? It's definitely an any-jail question, as there's no kernel-level idea of a Linux jail, in that any jail on a system with the linux module loaded can run whatever Linux binaries may exist. - Jamie From nobody Mon Aug 28 19:00:30 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RZKdr33Gbz4rrXG for ; Mon, 28 Aug 2023 19:01:04 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-yw1-x112c.google.com (mail-yw1-x112c.google.com [IPv6:2607:f8b0:4864:20::112c]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RZKdr2Z6tz3Ygg for ; Mon, 28 Aug 2023 19:01:04 +0000 (UTC) (envelope-from mavbsd@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-x112c.google.com with SMTP id 00721157ae682-5924093a9b2so42601167b3.2 for ; Mon, 28 Aug 2023 12:01:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693249263; x=1693854063; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=iXIal3U5iWlvwODxkpglXMdrPBJiF7CLQ+tAFbbzBRw=; b=P5SXWW16uaXhii5WvIZTC2iKHCmRiTKzUefjbhzpv8Fu1jr/mfkmaZhgiHzv/LmjKj onlZnyp7X0suOp7Ac2CsYsq+AmKwJTuvAhfiUgr0cmThyhiAYQ1c1uMcgNvoe1giEr4x 0E6CEFlkB2T/r3YZ/iN6PsXm50F2y1zUs894+BxYwOlQ4V5ylTwTUaGS2BB4RhKBi06S wYkJgK9Q8aX4IzqlH9jE/BcbseBkSm8SL7eSsiT7uiegwOg7zdSDRU64HaY40LLgtQVJ jbV6T25x6CnFPyyV9kIuzxu3n6fbPPw+mbWjIdyKXwMXl/5muNdpizyPcA/N78UhAVqT J2kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693249263; x=1693854063; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=iXIal3U5iWlvwODxkpglXMdrPBJiF7CLQ+tAFbbzBRw=; b=QCTekd7YqSYvi8mI5mXGBwD+YztkyYiYYe/aZgg3u+OE5P0X0aCUmBdKlFmjMpz6xT e2IitNLfMD2HO79o6qNfuX59psHXaPipeSYpPU3GmSf1YgvcqD7YnFy/mMJlloREdIkN lRa+V8k/AO2EQpUiehr2kYUK6lJ5yQjAHRD7o/bdJJ78VTi9KOtoZGNVY+GNHDv9LiC6 Zcz7KX4kfBci44U/jbOGhc0RJNUeFmw7qqPbt6KZ3A+Rtr0786Qj7BWqvpgjwBZTXeT2 4HMipA3c0prOlh7VmzKFhrU05PPoGq4QIuCdPr/FAoRngC1FXrFx8Lo2KHxaGD1DzzBn B9yQ== X-Gm-Message-State: AOJu0Ywp+9FfpZINrNPdAyY1rJX9ADomZiHnERztrGVKK9rXKKNEVaer eFq44puVQEW1yIh+Ii2yk67PtE8l5Fk= X-Google-Smtp-Source: AGHT+IFL4K315YyvgnALyjNqMwCHK4e6DnbMonxKM6e1AL+Qo7beEMNxOMMZdyyxEUaMFquddrTFWw== X-Received: by 2002:a0d:f183:0:b0:58f:bda3:8dd with SMTP id a125-20020a0df183000000b0058fbda308ddmr27916442ywf.32.1693249263384; Mon, 28 Aug 2023 12:01:03 -0700 (PDT) Received: from [10.230.45.5] ([38.32.73.2]) by smtp.gmail.com with ESMTPSA id en4-20020a05690c2b8400b0059565f338b2sm114963ywb.98.2023.08.28.12.01.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Aug 2023 12:01:03 -0700 (PDT) Message-ID: <21ef6e61-8985-9c62-b400-fe4200063e35@FreeBSD.org> Date: Mon, 28 Aug 2023 15:00:30 -0400 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: zfs autotrim default to off now Content-Language: en-US To: Pete Wright , freebsd-current@freebsd.org References: From: Alexander Motin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4RZKdr2Z6tz3Ygg On 28.08.2023 13:56, Pete Wright wrote: > So to be clear, if we were using the default autotrim=enabled behavior > we in fact weren't having our SSDs trimmed?  I think that's my concern, > as an admin I was under the impression that it was enabled by default > but apparently that wasn't actually happening. We wanted autotrim to be enabled by default, but it was not enabled, and it was reported as not enabled, so there should be no confusion. The only confusion may have been if you tried to read the code and see it should have been enabled. -- Alexander Motin From nobody Mon Aug 28 20:09:55 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RZM9R1Sl6z4rvRC for ; Mon, 28 Aug 2023 20:10:03 +0000 (UTC) (envelope-from rb@gid.co.uk) Received: from mx0.gid.co.uk (mx0.gid.co.uk [194.32.164.250]) by mx1.freebsd.org (Postfix) with ESMTP id 4RZM9Q5P11z4DMM; Mon, 28 Aug 2023 20:10:02 +0000 (UTC) (envelope-from rb@gid.co.uk) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (moriarty.gid.co.uk [194.32.164.17]) by mx0.gid.co.uk (8.14.2/8.14.2) with ESMTP id 37SK9tKd014246; Mon, 28 Aug 2023 21:09:55 +0100 (BST) (envelope-from rb@gid.co.uk) Content-Type: text/plain; charset=us-ascii List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.4\)) Subject: Re: zfs autotrim default to off now From: Bob Bishop In-Reply-To: <21ef6e61-8985-9c62-b400-fe4200063e35@FreeBSD.org> Date: Mon, 28 Aug 2023 21:09:55 +0100 Cc: Pete Wright , "freebsd-current@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <21ef6e61-8985-9c62-b400-fe4200063e35@FreeBSD.org> To: Alexander Motin X-Mailer: Apple Mail (2.3696.120.41.1.4) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:42831, ipnet:194.32.164.0/24, country:GB] X-Rspamd-Queue-Id: 4RZM9Q5P11z4DMM Hi, > On 28 Aug 2023, at 20:00, Alexander Motin wrote: >=20 > On 28.08.2023 13:56, Pete Wright wrote: >> So to be clear, if we were using the default autotrim=3Denabled = behavior we in fact weren't having our SSDs trimmed? I think that's my = concern, as an admin I was under the impression that it was enabled by = default but apparently that wasn't actually happening. >=20 > We wanted autotrim to be enabled by default, but it was not enabled, = and it was reported as not enabled, so there should be no confusion. = The only confusion may have been if you tried to read the code and see = it should have been enabled. >=20 > --=20 > Alexander Motin Prompted by this thread, I went to check one of my servers that predates = the change to OpenZFS. I set autotrim=3Don at the time of the = transition; at some point since, it had become unset (and not by me). = The system has been upgraded from time to time and is currently running = 13.2R.=20 -- Bob Bishop rb@gid.co.uk From nobody Mon Aug 28 20:25:16 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RZMW36ZG5z4rvnS for ; Mon, 28 Aug 2023 20:25:19 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [66.165.241.226]) (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.nomadlogic.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RZMW33B9Zz4G3y; Mon, 28 Aug 2023 20:25:19 +0000 (UTC) (envelope-from pete@nomadlogic.org) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nomadlogic.org; s=04242021; t=1693254317; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0TvPqoxnHqROeQbglHiNcI9fE14jdQyUV9rD2l2juMs=; b=oOn/XmJCtZjxHQcDYY+pkKj/7mQO4oeQqVybQEr48RHydO9SR6ENJBBNDB28J1lQ8Sse9y C6q7TVpnZXztBlifhbZYow1kbk/N9uslAzufilp7xPaC/UuRvrvInz0X0lBtckL4DYca6G rXRJuSrUolof+g8vcSG20wPg1UOsJcs= Received: from [192.168.1.160] (cpe-24-24-168-214.socal.res.rr.com [24.24.168.214]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 99f471f9 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 28 Aug 2023 20:25:16 +0000 (UTC) Message-ID: Date: Mon, 28 Aug 2023 13:25:16 -0700 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: zfs autotrim default to off now Content-Language: en-US To: Alexander Motin , freebsd-current@freebsd.org References: <21ef6e61-8985-9c62-b400-fe4200063e35@FreeBSD.org> From: Pete Wright In-Reply-To: <21ef6e61-8985-9c62-b400-fe4200063e35@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:29802, ipnet:66.165.240.0/22, country:US] X-Rspamd-Queue-Id: 4RZMW33B9Zz4G3y On 8/28/23 12:00, Alexander Motin wrote: > On 28.08.2023 13:56, Pete Wright wrote: >> So to be clear, if we were using the default autotrim=enabled behavior >> we in fact weren't having our SSDs trimmed?  I think that's my >> concern, as an admin I was under the impression that it was enabled by >> default but apparently that wasn't actually happening. > > We wanted autotrim to be enabled by default, but it was not enabled, and > it was reported as not enabled, so there should be no confusion.  The > only confusion may have been if you tried to read the code and see it > should have been enabled. > ok, thanks Alexander! -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA From nobody Mon Aug 28 20:33:48 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RZMj51TGbz4rwR9 for ; Mon, 28 Aug 2023 20:34:01 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from mailgate.Leidinger.net (bastille.leidinger.net [89.238.82.207]) (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 ECDSA (P-256) client-digest SHA256) (Client CN "mailgate.leidinger.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RZMj36Th2z4HTq for ; Mon, 28 Aug 2023 20:33:59 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=leidinger.net header.s=outgoing-alex header.b=sMXWX2ES; spf=pass (mx1.freebsd.org: domain of Alexander@Leidinger.net designates 89.238.82.207 as permitted sender) smtp.mailfrom=Alexander@Leidinger.net; dmarc=pass (policy=quarantine) header.from=leidinger.net Received: from webmail2.leidinger.net (roundcube.Leidinger.net [192.168.1.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: Alexander@Leidinger.net) by outgoing.leidinger.net (Postfix) with ESMTPSA id 7229B504; Mon, 28 Aug 2023 22:33:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leidinger.net; s=outgoing-alex; t=1693254833; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=33B06ZO80UcFiUIyahPMCtj5xKCZDGA7UkFc3icJIzA=; b=sMXWX2ESsbBOCgAh6c3J4GxsDvTsIojeAjmhwmfJ3zVdLN+i64NcLl7FlfOdT7S0NOiyaZ 5Vd3R593SwdukNKFyetDrgsJ+LHyUhF2MTNHVB/C7Ly5JWclly2qVuwgzLNea+Prb0mJKk sRfF91YRy0OA8rESqd71nSwhGxA1wT5+Ommez7PwqRAUG4AVBMBBwHRDK/vRnxBZoI93xe /tpOZd4QsNnjpwIUjJ58tyz4FLLGuAlYHL6C9g8mI2jpdq5OQ/wz5M/dfeDjS6QkBrFAqc gxYwsxkMWEMOlHq0qjRmGPw0BPAotwpXeIhJPGWadY83HMvDaMF6v47kc1FUVQ== List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Date: Mon, 28 Aug 2023 22:33:48 +0200 From: Alexander Leidinger To: Mateusz Guzik Cc: Konstantin Belousov , current@freebsd.org Subject: Re: Speed improvements in ZFS In-Reply-To: References: <88e837aeb5a65c1f001de2077fb7bcbd@Leidinger.net> <4d60bd12b482e020fd4b186a9ec1a250@Leidinger.net> <73f7c9d3db8f117deb077fb17b1e352a@Leidinger.net> <58493b568dbe9fb52cc55de86e01f5e2@Leidinger.net> <58ac6211235c52d744666e8ae2ec7568@Leidinger.net> <444770b977b02b98985928bea450e4ce@Leidinger.net> Message-ID: <076f09cc0b99643072d8b80a6ec5b03b@Leidinger.net> X-Sender: Alexander@Leidinger.net Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.90 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[leidinger.net,quarantine]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[leidinger.net:s=outgoing-alex]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:34240, ipnet:89.238.64.0/18, country:DE]; MLMMJ_DEST(0.00)[current@freebsd.org]; MIME_TRACE(0.00)[0:+]; FREEMAIL_CC(0.00)[gmail.com,freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[leidinger.net:+]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4RZMj36Th2z4HTq Am 2023-08-22 18:59, schrieb Mateusz Guzik: > On 8/22/23, Alexander Leidinger wrote: >> Am 2023-08-21 10:53, schrieb Konstantin Belousov: >>> On Mon, Aug 21, 2023 at 08:19:28AM +0200, Alexander Leidinger wrote: >>>> Am 2023-08-20 23:17, schrieb Konstantin Belousov: >>>> > On Sun, Aug 20, 2023 at 11:07:08PM +0200, Mateusz Guzik wrote: >>>> > > On 8/20/23, Alexander Leidinger wrote: >>>> > > > Am 2023-08-20 22:02, schrieb Mateusz Guzik: >>>> > > >> On 8/20/23, Alexander Leidinger wrote: >>>> > > >>> Am 2023-08-20 19:10, schrieb Mateusz Guzik: >>>> > > >>>> On 8/18/23, Alexander Leidinger >>>> > > >>>> wrote: >>>> > > >>> >>>> > > >>>>> I have a 51MB text file, compressed to about 1MB. Are you >>>> > > >>>>> interested >>>> > > >>>>> to >>>> > > >>>>> get it? >>>> > > >>>>> >>>> > > >>>> >>>> > > >>>> Your problem is not the vnode limit, but nullfs. >>>> > > >>>> >>>> > > >>>> https://people.freebsd.org/~mjg/netchild-periodic-find.svg >>>> > > >>> >>>> > > >>> 122 nullfs mounts on this system. And every jail I setup has >>>> > > >>> several >>>> > > >>> null mounts. One basesystem mounted into every jail, and then >>>> > > >>> shared >>>> > > >>> ports (packages/distfiles/ccache) across all of them. >>>> > > >>> >>>> > > >>>> First, some of the contention is notorious VI_LOCK in order to >>>> > > >>>> do >>>> > > >>>> anything. >>>> > > >>>> >>>> > > >>>> But more importantly the mind-boggling off-cpu time comes from >>>> > > >>>> exclusive locking which should not be there to begin with -- as >>>> > > >>>> in >>>> > > >>>> that xlock in stat should be a slock. >>>> > > >>>> >>>> > > >>>> Maybe I'm going to look into it later. >>>> > > >>> >>>> > > >>> That would be fantastic. >>>> > > >>> >>>> > > >> >>>> > > >> I did a quick test, things are shared locked as expected. >>>> > > >> >>>> > > >> However, I found the following: >>>> > > >> if ((xmp->nullm_flags & NULLM_CACHE) != 0) { >>>> > > >> mp->mnt_kern_flag |= >>>> > > >> lowerrootvp->v_mount->mnt_kern_flag & >>>> > > >> (MNTK_SHARED_WRITES | MNTK_LOOKUP_SHARED | >>>> > > >> MNTK_EXTENDED_SHARED); >>>> > > >> } >>>> > > >> >>>> > > >> are you using the "nocache" option? it has a side effect of >>>> > > >> xlocking >>>> > > > >>>> > > > I use noatime, noexec, nosuid, nfsv4acls. I do NOT use nocache. >>>> > > > >>>> > > >>>> > > If you don't have "nocache" on null mounts, then I don't see how >>>> > > this >>>> > > could happen. >>>> > >>>> > There is also MNTK_NULL_NOCACHE on lower fs, which is currently set >>>> > for >>>> > fuse and nfs at least. >>>> >>>> 11 of those 122 nullfs mounts are ZFS datasets which are also NFS >>>> exported. >>>> 6 of those nullfs mounts are also exported via Samba. The NFS >>>> exports >>>> shouldn't be needed anymore, I will remove them. >>> By nfs I meant nfs client, not nfs exports. >> >> No NFS client mounts anywhere on this system. So where is this >> exclusive >> lock coming from then... >> This is a ZFS system. 2 pools: one for the root, one for anything I >> need >> space for. Both pools reside on the same disks. The root pool is a >> 3-way >> mirror, the "space-pool" is a 5-disk raidz2. All jails are on the >> space-pool. The jails are all basejail-style jails. >> > > While I don't see why xlocking happens, you should be able to dtrace > or printf your way into finding out. dtrace looks to me like a faster approach to get to the root than printf... my first naive try is to detect exclusive locks. I'm not 100% sure I got it right, but at least dtrace doesn't complain about it: ---snip--- #pragma D option dynvarsize=32m fbt:nullfs:null_lock:entry /args[0]->a_flags & 0x080000 != 0/ { stack(); } ---snip--- In which direction should I look with dtrace if this works in tonights run of periodic? I don't have enough knowledge about VFS to come up with some immediate ideas. Bye, Alexander. -- http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF From nobody Tue Aug 29 01:06:09 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RZTlV2nBzz4s8db for ; Tue, 29 Aug 2023 01:06:30 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-21.consmr.mail.gq1.yahoo.com (sonic305-21.consmr.mail.gq1.yahoo.com [98.137.64.84]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RZTlT4Gy0z3DKs for ; Tue, 29 Aug 2023 01:06:29 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=UC2VHG0t; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.84 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1693271187; bh=/FoaBpcNWWDRlgc+7TjRIWgS+cltaVrgxGRgH24PMnM=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=UC2VHG0t7DPIUGnud/yV92CxnLkZU6HDT7JajDuc3OqoiJSazesiyuRhQ33WO+42wJXO+Wctpo6dORuRGglnzhkN/G0/wm2gbdMIsMmn8bRI17jj3G9TgdQ2IjethQZb22tg2pJAZYQt6CkGcWMaHsTBfilyp7KmcSFylwVyB0+FcjbZXjlCf7iL5wOQ6KIp29tcaFpfhfsQTj4JLSe/qQSVqmHvy5xCZ8XzASI6AtSmgfKKl7Zx7ArZq8USIo3nn7wzWjxUQC3cbUpru0xzFUp5tSp/Veh+Ud0x8np10L9Z6tLcp07HrLFGtCA/Y5PUyW78AhL1HeXbDQGBPxnyrg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1693271187; bh=CQpHbry8Ogkq0sb6Je8EODoajGIRzfvzVf8R4kDf20m=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=Q6Gb2Cb/bYGSWtqfA/4ND5pi8cL7wzTi1pIyslnUQEYrttwztN8UcCD6l6GSZ9y3o6X516GTP5l8VHwksa1l5I8sScrFti3XoH+Ri6Y5wI/Kk7gzEJvXmDwsvm5ENx3HbYavMc50IwFsXUiq5lcBHqHVV8AuwDuSQn8cElO3qqRSV0IxUXAUuxsee6bEC/us9YOylVgMO01Z1/ih+9qvXKzRE62t71D2mBlHBQGgjSW7+1GsAXzi/HkSHM9n2FjGDWMAtH5pcMWuA++OdskJkkLSS6t4YKFLkRl/3E+BFNE1F1Le9c5qT8lLXAcXGGrcIPcBX+R/5y+RT/k7Qp9SdQ== X-YMail-OSG: pI5A8ZMVM1n17pxInpGw52Xd4TvXeS0CNvefaJmWze4._jjkmlE7UR6IuB2xoOs 9W_7zBdNhWrrhQTlzoZdKr050A3DJeNx0nFdhPJW2svGGFoSMoJjGSp.uAHTqB450rGNeHwzEmYp WUpwNDviaKxKyIjSXPh6JMbR_X3rrN5rA2Jh8HQ5.BgOlTbIBBhqRGH33HOlVwNN40hkRnPPCnG7 XNOCxkycaAQ7B6Z2hczZkBC2Hc7BVzygQyQ9g0pTWiziIBRwYLVDiwN69loxPxJzSgLebM.s.Tr8 LYd1tDWfGua3qiO5E.TnrOWx.mmOrwBoP7No97dpkVWUOqdIr_ThH4cTNT4wpKucEVwOY3TeqFpZ 3IpWR.y5CchakW08taSRlvZ7gKNlNFDJFzYh2S6fwYvafN9I3uBDHOh18TdrqQjUtFxB8jJl1zHi 3V9OLLNBZ8rI7dej0j3Kb17IjObAlNjjNN_S4GwkHt3mEvOrdWN4mOeey2pF4qcz_O6BYybLvs3s gqd7y1rthuKRUG_4QVHE4ztCerzf3zC_JAemhYdq3eOQ6YrATjubbzY4m0q6SskwrAPtWp1nRkAX 8YX4Yuh8jT1MLiexjQVA_caMqFwcLTK66WSrE7ZXTe_cjGmT39UWurFv.Zj6S_l0qmrwGGB4HNho rayAlFg9MPoJ45y9060ghJ6X4TSIHbpGI5ZvM29jkPKp0oCaHEipt0D7nnKFk3sJTv65Ir46yjL0 NwDkU1KwDh0h5_R6Io21JFBBZW6.AdFC4vCfVbGL3RiDfvB.tmNV4Is5nUk7VVIy.ikqPbYxhXuO d48Fp_IA.BtdtpfQrH3IhjKzQ6_s.Av3iIB0p8y3Qi6dKpUVfBJT5JlIq1udkzBJV3DUxXV1WV_d SsTprc6esYkpRrXVphTUIT00gUYwpPBTWvDCT6VUU3MEsYdPPN.yrfrb6fIu4iIpyqQRFK2dFKEh a1.HT1KwrynYoZunNwn6HYM.70lu3nmsI1WyQivr.4d0STJNmBoIzQ23L.xCvdKTShoa2Qqz9rUp gVXYvGA8Tc9RO2UAUUzgFobYr2.aPdwSjPzwh6737hldFP4c2cSYhNrdt9sd6wZDdxBHUe1v8bIO Yvsl14emfC2PaZJ.b4bRwdI5S96zKUMoIwQtlLIPM_tnbriatUzzTs7TF431Zrfrvle8qR89dTC2 ZdIFwtnc9Z5RHJ8AVOpLjcbqN8r9rylZj6qbcJU7.xPOQH_f2cbajVX3KMQhVZ0BdglsNZGWgIhC tN2FqGm5MsQLbuWE0W2bEhIEixdnqg.9CCvKOO8.IgOzHC6ZcLxrLoHj3juM7FN6F_ALE3jjB8Yn nOSUY9R3pNm7K8lD6EKfYaiVYRMbt1V.3TSbEJAIOVizp0EJUyJ5IiRIbIUQNvXTnPv.ghEUSMFI Yxf1DESGooI73vIqdLTnB57W0dU8jYsgPd9vq7EphFsBBZ88e2t_MCCAfkIooe4ky8P9lRAmGEus 0OgmCVVeniyr3eltmMRdt4jhh8JZH6YAnpagIgihPudVt3IaF_OdQU4HtZEL3IIzWAAJ7otbpO6T qPEZXosgNdfpxTmXCSK8o9mL6G2USjzzIIDTdeQE1dR0Q5IXf02qkQmv6w_bayI.D8favBjk2QW. A..g3Ytr5LWcxCa9mfBtyzqJZBaqby.cyPignEYYv57nGbkSRKJM51V4xOCzWZOTKgqJb3ViBYpO V4_JtIldwpztoUEABOr7gh.2p99pX5ET2XFEwQftKQjMYX5ms.8Ap.iBe9N9T2QKeFx1lOIFq9O5 UGRTrA0Di93V1VWg4R1.693A9MhhoW.moOuKphvjKr.FQzAXwqB0dmrTVuXnIkzHZvjzHj3LtHeJ sFqvKmmg3Q5pLq1qdZ.T9Ge6IRL0PndIc3q1PV.NLOo3se7RJmmEGaKUw9U.ULWJybDQt6pdnsio 6J92fdENGi1eRE6pmmfxBUsakOj2pbn7GJmEOtfJcxPt_uNXa7ceeoyeLQBADLgrHaxaJSN70nQk TduQyEEfKKR_Vkb1SIczQOPJykR3Azvz73jn0rtk15gh.eZOXPICyPyDqlcN1B7dhVpFNtOxJv_0 yIgjRGhdNiQEi19pf1E6T.aGvU1ChtsqZo6actJ30UPbjGajxed5DPdFeeZK6mONEp.j81s0fmFd pFMs.tdLNwXSz.gZ7NHXme2hANQKUg_NFusdRQ0Og8soanYoBdJaAvAR7ji.N4UijppLn91nw07E OoLINC3kSf8tX6cLKebGd8Yf9Fk1x8NGTUA_JBQrKIwGh.bm4Zlov57LNuIdxDL0yaw4_FIm7wQ- - X-Sonic-MF: X-Sonic-ID: 3e3727d5-340a-4f7f-a92d-1c6367ffdd3c Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Tue, 29 Aug 2023 01:06:27 +0000 Received: by hermes--production-ne1-7b767b77cc-q2wh8 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID c7688ca54b3202f1268cb5a06a8becac; Tue, 29 Aug 2023 01:06:21 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: Possible regression in main causing poor performance From: Mark Millard In-Reply-To: <1B47E578-693D-4690-A577-947E8C9140B5@yahoo.com> Date: Mon, 28 Aug 2023 18:06:09 -0700 Cc: Current FreeBSD , FreeBSD-STABLE Mailing List , freebsd-arch Content-Transfer-Encoding: 7bit Message-Id: <1C3E6B34-2937-46C6-862E-5B988B8A3A43@yahoo.com> References: <8A267B4A-1B7B-4D61-AA57-8E3156470617@yahoo.com> <1B47E578-693D-4690-A577-947E8C9140B5@yahoo.com> To: Glen Barber X-Mailer: Apple Mail (2.3731.700.6) X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.45 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.95)[-0.951]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; MV_CASE(0.50)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_THREE(0.00)[4]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.84:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.84:from]; DKIM_TRACE(0.00)[yahoo.com:+]; TO_DN_ALL(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4RZTlT4Gy0z3DKs Has any more been learned about this? Is it still an issue? === Mark Millard marklmi at yahoo.com From nobody Tue Aug 29 08:09:03 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RZg7P05GNz4rWHJ for ; Tue, 29 Aug 2023 08:09:21 +0000 (UTC) (envelope-from cglogic@protonmail.com) Received: from mail-40137.protonmail.ch (mail-40137.protonmail.ch [185.70.40.137]) (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 "protonmail.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RZg7N04Ffz4PLw for ; Tue, 29 Aug 2023 08:09:19 +0000 (UTC) (envelope-from cglogic@protonmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=Xd3BJA3B; spf=pass (mx1.freebsd.org: domain of cglogic@protonmail.com designates 185.70.40.137 as permitted sender) smtp.mailfrom=cglogic@protonmail.com; dmarc=pass (policy=quarantine) header.from=protonmail.com Date: Tue, 29 Aug 2023 08:09:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1693296557; x=1693555757; bh=0eeeEMcWypY2/SpIO19eY0ZKgYuR/VamBwPKiWnpL0I=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=Xd3BJA3BOLHtc0sXRezRW9O5jBgDcLYkFTiceJXyF+h2nMer2x7PP4ZvoMJjzKA3y PbDHBxn3iRbwwinbPWJlQf4rWZJf/+hKpTFfBPHZDZ/cHZjukSMAzuyTxkyQPjv7OU Od2D4tSxNfRxwexGcedq9y0HnUDbgzr2jnqFOZaH2Q89kkaoOjjBDfMLWOnoIZYMHL mIrbQp4qQWIm0HAWhO541tP2ygwiPSM4DIOdWKQkh+2Z70qArwXKjMK1L/sAZKPqZp Em79pgvAziy89e9NbtrNqkhWIYpVIkQqq+xs0wLm3zb1SmC/W3Dr8FyRSHlrMixw1s hf5Y5SJude/2Q== To: "freebsd-current@freebsd.org" From: cglogic Subject: 14-ALPHA2 panic on cold boot Message-ID: Feedback-ID: 25313618:user:proton List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="b1_Rny8HZJEdh1e2dyRl4x5MGeYoX4r0aH6htAVsgjxUKU" X-Spamd-Bar: / X-Spamd-Result: default: False [-0.79 / 15.00]; MIME_BASE64_TEXT_BOGUS(1.00)[]; NEURAL_HAM_LONG(-0.92)[-0.924]; NEURAL_SPAM_MEDIUM(0.57)[0.569]; DMARC_POLICY_ALLOW(-0.50)[protonmail.com,quarantine]; RWL_MAILSPIKE_EXCELLENT(-0.40)[185.70.40.137:from]; R_DKIM_ALLOW(-0.20)[protonmail.com:s=protonmail3]; R_SPF_ALLOW(-0.20)[+ip4:185.70.40.0/24]; NEURAL_HAM_SHORT(-0.13)[-0.132]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MIME_BASE64_TEXT(0.10)[]; TO_DN_EQ_ADDR_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FREEMAIL_ENVFROM(0.00)[protonmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; ASN(0.00)[asn:62371, ipnet:185.70.40.0/24, country:CH]; FREEMAIL_FROM(0.00)[protonmail.com]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[protonmail.com:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; HAS_PHPMAILER_SIG(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4RZg7N04Ffz4PLw This is a multi-part message in MIME format. --b1_Rny8HZJEdh1e2dyRl4x5MGeYoX4r0aH6htAVsgjxUKU Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 SGVsbG8gZGVhciBGcmVlQlNEIGNvbW11bml0eSwKClJlY2VudGx5IEkgdHJpZWQgdG8gYm9vdCBm cm9tIEZyZWVCU0QgMTQtQUxQSEEyIGltYWdlIGFuZCBnb3QgcGFuaWMgb24gZmlyc3QgYm9vdCBh ZnRlciBwb3dlciBvbi4KTXkgaGFyZHdhcmUgaXMgQU1EIFJ5emVuIDkgNTkwMFggb24gQVNVUyBS T0cgU1RSSVggQjU1MC1FIEdBTUlORy4KSXQncyByZWxhdGVkIHRvIGF1ZGlvIGNoaXAgQUxDMTIy MCBpbml0aWFsaXphdGlvbi4KCklmIEkgcmVtZW1iZXIgY29ycmVjdGx5LCB3aGVuIEkgdHJpZWQg RnJlZUJTRCAxMy1TVEFCTEUsIGFyb3VuZCAyIHllYXJzIGFnbywgbm8gcGFuaWMgd2FzIG9ic2Vy dmVkLgpCdXQgYXQgdGhhdCB0aW1lIG15IEdQVSB3YXMgdW5zdXBwb3J0ZWQgYnkgZHJtLWttb2Qu IFNvIEkgaW5zdGFsbGVkIExpbnV4IGFuZCB1c2VkIGl0IGZvciAyIHllYXJzLgpPbiBMaW51eCwg bm8gc3VjaCBhIHBhbmljIG9ic2VydmVkLiBOb3cgZHJtLWttb2Qgc3VwcG9ydHMgbXkgR1BVIGFu ZCBJIHdhbnQgbW92ZSB0byBGcmVlQlNELgoKQWxzbyB0cmllZCAxMy4yLCBnb3QgdGhlIHNhbWUg cGFuaWMuCkNhbid0IHRyeSBlYXJsaWVyIEZyZWVCU0QgMTMgcmVsZWFzZXMsIGFzIHRoZXkgYXJl IG5vdCBhdmFpbGFibGUgZm9yIGRvd25sb2FkIGFueW1vcmUuCgpJIGZvdW5kIHR3byByZWxhdGVk IGJ1ZyByZXBvcnRzOgpodHRwczovL2J1Z3MuZnJlZWJzZC5vcmcvYnVnemlsbGEvc2hvd19idWcu Y2dpP2lkPTI2NDMwNQoKaHR0cHM6Ly9idWdzLmZyZWVic2Qub3JnL2J1Z3ppbGxhL3Nob3dfYnVn LmNnaT9pZD0yNjgzOTMKCk15IGJhY2t0cmFjZSBpcyB0aGUgc2FtZSBhcyBpbiByZXBvcnRlZCBp c3N1ZXMuIFNvIEkgZGlkIG5vdCB3cml0ZSBpdCBmcm9tIGEgc2NyZWVuIHRvIGEgcGFwZXIuCgpB cyBJIHVuZGVyc3RhbmQsIHRoaXMgYnVnIGFmZmVjdHMgYWxsIEFNRCBaZW4yLCBaZW4zIGFuZCBa ZW40IGNvbXB1dGVycyBhbmQgbGFwdG9wcy4KCldlIGFyZSBuZWFyIEZyZWVCU0QgMTQuMCByZWxl YXNlIG5vdywgbWF5YmUgaXQgd2lsbCBiZSBwb3NzaWJsZSB0byBmaXggaXQgYmVmb3JlIHJlbGVh c2UuCgpUaGFua3Mu --b1_Rny8HZJEdh1e2dyRl4x5MGeYoX4r0aH6htAVsgjxUKU Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: base64 PGRpdiBzdHlsZT0iZm9udC1mYW1pbHk6IEFyaWFsLCBzYW5zLXNlcmlmOyBmb250LXNpemU6IDE0 cHg7Ij5IZWxsbyBkZWFyIEZyZWVCU0QgY29tbXVuaXR5LDwvZGl2PjxkaXYgc3R5bGU9ImZvbnQt ZmFtaWx5OiBBcmlhbCwgc2Fucy1zZXJpZjsgZm9udC1zaXplOiAxNHB4OyI+PGJyPjwvZGl2Pjxk aXYgc3R5bGU9ImZvbnQtZmFtaWx5OiBBcmlhbCwgc2Fucy1zZXJpZjsgZm9udC1zaXplOiAxNHB4 OyI+UmVjZW50bHkgSSB0cmllZCB0byBib290IGZyb20gRnJlZUJTRCAxNC1BTFBIQTIgaW1hZ2Ug YW5kIGdvdCBwYW5pYyBvbiBmaXJzdCBib290IGFmdGVyIHBvd2VyIG9uLjwvZGl2PjxkaXYgc3R5 bGU9ImZvbnQtZmFtaWx5OiBBcmlhbCwgc2Fucy1zZXJpZjsgZm9udC1zaXplOiAxNHB4OyI+TXkg aGFyZHdhcmUgaXMmbmJzcDs8c3Bhbj5BTUQgUnl6ZW4gOSA1OTAwWCBvbiBBU1VTJm5ic3A7PHNw YW4+Uk9HIFNUUklYIEI1NTAtRSBHQU1JTkcuPC9zcGFuPjwvc3Bhbj48L2Rpdj48ZGl2IHN0eWxl PSJmb250LWZhbWlseTogQXJpYWwsIHNhbnMtc2VyaWY7IGZvbnQtc2l6ZTogMTRweDsiPkl0J3Mg cmVsYXRlZCB0byBhdWRpbyBjaGlwJm5ic3A7PHNwYW4+QUxDMTIyMCBpbml0aWFsaXphdGlvbi48 L3NwYW4+PC9kaXY+PGRpdiBzdHlsZT0iZm9udC1mYW1pbHk6IEFyaWFsLCBzYW5zLXNlcmlmOyBm b250LXNpemU6IDE0cHg7Ij48c3Bhbj48YnI+PC9zcGFuPjwvZGl2PjxkaXYgc3R5bGU9ImZvbnQt ZmFtaWx5OiBBcmlhbCwgc2Fucy1zZXJpZjsgZm9udC1zaXplOiAxNHB4OyI+PHNwYW4+SWYgSSBy ZW1lbWJlciBjb3JyZWN0bHksIHdoZW4gSSB0cmllZCBGcmVlQlNEIDEzLVNUQUJMRSwgYXJvdW5k IDIgeWVhcnMgYWdvLCBubyBwYW5pYyB3YXMgb2JzZXJ2ZWQuPC9zcGFuPjwvZGl2PjxkaXYgc3R5 bGU9ImZvbnQtZmFtaWx5OiBBcmlhbCwgc2Fucy1zZXJpZjsgZm9udC1zaXplOiAxNHB4OyI+PHNw YW4+QnV0IGF0IHRoYXQgdGltZSBteSBHUFUgd2FzIHVuc3VwcG9ydGVkIGJ5IGRybS1rbW9kLiBT byBJIGluc3RhbGxlZCBMaW51eCBhbmQgdXNlZCBpdCBmb3IgMiB5ZWFycy48L3NwYW4+PC9kaXY+ PGRpdiBzdHlsZT0iZm9udC1mYW1pbHk6IEFyaWFsLCBzYW5zLXNlcmlmOyBmb250LXNpemU6IDE0 cHg7Ij48c3Bhbj5PbiBMaW51eCwgbm8gc3VjaCBhIHBhbmljIG9ic2VydmVkLiBOb3cgZHJtLWtt b2Qgc3VwcG9ydHMgbXkgR1BVIGFuZCBJIHdhbnQgbW92ZSB0byBGcmVlQlNELjwvc3Bhbj48L2Rp dj48ZGl2IHN0eWxlPSJmb250LWZhbWlseTogQXJpYWwsIHNhbnMtc2VyaWY7IGZvbnQtc2l6ZTog MTRweDsiPjxzcGFuPjxicj48L3NwYW4+PC9kaXY+PGRpdiBzdHlsZT0iZm9udC1mYW1pbHk6IEFy aWFsLCBzYW5zLXNlcmlmOyBmb250LXNpemU6IDE0cHg7Ij48c3Bhbj5BbHNvIHRyaWVkIDEzLjIs IGdvdCB0aGUgc2FtZSBwYW5pYy48L3NwYW4+PC9kaXY+PGRpdiBzdHlsZT0iZm9udC1mYW1pbHk6 IEFyaWFsLCBzYW5zLXNlcmlmOyBmb250LXNpemU6IDE0cHg7Ij48c3Bhbj5DYW4ndCB0cnkgZWFy bGllciBGcmVlQlNEIDEzIHJlbGVhc2VzLCBhcyB0aGV5IGFyZSBub3QgYXZhaWxhYmxlIGZvciBk b3dubG9hZCBhbnltb3JlLjwvc3Bhbj48L2Rpdj48ZGl2IHN0eWxlPSJmb250LWZhbWlseTogQXJp YWwsIHNhbnMtc2VyaWY7IGZvbnQtc2l6ZTogMTRweDsiPjxzcGFuPjxicj48L3NwYW4+PC9kaXY+ PGRpdiBzdHlsZT0iZm9udC1mYW1pbHk6IEFyaWFsLCBzYW5zLXNlcmlmOyBmb250LXNpemU6IDE0 cHg7Ij48c3Bhbj5JIGZvdW5kIHR3byByZWxhdGVkIGJ1ZyByZXBvcnRzOjwvc3Bhbj48L2Rpdj48 ZGl2IHN0eWxlPSJmb250LWZhbWlseTogQXJpYWwsIHNhbnMtc2VyaWY7IGZvbnQtc2l6ZTogMTRw eDsiPjxzcGFuPjxzcGFuPjxhIHRhcmdldD0iX2JsYW5rIiByZWw9Im5vcmVmZXJyZXIgbm9mb2xs b3cgbm9vcGVuZXIiIGhyZWY9Imh0dHBzOi8vYnVncy5mcmVlYnNkLm9yZy9idWd6aWxsYS9zaG93 X2J1Zy5jZ2k/aWQ9MjY0MzA1Ij5odHRwczovL2J1Z3MuZnJlZWJzZC5vcmcvYnVnemlsbGEvc2hv d19idWcuY2dpP2lkPTI2NDMwNTwvYT48L3NwYW4+PGJyPjwvc3Bhbj48L2Rpdj48ZGl2IHN0eWxl PSJmb250LWZhbWlseTogQXJpYWwsIHNhbnMtc2VyaWY7IGZvbnQtc2l6ZTogMTRweDsiPjxzcGFu PjxzcGFuPjxhIHRhcmdldD0iX2JsYW5rIiByZWw9Im5vcmVmZXJyZXIgbm9mb2xsb3cgbm9vcGVu ZXIiIGhyZWY9Imh0dHBzOi8vYnVncy5mcmVlYnNkLm9yZy9idWd6aWxsYS9zaG93X2J1Zy5jZ2k/ aWQ9MjY4MzkzIj5odHRwczovL2J1Z3MuZnJlZWJzZC5vcmcvYnVnemlsbGEvc2hvd19idWcuY2dp P2lkPTI2ODM5MzwvYT48L3NwYW4+PGJyPjwvc3Bhbj48L2Rpdj48ZGl2IHN0eWxlPSJmb250LWZh bWlseTogQXJpYWwsIHNhbnMtc2VyaWY7IGZvbnQtc2l6ZTogMTRweDsiPjxzcGFuPjxicj48L3Nw YW4+PC9kaXY+PGRpdiBzdHlsZT0iZm9udC1mYW1pbHk6IEFyaWFsLCBzYW5zLXNlcmlmOyBmb250 LXNpemU6IDE0cHg7Ij48c3Bhbj48c3BhbiBzdHlsZT0iZGlzcGxheTogaW5saW5lICFpbXBvcnRh bnQ7IGJhY2tncm91bmQtY29sb3I6IHJnYigyNTUsIDI1NSwgMjU1KTsiPk15IGJhY2t0cmFjZSBp cyB0aGUgc2FtZSBhcyBpbiByZXBvcnRlZCBpc3N1ZXMuIFNvIEkgZGlkIG5vdCB3cml0ZSBpdCBm cm9tIGEgc2NyZWVuIHRvIGEgcGFwZXIuPC9zcGFuPjxicj48L3NwYW4+PC9kaXY+PGRpdiBzdHls ZT0iZm9udC1mYW1pbHk6IEFyaWFsLCBzYW5zLXNlcmlmOyBmb250LXNpemU6IDE0cHg7Ij48c3Bh bj48c3BhbiBzdHlsZT0iZGlzcGxheTogaW5saW5lICFpbXBvcnRhbnQ7IGJhY2tncm91bmQtY29s b3I6IHJnYigyNTUsIDI1NSwgMjU1KTsiPjxicj48L3NwYW4+PC9zcGFuPjwvZGl2PjxkaXYgc3R5 bGU9ImZvbnQtZmFtaWx5OiBBcmlhbCwgc2Fucy1zZXJpZjsgZm9udC1zaXplOiAxNHB4OyI+QXMg SSB1bmRlcnN0YW5kLCB0aGlzIGJ1ZyBhZmZlY3RzIGFsbCBBTUQgWmVuMiwgWmVuMyBhbmQgWmVu NCBjb21wdXRlcnMgYW5kIGxhcHRvcHMuPC9kaXY+PGRpdiBzdHlsZT0iZm9udC1mYW1pbHk6IEFy aWFsLCBzYW5zLXNlcmlmOyBmb250LXNpemU6IDE0cHg7Ij48L2Rpdj48ZGl2IHN0eWxlPSJmb250 LWZhbWlseTogQXJpYWwsIHNhbnMtc2VyaWY7IGZvbnQtc2l6ZTogMTRweDsiPldlIGFyZSBuZWFy IEZyZWVCU0QgMTQuMCByZWxlYXNlIG5vdywgbWF5YmUgaXQgd2lsbCBiZSBwb3NzaWJsZSB0byBm aXggaXQgYmVmb3JlIHJlbGVhc2UuPC9kaXY+PGRpdiBzdHlsZT0iZm9udC1mYW1pbHk6IEFyaWFs LCBzYW5zLXNlcmlmOyBmb250LXNpemU6IDE0cHg7Ij48YnI+PC9kaXY+PGRpdiBzdHlsZT0iZm9u dC1mYW1pbHk6IEFyaWFsLCBzYW5zLXNlcmlmOyBmb250LXNpemU6IDE0cHg7Ij5UaGFua3MuPC9k aXY+PGRpdiBjbGFzcz0icHJvdG9ubWFpbF9zaWduYXR1cmVfYmxvY2siIHN0eWxlPSJmb250LWZh bWlseTogQXJpYWwsIHNhbnMtc2VyaWY7IGZvbnQtc2l6ZTogMTRweDsiPg0KPC9kaXY+DQo= --b1_Rny8HZJEdh1e2dyRl4x5MGeYoX4r0aH6htAVsgjxUKU-- From nobody Tue Aug 29 08:23:39 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RZgS16qKWz4rWyh for ; Tue, 29 Aug 2023 08:23:45 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RZgS12XqZz4Rqy for ; Tue, 29 Aug 2023 08:23:45 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=Jz6xLFZz; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::32f as permitted sender) smtp.mailfrom=grahamperrin@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-3ff1c397405so39428315e9.3 for ; Tue, 29 Aug 2023 01:23:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693297423; x=1693902223; h=in-reply-to:from:references:to:content-language:subject:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=QSFbCps+PJgQ61mqTuofSiOl7PpDCJX9zsoNCGSAfiQ=; b=Jz6xLFZzDdn1Lm2YdX763GlyIEuJoHgHA6oQGWvDi/BLNeiCH7RUWOaA5S2C58tkUO iYj0GWS0V0V7vldLZON4QXsF8BMhEEP+4pQLkNI5Z++l++2ZKka/450NGCVmOkakPSsz flz3BkFXyqt8qC2bTGmXqp02zosd+whIDprB/lCDtwxIxJ2R+RE6LQopGm5I/YpyHMuT hxhuWWCHtTAKtG2IdolSEhO5t1b4qiOkF8FrQ+kxnc3H00Cai9hks+LuZiI4lEhmgn+g Me+Sun8mP44i6ItVVISlNYShPF7CGjo9Dw4J61j9ED2wUEYFZmRnfy14Z/YKyW4w/B5F cymA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693297423; x=1693902223; h=in-reply-to:from:references:to:content-language:subject:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=QSFbCps+PJgQ61mqTuofSiOl7PpDCJX9zsoNCGSAfiQ=; b=IAtR+vGlGZRqqEADZms17CGXwVHSnxqIhIPIU7UWVVfB6VM7K0ynxlEFFrgn8yMW6v c3rjpjSM9kn7IZoFh1k0Q6cU0saOa1kovfV5mLPS/90Q8/2GueaSVVzVgqQPZoZQ3ptP uToUNbjWW+DqjbMhUs8vHOMbrlpYxTInZzGmCDF0MULgoPddbGrulaqV3+EPBMgbAI24 zNvmcqM3Cu4b0oYej5VqweWtBdt4wvb+cXmTIeitD13k+cmm8AXCIHblQ4hTiGSs0U1r AplfJlwLz2JujcdYXkQDqZlvEjsRyMZXbwCSfGiwSCPUha73Yd7K4Vkd0O8wGopyt3Bd jugA== X-Gm-Message-State: AOJu0YyxS6jUHTabRCyzRhOuahVVarPDYUbNej2cfannek5eyLKPMhuj tWK7pKd74jk6v4d23LLlNWwTQ6a/o88= X-Google-Smtp-Source: AGHT+IGipLwgtabYkiQcSaMpLv//ZuY7oenq2/kZX/UBDOPw7qACBvG/0ubkrxGHopS1NdfYJF1b3w== X-Received: by 2002:a05:600c:2219:b0:401:cbf6:e5cc with SMTP id z25-20020a05600c221900b00401cbf6e5ccmr3286831wml.22.1693297423002; Tue, 29 Aug 2023 01:23:43 -0700 (PDT) Received: from [194.81.204.27] (oa-mowa-01-194.81.204.27.brighton.ac.uk. [194.81.204.27]) by smtp.gmail.com with ESMTPSA id v26-20020a05600c215a00b003fe61c33df5sm16506555wml.3.2023.08.29.01.23.40 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 29 Aug 2023 01:23:40 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------vNAUvAp8FcTai5FlkBhbb860" Message-ID: Date: Tue, 29 Aug 2023 09:23:39 +0100 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: (264305, 268393, 272878) 14-ALPHA2 panic on cold boot Content-Language: en-US To: freebsd-current@freebsd.org References: From: Graham Perrin In-Reply-To: X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.98 / 15.00]; URI_COUNT_ODD(1.00)[11]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.98)[-0.979]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[grahamperrin]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::32f:from]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4RZgS12XqZz4Rqy This is a multi-part message in MIME format. --------------vNAUvAp8FcTai5FlkBhbb860 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 29/08/2023 09:09, cglogic wrote: > … I found two related bug reports: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264305 > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268393 > > My backtrace is the same as in reported issues. So I did not write it > from a screen to a paper. > > As I understand, this bug affects all AMD Zen2, Zen3 and Zen4 > computers and laptops. > We are near FreeBSD 14.0 release now, maybe it will be possible to fix > it before release. ; I'll discuss with the Bugzilla triage team. --------------vNAUvAp8FcTai5FlkBhbb860 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
On 29/08/2023 09:09, cglogic wrote:
… I found two related bug reports:

My backtrace is the same as in reported issues. So I did not write it from a screen to a paper.

As I understand, this bug affects all AMD Zen2, Zen3 and Zen4 computers and laptops.
We are near FreeBSD 14.0 release now, maybe it will be possible to fix it before release.
<https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272878#c2>; I'll discuss with the Bugzilla triage team.
--------------vNAUvAp8FcTai5FlkBhbb860-- From nobody Tue Aug 29 10:59:11 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RZkvV6X85z4rfbq for ; Tue, 29 Aug 2023 10:59:18 +0000 (UTC) (envelope-from felix@palmen-it.de) Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RZkvT4Kx3z4h5L for ; Tue, 29 Aug 2023 10:59:17 +0000 (UTC) (envelope-from felix@palmen-it.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=palmen-it.de header.s=20200414 header.b=wRPOjRCA; spf=pass (mx1.freebsd.org: domain of felix@palmen-it.de designates 2001:470:1f0b:bbb:1::1 as permitted sender) smtp.mailfrom=felix@palmen-it.de; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=NjrO5E6jEg/R4KmFGeK6cfR/eSNh7TVlQ336u9JJrko=; b=wRPOjRCA855aGSDPbduMKk0ygC NfhNMSqstB6ulETKF0BNSJ8jeZWhBespEt3u7Y0M7k8vCSURu1+4L1fF20hn/LesIbTj9AFoPP6an M8Yqi7P0K0QESswCxRtGsyg3jYCtATfdfoRGQ1qeiIhVQClKX6Do0eH3aHd1R6tZocwXaFtPOkIOI xEdwPQIeyI2p72eHpnPdeXQnTFKXcdKYHZMqFTS9sSVq8oZBUOogdyKBKVXcfk0rkr7UsiStVI/mo UDNLRCxiWWgOE0Nvbr7gYjUwlD/R4Z7wbYibZLeK9AdyMQPeoZBEK3zL0ttrP51356sVbLr6uNEpP O2kdTonA==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qawRE-00BAlN-Rk for current@freebsd.org; Tue, 29 Aug 2023 12:59:12 +0200 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.96 (FreeBSD)) (envelope-from ) id 1qawRE-0002hP-0O for current@freebsd.org; Tue, 29 Aug 2023 10:59:12 +0000 Date: Tue, 29 Aug 2023 12:59:11 +0200 From: Felix Palmen To: current@freebsd.org Subject: Re: Possible issue with linux xattr support? Message-ID: Mail-Followup-To: current@freebsd.org X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~;.B;!M/bL}*qk]p5*r7F5vW};{:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: FreeBSD.org References: <3q2k3tje2ig2s6wzy4hzvjmoyejiecminvcvevivumtukxrgki@btnpjbztyfa6> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ok2xx3a6axywbnjn" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20230517 X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.50 / 15.00]; DWL_DNSWL_MED(-2.00)[palmen-it.de:dkim]; SIGNED_PGP(-2.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; FORGED_SENDER(0.30)[zirias@freebsd.org,felix@palmen-it.de]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f0b:bbb:1::1]; R_DKIM_ALLOW(-0.20)[palmen-it.de:s=20200414]; RCVD_IN_DNSWL_MED(-0.20)[2001:470:1f0b:bbb:1::1:from]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[freebsd.org]; MLMMJ_DEST(0.00)[current@freebsd.org]; FROM_HAS_DN(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; HAS_ORG_HEADER(0.00)[]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[palmen-it.de:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[zirias@freebsd.org,felix@palmen-it.de]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4RZkvT4Kx3z4h5L --ok2xx3a6axywbnjn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Dmitry Chagin [20230828 18:57]: > On Mon, Aug 28, 2023 at 08:03:33AM +0200, Felix Palmen wrote: > > * Cy Schubert [20230827 16:59]: > > >=20 > > > If we are to break it to fix a problem, maybe a sysctl to enable/disa= ble then? > >=20 > > IMHO depends on the exact nature of the problem. If it's confirmed that > > it (always and only) breaks for jailed processes, just disabling it for > > them would be the better workaround. "No-op" calls won't break anything. > >=20 >=20 > please, try: https://people.freebsd.org/~dchagin/xattrerror.patch Thanks, I can confirm this avoids the issue in both cases I experienced (install from GNU coreutils and python). If I understand this patch correctly, it completely avoids EPERM, masking it as not supported, so callers should consider it non-fatal, allowing to silently ignore writing of "system" attributes while still keeping other functionality? I wonder whether this could cause trouble in other scenarios (like a read-only fs or actually missing file permissions)? Cheers, Felix --=20 Felix Palmen {private} felix@palmen-it.de -- ports committer -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 --ok2xx3a6axywbnjn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZO3Pel8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny Md4WAQCpIVin7fSuSlatk8F9ENdKnB4Bk+zTMm564m0XRbLIKAD+M8Ik/QetrIBP bFl2og/iGZBzkyzCjkgeruBF/YXCOwY= =9/sf -----END PGP SIGNATURE----- --ok2xx3a6axywbnjn-- From nobody Tue Aug 29 14:45:51 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RZqx54xXSz4rs1g for ; Tue, 29 Aug 2023 14:46:01 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Received: from heemeyer.club (heemeyer.club [195.93.173.158]) (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 4RZqx415N8z3S9l for ; Tue, 29 Aug 2023 14:45:59 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of dchagin@heemeyer.club has no SPF policy when checking 195.93.173.158) smtp.mailfrom=dchagin@heemeyer.club; dmarc=none Received: from heemeyer.club (localhost [127.0.0.1]) by heemeyer.club (8.17.2/8.16.1) with ESMTP id 37TEjp7h071573 for ; Tue, 29 Aug 2023 17:45:51 +0300 (MSK) (envelope-from dchagin@heemeyer.club) Received: (from dchagin@localhost) by heemeyer.club (8.17.2/8.16.1/Submit) id 37TEjp5V071572 for current@freebsd.org; Tue, 29 Aug 2023 17:45:51 +0300 (MSK) (envelope-from dchagin) Date: Tue, 29 Aug 2023 17:45:51 +0300 From: Dmitry Chagin To: current@freebsd.org Subject: Re: Possible issue with linux xattr support? Message-ID: References: <3q2k3tje2ig2s6wzy4hzvjmoyejiecminvcvevivumtukxrgki@btnpjbztyfa6> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spamd-Bar: / X-Spamd-Result: default: False [-0.77 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; NEURAL_HAM_SHORT(-0.97)[-0.971]; FORGED_SENDER(0.30)[dchagin@freebsd.org,dchagin@heemeyer.club]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:61400, ipnet:195.93.173.0/24, country:RU]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; R_SPF_NA(0.00)[no SPF record]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; FROM_NEQ_ENVFROM(0.00)[dchagin@freebsd.org,dchagin@heemeyer.club]; FREEFALL_USER(0.00)[dchagin]; RCVD_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[] X-Rspamd-Queue-Id: 4RZqx415N8z3S9l On Tue, Aug 29, 2023 at 12:59:11PM +0200, Felix Palmen wrote: > * Dmitry Chagin [20230828 18:57]: > > On Mon, Aug 28, 2023 at 08:03:33AM +0200, Felix Palmen wrote: > > > * Cy Schubert [20230827 16:59]: > > > > > > > > If we are to break it to fix a problem, maybe a sysctl to enable/disable then? > > > > > > IMHO depends on the exact nature of the problem. If it's confirmed that > > > it (always and only) breaks for jailed processes, just disabling it for > > > them would be the better workaround. "No-op" calls won't break anything. > > > > > > > please, try: https://people.freebsd.org/~dchagin/xattrerror.patch > > Thanks, I can confirm this avoids the issue in both cases I experienced > (install from GNU coreutils and python). > thanks, this is the first half of the fix, it works for you due to you are running tools under unprivileged user, afaiu. The second I have tested by myself :) > If I understand this patch correctly, it completely avoids EPERM, > masking it as not supported, so callers should consider it non-fatal, > allowing to silently ignore writing of "system" attributes while still > keeping other functionality? > system namespace is accessible only for privileged user, for others Linux returns ENOTSUP. So many tools ignores this error, eg ls. the second: https://people.freebsd.org/~dchagin/sea_jailed.patch Try this under privileged user, please. > I wonder whether this could cause trouble in other scenarios (like a > read-only fs or actually missing file permissions)? > > Cheers, Felix > > -- > Felix Palmen {private} felix@palmen-it.de > -- ports committer -- {web} http://palmen-it.de > {pgp public key} http://palmen-it.de/pub.txt > {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 From nobody Tue Aug 29 17:02:22 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RZtyV5tsgz4s0Mr for ; Tue, 29 Aug 2023 17:02:26 +0000 (UTC) (envelope-from felix@palmen-it.de) Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RZtyT6LWwz3fcy for ; Tue, 29 Aug 2023 17:02:25 +0000 (UTC) (envelope-from felix@palmen-it.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=palmen-it.de header.s=20200414 header.b=WT7FU+JH; spf=pass (mx1.freebsd.org: domain of felix@palmen-it.de designates 2001:470:1f0b:bbb:1::1 as permitted sender) smtp.mailfrom=felix@palmen-it.de; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Mg8cgUf7KVJfqQ3+YQDlLNyWiLfm7+iE6burG0G+qfY=; b=WT7FU+JHk/Xi68EjZT2iL/HbvZ lP/Q8s1bc8Kd89uJ7Bf5ZE16SUp7CBimvdN1JoTyUNzFolFQu/FxAs18eI8XtgR5dU55ZSyONesSd vShcAJOSIIygCNsV3vCL+merwutTUPIT37v0bgrFTTCZIFD+NhxjZ28rC4Cakis27lF60zcfNBeCu R6YPiVTsnYJWtabMOsSWGDgcLxRlJiE09ZJuCJYKHI2EPL5Qa2fbzE3vXiW4rRWdVaD3PMAHebvWr crwDCWvNqFBi2x8PTSOU7kZDQsMflbLECm82zl0Bim+eTVgHwIgkqR4kAuz92xGFHqOhnM6bpWpxZ N0f8YdeA==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qb26h-00BBqY-O2 for current@freebsd.org; Tue, 29 Aug 2023 19:02:23 +0200 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.96 (FreeBSD)) (envelope-from ) id 1qb26h-0004Eb-1T for current@freebsd.org; Tue, 29 Aug 2023 17:02:23 +0000 Date: Tue, 29 Aug 2023 19:02:22 +0200 From: Felix Palmen To: current@freebsd.org Subject: Re: Possible issue with linux xattr support? Message-ID: Mail-Followup-To: current@freebsd.org X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~;.B;!M/bL}*qk]p5*r7F5vW};{:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: FreeBSD.org References: <3q2k3tje2ig2s6wzy4hzvjmoyejiecminvcvevivumtukxrgki@btnpjbztyfa6> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="a3db4e65lkqu7zix" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20230517 X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.50 / 15.00]; DWL_DNSWL_MED(-2.00)[palmen-it.de:dkim]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; FORGED_SENDER(0.30)[zirias@freebsd.org,felix@palmen-it.de]; R_DKIM_ALLOW(-0.20)[palmen-it.de:s=20200414]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCVD_IN_DNSWL_MED(-0.20)[2001:470:1f0b:bbb:1::1:from]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f0b:bbb:1::1:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[freebsd.org]; MLMMJ_DEST(0.00)[current@freebsd.org]; FROM_HAS_DN(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; HAS_ORG_HEADER(0.00)[]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[palmen-it.de:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[zirias@freebsd.org,felix@palmen-it.de]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4RZtyT6LWwz3fcy --a3db4e65lkqu7zix Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Dmitry Chagin [20230829 17:45]: > On Tue, Aug 29, 2023 at 12:59:11PM +0200, Felix Palmen wrote: > > Thanks, I can confirm this avoids the issue in both cases I experienced > > (install from GNU coreutils and python). > >=20 > thanks, this is the first half of the fix, it works for you due to you > are running tools under unprivileged user, afaiu. The second I have > tested by myself :) Sure, poudriere is running all builds as "nobody" by default. > > If I understand this patch correctly, it completely avoids EPERM, > > masking it as not supported, so callers should consider it non-fatal, > > allowing to silently ignore writing of "system" attributes while still > > keeping other functionality? > >=20 > system namespace is accessible only for privileged user, for others Linux > returns ENOTSUP. So many tools ignores this error, eg ls. >=20 > the second: https://people.freebsd.org/~dchagin/sea_jailed.patch Ok, I did some tests in a poudriere jail using Linux bash, as root. First, with only the first patch: | bash-5.2# getfattr -d /bin/sh | getfattr: /bin/sh: Operation not supported | bash-5.2# setfattr -n user.foo -v bar /bin/sh | bash-5.2# getfattr -n user.foo /bin/sh | getfattr: Removing leading '/' from absolute path names | # file: bin/sh | user.foo=3D"bar" | bash-5.2# setfattr -x user.foo /bin/sh | bash-5.2# setfattr -x system.foo /bin/sh | setfattr: /bin/sh: Operation not supported So, using user.* works, using system.* doesn't, and maybe a bit surprising(?), dumping all attributes which by default excludes the system namespace doesn't work either. Then with the second patch applied as well: | bash-5.2# getfattr -d /bin/sh | bash-5.2# setfattr -n system.foo -v bar /bin/sh | bash-5.2# getfattr -d /bin/sh -m- | getfattr: Removing leading '/' from absolute path names | # file: bin/sh | system.foo=3D"bar" |=20 | bash-5.2# setfattr -x system.foo /bin/sh | bash-5.2# getfattr -d /bin/sh -m- | bash-5.2# This looks perfectly fine, thanks a lot! I still wonder, is the first patch needed anyways? Maybe I fail to understand something here. Won't it map *every* EPERM to ENOSUP and can't this be an issue? Cheers, Felix --=20 Felix Palmen {private} felix@palmen-it.de -- ports committer -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 --a3db4e65lkqu7zix Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZO4kj18UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny McBUAQChmO4kixIRXyxXusZ4N1YgnFbrLhMzYRLSIZdZ9q/5hQD/Zxt9giKs9TID loW+qOODNJJramUr6cJ1AFL9QbdIjAs= =GjFg -----END PGP SIGNATURE----- --a3db4e65lkqu7zix-- From nobody Tue Aug 29 18:12:05 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RZwVx5jMzz4s3TF for ; Tue, 29 Aug 2023 18:12:09 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Received: from heemeyer.club (heemeyer.club [195.93.173.158]) (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 4RZwVw5k0yz4Lsg for ; Tue, 29 Aug 2023 18:12:08 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of dchagin@heemeyer.club has no SPF policy when checking 195.93.173.158) smtp.mailfrom=dchagin@heemeyer.club; dmarc=none Received: from heemeyer.club (localhost [127.0.0.1]) by heemeyer.club (8.17.2/8.16.1) with ESMTP id 37TIC5Oi072256 for ; Tue, 29 Aug 2023 21:12:05 +0300 (MSK) (envelope-from dchagin@heemeyer.club) Received: (from dchagin@localhost) by heemeyer.club (8.17.2/8.16.1/Submit) id 37TIC5M6072255 for current@freebsd.org; Tue, 29 Aug 2023 21:12:05 +0300 (MSK) (envelope-from dchagin) Date: Tue, 29 Aug 2023 21:12:05 +0300 From: Dmitry Chagin To: current@freebsd.org Subject: Re: Possible issue with linux xattr support? Message-ID: References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spamd-Bar: / X-Spamd-Result: default: False [-0.52 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.99)[-0.994]; NEURAL_HAM_SHORT(-0.72)[-0.722]; FORGED_SENDER(0.30)[dchagin@freebsd.org,dchagin@heemeyer.club]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[current@freebsd.org]; TO_DOM_EQ_FROM_DOM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_SPF_NA(0.00)[no SPF record]; R_DKIM_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; DMARC_NA(0.00)[freebsd.org]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FREEFALL_USER(0.00)[dchagin]; ARC_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[dchagin@freebsd.org,dchagin@heemeyer.club]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; ASN(0.00)[asn:61400, ipnet:195.93.173.0/24, country:RU] X-Rspamd-Queue-Id: 4RZwVw5k0yz4Lsg On Tue, Aug 29, 2023 at 07:02:22PM +0200, Felix Palmen wrote: > * Dmitry Chagin [20230829 17:45]: > > On Tue, Aug 29, 2023 at 12:59:11PM +0200, Felix Palmen wrote: > > > Thanks, I can confirm this avoids the issue in both cases I experienced > > > (install from GNU coreutils and python). > > > > > thanks, this is the first half of the fix, it works for you due to you > > are running tools under unprivileged user, afaiu. The second I have > > tested by myself :) > > Sure, poudriere is running all builds as "nobody" by default. > > > > If I understand this patch correctly, it completely avoids EPERM, > > > masking it as not supported, so callers should consider it non-fatal, > > > allowing to silently ignore writing of "system" attributes while still > > > keeping other functionality? > > > > > system namespace is accessible only for privileged user, for others Linux > > returns ENOTSUP. So many tools ignores this error, eg ls. > > > > the second: https://people.freebsd.org/~dchagin/sea_jailed.patch > > Ok, I did some tests in a poudriere jail using Linux bash, as root. > First, with only the first patch: > > | bash-5.2# getfattr -d /bin/sh > | getfattr: /bin/sh: Operation not supported > | bash-5.2# setfattr -n user.foo -v bar /bin/sh > | bash-5.2# getfattr -n user.foo /bin/sh > | getfattr: Removing leading '/' from absolute path names > | # file: bin/sh > | user.foo="bar" > | bash-5.2# setfattr -x user.foo /bin/sh > | bash-5.2# setfattr -x system.foo /bin/sh > | setfattr: /bin/sh: Operation not supported > > So, using user.* works, using system.* doesn't, and maybe a bit > surprising(?), dumping all attributes which by default excludes the > system namespace doesn't work either. > As expected, the second patch intended to allow access to system namespace in jailed env. > Then with the second patch applied as well: > > | bash-5.2# getfattr -d /bin/sh > | bash-5.2# setfattr -n system.foo -v bar /bin/sh > | bash-5.2# getfattr -d /bin/sh -m- > | getfattr: Removing leading '/' from absolute path names > | # file: bin/sh > | system.foo="bar" > | > | bash-5.2# setfattr -x system.foo /bin/sh > | bash-5.2# getfattr -d /bin/sh -m- > | bash-5.2# > > This looks perfectly fine, thanks a lot! > > I still wonder, is the first patch needed anyways? Maybe I fail to > understand something here. Won't it map *every* EPERM to ENOSUP and > can't this be an issue? > fine, thanks. Gnu tools running under unprivileged user will fail, eg ls, which uses getfattr() to get the posix acl > Cheers, Felix > > -- > Felix Palmen {private} felix@palmen-it.de > -- ports committer -- {web} http://palmen-it.de > {pgp public key} http://palmen-it.de/pub.txt > {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 From nobody Tue Aug 29 18:58:13 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RZxX84ghgz4s5C7 for ; Tue, 29 Aug 2023 18:58:16 +0000 (UTC) (envelope-from felix@palmen-it.de) Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RZxX75TZrz4QWj for ; Tue, 29 Aug 2023 18:58:15 +0000 (UTC) (envelope-from felix@palmen-it.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=palmen-it.de header.s=20200414 header.b=ESZ1Rw95; spf=pass (mx1.freebsd.org: domain of felix@palmen-it.de designates 2001:470:1f0b:bbb:1::1 as permitted sender) smtp.mailfrom=felix@palmen-it.de; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=XmJYtGx7d6zq0eFsRnWvqYKI8uu3FO6EBiSN0k9nTi8=; b=ESZ1Rw95inCSD8wrOuS5LkE6DT o2tNc4uernfEi+Wkq6JUlvM2bHaBKiJ/kXAG8oI8uMr03nsCAtLbUcuZIua5dz8P0uD1rNBctbJeR qSV33moNvIje7aPCwGzclSZQvDk69B9Xye7h3TrY6dOqUxsz17Wv1ocV/bP/0l2juJ2DB5O/623ma b79Q7KgiTIUlDEOhOYVP1aETO6f1fCdhg+57fIvmsiV9WfWQjvdyKaMzsuF1XKiyTRJxemLmimhJ/ rX7D7kQzV6m4J0AtvqnfMci/N/IktDJ9wObfrFdCFFnaHdU7Y9RHPne/9gROWYDVcOG6VtB8+TYAQ ms2XJQkw==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qb3uo-00BC1h-2w for current@freebsd.org; Tue, 29 Aug 2023 20:58:14 +0200 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.96 (FreeBSD)) (envelope-from ) id 1qb3un-0004hu-2t for current@freebsd.org; Tue, 29 Aug 2023 18:58:13 +0000 Date: Tue, 29 Aug 2023 20:58:13 +0200 From: Felix Palmen To: current@freebsd.org Subject: Re: Possible issue with linux xattr support? Message-ID: Mail-Followup-To: current@freebsd.org X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~;.B;!M/bL}*qk]p5*r7F5vW};{:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: FreeBSD.org References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="i4v2s2jboe4zmsgh" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20230517 X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.50 / 15.00]; DWL_DNSWL_MED(-2.00)[palmen-it.de:dkim]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; FORGED_SENDER(0.30)[zirias@freebsd.org,felix@palmen-it.de]; R_DKIM_ALLOW(-0.20)[palmen-it.de:s=20200414]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCVD_IN_DNSWL_MED(-0.20)[2001:470:1f0b:bbb:1::1:from]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f0b:bbb:1::1:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[freebsd.org]; MLMMJ_DEST(0.00)[current@freebsd.org]; FROM_HAS_DN(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; HAS_ORG_HEADER(0.00)[]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[palmen-it.de:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[zirias@freebsd.org,felix@palmen-it.de]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4RZxX75TZrz4QWj --i4v2s2jboe4zmsgh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Dmitry Chagin [20230829 21:12]: > On Tue, Aug 29, 2023 at 07:02:22PM +0200, Felix Palmen wrote: > > So, using user.* works, using system.* doesn't, and maybe a bit > > surprising(?), dumping all attributes which by default excludes the > > system namespace doesn't work either. > >=20 >=20 > As expected, the second patch intended to allow access to system > namespace in jailed env. Not exactly, according to the manual, 'getfattr -d' *excludes* the system namespace by default, so I would have expected it to work. But maybe that's an issue with the getfattr tool itself. > > I still wonder, is the first patch needed anyways? Maybe I fail to > > understand something here. Won't it map *every* EPERM to ENOSUP and > > can't this be an issue? > >=20 >=20 > fine, thanks. Gnu tools running under unprivileged user will fail, eg > ls, which uses getfattr() to get the posix acl Ah, I see, that would still break "Linux jails" then... Thanks again for quickly fixing this! Can this still make 14.0-RELEASE? Cheers, Felix --=20 Felix Palmen {private} felix@palmen-it.de -- ports committer -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 --i4v2s2jboe4zmsgh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZO4/xV8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny MUqSAP9vY1Ev+S0ALM2AJySChtBYmGkpPOibPGF7zIIx2vLISQEAhE1SlgKowg4c iahfjQ1AQn1nTZG0fL5ICPzMHzSDVAU= =/UW+ -----END PGP SIGNATURE----- --i4v2s2jboe4zmsgh-- From nobody Tue Aug 29 19:02:58 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RZxdd31tSz4s5mL for ; Tue, 29 Aug 2023 19:03:01 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-io1-xd34.google.com (mail-io1-xd34.google.com [IPv6:2607:f8b0:4864:20::d34]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RZxdd1JtCz4Rnp for ; Tue, 29 Aug 2023 19:03:01 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Authentication-Results: mx1.freebsd.org; none Received: by mail-io1-xd34.google.com with SMTP id ca18e2360f4ac-7923ae72111so174921039f.0 for ; Tue, 29 Aug 2023 12:03:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd.org; s=google; t=1693335780; x=1693940580; darn=freebsd.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=8h2GKuktD4kZBEjAH3B1XT0cNr+Pnjkbme8JR/ksmBM=; b=HZAdTqj9VqON6hzTxQQdUmHKzIHib/6AJZz43eOFRULsvkmVriv4LGApX8Cr5iaY4h Xhv0etVh5N08hh8uMns/eRT92JCuyZjssEqnniuol31wVAKlaR0NLjEei0bhN+nrIlSc +8xakrLiyV1bY7m0YzkebE4Skl6I3pxN2gp8sEDOheprukOGUMOCnM/IgA2fhoOIabhi VZ6wnwNxFe1sbSW0riaLFtjNLWOowpFXYoaRxzCnrm8slqDi6/n4y7StuQRhEMWEP9dA eSx/9gAyDXyRfyKy1IJzDYhRugGJ/VbBoN3G4VvH6typnwfyalZ+zg4Rn1djgN1paETV cSAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693335780; x=1693940580; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=8h2GKuktD4kZBEjAH3B1XT0cNr+Pnjkbme8JR/ksmBM=; b=TY5CHOrsJp2/dqr6ti5h1/sPoLKioAY4OZqh0FPXhN+9zChYcnXxJRLwkqe1YxJO8I cksHMmOvSKWIwcjt5ZmxhJdXBMjBvjjzAM1aY9SvtUOfcXZRG658REq2YlfODv0+oONV bfJZf+wWY/9f5STU6poiRUO7uQm+v7FOvV6e0HaEGSQca3iV4tFi8q2XW00gDpK7k6BM dA0le9Sw0KXQabq3D0niOdjZ1125YSO6zubGKPAbCSKBtKOKOx68zssqtfZhH88WQUH8 +lF06shWhQlf/+NhLTKUK6/zUXNYSMB/YP6mHscXU8kjf3GqO/UoYRSnzGo6rs+8x/lK iPnA== X-Gm-Message-State: AOJu0YxDvE1Z5q9EiHQAubCgcO3rb/TpeAVqNL2El9w3NnaaNua7yvZU 2ww0DcdL9KnIrcWXyr0/uslz8qiAkGM/oEXYNyA= X-Google-Smtp-Source: AGHT+IHXEDf04Bnf8uJQVK9SNZaDoK0bg79YtKHo/1jmDAT/nzXBK6cRyM8l4645Tpibf2KS6DdUGQ== X-Received: by 2002:a6b:7a07:0:b0:790:fcc2:6e9c with SMTP id h7-20020a6b7a07000000b00790fcc26e9cmr231338iom.12.1693335780139; Tue, 29 Aug 2023 12:03:00 -0700 (PDT) Received: from mutt-hbsd ([73.153.118.59]) by smtp.gmail.com with ESMTPSA id b8-20020a05663801a800b004290fd3a68dsm3364783jaq.1.2023.08.29.12.02.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Aug 2023 12:02:59 -0700 (PDT) Date: Tue, 29 Aug 2023 15:02:58 -0400 From: Shawn Webb To: Dmitry Chagin Cc: current@freebsd.org Subject: Re: Possible issue with linux xattr support? Message-ID: <20230829190258.uc67572553e4fq3v@mutt-hbsd> X-Operating-System: FreeBSD mutt-hbsd 14.0-ALPHA2-HBSD FreeBSD 14.0--HBSD amd64 1400096 X-PGP-Key: https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/blob/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc References: <3q2k3tje2ig2s6wzy4hzvjmoyejiecminvcvevivumtukxrgki@btnpjbztyfa6> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mjpddq7i64klevr4" Content-Disposition: inline In-Reply-To: X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4RZxdd1JtCz4Rnp --mjpddq7i64klevr4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 29, 2023 at 05:45:51PM +0300, Dmitry Chagin wrote: > On Tue, Aug 29, 2023 at 12:59:11PM +0200, Felix Palmen wrote: > > * Dmitry Chagin [20230828 18:57]: > > > On Mon, Aug 28, 2023 at 08:03:33AM +0200, Felix Palmen wrote: > > > > * Cy Schubert [20230827 16:59]: > > > > >=20 > > > > > If we are to break it to fix a problem, maybe a sysctl to enable/= disable then? > > > >=20 > > > > IMHO depends on the exact nature of the problem. If it's confirmed = that > > > > it (always and only) breaks for jailed processes, just disabling it= for > > > > them would be the better workaround. "No-op" calls won't break anyt= hing. > > > >=20 > > >=20 > > > please, try: https://people.freebsd.org/~dchagin/xattrerror.patch > >=20 > > Thanks, I can confirm this avoids the issue in both cases I experienced > > (install from GNU coreutils and python). > >=20 > thanks, this is the first half of the fix, it works for you due to you > are running tools under unprivileged user, afaiu. The second I have > tested by myself :) >=20 > > If I understand this patch correctly, it completely avoids EPERM, > > masking it as not supported, so callers should consider it non-fatal, > > allowing to silently ignore writing of "system" attributes while still > > keeping other functionality? > >=20 > system namespace is accessible only for privileged user, for others Linux > returns ENOTSUP. So many tools ignores this error, eg ls. >=20 > the second: https://people.freebsd.org/~dchagin/sea_jailed.patch >=20 > Try this under privileged user, please. Back in 2019, I had a similar issue: I needed access to be able to read/write to the system extended attribute namespace from within a jailed context. I wrote a rather simple patch that provides that support on a per-jail basis: https://git.hardenedbsd.org/hardenedbsd/HardenedBSD/-/commit/96c85982b45e44= a6105664c7068a92d0a61da2a3 Hopefully that's useful to someone. Thanks, --=20 Shawn Webb Cofounder / Security Engineer HardenedBSD https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A= 4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc --mjpddq7i64klevr4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAmTuQNAACgkQ/y5nonf4 4frosg//YxLXPFWHzrU6naTUDfzdiGxWYq8vGnCyXh6R83lvcg5mTp8UJAkbT/PV w/UiIFVBUrfNxZ7dpO1IzhSEhzGKL8eawn8ERr7mAwpgDWtZ3j+VlKvGRf8DLORt 1og81DHG40PaX/+nABv+prDSHB/0t3CO1/7C2qOJYgMWrwhwg2OhlGgaDE/utJrY n7zmnQnoPJd3i/RFp4iWjCZkFwZc2JHpdImz695quKFfYSAatW2gme7FYydTNRDY in1w34+9NNq6P4meKguNUuO8TPPLiPD7455JVrdlSo5DKSk5zkBHbNDrPYP2Lnqz XnFUB9KssLNypFzMM+0NzzSJ4Kmht7b48skRJzaWmbc9Y1maYjRiwJBe4IcSYEUv RItSJ3oIbXIdfxC0dP+MpnuunqyHDrXzhs3iXfp6GRd0dPpewUHGKSZ+ARL4gg3l BmqccD0j9Egt5s2YAuhB/i2zrLcc5neKLWorMioMbASGNC9uWSv2ENUyklcoJS2g 4ZEH9qBBYlaS01GiJBYNTyWYkSkbZfH9bmJtcJ3y8cM06H9DV1yNTY/SwK5n+79a RtE9Q2CHfWPcKaqEcl5CXF8WT9jddfanj62PTu5omL0sG338+TY4VWFI1Jq9MgC/ 1YiAJSupWbEhs49Y2igU3HoHHN3tOdrQr4F1iZEjCNv+TxCTZIw= =EziF -----END PGP SIGNATURE----- --mjpddq7i64klevr4-- From nobody Tue Aug 29 19:07:11 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RZxkX0GKxz4s5lP for ; Tue, 29 Aug 2023 19:07: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RZxkW6sxyz4SjC; Tue, 29 Aug 2023 19:07:15 +0000 (UTC) (envelope-from kevans@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693336036; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=D1PpuNUhZxOUcCo3rRS/QVEhUZN+nm0nxJ0J54bIh50=; b=pBeK2pZQSp3cvWwvjVbS2WKAf4T4iAZQEaBze3Pu0b1JPHbK60fUsw+BvKuMknF2Novj6/ qjsMK2iyUUzx1VWZPBhVmZsSszN4vK0QRplstc8up/7z4lXij0Z9x9keYNiMjQpZHeimgI MsNhEp0aARrsrnoC8FV4wnyOLoboDyhM5oun4I3I8J0Dml1rwroi9ip6i5NCwIg7WU1+H8 uAnsPLqX662JQL5ccAPnxm0z6YDX21oslT5w8ZE3SnxjMoPjElq5G2mdtUBRbYCxbGyOmh sxgV3Zjtx4Ry1jx+hI67I99IJbMev4Zh7PYy1hAUN6WN5+Gkc0OIlNI/hwlxBg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693336036; a=rsa-sha256; cv=none; b=ldA15mHO8VolQn1BtJ5GUa2aOL+MvrUXY67/7B8StFMz8Bomz94aW+KbNESErj1LQpL+1T sSjmL1PffPQCuyEggvWxrfWUAa4MfP3joIjCdmjLiIyr6CwpIyfydUp1mmb0fwsBig8ZLr lU8qLirA1USjbHiJJF1CEXtCa4s4UoA4Njlx3OSl0yY+Kp7qIOxXBjyRRLG8zYqx1z+/7p pLNgMtS2GSXVd+dDu/indvvwNGJLdAjrRCmiKSE7/ZILtZAPtNlSckUGj/7BMQpt60rMPs pxpIkqpzdtKgOeIncZJ+2xHBA4pAJfHzpm6wIYeE4Hpoj5UEPS/0fnYYpIF3Bg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693336036; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=D1PpuNUhZxOUcCo3rRS/QVEhUZN+nm0nxJ0J54bIh50=; b=Dm8zbUx8XUt/LqkrmVCB8DuEWwumMGBWOKPqk7VExQi98wqbCja6dZN1PkZPzAMhkGo3VG mjeuHradfALDrD4imSPZQtCKOMULG4VeVHoSfD8eGlD54pApwxWyJt0DXXrjZaiqj+nDKb PvpXCjhYUTk3CePozVLKfWYBb90w41Aq7UX0/VXO93joWz2BI28R16BTgOUWNFdrZWNCe6 vx1UVLBDdgMbVzHWbGRRK1gXhlMKSy0RgmWhaIQri2+Tz2gjdXCFhWeKE+E0AwzmvBHMZS yHPogcjeT9JcGQ78nNzvBQakUB/N+qH67Nl0Qm2Pfjzrw8e0KSCwptehEYzkXw== Received: from [10.9.4.95] (unknown [209.182.120.176]) (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 did not present a certificate) (Authenticated sender: kevans/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4RZxkW3MSKz18Tg; Tue, 29 Aug 2023 19:07:15 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Message-ID: Date: Tue, 29 Aug 2023 14:07:11 -0500 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: Possible issue with linux xattr support? To: Shawn Webb , Dmitry Chagin Cc: current@freebsd.org References: <3q2k3tje2ig2s6wzy4hzvjmoyejiecminvcvevivumtukxrgki@btnpjbztyfa6> <20230829190258.uc67572553e4fq3v@mutt-hbsd> Content-Language: en-US From: Kyle Evans In-Reply-To: <20230829190258.uc67572553e4fq3v@mutt-hbsd> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 8/29/23 14:02, Shawn Webb wrote: > On Tue, Aug 29, 2023 at 05:45:51PM +0300, Dmitry Chagin wrote: >> On Tue, Aug 29, 2023 at 12:59:11PM +0200, Felix Palmen wrote: >>> * Dmitry Chagin [20230828 18:57]: >>>> On Mon, Aug 28, 2023 at 08:03:33AM +0200, Felix Palmen wrote: >>>>> * Cy Schubert [20230827 16:59]: >>>>>> >>>>>> If we are to break it to fix a problem, maybe a sysctl to enable/disable then? >>>>> >>>>> IMHO depends on the exact nature of the problem. If it's confirmed that >>>>> it (always and only) breaks for jailed processes, just disabling it for >>>>> them would be the better workaround. "No-op" calls won't break anything. >>>>> >>>> >>>> please, try: https://people.freebsd.org/~dchagin/xattrerror.patch >>> >>> Thanks, I can confirm this avoids the issue in both cases I experienced >>> (install from GNU coreutils and python). >>> >> thanks, this is the first half of the fix, it works for you due to you >> are running tools under unprivileged user, afaiu. The second I have >> tested by myself :) >> >>> If I understand this patch correctly, it completely avoids EPERM, >>> masking it as not supported, so callers should consider it non-fatal, >>> allowing to silently ignore writing of "system" attributes while still >>> keeping other functionality? >>> >> system namespace is accessible only for privileged user, for others Linux >> returns ENOTSUP. So many tools ignores this error, eg ls. >> >> the second: https://people.freebsd.org/~dchagin/sea_jailed.patch >> >> Try this under privileged user, please. > > Back in 2019, I had a similar issue: I needed access to be able to > read/write to the system extended attribute namespace from within a > jailed context. I wrote a rather simple patch that provides that > support on a per-jail basis: > > https://git.hardenedbsd.org/hardenedbsd/HardenedBSD/-/commit/96c85982b45e44a6105664c7068a92d0a61da2a3 > > Hopefully that's useful to someone. > > Thanks, > FWIW (which likely isn't much), I like this approach much better; it makes more sense to me that it's a feature controlled by the creator of the jail and not one allowed just by using a compat ABI within a jail. Thanks, Kyle Evans From nobody Tue Aug 29 19:15:03 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RZxvj0SGsz4s5tr for ; Tue, 29 Aug 2023 19:15:13 +0000 (UTC) (envelope-from felix@palmen-it.de) Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RZxvb2WSZz4V2h for ; Tue, 29 Aug 2023 19:15:07 +0000 (UTC) (envelope-from felix@palmen-it.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=palmen-it.de header.s=20200414 header.b=YelDPWlQ; spf=pass (mx1.freebsd.org: domain of felix@palmen-it.de designates 2001:470:1f0b:bbb:1::1 as permitted sender) smtp.mailfrom=felix@palmen-it.de; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=kHU1IDlpUt01NmchbCNdvS9g37U5TtbwLz66n1yMjLI=; b=YelDPWlQXeraFHJ7hyWmz9p+Rz bpjttwatCXzuCA9uneOdGXPoJErv/W82Q0fgdOqGdjyxyGrWwbgS+CXM5zJ9geNZgIqdchhfAmxAF Oo24iembHTQ2SY7yIJBNfdVhilfPBWPRqiSvv3Rh/SXuERfCrdnCdfx/oUGsWVnYnIHgaqpYH0hU8 ssW4W1ct/YiCaBdbseDoupFyVc6g7kJRM8/JyxVQSixnGguH/ZOHc4qeuYBJo/Locx2dyyQbw7S/D coscE8YXuO88Z1q4lbB7vytJDsgZIMMTqx8EZKwJBKcmYBkvEv/FIYmB+ExCKrm0ikIDMGyF70z/T ZPzrw1UQ==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qb4B6-00BC48-76 for current@freebsd.org; Tue, 29 Aug 2023 21:15:04 +0200 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.96 (FreeBSD)) (envelope-from ) id 1qb4B6-0004nT-02 for current@freebsd.org; Tue, 29 Aug 2023 19:15:04 +0000 Date: Tue, 29 Aug 2023 21:15:03 +0200 From: Felix Palmen To: current@freebsd.org Subject: Re: Possible issue with linux xattr support? Message-ID: Mail-Followup-To: current@freebsd.org X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~;.B;!M/bL}*qk]p5*r7F5vW};{:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: FreeBSD.org References: <20230829190258.uc67572553e4fq3v@mutt-hbsd> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="yqp6s6wip2kmguhz" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20230517 X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.50 / 15.00]; DWL_DNSWL_MED(-2.00)[palmen-it.de:dkim]; SIGNED_PGP(-2.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; FORGED_SENDER(0.30)[zirias@freebsd.org,felix@palmen-it.de]; R_DKIM_ALLOW(-0.20)[palmen-it.de:s=20200414]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f0b:bbb:1::1:c]; RCVD_IN_DNSWL_MED(-0.20)[2001:470:1f0b:bbb:1::1:from]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCPT_COUNT_ONE(0.00)[1]; BLOCKLISTDE_FAIL(0.00)[2001:470:1f0b:bbb:1::1:query timed out]; DMARC_NA(0.00)[freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[palmen-it.de:+]; HAS_ORG_HEADER(0.00)[]; TO_DN_NONE(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[zirias@freebsd.org,felix@palmen-it.de]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4RZxvb2WSZz4V2h --yqp6s6wip2kmguhz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Kyle Evans [20230829 14:07]: > On 8/29/23 14:02, Shawn Webb wrote: > > Back in 2019, I had a similar issue: I needed access to be able to > > read/write to the system extended attribute namespace from within a > > jailed context. I wrote a rather simple patch that provides that > > support on a per-jail basis: > >=20 > > https://git.hardenedbsd.org/hardenedbsd/HardenedBSD/-/commit/96c85982b4= 5e44a6105664c7068a92d0a61da2a3 > >=20 > > Hopefully that's useful to someone. > >=20 > > Thanks, > >=20 >=20 > FWIW (which likely isn't much), I like this approach much better; it makes > more sense to me that it's a feature controlled by the creator of the jail > and not one allowed just by using a compat ABI within a jail. Well, a typical GNU userland won't work in a jail without this, that's what I know now. But I'm certainly with you, it doesn't feel logical that a Linux binary can do something in a jail a FreeBSD binary can't. So, indeed, making it a jail option sounds better. Unless, bringing back a question raised earlier in this thread: What's the reason to restrict this in a jailed context in the first place? IOW, could it just be allowed unconditionally? Cheers, Felix --=20 Felix Palmen {private} felix@palmen-it.de -- ports committer -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 --yqp6s6wip2kmguhz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZO5DsV8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny MTaDAQC8CMMvBgCn/J9mCMO8zUZnR7JJ9lWfGXCB0ydSTyfObAEAzRTeb4rBIkqE oiQHN5tBxm3rOpEzo2RLM9TVmErM1ww= =dO54 -----END PGP SIGNATURE----- --yqp6s6wip2kmguhz-- From nobody Tue Aug 29 19:25:16 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RZy7N0dh2z4s6tG for ; Tue, 29 Aug 2023 19:25:20 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RZy7M0lP0z4X7k for ; Tue, 29 Aug 2023 19:25:19 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hardenedbsd.org header.s=google header.b=a7zeBmfW; spf=pass (mx1.freebsd.org: domain of shawn.webb@hardenedbsd.org designates 2607:f8b0:4864:20::d2f as permitted sender) smtp.mailfrom=shawn.webb@hardenedbsd.org; dmarc=none Received: by mail-io1-xd2f.google.com with SMTP id ca18e2360f4ac-7928dc54896so135224139f.3 for ; Tue, 29 Aug 2023 12:25:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd.org; s=google; t=1693337117; x=1693941917; darn=freebsd.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=06U9dnpoEw/0CBmmuaPmkfzAvBicbkIIe50zVELG4HQ=; b=a7zeBmfWO3QAxicSvOFTqjVM+IYvP6tQb4EJ5bZ6cnoxkZ9O78/X2DfckxQrom8b2t IccmHKhqjeggdYoHXV+Dgrk6TqgwjIN0AWp1Mq8BBAzBCK/ssuXuUQqBNh8E95Bm9S5M ZFdH2n1b7MH/PmEMpa09/BWStBAS9vwe2GfPYS3zKP34lTxPdBNUPL12L9XygPstJH9Y i/Ru/zR9E2fiOdxo8VegCrGy1iX2zKXhJiVm8TTyLMV+GW/B7GqLK39es4evPeABA0bZ ZVrY5QPWO2/rFTWNA7LeeW4/eSE/JFsKFIEhIKzh2SLfl6ssCezxyqVGwJ/1Q/ATN2pe n1JQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693337117; x=1693941917; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=06U9dnpoEw/0CBmmuaPmkfzAvBicbkIIe50zVELG4HQ=; b=kVLzjT4uS1OKY0Rs3hsX5H/O5udJGn0v9jDbHh6MVLQjOU3GD8RtrmnediKBEgx25v bMOYnMWveeaELglpqlNNrdtmZ10YJ5JxJqKPw2hcMG+busOkAwr4TEZ2yPrRxcL1Xu2v aG/oZExwgVOih6hJR4ZRmFjVKBi9xZxCNZn2a/VLKj8s6eG4KxTSm+8z7G5Wzgoduxgc 4PqinCA0eq0B7t2kiGnYR2SXT4HI/375OKS/Fo1lfv506s8479f/t40QRoY3vBuQ60Uw cDOVlxnkpLnGdVauNdnYhKT5eESSz5/mBz9q3U+acvnRP3YbxA6pUYz1y5Zz4o3qAmiY ihUA== X-Gm-Message-State: AOJu0Yxg8pcyVPYaRqDTVxOM4iyOzrGvPz4YZTSkPAv38nEFtXxexRuK S6PaLpOt0gChxEqTdrKAXfXYD0xlIO/fqY4yjSOYnXhZrfiHc1TqYHGH7ValFW1PoiDIegJT8vk lCPeQCuL7tpaRVm0ULVFlhFgmBo8bOqVEQzmb+NYC0JWYNTtZTmJP8eS02r7WUkbM0wkFAAdLSd ouDoau X-Google-Smtp-Source: AGHT+IEXFP38UcANztYaZw2CWaKLUTkk130mBQlxWb+Sn8WMbbMmbOLTGUnTpRD5sP1yIvQb+0WvZg== X-Received: by 2002:a92:cf47:0:b0:34c:bc10:2573 with SMTP id c7-20020a92cf47000000b0034cbc102573mr294811ilr.3.1693337117492; Tue, 29 Aug 2023 12:25:17 -0700 (PDT) Received: from mutt-hbsd ([73.153.118.59]) by smtp.gmail.com with ESMTPSA id fx9-20020a0566381e0900b00430091fd494sm3186255jab.34.2023.08.29.12.25.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Aug 2023 12:25:16 -0700 (PDT) Date: Tue, 29 Aug 2023 15:25:16 -0400 From: Shawn Webb To: current@freebsd.org Subject: Re: Possible issue with linux xattr support? Message-ID: <20230829192516.jb2t65sp5rdlysss@mutt-hbsd> X-Operating-System: FreeBSD mutt-hbsd 14.0-ALPHA2-HBSD FreeBSD 14.0--HBSD amd64 1400096 X-PGP-Key: https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/blob/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc References: <20230829190258.uc67572553e4fq3v@mutt-hbsd> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="qxjeens6fc7akr5o" Content-Disposition: inline In-Reply-To: X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.10 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[]; R_DKIM_ALLOW(-0.20)[hardenedbsd.org:s=google]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; BLOCKLISTDE_FAIL(0.00)[2607:f8b0:4864:20::d2f:server fail,73.153.118.59:server fail]; DMARC_NA(0.00)[hardenedbsd.org]; MLMMJ_DEST(0.00)[current@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d2f:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[hardenedbsd.org:+]; TO_DN_NONE(0.00)[]; FROM_HAS_DN(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4RZy7M0lP0z4X7k --qxjeens6fc7akr5o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 29, 2023 at 09:15:03PM +0200, Felix Palmen wrote: > * Kyle Evans [20230829 14:07]: > > On 8/29/23 14:02, Shawn Webb wrote: > > > Back in 2019, I had a similar issue: I needed access to be able to > > > read/write to the system extended attribute namespace from within a > > > jailed context. I wrote a rather simple patch that provides that > > > support on a per-jail basis: > > >=20 > > > https://git.hardenedbsd.org/hardenedbsd/HardenedBSD/-/commit/96c85982= b45e44a6105664c7068a92d0a61da2a3 > > >=20 > > > Hopefully that's useful to someone. > > >=20 > > > Thanks, > > >=20 > >=20 > > FWIW (which likely isn't much), I like this approach much better; it ma= kes > > more sense to me that it's a feature controlled by the creator of the j= ail > > and not one allowed just by using a compat ABI within a jail. >=20 > Well, a typical GNU userland won't work in a jail without this, that's > what I know now. But I'm certainly with you, it doesn't feel logical > that a Linux binary can do something in a jail a FreeBSD binary can't. >=20 > So, indeed, making it a jail option sounds better. >=20 > Unless, bringing back a question raised earlier in this thread: What's > the reason to restrict this in a jailed context in the first place? IOW, > could it just be allowed unconditionally? In HardenedBSD's case, since we use filesystem extended attributes to toggle exploit mitigations on a per-application basis, there's now a conceptual security boundary between the host and the jail. Should the jail and the host share resources, like executables, a jailed process could toggle an exploit mitigation, and the toggle would bubble up to the host. So the next time the host executed /shared/app/executable/here, the security posture of the host would be affected. FreeBSD uses ELF header tagging, not filesystem extended attributes, to toggle exploit mitigations. So my description above is moot for FreeBSD users. I'm just hoping to share a unique perspective. Thanks, --=20 Shawn Webb Cofounder / Security Engineer HardenedBSD https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A= 4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc --qxjeens6fc7akr5o Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAmTuRhUACgkQ/y5nonf4 4fpfng/+KkeJKw4MP4IUTADWW+OqQGddoXovUPSHr7QadmOvkhbG7MGkd4jFtLPd SYE95i1HCERhym36DxLSxLONrwigBsolxxMamgpmHkb0vTWR61hAg2aVf8Ac/Rc8 gomVOcMxUjwQmyNOHZrDYix9zNbpB/wYu53pIyHSA1GIua6Koosad0yLkZrf2EfX Zri/zhP1FEw5WJcaIlD7u/kTR99SmF02i17JImXOrd6Aqd+QHKY1dnkJR6VH23rL C3VKJhzV3XqhY2FG432kieaDPb44W2OgomWVNcsEx85g7CxBgyS2SgBkg5vYNoCE iU2tCD/SshoH14rclXFm87fxPWCXWQWEYDhbr0eDtHRhw5AafROQOwI5eeLTqesG tQPF4PI5i4VdsJi6uAYMOmUoGqzSNVkXsofNIls667fgW+sLtaxXXKtdUScVGlBU tq45S1imSkxQUhgjzmHMfgxLFMThsh16xQNcYoUN4yPBafksYZkNXPoTwvJKB2Dd 21MAV8FcgkPJRGgC2kEIug1+4V8KchmdGrW2bgkcqmJ+RZ/zZtEy/aL5s7GHdyJT 6G2OzVKyJTSrbmsA2zR3Xj6J6PqtzTAXRQuOwTZy9FL2iRzx7mVcRsZOlUMhJAmG Ob31VvYCLarWfR8RT7Ck9hxRWCXa2j6byW8BKrhBsInfmtmAcaM= =2Vw4 -----END PGP SIGNATURE----- --qxjeens6fc7akr5o-- From nobody Tue Aug 29 19:31:46 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RZyGs5Vwhz4s73V for ; Tue, 29 Aug 2023 19:31:49 +0000 (UTC) (envelope-from felix@palmen-it.de) Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RZyGs1c8cz4YHp for ; Tue, 29 Aug 2023 19:31:49 +0000 (UTC) (envelope-from felix@palmen-it.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=palmen-it.de header.s=20200414 header.b=AsHKrpwU; spf=pass (mx1.freebsd.org: domain of felix@palmen-it.de designates 2001:470:1f0b:bbb:1::1 as permitted sender) smtp.mailfrom=felix@palmen-it.de; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=o6t3QlQZzyjMsHnuBPCGkKWOmgg41aDEIOFLzbeycwA=; b=AsHKrpwUqhvEaDREMPZ1M9qBtl sGzhCBlowKQ2tskqSEph7Rsd/vbT0AsrDPu0GzFm3xomJkt9yfFGtjiRnOBE6LmUb2xXiQP0igNP4 Iku2m0L8/JkqFqv8N3OFCFFE+3Fzl5xF0vNp17ulJrO49QzYANRENe2BTpj8YvUZmadij3Yybi4em XLbC8eOc3MR0u4w6qeqJ6jET+jvLHzo9uyTnHKeeNPBkk44DSqLRwUZm0z3MpmQWX0z0BMubvVTlF kv0znAN9J/KxFR63mz0vBNZ/hkELdNfWwlvVpFgFBxCEFwCnGHaRt9GLFeIoYW2Y7ZKqmB+gdNOsX +rA2fhlg==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qb4RH-00BC5B-ND for current@freebsd.org; Tue, 29 Aug 2023 21:31:47 +0200 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.96 (FreeBSD)) (envelope-from ) id 1qb4RH-0004qy-11 for current@freebsd.org; Tue, 29 Aug 2023 19:31:47 +0000 Date: Tue, 29 Aug 2023 21:31:46 +0200 From: Felix Palmen To: current@freebsd.org Subject: Re: Possible issue with linux xattr support? Message-ID: Mail-Followup-To: current@freebsd.org X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~;.B;!M/bL}*qk]p5*r7F5vW};{:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: FreeBSD.org References: <20230829190258.uc67572553e4fq3v@mutt-hbsd> <20230829192516.jb2t65sp5rdlysss@mutt-hbsd> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xels6wu2gdu3mrys" Content-Disposition: inline In-Reply-To: <20230829192516.jb2t65sp5rdlysss@mutt-hbsd> User-Agent: NeoMutt/20230517 X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.50 / 15.00]; DWL_DNSWL_MED(-2.00)[palmen-it.de:dkim]; SIGNED_PGP(-2.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; FORGED_SENDER(0.30)[zirias@freebsd.org,felix@palmen-it.de]; R_DKIM_ALLOW(-0.20)[palmen-it.de:s=20200414]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f0b:bbb:1::1:c]; RCVD_IN_DNSWL_MED(-0.20)[2001:470:1f0b:bbb:1::1:from]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCPT_COUNT_ONE(0.00)[1]; BLOCKLISTDE_FAIL(0.00)[2001:470:1f0b:bbb:1::1:server fail]; DMARC_NA(0.00)[freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[palmen-it.de:+]; HAS_ORG_HEADER(0.00)[]; TO_DN_NONE(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[zirias@freebsd.org,felix@palmen-it.de]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4RZyGs1c8cz4YHp --xels6wu2gdu3mrys Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Shawn Webb [20230829 15:25]: > On Tue, Aug 29, 2023 at 09:15:03PM +0200, Felix Palmen wrote: > > * Kyle Evans [20230829 14:07]: > > > On 8/29/23 14:02, Shawn Webb wrote: > > > > Back in 2019, I had a similar issue: I needed access to be able to > > > > read/write to the system extended attribute namespace from within a > > > > jailed context. I wrote a rather simple patch that provides that > > > > support on a per-jail basis: > > > >=20 > > > > https://git.hardenedbsd.org/hardenedbsd/HardenedBSD/-/commit/96c859= 82b45e44a6105664c7068a92d0a61da2a3 > > > >=20 > > > > Hopefully that's useful to someone. > > > >=20 > > > > Thanks, > > > >=20 > > >=20 > > > FWIW (which likely isn't much), I like this approach much better; it = makes > > > more sense to me that it's a feature controlled by the creator of the= jail > > > and not one allowed just by using a compat ABI within a jail. > >=20 > > Well, a typical GNU userland won't work in a jail without this, that's > > what I know now. But I'm certainly with you, it doesn't feel logical > > that a Linux binary can do something in a jail a FreeBSD binary can't. > >=20 > > So, indeed, making it a jail option sounds better. > >=20 > > Unless, bringing back a question raised earlier in this thread: What's > > the reason to restrict this in a jailed context in the first place? IOW, > > could it just be allowed unconditionally? >=20 > In HardenedBSD's case, since we use filesystem extended attributes to > toggle exploit mitigations on a per-application basis, there's now a > conceptual security boundary between the host and the jail. >=20 > Should the jail and the host share resources, like executables, a > jailed process could toggle an exploit mitigation, and the toggle > would bubble up to the host. So the next time the host executed > /shared/app/executable/here, the security posture of the host would be > affected. Isn't the sane approach here *not* to share any executables with a jail other than via a read-only nullfs mount? > FreeBSD uses ELF header tagging, not filesystem extended attributes, > to toggle exploit mitigations. So my description above is moot for > FreeBSD users. I'm just hoping to share a unique perspective. Thanks! --=20 Felix Palmen {private} felix@palmen-it.de -- ports committer -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 --xels6wu2gdu3mrys Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZO5Hol8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny MdpPAP4ixAAvJRAaEpI1NeYfDTs6Ezw5zPxaa6aStU3nwxzrpAEAvl1L4epzz8nQ 7IRwY4uJBWVYWcako8p2U4pmE4Iiqwk= =tkNE -----END PGP SIGNATURE----- --xels6wu2gdu3mrys-- From nobody Tue Aug 29 19:36:06 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RZyMt2Lmgz4s6qR for ; Tue, 29 Aug 2023 19:36:10 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RZyMs3J1Xz4ZbV for ; Tue, 29 Aug 2023 19:36:09 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hardenedbsd.org header.s=google header.b="Z/teXHma"; spf=pass (mx1.freebsd.org: domain of shawn.webb@hardenedbsd.org designates 2607:f8b0:4864:20::d2f as permitted sender) smtp.mailfrom=shawn.webb@hardenedbsd.org; dmarc=none Received: by mail-io1-xd2f.google.com with SMTP id ca18e2360f4ac-7927f24140eso155925839f.2 for ; Tue, 29 Aug 2023 12:36:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd.org; s=google; t=1693337768; x=1693942568; darn=freebsd.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=KcnKMa5Eo6cOUalj9T5LWji6iFUSu16Re0I3Vpc/DYA=; b=Z/teXHmaG6UMVJhj+Cr6zQiDlOKQ+9EZhqFavEBeiQauGJ90gdDHdHqISteoq08ejs WBhU6z2A3KHsp4BaHhAFVdJJ5DUxaDYrQ+mNVXhz07a8i+uiGPDrUijD6dK0omFTlijx jCFEHnXQhvn72RPt6FCX9UtaPlSh1g9TIl0AskuHI8OetJI0dXXzX/IvD0zE9EkVoEpF ZQ1mYdWYxDbYUAGKOBhsviQosKGtQrP3dX25JcGM1uR43SO7pQP3AmT9RcUM88N8fP9z 0h0z3qlmkVa1F485D7yIPHexglRuQi5Efqep3psZaaGOVz87IZY6uMPxwf/Yokg1vQLQ m+nA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693337768; x=1693942568; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=KcnKMa5Eo6cOUalj9T5LWji6iFUSu16Re0I3Vpc/DYA=; b=Iv4tWx9rkHhg/N1aCsySuUbB89jreqokY9hpPxL14hSq/sfOCIYUmbu/EjS0N07IEo 4nnB+gfbAH8ivgCbUqdEIqiRGJAUi+QVWTqy8pyOCrkeXPZ79FLFv8dyOePgFR3PoYl6 JVf5aUqNqxFGjWygzuXJXGs45v48LlOgDVawJ2mEXV5rQPfdKznMHWzfwimAUBOBWS8R jiHEpSCFSFbLxJkWp9AGB89PL1GtBFJkb5SUSOJ1DsHuSjIixbLin/SafuIECmmdy/XZ OOaCVr+LszoX0XNPbgct4Z9eyfCQVgjQ4RBCcoFJSlra604/gKtlCSLj7kIe8SkgSImG 2jmg== X-Gm-Message-State: AOJu0YwD2fLSJmYfndHhgLYNioRc4zAB8PhwM7PxPoQPLITVZVlj5kub GexTRNBMQzxY5x+pSA0765wM/7yZhhhg/HRdh4fQSXRE8o0rBy6itWyb17GtPOhJrqHlzBsXKUe lrlmthlP5Qre6Xnltakt48FnCgicaCJSjAPbzDXmni8cLokrMv4T87Pq6WXj0klfH/PAoN20UEF N2Th8H X-Google-Smtp-Source: AGHT+IEMWmorNfAk7XI3njl4ecOYI0PzD3U072SAdaSdFWQWYxYZPxgx6ZE4LaUEPYAVV3wz1FU76Q== X-Received: by 2002:a92:d90c:0:b0:346:d51:9922 with SMTP id s12-20020a92d90c000000b003460d519922mr332217iln.13.1693337768294; Tue, 29 Aug 2023 12:36:08 -0700 (PDT) Received: from mutt-hbsd ([73.153.118.59]) by smtp.gmail.com with ESMTPSA id 1-20020a0566380a4100b0042b2df337ccsm3183095jap.76.2023.08.29.12.36.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Aug 2023 12:36:07 -0700 (PDT) Date: Tue, 29 Aug 2023 15:36:06 -0400 From: Shawn Webb To: current@freebsd.org Subject: Re: Possible issue with linux xattr support? Message-ID: <20230829193606.ub4sqqpsyah47brg@mutt-hbsd> X-Operating-System: FreeBSD mutt-hbsd 14.0-ALPHA2-HBSD FreeBSD 14.0--HBSD amd64 1400096 X-PGP-Key: https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/blob/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc References: <20230829190258.uc67572553e4fq3v@mutt-hbsd> <20230829192516.jb2t65sp5rdlysss@mutt-hbsd> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="n7spl4be23jygaoi" Content-Disposition: inline In-Reply-To: X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.10 / 15.00]; SIGNED_PGP(-2.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; MID_RHS_NOT_FQDN(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_DKIM_ALLOW(-0.20)[hardenedbsd.org:s=google]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; DMARC_NA(0.00)[hardenedbsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d2f:from]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DKIM_TRACE(0.00)[hardenedbsd.org:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4RZyMs3J1Xz4ZbV --n7spl4be23jygaoi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 29, 2023 at 09:31:46PM +0200, Felix Palmen wrote: > * Shawn Webb [20230829 15:25]: > > On Tue, Aug 29, 2023 at 09:15:03PM +0200, Felix Palmen wrote: > > > * Kyle Evans [20230829 14:07]: > > > > On 8/29/23 14:02, Shawn Webb wrote: > > > > > Back in 2019, I had a similar issue: I needed access to be able to > > > > > read/write to the system extended attribute namespace from within= a > > > > > jailed context. I wrote a rather simple patch that provides that > > > > > support on a per-jail basis: > > > > >=20 > > > > > https://git.hardenedbsd.org/hardenedbsd/HardenedBSD/-/commit/96c8= 5982b45e44a6105664c7068a92d0a61da2a3 > > > > >=20 > > > > > Hopefully that's useful to someone. > > > > >=20 > > > > > Thanks, > > > > >=20 > > > >=20 > > > > FWIW (which likely isn't much), I like this approach much better; i= t makes > > > > more sense to me that it's a feature controlled by the creator of t= he jail > > > > and not one allowed just by using a compat ABI within a jail. > > >=20 > > > Well, a typical GNU userland won't work in a jail without this, that's > > > what I know now. But I'm certainly with you, it doesn't feel logical > > > that a Linux binary can do something in a jail a FreeBSD binary can't. > > >=20 > > > So, indeed, making it a jail option sounds better. > > >=20 > > > Unless, bringing back a question raised earlier in this thread: What's > > > the reason to restrict this in a jailed context in the first place? I= OW, > > > could it just be allowed unconditionally? > >=20 > > In HardenedBSD's case, since we use filesystem extended attributes to > > toggle exploit mitigations on a per-application basis, there's now a > > conceptual security boundary between the host and the jail. > >=20 > > Should the jail and the host share resources, like executables, a > > jailed process could toggle an exploit mitigation, and the toggle > > would bubble up to the host. So the next time the host executed > > /shared/app/executable/here, the security posture of the host would be > > affected. >=20 > Isn't the sane approach here *not* to share any executables with a jail > other than via a read-only nullfs mount? I thought about that, too, but nullfs is not guaranteed to be available or applicable in all environments. Thanks, --=20 Shawn Webb Cofounder / Security Engineer HardenedBSD https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A= 4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc --n7spl4be23jygaoi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAmTuSKAACgkQ/y5nonf4 4fqOMxAAmCBZusX2my38z9cqfCanWLPWFhOG8ocXB6zUGNr5wgv4orQk8SqxwQdU IDwhsMQTxYY12yCYlpfKIM2HXyjB78Fmp2lLJAnszczsnECb9k1Q9OHV1QylwsQ9 7D/T2FBODIY8LdmS79x4jzNGAsEyd1BJpHMgjSFxK0a80McpWV7XJd6nXxPdSnqF ZM/x/WTCcxzsis5SuOeSswZwmpADDLC8RbiVFrSWR7ZOxdAzQbr58As+uzptpI5z A/OdGX1LNppial8KMJii9kxkvj+mZfdamIXfk1KNisZJAGzfb1IyAX9BIWhLSId5 aHZfNU2m2OYLcqOg30rIARvTRFMPhlp8RXZZoxJjglpmpH8Eq10/b5Z9nO8DER2Q H08Gb9bkdfzCqpXOKPY5+MP9OBFYxUIZFc2wp0qyquEEoZc+3rbaKK0A/5w2rjTa AoygED6oL2kKifMG98+sPduFFw29sDEE/4D2HaRKBJlTcftG0+ByPu/UOFSxpBxC 88UCX6p3LyLUT/gwXMXI0nrlEAqXFzxBdUkrUi+e6v5cMaH6PVVhVHkv9Xsz2g0p EzY+6OmSWX/BP66gsGj9MUb9rmOHc2m3ZurP0sKdiQ8c0jcF/+e7n4Kw3b1SLvYk 6AIFaBw3yirarAeo7hsWGC4jvwUZiwlJAEvnxZDcc+eSOsdFkZI= =J0gA -----END PGP SIGNATURE----- --n7spl4be23jygaoi-- From nobody Tue Aug 29 20:16:39 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RZzGg1Smpz4s9CQ for ; Tue, 29 Aug 2023 20:16:43 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Received: from heemeyer.club (heemeyer.club [195.93.173.158]) (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 4RZzGf518xz4gL0 for ; Tue, 29 Aug 2023 20:16:42 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Authentication-Results: mx1.freebsd.org; none Received: from heemeyer.club (localhost [127.0.0.1]) by heemeyer.club (8.17.2/8.16.1) with ESMTP id 37TKGdb4072626; Tue, 29 Aug 2023 23:16:39 +0300 (MSK) (envelope-from dchagin@heemeyer.club) Received: (from dchagin@localhost) by heemeyer.club (8.17.2/8.16.1/Submit) id 37TKGdMT072625; Tue, 29 Aug 2023 23:16:39 +0300 (MSK) (envelope-from dchagin) Date: Tue, 29 Aug 2023 23:16:39 +0300 From: Dmitry Chagin To: Shawn Webb Cc: current@freebsd.org Subject: Re: Possible issue with linux xattr support? Message-ID: References: <20230829190258.uc67572553e4fq3v@mutt-hbsd> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230829190258.uc67572553e4fq3v@mutt-hbsd> X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:61400, ipnet:195.93.173.0/24, country:RU] X-Rspamd-Queue-Id: 4RZzGf518xz4gL0 On Tue, Aug 29, 2023 at 03:02:58PM -0400, Shawn Webb wrote: > On Tue, Aug 29, 2023 at 05:45:51PM +0300, Dmitry Chagin wrote: > > On Tue, Aug 29, 2023 at 12:59:11PM +0200, Felix Palmen wrote: > > > * Dmitry Chagin [20230828 18:57]: > > > > On Mon, Aug 28, 2023 at 08:03:33AM +0200, Felix Palmen wrote: > > > > > * Cy Schubert [20230827 16:59]: > > > > > > > > > > > > If we are to break it to fix a problem, maybe a sysctl to enable/disable then? > > > > > > > > > > IMHO depends on the exact nature of the problem. If it's confirmed that > > > > > it (always and only) breaks for jailed processes, just disabling it for > > > > > them would be the better workaround. "No-op" calls won't break anything. > > > > > > > > > > > > > please, try: https://people.freebsd.org/~dchagin/xattrerror.patch > > > > > > Thanks, I can confirm this avoids the issue in both cases I experienced > > > (install from GNU coreutils and python). > > > > > thanks, this is the first half of the fix, it works for you due to you > > are running tools under unprivileged user, afaiu. The second I have > > tested by myself :) > > > > > If I understand this patch correctly, it completely avoids EPERM, > > > masking it as not supported, so callers should consider it non-fatal, > > > allowing to silently ignore writing of "system" attributes while still > > > keeping other functionality? > > > > > system namespace is accessible only for privileged user, for others Linux > > returns ENOTSUP. So many tools ignores this error, eg ls. > > > > the second: https://people.freebsd.org/~dchagin/sea_jailed.patch > > > > Try this under privileged user, please. > > Back in 2019, I had a similar issue: I needed access to be able to > read/write to the system extended attribute namespace from within a > jailed context. I wrote a rather simple patch that provides that > support on a per-jail basis: > > https://git.hardenedbsd.org/hardenedbsd/HardenedBSD/-/commit/96c85982b45e44a6105664c7068a92d0a61da2a3 > > Hopefully that's useful to someone. > Nice, thank you. I'd prefer to disable it by default, like on a host. From nobody Tue Aug 29 20:17:12 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RZzHH3zRLz4s8x3 for ; Tue, 29 Aug 2023 20:17:15 +0000 (UTC) (envelope-from kevans@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RZzHH3PJvz3CdB for ; Tue, 29 Aug 2023 20:17:15 +0000 (UTC) (envelope-from kevans@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693340235; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8LyAvvkMwssLcGJ+RqcCT7qrv3TL+oLOA74yWvlg95k=; b=WB8VT6psd3CrBA2lrnD/AvLKT7j6kjEHdUK8x/HVeDMubI7J//RVQueqSuy8KSflWAffG4 IoK4xsntHCl26eRfpYOwNE7wb2rz+NmK+0S5smWbJnyU5FJfe3lB9SSIX8dopPR8MpY9hB nwFZ3+apUe/n8SJWkbtR+yG8maDuCpjfEoemEKEGcvagZ0skeWo5AtyjA+ZBnfJBMsq49u NcFiJ9IjrFt2TEo/4X22OCnwZSwMtLilQ8X6n+XYkH6gy4Xhh4y8oRR5pPX+zwtyffgdZz 1JVGYvELMXXY6ih7nkLFFuxHGMOFFdxiRnZ1NP5AEgh77tkCp+ylbJtKUJzY0A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693340235; a=rsa-sha256; cv=none; b=hy+vqbDUB87QzmTbFO374Wyso1w5/A7KHUO/Oaovto61zZOQj5SdrTXr/ElAXQCIoSxvQo MyWmP5UwmAMR0CYNg2PUOCGB3EOiGgnLilfff0YXWmmTiIXjklZwwAEdzwx+SSMV+jJ6Cg CjEFV3g0TQExncBJtp7UCQ7ybG3JSEqjxQFDtJNtp+VV+dxM9EhO6g9PZ11EFLrK/lD9QW UPQ4l1ircsRSx7BiLdU1dy+rd6gpwM7klPUot58YGr9DkkL8DdZfsjsrT88iSDWjq1/lKn TgVq8x8maIBlKumi3v6wElmJXotoWKKhKBwYnK99DrT3yZh3UxRHh9jBz6TkjQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693340235; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8LyAvvkMwssLcGJ+RqcCT7qrv3TL+oLOA74yWvlg95k=; b=RtdmA++tQnyvnuyWPb8OTRfI8/qLpXSRvYg1G3mUAu2YYYDW5llPirLxDs/O9iF3Szgp6+ LP4SIaZw2Pc+3YuE8dRrxFVIAs/bTKVTexPFG88dungn8J2PWgJo1WxPH8TDb9t++ofNzJ b4g+VUJdebJZIVgo3acAuuB/DAOO/6ohq8JR9jpHO1DxsuQks0MnOdg6NcEmTokPLx3nkf ipKjn66OKr/NiIRNIYHXkFp4SgiAwERhe/LdN3PZX6qMapREXkcPAp9tMeLuXJw+kqd4wP A3D1DrUIGByxNO9U0iyMp3B1Z5nH+yUswn/TBU3YwX7cHZbmY0QmHvTfvV/PIQ== Received: from [10.9.4.95] (unknown [209.182.120.176]) (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 did not present a certificate) (Authenticated sender: kevans/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4RZzHH1F3mz19Kc for ; Tue, 29 Aug 2023 20:17:15 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Message-ID: <54cf548e-73d8-3376-6ee9-2be0694396c7@FreeBSD.org> Date: Tue, 29 Aug 2023 15:17:12 -0500 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: Possible issue with linux xattr support? Content-Language: en-US To: current@freebsd.org References: <20230829190258.uc67572553e4fq3v@mutt-hbsd> From: Kyle Evans In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 8/29/23 14:15, Felix Palmen wrote: > * Kyle Evans [20230829 14:07]: >> On 8/29/23 14:02, Shawn Webb wrote: >>> Back in 2019, I had a similar issue: I needed access to be able to >>> read/write to the system extended attribute namespace from within a >>> jailed context. I wrote a rather simple patch that provides that >>> support on a per-jail basis: >>> >>> https://git.hardenedbsd.org/hardenedbsd/HardenedBSD/-/commit/96c85982b45e44a6105664c7068a92d0a61da2a3 >>> >>> Hopefully that's useful to someone. >>> >>> Thanks, >>> >> >> FWIW (which likely isn't much), I like this approach much better; it makes >> more sense to me that it's a feature controlled by the creator of the jail >> and not one allowed just by using a compat ABI within a jail. > > Well, a typical GNU userland won't work in a jail without this, that's > what I know now. But I'm certainly with you, it doesn't feel logical > that a Linux binary can do something in a jail a FreeBSD binary can't. > > So, indeed, making it a jail option sounds better. > > Unless, bringing back a question raised earlier in this thread: What's > the reason to restrict this in a jailed context in the first place? IOW, > could it just be allowed unconditionally? > I don't think we can answer this definitively, FreeBSD has a pretty wide variety of users. I note that we don't /need/ to answer it, either, with Shawn's patch; it defaults to system xattrs allowed and an individual sysadmin can make that decision for their own context (and supporting the knob is relatively low-cost). The only part I'm not sure I agree with is the addition of the new flag to PR_ALLOW_DIFFERENCES. That allows it to be disabled by system root for jail "foo", but root in jail "foo" can create another jail "foo.bar" in which it *is* enabled (rather than only allowing "foo.bar" to have it enabled if its parent does). IMO the name PR_ALLOW_DIFFERENCES is a bit off, because to me it would imply that it just allows the flag to be set in one jail and unset in its child jail. Thanks, Kyle Evans From nobody Wed Aug 30 02:08:35 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Rb74l21Bdz4rW4B for ; Wed, 30 Aug 2023 02:08:39 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) (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 4Rb74k2mRGz3gT7 for ; Wed, 30 Aug 2023 02:08:38 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of cy.schubert@cschubert.com has no SPF policy when checking 3.97.99.32) smtp.mailfrom=cy.schubert@cschubert.com; dmarc=none Received: from shw-obgw-4002a.ext.cloudfilter.net ([10.228.9.250]) by cmsmtp with ESMTP id az7RqJ431LAoIbAdJqGHxu; Wed, 30 Aug 2023 02:08:37 +0000 Received: from spqr.komquats.com ([70.66.152.170]) by cmsmtp with ESMTPA id bAdIqlcm5yAOebAdJqQdV7; Wed, 30 Aug 2023 02:08:37 +0000 X-Authority-Analysis: v=2.4 cv=e5oV9Il/ c=1 sm=1 tr=0 ts=64eea4a5 a=y8EK/9tc/U6QY+pUhnbtgQ==:117 a=y8EK/9tc/U6QY+pUhnbtgQ==:17 a=kj9zAlcOel0A:10 a=UttIx32zK-AA:10 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=EkcXrb_YAAAA:8 a=NIlY2KcjNgamHC3jzgkA:9 a=MtqyFVcj7vkiTCPI:21 a=CjuIK1q_8ugA:10 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 a=LK5xJRSDVpKd5WXXoEvA:22 Received: from slippy.cwsent.com (slippy8 [10.2.2.6]) by spqr.komquats.com (Postfix) with ESMTP id C5467A1A for ; Tue, 29 Aug 2023 19:08:35 -0700 (PDT) Received: by slippy.cwsent.com (Postfix, from userid 1000) id A901AA9; Tue, 29 Aug 2023 19:08:35 -0700 (PDT) X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.8+dev Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: freebsd-current@freebsd.org Subject: ZFS Page Derefrence List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 29 Aug 2023 19:08:35 -0700 Message-Id: <20230830020835.A901AA9@slippy.cwsent.com> X-CMAE-Envelope: MS4xfDxufFdWSk0qX3i2MEEg9B7WuYwcsXsn6ys6QMoCWpoubVekRhZZ/pZlSsIgmIQBx5V8+S2JkUW45pIGw9rkTeauEAcc5Ph+/reUOzgYP7/jZPOXwTqy aa7XqBCv0VKw+eUSOcEFs8yB66P0xO47fM2yvLa/r9sPTNy2F6fLQXfzOtWsrXCwHFtn8jKBmgPw/TTJSFwZYA7wr7Ae6qz3ACU= X-Spamd-Bar: - X-Spamd-Result: default: False [-1.62 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.996]; NEURAL_HAM_MEDIUM(-0.99)[-0.987]; NEURAL_HAM_LONG(-0.94)[-0.936]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[3.97.99.32:from]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; R_SPF_NA(0.00)[no SPF record]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[cschubert.com]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; HAS_REPLYTO(0.00)[Cy.Schubert@cschubert.com] X-Rspamd-Queue-Id: 4Rb74k2mRGz3gT7 Hi Just got the following panic on an and64 machine running poudriere building i386 packages. panic: vm_page_dequeue_deferred: page 0xfffffe000b222808 has unexpected queue state^M cpuid = 1^M time = 1693359541^M KDB: stack backtrace:^M db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00bf55d600^M vpanic() at vpanic+0x132/frame 0xfffffe00bf55d730^M panic() at panic+0x43/frame 0xfffffe00bf55d790^M vm_page_dequeue_deferred() at vm_page_dequeue_deferred+0xb2/frame 0xfffffe00bf55d7a0^M vm_page_free_prep() at vm_page_free_prep+0x11b/frame 0xfffffe00bf55d7c0^M vm_page_free_toq() at vm_page_free_toq+0x12/frame 0xfffffe00bf55d7f0^M vm_object_page_remove() at vm_object_page_remove+0xb6/frame 0xfffffe00bf55d850^M vn_pages_remove_valid() at vn_pages_remove_valid+0x48/frame 0xfffffe00bf55d880^M zfs_rezget() at zfs_rezget+0x35/frame 0xfffffe00bf55da60^M zfs_resume_fs() at zfs_resume_fs+0x1c8/frame 0xfffffe00bf55dab0^M zfs_ioc_rollback() at zfs_ioc_rollback+0x157/frame 0xfffffe00bf55db00^M zfsdev_ioctl_common() at zfsdev_ioctl_common+0x612/frame 0xfffffe00bf55dbc0^M zfsdev_ioctl() at zfsdev_ioctl+0x12a/frame 0xfffffe00bf55dbf0^M devfs_ioctl() at devfs_ioctl+0xd2/frame 0xfffffe00bf55dc40^M vn_ioctl() at vn_ioctl+0xc2/frame 0xfffffe00bf55dcb0^M devfs_ioctl_f() at devfs_ioctl_f+0x1e/frame 0xfffffe00bf55dcd0^M kern_ioctl() at kern_ioctl+0x286/frame 0xfffffe00bf55dd30^M sys_ioctl() at sys_ioctl+0x152/frame 0xfffffe00bf55de00^M amd64_syscall() at amd64_syscall+0x138/frame 0xfffffe00bf55df30^M fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe00bf55df30^M --- syscall (54, FreeBSD ELF64, ioctl), rip = 0x191264a4fbca, rsp = 0x19125ca905c8, rbp = 0x19125c a90640 ---^M Uptime: 10h14m15s^M Dumping 2829 out of 7998 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..91 %^M Dump complete^M Automatic reboot in 15 seconds - press a key on the console to abort^M Rebooting...^M cpu_reset: Restarting BSP^M cpu_reset_proxy: Stopped CPU 1^M ^M 1 FreeBSD^M 2 FreeBSD^M 3 FreeBSD^M 4 FreeBSD^M 5 Drive 1^M uname reports, FreeBSD bob 15.0-CURRENT FreeBSD 15.0-CURRENT amd64 1500000 #1 komquats-n265075-2e8edbc285cf: Tue Aug 29 03:51:59 PDT 2023 root@cwsys:/export/obj/opt/src/git-src/amd64.amd64/sys/BREAK2 amd64 My BREAK2 kernel removes devices I don't use and enables keystrokes to interrupt the system from the conosle (conserver). Local patches affect ipfilter only. Head of core.txt: __curthread () at /opt/src/git-src/sys/amd64/include/pcpu_aux.h:57 57 __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct pcpu , (kgdb) #0 __curthread () at /opt/src/git-src/sys/amd64/include/pcpu_aux.h:5 7 #1 doadump (textdump=textdump@entry=1) at /opt/src/git-src/sys/kern/kern_shutdown.c:405 #2 0xffffffff806c1b30 in kern_reboot (howto=260) at /opt/src/git-src/sys/kern/kern_shutdown.c:526 #3 0xffffffff806c202f in vpanic ( fmt=0xffffffff80b5da55 "%s: page %p has unexpected queue state", ap=ap@entry=0xfffffe00bf55d770) at /opt/src/git-src/sys/kern/kern_shutdown.c:970 #4 0xffffffff806c1dd3 in panic (fmt=) at /opt/src/git-src/sys/kern/kern_shutdown.c:894 #5 0xffffffff809daab2 in vm_page_dequeue_deferred (m=, m@entry=0xfffffe000b222808) at /opt/src/git-src/sys/vm/vm_page.c:3790 #6 0xffffffff809ddfeb in vm_page_free_prep (m=m@entry=0xfffffe000b222808) at /opt/src/git-src/sys/vm/vm_page.c:3928 #7 0xffffffff809d5b52 in vm_page_free_toq (m=, m@entry=0xfffffe000b222808) at /opt/src/git-src/sys/vm/vm_page.c:3970 #8 0xffffffff809d5b3b in vm_page_free (m=, m@entry=0xfffffe000b222808) at /opt/src/git-src/sys/vm/vm_page.c:1328 #9 0xffffffff809d0906 in vm_object_page_remove (object=0xfffff8018bff0e70, start=0, end=0, options=4) at /opt/src/git-src/sys/vm/vm_object.c:2157 #10 0xffffffff807d3218 in vn_pages_remove_valid (vp=, start=start@entry=0, end=end@entry=0) at /opt/src/git-src/sys/kern/vfs_vnops.c:2558 #11 0xffffffff816b7315 in zfs_rezget (zp=zp@entry=0xfffff801768b6ae0) at /opt/src/git-src/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_znode. c:11 00 #12 0xffffffff816a6808 in zfs_resume_fs (zfsvfs=, ds=ds@entry=0xfffff8007b609000) at /opt/src/git-src/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops .c:2 006 #13 0xffffffff81867e87 in zfs_ioc_rollback ( fsname=0xfffffe00fbf42000 "bob/poudriere/bob/jails/HEADi386-new-ports-re f/06 ", fsname@entry=, innvl=, innvl@entry=, outnvl=, outnvl@entry=) at /opt/src/git-src/sys/contrib/openzfs/module/zfs/zfs_ioctl.c:4407 #14 0xffffffff818635c2 in zfsdev_ioctl_common (vecnum=vecnum@entry=25, zc=zc@entry=0xfffffe00fbf42000, flag=flag@entry=0) at /opt/src/git-src/sys/contrib/openzfs/module/zfs/zfs_ioctl.c:7798 #15 0xffffffff81696fca in zfsdev_ioctl (dev=, zcmd=, zcmd@entry=, arg=0xfffffe00bf55dd50 "\017", arg@entry=, flag=, td=) at /opt/src/git-src/sys/contrib/openzfs/module/os/freebsd/zfs/kmod_core. c:16 8 #16 0xffffffff8054b482 in devfs_ioctl (ap=0xfffffe00bf55dc50) at /opt/src/git-src/sys/fs/devfs/devfs_vnops.c:933 #17 0xffffffff807cf032 in vn_ioctl (fp=0xfffff801909f6870, com=, data=0xfffffe00bf55dd50, active_cred=0xfffff800b6ed0b00, td=) at /opt/src/git-src/sys/kern/vfs_vnops.c:1701 #18 0xffffffff8054bb5e in devfs_ioctl_f (fp=, fp@entry=, com=, com@entry=, data=, data@entry=, cred=, cred@entry=, td=, td@entry=) at /opt/src/git-src/sys/fs/devfs/devfs_vnops.c:864 #19 0xffffffff8073aca6 in fo_ioctl (fp=0xfffff801909f6870, com=3222821401, data=, active_cred=, td=0xfffffe00c3e43900) at /opt/src/git-src/sys/sys/file.h:366 #20 kern_ioctl (td=td@entry=0xfffffe00c3e43900, fd=4, com=com@entry=3222821401, data=, data@entry=0xfffffe00bf55dd50 "\017") at /opt/src/git-src/sys/kern/sys_generic.c:805 #21 0xffffffff8073a9b2 in sys_ioctl (td=0xfffffe00c3e43900, uap=0xfffffe00c3e43d00) at /opt/src/git-src/sys/kern/sys_generic.c:713 #22 0xffffffff80a73a88 in syscallenter (td=) at /opt/src/git-src/sys/amd64/amd64/../../kern/subr_syscall.c:187 #23 amd64_syscall (td=0xfffffe00c3e43900, traced=0) at /opt/src/git-src/sys/amd64/amd64/trap.c:1197 #24 #25 0x0000191264a4fbca in ?? () Backtrace stopped: Cannot access memory at address 0x19125ca905c8 (kgdb) *vp looks good. Dump is available if needed. -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e^(i*pi)+1=0 From nobody Wed Aug 30 04:55:14 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RbBnv4zDDz4rgY9 for ; Wed, 30 Aug 2023 04:56:03 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from mailgate.Leidinger.net (bastille.leidinger.net [89.238.82.207]) (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 ECDSA (P-256) client-digest SHA256) (Client CN "mailgate.leidinger.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RbBnv2TsYz4Pr7; Wed, 30 Aug 2023 04:56:03 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Authentication-Results: mx1.freebsd.org; none Received: from webmail2.leidinger.net (roundcube.Leidinger.net [192.168.1.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: Alexander@Leidinger.net) by outgoing.leidinger.net (Postfix) with ESMTPSA id BE231534; Wed, 30 Aug 2023 06:55:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leidinger.net; s=outgoing-alex; t=1693371349; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SOze0zuqzT5YWC9Cge/yHcG+/oI6VsSCNKx6xWCYnak=; b=DwvjZyCMkWoNKU4hFJzm2sx2IWQO/PpQp1cv4qZzmlWpLfdf1eprEquFKbI83INGoCIBHY 5kDFUdGcRnxHneDkWrRoLlWtcDjFiWzwVYLvxG4bOh1SAwJwVWdc6PlFiCcuJNqBCnZ+Vb dOZ/HQ7dxzBCoSzmekT+9H6sFH5IE4N425y6R7O5IutWrdmAp3zdpbyF7whIH9FVP97j/R RW36fcCo68sHCdGIDEqqaxmRJaC+dkMYX5MfPKpmLI9+4PmnhP+dnlswv8Ct2k3aAoUwop g+RAS6mP6SoTobfDgXJ8Nl1/B/uJCdejb0UlxmJhaQ+j1bR/f3yO2IhbBiXPKg== List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Date: Wed, 30 Aug 2023 06:55:14 +0200 From: Alexander Leidinger To: Shawn Webb Cc: Dmitry Chagin , current@freebsd.org Subject: Re: Possible issue with linux xattr support? In-Reply-To: <20230829190258.uc67572553e4fq3v@mutt-hbsd> References: <3q2k3tje2ig2s6wzy4hzvjmoyejiecminvcvevivumtukxrgki@btnpjbztyfa6> <20230829190258.uc67572553e4fq3v@mutt-hbsd> Message-ID: <8b49a01cfc32aa0a4bb9d0e9aebbe7be@Leidinger.net> X-Sender: Alexander@Leidinger.net Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:34240, ipnet:89.238.64.0/18, country:DE] X-Rspamd-Queue-Id: 4RbBnv2TsYz4Pr7 Am 2023-08-29 21:02, schrieb Shawn Webb: > Back in 2019, I had a similar issue: I needed access to be able to > read/write to the system extended attribute namespace from within a > jailed context. I wrote a rather simple patch that provides that > support on a per-jail basis: > > https://git.hardenedbsd.org/hardenedbsd/HardenedBSD/-/commit/96c85982b45e44a6105664c7068a92d0a61da2a3 You enabled it by default. I would assume you had a thought about the implications... any memories about it? What I'm after is: - What can go wrong if we enable it by default? - Why would we like to disable it (or any ideas why it is disabled by default in FreeBSD)? Depending in the answers we may even use a simpler patch and have it allowed in jails even without the possibility to configure it. Bye, Alexander. -- http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF From nobody Wed Aug 30 05:01:40 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RbBwn0TvXz4rgq2 for ; Wed, 30 Aug 2023 05:02:01 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from mailgate.Leidinger.net (mailgate.leidinger.net [IPv6:2a00:1828:2000:313::1:5]) (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 ECDSA (P-256) client-digest SHA256) (Client CN "mailgate.leidinger.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RbBwl59xCz4S1x for ; Wed, 30 Aug 2023 05:01:59 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=leidinger.net header.s=outgoing-alex header.b=hW0usFje; spf=pass (mx1.freebsd.org: domain of Alexander@Leidinger.net designates 2a00:1828:2000:313::1:5 as permitted sender) smtp.mailfrom=Alexander@Leidinger.net; dmarc=pass (policy=quarantine) header.from=leidinger.net Received: from webmail2.leidinger.net (roundcube.Leidinger.net [192.168.1.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: Alexander@Leidinger.net) by outgoing.leidinger.net (Postfix) with ESMTPSA id 92705244C for ; Wed, 30 Aug 2023 07:01:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leidinger.net; s=outgoing-alex; t=1693371704; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xKbt1JVhLYg6jeaQ6UaPZU5/xYzwHKLhoffoGaV7X3U=; b=hW0usFjeE+LxYXhpdafeRrW3JgwoP+9630C6uPPur5uNIY33RMWKEzzKKQUIkYvMGVp66o vtTAUNiAIcMmI1TomatKMzKJIIhiNtKtvpqSSXbigzMg0oXqu8QMBWDnNRxZLFo5sc+za2 Fh2j8K/3j9EzuLhw/ZeiRFEG+NOI37bp9SPJofuRJYKh3wl+Umz1ODaj9C0gIRI4mJohjX dQqox9kagbnlIelwVFCQV4TDrqgVKsNxfU3rXRc1qQJFuknZ3oR78sgk6CGofczxEx2dRw y07UESTvc7Pip1n7GijjCYf4Hjn1JpCoaa7KHiH/jwPqZJzlef+9w8RIe1/kMg== List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Date: Wed, 30 Aug 2023 07:01:40 +0200 From: Alexander Leidinger To: current@freebsd.org Subject: Re: Possible issue with linux xattr support? In-Reply-To: References: <20230829190258.uc67572553e4fq3v@mutt-hbsd> <20230829192516.jb2t65sp5rdlysss@mutt-hbsd> Message-ID: <0b080ade83ea277c91f97dc9ea990670@Leidinger.net> X-Sender: Alexander@Leidinger.net Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: -- X-Spamd-Result: default: False [-3.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[leidinger.net,quarantine]; R_DKIM_ALLOW(-0.20)[leidinger.net:s=outgoing-alex]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[current@freebsd.org]; ASN(0.00)[asn:34240, ipnet:2a00:1828::/32, country:DE]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[leidinger.net:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4RbBwl59xCz4S1x Am 2023-08-29 21:31, schrieb Felix Palmen: > * Shawn Webb [20230829 15:25]: >> On Tue, Aug 29, 2023 at 09:15:03PM +0200, Felix Palmen wrote: >> > * Kyle Evans [20230829 14:07]: >> > > On 8/29/23 14:02, Shawn Webb wrote: >> > > > Back in 2019, I had a similar issue: I needed access to be able to >> > > > read/write to the system extended attribute namespace from within a >> > > > jailed context. I wrote a rather simple patch that provides that >> > > > support on a per-jail basis: >> > > > >> > > > https://git.hardenedbsd.org/hardenedbsd/HardenedBSD/-/commit/96c85982b45e44a6105664c7068a92d0a61da2a3 >> > > > >> > > > Hopefully that's useful to someone. >> > > > >> > > > Thanks, >> > > > >> > > >> > > FWIW (which likely isn't much), I like this approach much better; it makes >> > > more sense to me that it's a feature controlled by the creator of the jail >> > > and not one allowed just by using a compat ABI within a jail. >> > >> > Well, a typical GNU userland won't work in a jail without this, that's >> > what I know now. But I'm certainly with you, it doesn't feel logical >> > that a Linux binary can do something in a jail a FreeBSD binary can't. >> > >> > So, indeed, making it a jail option sounds better. >> > >> > Unless, bringing back a question raised earlier in this thread: What's >> > the reason to restrict this in a jailed context in the first place? IOW, >> > could it just be allowed unconditionally? >> >> In HardenedBSD's case, since we use filesystem extended attributes to >> toggle exploit mitigations on a per-application basis, there's now a >> conceptual security boundary between the host and the jail. >> >> Should the jail and the host share resources, like executables, a >> jailed process could toggle an exploit mitigation, and the toggle >> would bubble up to the host. So the next time the host executed >> /shared/app/executable/here, the security posture of the host would be >> affected. > > Isn't the sane approach here *not* to share any executables with a jail > other than via a read-only nullfs mount? In https://reviews.freebsd.org/D40370 I provide infrastructure to automatically jail rc.d services. It will use the complete filesystem of the system, but uses all the other restrictions of jails. So the answer to your questions is "it depends". Bye, Alexander. -- http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF From nobody Wed Aug 30 05:13:59 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RbCBf323sz4rhLc for ; Wed, 30 Aug 2023 05:14:02 +0000 (UTC) (envelope-from felix@palmen-it.de) Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RbCBd4XyWz4TdK for ; Wed, 30 Aug 2023 05:14:01 +0000 (UTC) (envelope-from felix@palmen-it.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=palmen-it.de header.s=20200414 header.b=vTXkAatL; spf=pass (mx1.freebsd.org: domain of felix@palmen-it.de designates 2001:470:1f0b:bbb:1::1 as permitted sender) smtp.mailfrom=felix@palmen-it.de; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=mrxy0SfRO6LLSbhN+krE6Zpo3dkd7PHiyBOwLBT0VLY=; b=vTXkAatL0e1hFJ2Wn9U34sGpEK kTvIKQtJ28fUnOu/Kcxnva1u0SqFL4D5pkPKQf98xG0aFxN6JlEIsww3uX8o69Ai6bzvXvsMfzUVy Ghfftz/qBbLlg3UiHR+NSCxx6quUzR6QOQ1N1hh9Yl6YQIHBLl51+EcxLyBolxpir9oFX63E0X21f k3ZnNjWFXMzNy2aMBPhKUFl47NBaapnHanUES+gvALXJbACcff4o0xEsST4sZM84lgoDqfCKFnLSV o6rPFUtEFALJdJJAc4ST59rWoHzx47uMP3hiTWl9e5JSviDTmYbFzR6NxT7KatX8DLsUEgBOlL+JO axqnpvAg==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qbDWi-00BDHJ-2W for current@freebsd.org; Wed, 30 Aug 2023 07:14:00 +0200 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.96 (FreeBSD)) (envelope-from ) id 1qbDWh-0008bL-2b for current@freebsd.org; Wed, 30 Aug 2023 05:13:59 +0000 Date: Wed, 30 Aug 2023 07:13:59 +0200 From: Felix Palmen To: current@freebsd.org Subject: Re: Possible issue with linux xattr support? Message-ID: Mail-Followup-To: current@freebsd.org X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~;.B;!M/bL}*qk]p5*r7F5vW};{:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: FreeBSD.org References: <20230829190258.uc67572553e4fq3v@mutt-hbsd> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3prx2d4hq2esv3na" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20230517 X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.50 / 15.00]; DWL_DNSWL_MED(-2.00)[palmen-it.de:dkim]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; FORGED_SENDER(0.30)[zirias@freebsd.org,felix@palmen-it.de]; R_DKIM_ALLOW(-0.20)[palmen-it.de:s=20200414]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCVD_IN_DNSWL_MED(-0.20)[2001:470:1f0b:bbb:1::1:from]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f0b:bbb:1::1:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[freebsd.org]; MLMMJ_DEST(0.00)[current@freebsd.org]; FROM_HAS_DN(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; HAS_ORG_HEADER(0.00)[]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[palmen-it.de:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[zirias@freebsd.org,felix@palmen-it.de]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4RbCBd4XyWz4TdK --3prx2d4hq2esv3na Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Dmitry Chagin [20230829 23:16]: > On Tue, Aug 29, 2023 at 03:02:58PM -0400, Shawn Webb wrote: > > Back in 2019, I had a similar issue: I needed access to be able to > > read/write to the system extended attribute namespace from within a > > jailed context. I wrote a rather simple patch that provides that > > support on a per-jail basis: > >=20 > > https://git.hardenedbsd.org/hardenedbsd/HardenedBSD/-/commit/96c85982b4= 5e44a6105664c7068a92d0a61da2a3 > >=20 > > Hopefully that's useful to someone. > >=20 >=20 > Nice, thank you. I'd prefer to disable it by default, like on a host. When it's disabled by default, it will require additional configuration to make "Linux jails" work again. --=20 Felix Palmen {private} felix@palmen-it.de -- ports committer -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 --3prx2d4hq2esv3na Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZO7QBl8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny MbqBAQDqGyuWftCpL5VQ1LVt/Fw9l77pYEHGZCj8h+bHIaL20gEAw2svOmFwNtLi fOFX11729eRAngaqLB68PYazutvSZwU= =i6BN -----END PGP SIGNATURE----- --3prx2d4hq2esv3na-- From nobody Wed Aug 30 08:57:33 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RbJ8g25wgz4rtKD for ; Wed, 30 Aug 2023 08:57:39 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Received: from heemeyer.club (heemeyer.club [195.93.173.158]) (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 4RbJ8d55MHz3MW7 for ; Wed, 30 Aug 2023 08:57:37 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of dchagin@heemeyer.club has no SPF policy when checking 195.93.173.158) smtp.mailfrom=dchagin@heemeyer.club; dmarc=none Received: from heemeyer.club (localhost [127.0.0.1]) by heemeyer.club (8.17.2/8.16.1) with ESMTP id 37U8vX05010518 for ; Wed, 30 Aug 2023 11:57:33 +0300 (MSK) (envelope-from dchagin@heemeyer.club) Received: (from dchagin@localhost) by heemeyer.club (8.17.2/8.16.1/Submit) id 37U8vXaN010517 for current@freebsd.org; Wed, 30 Aug 2023 11:57:33 +0300 (MSK) (envelope-from dchagin) Date: Wed, 30 Aug 2023 11:57:33 +0300 From: Dmitry Chagin To: current@freebsd.org Subject: Re: Possible issue with linux xattr support? Message-ID: References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spamd-Bar: + X-Spamd-Result: default: False [1.18 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; AUTH_NA(1.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_SPAM_SHORT(0.98)[0.981]; FORGED_SENDER(0.30)[dchagin@freebsd.org,dchagin@heemeyer.club]; MIME_GOOD(-0.10)[text/plain]; R_SPF_NA(0.00)[no SPF record]; MLMMJ_DEST(0.00)[current@freebsd.org]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; DMARC_NA(0.00)[freebsd.org]; TO_DOM_EQ_FROM_DOM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[dchagin@freebsd.org,dchagin@heemeyer.club]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[dchagin]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:61400, ipnet:195.93.173.0/24, country:RU] X-Rspamd-Queue-Id: 4RbJ8d55MHz3MW7 On Tue, Aug 29, 2023 at 08:58:13PM +0200, Felix Palmen wrote: > * Dmitry Chagin [20230829 21:12]: > > On Tue, Aug 29, 2023 at 07:02:22PM +0200, Felix Palmen wrote: > > > So, using user.* works, using system.* doesn't, and maybe a bit > > > surprising(?), dumping all attributes which by default excludes the > > > system namespace doesn't work either. > > > > > > > As expected, the second patch intended to allow access to system > > namespace in jailed env. > > Not exactly, according to the manual, 'getfattr -d' *excludes* the > system namespace by default, so I would have expected it to work. But > maybe that's an issue with the getfattr tool itself. > > > > I still wonder, is the first patch needed anyways? Maybe I fail to > > > understand something here. Won't it map *every* EPERM to ENOSUP and > > > can't this be an issue? > > > > > > > fine, thanks. Gnu tools running under unprivileged user will fail, eg > > ls, which uses getfattr() to get the posix acl > > Ah, I see, that would still break "Linux jails" then... > > Thanks again for quickly fixing this! Can this still make 14.0-RELEASE? > I think yes, thanks for testing, I revised the error handling and made it more precise, can you test new patch in your environment. https://people.freebsd.org/~dchagin/xattr.patch Revert previous patches From nobody Wed Aug 30 09:20:39 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RbJgH0bCgz4rvj7 for ; Wed, 30 Aug 2023 09:20:43 +0000 (UTC) (envelope-from felix@palmen-it.de) Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RbJgG1kfyz3R4s for ; Wed, 30 Aug 2023 09:20:42 +0000 (UTC) (envelope-from felix@palmen-it.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=palmen-it.de header.s=20200414 header.b=tQBM1ZJy; spf=pass (mx1.freebsd.org: domain of felix@palmen-it.de designates 2001:470:1f0b:bbb:1::1 as permitted sender) smtp.mailfrom=felix@palmen-it.de; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=CIBQC4atWkr5Q12aIT8ZgjC7fl3AhTqcXugC/4sJ4YU=; b=tQBM1ZJywoVASn+ykXHdM/7Cci IVX8GHfeRGOvc7G+q1dAHp2mNym3Rz/rUAqygdAtH8jFzqX7DgnZQw5zuSgFMr4d42qx4M4Y8Y2O3 iUnilX3/iZYnHKPnrYcVogzwG8kBTG5wFv51PgsVSQtRPTREVRTtqNU5HyMDWjVw6WARXSkR7VK/O 9C2bntoJ+02iyUU6kJHKmuQNWNBJKMUh7lp65BUdCmq5fJg2/l/KJO1l3dfaz3AqiQE5josdLGF8a GOw8YTvNhUe36u/i+LexAbCKACo6ocVELin4J0YFk/SapXOCwYIRhNc31lyBURK0gkHqbbHZI/VDW aY61L/5g==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qbHNQ-00BDkO-Sh for current@freebsd.org; Wed, 30 Aug 2023 11:20:40 +0200 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.96 (FreeBSD)) (envelope-from ) id 1qbHNQ-0009dw-1d for current@freebsd.org; Wed, 30 Aug 2023 09:20:40 +0000 Date: Wed, 30 Aug 2023 11:20:39 +0200 From: Felix Palmen To: current@freebsd.org Subject: Re: Possible issue with linux xattr support? Message-ID: Mail-Followup-To: current@freebsd.org X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~;.B;!M/bL}*qk]p5*r7F5vW};{:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: FreeBSD.org References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="eofvu2zzjp6vectr" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20230517 X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.49 / 15.00]; DWL_DNSWL_MED(-2.00)[palmen-it.de:dkim]; SIGNED_PGP(-2.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.994]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; FORGED_SENDER(0.30)[zirias@freebsd.org,felix@palmen-it.de]; R_DKIM_ALLOW(-0.20)[palmen-it.de:s=20200414]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f0b:bbb:1::1:c]; RCVD_IN_DNSWL_MED(-0.20)[2001:470:1f0b:bbb:1::1:from]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCPT_COUNT_ONE(0.00)[1]; BLOCKLISTDE_FAIL(0.00)[2001:470:1f0b:bbb:1::1:server fail]; DMARC_NA(0.00)[freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[palmen-it.de:+]; HAS_ORG_HEADER(0.00)[]; TO_DN_NONE(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[zirias@freebsd.org,felix@palmen-it.de]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4RbJgG1kfyz3R4s --eofvu2zzjp6vectr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Dmitry Chagin [20230830 11:57]: > On Tue, Aug 29, 2023 at 08:58:13PM +0200, Felix Palmen wrote: > > Thanks again for quickly fixing this! Can this still make 14.0-RELEASE? > >=20 > I think yes, thanks for testing, I revised the error handling and made > it more precise, can you test new patch in your environment. >=20 > https://people.freebsd.org/~dchagin/xattr.patch Great, thanks! I see you now chose to add a jail option, certainly the cleanest solution. Will test later today. Just to make sure I have the correct expectation about the behavior with the new patch applied: * Unprivileged user will get ENOTSUP when trying to access the system namespace (regardless of the new jail setting), so GNU tools like e.g. coreutils install should "just work". * Root will get either ENOTSUP, or a fully working access to system.* with the new jail setting enabled. Are these assumptions correct? Cheers, Felix --=20 Felix Palmen {private} felix@palmen-it.de -- ports committer -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 --eofvu2zzjp6vectr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZO8J0V8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny MevdAP9EqaPoPg4PfpSmASYaTOoSI9iAgv/Z3rOheXcPR0EoGAEAp0D3bFJ/ydHe 7Tw3UblV6RRkRkw5x4Up7Hi4mZMvJgM= =Sq6Z -----END PGP SIGNATURE----- --eofvu2zzjp6vectr-- From nobody Wed Aug 30 09:22:48 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RbJjl2Bb0z4rvgL for ; Wed, 30 Aug 2023 09:22:51 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Received: from heemeyer.club (heemeyer.club [195.93.173.158]) (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 4RbJjk1XYRz3S8k for ; Wed, 30 Aug 2023 09:22:50 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of dchagin@heemeyer.club has no SPF policy when checking 195.93.173.158) smtp.mailfrom=dchagin@heemeyer.club; dmarc=none Received: from heemeyer.club (localhost [127.0.0.1]) by heemeyer.club (8.17.2/8.16.1) with ESMTP id 37U9Mmpa010617 for ; Wed, 30 Aug 2023 12:22:48 +0300 (MSK) (envelope-from dchagin@heemeyer.club) Received: (from dchagin@localhost) by heemeyer.club (8.17.2/8.16.1/Submit) id 37U9MmVr010616 for current@freebsd.org; Wed, 30 Aug 2023 12:22:48 +0300 (MSK) (envelope-from dchagin) Date: Wed, 30 Aug 2023 12:22:48 +0300 From: Dmitry Chagin To: current@freebsd.org Subject: Re: Possible issue with linux xattr support? Message-ID: References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spamd-Bar: / X-Spamd-Result: default: False [0.95 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; AUTH_NA(1.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_SPAM_SHORT(0.75)[0.750]; FORGED_SENDER(0.30)[dchagin@freebsd.org,dchagin@heemeyer.club]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:61400, ipnet:195.93.173.0/24, country:RU]; DMARC_NA(0.00)[freebsd.org]; R_SPF_NA(0.00)[no SPF record]; R_DKIM_NA(0.00)[]; BLOCKLISTDE_FAIL(0.00)[195.93.173.158:server fail]; MLMMJ_DEST(0.00)[current@freebsd.org]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; FREEFALL_USER(0.00)[dchagin]; RCVD_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[dchagin@freebsd.org,dchagin@heemeyer.club]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[] X-Rspamd-Queue-Id: 4RbJjk1XYRz3S8k On Wed, Aug 30, 2023 at 11:20:39AM +0200, Felix Palmen wrote: > * Dmitry Chagin [20230830 11:57]: > > On Tue, Aug 29, 2023 at 08:58:13PM +0200, Felix Palmen wrote: > > > Thanks again for quickly fixing this! Can this still make 14.0-RELEASE? > > > > > I think yes, thanks for testing, I revised the error handling and made > > it more precise, can you test new patch in your environment. > > > > https://people.freebsd.org/~dchagin/xattr.patch > > Great, thanks! I see you now chose to add a jail option, certainly the > cleanest solution. > > Will test later today. Just to make sure I have the correct expectation > about the behavior with the new patch applied: > > * Unprivileged user will get ENOTSUP when trying to access the system > namespace (regardless of the new jail setting), so GNU tools like e.g. > coreutils install should "just work". ENOTSUP or ENODATA (getxattr) > * Root will get either ENOTSUP, or a fully working access to system.* > with the new jail setting enabled. > > Are these assumptions correct? > yes From nobody Wed Aug 30 10:01:13 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RbKZ45Nd4z4rxLr for ; Wed, 30 Aug 2023 10:01:16 +0000 (UTC) (envelope-from felix@palmen-it.de) Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RbKZ406Cmz3X3d for ; Wed, 30 Aug 2023 10:01:16 +0000 (UTC) (envelope-from felix@palmen-it.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=palmen-it.de header.s=20200414 header.b=KveIXvGq; spf=pass (mx1.freebsd.org: domain of felix@palmen-it.de designates 2001:470:1f0b:bbb:1::1 as permitted sender) smtp.mailfrom=felix@palmen-it.de; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=rXNTLu9idKUeHYcwgMfampaMakbMXAe/kBffVyCIosM=; b=KveIXvGqDP4qTCRDqorEbLNtjC Cp67aBg744N6QtmMQJxpOP8a/HPTHcIycosbNrJxjnrEDFZ+k1byxdhjancZTB7dSrAT4M8RJDGjS mKE9hpkjp3AgFFveK83b9D3WpcBNnW7mNQpapVchmKg7k+WANxEDVEQ6LX3mYwACUw19YAFeNj7bz rkrzzhqMsZbla49/BRwA6YEJXAVREXddGOrzkgObH5NJpdW+IQxTpBdCWM0jXEFEZgYaWtCVY+YaT M+0BfY0WRVIAbR5OAiRfzWOeBM1TIz4P3VfMKR/mW6g6NKPJbqa543juiNOCA3mmne9NXR6GKuOFI MXgj0+qg==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qbI0f-00BDom-SD for current@freebsd.org; Wed, 30 Aug 2023 12:01:13 +0200 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.96 (FreeBSD)) (envelope-from ) id 1qbI0f-0009pO-2A for current@freebsd.org; Wed, 30 Aug 2023 10:01:13 +0000 Date: Wed, 30 Aug 2023 12:01:13 +0200 From: Felix Palmen To: current@freebsd.org Subject: Re: Possible issue with linux xattr support? Message-ID: Mail-Followup-To: current@freebsd.org X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~;.B;!M/bL}*qk]p5*r7F5vW};{:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: FreeBSD.org References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="rj5wjnvwdyc553ju" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20230517 X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.50 / 15.00]; DWL_DNSWL_MED(-2.00)[palmen-it.de:dkim]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; FORGED_SENDER(0.30)[zirias@freebsd.org,felix@palmen-it.de]; R_DKIM_ALLOW(-0.20)[palmen-it.de:s=20200414]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCVD_IN_DNSWL_MED(-0.20)[2001:470:1f0b:bbb:1::1:from]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f0b:bbb:1::1:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[freebsd.org]; MLMMJ_DEST(0.00)[current@freebsd.org]; FROM_HAS_DN(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; HAS_ORG_HEADER(0.00)[]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[palmen-it.de:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[zirias@freebsd.org,felix@palmen-it.de]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4RbKZ406Cmz3X3d --rj5wjnvwdyc553ju Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Dmitry Chagin [20230830 12:22]: > On Wed, Aug 30, 2023 at 11:20:39AM +0200, Felix Palmen wrote: > > * Unprivileged user will get ENOTSUP when trying to access the system > > namespace (regardless of the new jail setting), so GNU tools like e.g. > > coreutils install should "just work". > ENOTSUP or ENODATA (getxattr) Unfortunately, install from GNU coreutils is now unable to install anything again. I tried both as 'nobody' and as 'root', it doesn't make a difference: | # /compat/linux/usr/bin/install -c .libs/libexpat.so.1.8.10 /wrkdirs/usr/= ports/textproc/linuxsrc-expat/work/stage/compat/linux/usr/lib64/libexpat.so= =2E1.8.10 | /compat/linux/usr/bin/install: setting permissions for =E2=80=98/wrkdirs/= usr/ports/textproc/linuxsrc-expat/work/stage/compat/linux/usr/lib64/libexpa= t.so.1.8.10=E2=80=99: Operation not permitted =2E. and truss shows this again: | linux_fsetxattr(0x4,0x401860e8,0x134dd0,0x1c,0x0) ERR#-1 'Operation not p= ermitted' This is without the new jail option. When I enable it, it still fails the same way as 'nobody' (which poudriere uses for building), but works fine as 'root'. I assume the fsetxattr call needs some adjustment of error codes as well to make GNU tools play nice. Cheers, Felix --=20 Felix Palmen {private} felix@palmen-it.de -- ports committer -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 --rj5wjnvwdyc553ju Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZO8TaV8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny MWwEAP4+kARuT3eETybLNUa9fCgQSMlsuPJhxyyq+jPslqwjrgEA6Cj+lyelzk4e e0Y0GqlJsO/hNBscRJOJslzzUjd5RgY= =Ixy0 -----END PGP SIGNATURE----- --rj5wjnvwdyc553ju-- From nobody Wed Aug 30 10:33:23 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RbLHF6x4cz4rygs for ; Wed, 30 Aug 2023 10:33:29 +0000 (UTC) (envelope-from felix@palmen-it.de) Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RbLHD5P4Rz3ZmX for ; Wed, 30 Aug 2023 10:33:28 +0000 (UTC) (envelope-from felix@palmen-it.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=palmen-it.de header.s=20200414 header.b=CKoAYRv8; spf=pass (mx1.freebsd.org: domain of felix@palmen-it.de designates 2001:470:1f0b:bbb:1::1 as permitted sender) smtp.mailfrom=felix@palmen-it.de; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Jy0h+hLb+DlLs99uktAEp0cBWIgCGIk8/jBOzHtX78k=; b=CKoAYRv8a5M41G3Mb2il3NjODH NWCDpQ2nQHHtSW8TEbHehrEAyVElAMa8qNgrfaWK8plyywDkbvIRwAgK7YW7nBMuLSia1VCeuDr6F bQt9aUWaTaiicGYpnJy1pZ8ZnGx1m1/F5Y8h2r+lGaZzr9Urwxg0FZ2r5xnFHui1b512DZ2EfGYAy ctNbu0rcTx7A7Y29QZ4TwiE6otAf2Txq5Zg/dicwez1ELWccRZ8qrbDyYWYCzzbM4zhJI+lRiztL+ kBY7mxvbrJ9yleE2AkMgt6psH1yUzMb3JpKa0BrqNnjL8AfoYJOI2ee6iOG9tbRB1fVtlL4ugT2bP PzjrCbbw==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qbIVo-00BDs8-0B for current@freebsd.org; Wed, 30 Aug 2023 12:33:24 +0200 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.96 (FreeBSD)) (envelope-from ) id 1qbIVn-0009xF-2N for current@freebsd.org; Wed, 30 Aug 2023 10:33:23 +0000 Date: Wed, 30 Aug 2023 12:33:23 +0200 From: Felix Palmen To: current@freebsd.org Subject: Re: Possible issue with linux xattr support? Message-ID: Mail-Followup-To: current@freebsd.org X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~;.B;!M/bL}*qk]p5*r7F5vW};{:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: FreeBSD.org References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="mk2ij2lvjkhhxeb7" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20230517 X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.50 / 15.00]; DWL_DNSWL_MED(-2.00)[palmen-it.de:dkim]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; FORGED_SENDER(0.30)[zirias@freebsd.org,felix@palmen-it.de]; R_DKIM_ALLOW(-0.20)[palmen-it.de:s=20200414]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCVD_IN_DNSWL_MED(-0.20)[2001:470:1f0b:bbb:1::1:from]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f0b:bbb:1::1:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[freebsd.org]; MLMMJ_DEST(0.00)[current@freebsd.org]; FROM_HAS_DN(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; HAS_ORG_HEADER(0.00)[]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[palmen-it.de:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[zirias@freebsd.org,felix@palmen-it.de]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4RbLHD5P4Rz3ZmX --mk2ij2lvjkhhxeb7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Felix Palmen [20230830 12:01]: > Unfortunately, install from GNU coreutils is now unable to install > anything again. I tried both as 'nobody' and as 'root', it doesn't make > a difference: > [...] > I assume the fsetxattr call needs some adjustment of error codes as well > to make GNU tools play nice. On a second thought, shouldn't it be two separate patches in the end? * Some adjustment of the error codes seems to be needed to correctly mimick Linux, so GNU tools et al don't misinterpret some error as being "fatal" * Optionally allowing access to the system namespace from within a jail is also needed for some use cases (as shown by HBSD having a patch), but is in fact unrelated to the issue with Linux *xattr calls Please correct me if I'm wrong here ;) Cheers, Felix --=20 Felix Palmen {private} felix@palmen-it.de -- ports committer -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 --mk2ij2lvjkhhxeb7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZO8a818UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny MVA5AQDgmmK8RvSsAzm2BPeu63LxcGgdpEeo1pR2ybnx1No1jAD+KJ7uLF1IJPHj FcGor25xky+hdosF3IqFzbuOpUWNCgU= =bYdb -----END PGP SIGNATURE----- --mk2ij2lvjkhhxeb7-- From nobody Wed Aug 30 10:48:11 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RbLcJ1hFMz4s07Y for ; Wed, 30 Aug 2023 10:48:16 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Received: from heemeyer.club (heemeyer.club [195.93.173.158]) (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 4RbLcG6p1vz3cFx for ; Wed, 30 Aug 2023 10:48:14 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of dchagin@heemeyer.club has no SPF policy when checking 195.93.173.158) smtp.mailfrom=dchagin@heemeyer.club; dmarc=none Received: from heemeyer.club (localhost [127.0.0.1]) by heemeyer.club (8.17.2/8.16.1) with ESMTP id 37UAmBT1010849 for ; Wed, 30 Aug 2023 13:48:11 +0300 (MSK) (envelope-from dchagin@heemeyer.club) Received: (from dchagin@localhost) by heemeyer.club (8.17.2/8.16.1/Submit) id 37UAmBb0010848 for current@freebsd.org; Wed, 30 Aug 2023 13:48:11 +0300 (MSK) (envelope-from dchagin) Date: Wed, 30 Aug 2023 13:48:11 +0300 From: Dmitry Chagin To: current@freebsd.org Subject: Re: Possible issue with linux xattr support? Message-ID: References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spamd-Bar: / X-Spamd-Result: default: False [0.09 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; AUTH_NA(1.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FORGED_SENDER(0.30)[dchagin@freebsd.org,dchagin@heemeyer.club]; NEURAL_HAM_SHORT(-0.11)[-0.109]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:61400, ipnet:195.93.173.0/24, country:RU]; DMARC_NA(0.00)[freebsd.org]; R_SPF_NA(0.00)[no SPF record]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; FROM_NEQ_ENVFROM(0.00)[dchagin@freebsd.org,dchagin@heemeyer.club]; FREEFALL_USER(0.00)[dchagin]; RCVD_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[] X-Rspamd-Queue-Id: 4RbLcG6p1vz3cFx On Wed, Aug 30, 2023 at 12:01:13PM +0200, Felix Palmen wrote: > * Dmitry Chagin [20230830 12:22]: > > On Wed, Aug 30, 2023 at 11:20:39AM +0200, Felix Palmen wrote: > > > * Unprivileged user will get ENOTSUP when trying to access the system > > > namespace (regardless of the new jail setting), so GNU tools like e.g. > > > coreutils install should "just work". > > ENOTSUP or ENODATA (getxattr) > > Unfortunately, install from GNU coreutils is now unable to install > anything again. I tried both as 'nobody' and as 'root', it doesn't make > a difference: > > | # /compat/linux/usr/bin/install -c .libs/libexpat.so.1.8.10 /wrkdirs/usr/ports/textproc/linuxsrc-expat/work/stage/compat/linux/usr/lib64/libexpat.so.1.8.10 > | /compat/linux/usr/bin/install: setting permissions for ‘/wrkdirs/usr/ports/textproc/linuxsrc-expat/work/stage/compat/linux/usr/lib64/libexpat.so.1.8.10’: Operation not permitted > > .. and truss shows this again: > > | linux_fsetxattr(0x4,0x401860e8,0x134dd0,0x1c,0x0) ERR#-1 'Operation not permitted' > > This is without the new jail option. When I enable it, it still fails > the same way as 'nobody' (which poudriere uses for building), but works > fine as 'root'. > > I assume the fsetxattr call needs some adjustment of error codes as well > to make GNU tools play nice. > I don't changed setxattr syscalls due to EPERM is a valid error from it, however here's the essential difference between Linux and FreeBSD. FreeBSD does not permits manipulatingg attributes in the system namespace for unprivileged accounts. Well, we can return ENOTSUP due to in Linux read and write access to system namespace depend on the policy implemented for each filesystem, so we'll mimics we're a filesystem that prohibits this for unprivelegd users. https://people.freebsd.org/~dchagin/xattr.patch From nobody Wed Aug 30 10:48:44 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RbLcw3Vvmz4s0Xm for ; Wed, 30 Aug 2023 10:48:48 +0000 (UTC) (envelope-from felix@palmen-it.de) Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RbLcv51dQz3dVQ for ; Wed, 30 Aug 2023 10:48:47 +0000 (UTC) (envelope-from felix@palmen-it.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=palmen-it.de header.s=20200414 header.b=P64CWQMG; spf=pass (mx1.freebsd.org: domain of felix@palmen-it.de designates 2001:470:1f0b:bbb:1::1 as permitted sender) smtp.mailfrom=felix@palmen-it.de; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=8tyB+kZfhK7LUwId+pCZm93Qghcvn5PJ4m0HmBmXh5I=; b=P64CWQMGJIIMrevZ9YL1elqCg5 gl5f9ImG6tasX1ZDwVt1f/nKUk4M9uUddeYeAMdlMKOjoQGyZHKBQy0MhNxqitPY7Y89GK09tLSnS OpSK5n7ojnG8c5F/EnQk+OYQ9wltsp2hjmAzkxV0LvFS+YOznbcdI+licn+d0vhE+Y8FcV8FOBVoD owZAUvPxiM/cDnuqAL6whb4nksm7b4xFR3FTmKBXwLPkfrsMT2nWPRCt1Wgu4R0j/s2RIMRQkQgJA lqNad8xd1BCk+RmyMJXm7nBLV4LeBgZYYSjdzpgq4sMxGg45EQKJEuz0Y8s0vEYjpaVnh5w59ElFO Pl4t6czQ==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qbIkf-00BDtm-9y for current@freebsd.org; Wed, 30 Aug 2023 12:48:45 +0200 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.96 (FreeBSD)) (envelope-from ) id 1qbIkf-000A0m-0L for current@freebsd.org; Wed, 30 Aug 2023 10:48:45 +0000 Date: Wed, 30 Aug 2023 12:48:44 +0200 From: Felix Palmen To: current@freebsd.org Subject: Re: Possible issue with linux xattr support? Message-ID: Mail-Followup-To: current@freebsd.org X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~;.B;!M/bL}*qk]p5*r7F5vW};{:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: FreeBSD.org References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2dwkzayx6u25emeb" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20230517 X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.48 / 15.00]; DWL_DNSWL_MED(-2.00)[palmen-it.de:dkim]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.984]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; FORGED_SENDER(0.30)[zirias@freebsd.org,felix@palmen-it.de]; R_DKIM_ALLOW(-0.20)[palmen-it.de:s=20200414]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCVD_IN_DNSWL_MED(-0.20)[2001:470:1f0b:bbb:1::1:from]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f0b:bbb:1::1:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[freebsd.org]; MLMMJ_DEST(0.00)[current@freebsd.org]; FROM_HAS_DN(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; HAS_ORG_HEADER(0.00)[]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[palmen-it.de:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[zirias@freebsd.org,felix@palmen-it.de]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4RbLcv51dQz3dVQ --2dwkzayx6u25emeb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Felix Palmen [20230830 12:01]: > * Dmitry Chagin [20230830 12:22]: > > On Wed, Aug 30, 2023 at 11:20:39AM +0200, Felix Palmen wrote: > > > * Unprivileged user will get ENOTSUP when trying to access the system > > > namespace (regardless of the new jail setting), so GNU tools like e= =2Eg. > > > coreutils install should "just work". > > ENOTSUP or ENODATA (getxattr) >=20 > Unfortunately, install from GNU coreutils is now unable to install > anything again. I tried both as 'nobody' and as 'root', it doesn't make > a difference: Sorry for the noise ... this little change fixes it for me: https://people.freebsd.org/~zirias/patches/linux-setxattr.patch Cheers, Felix --=20 Felix Palmen {private} felix@palmen-it.de -- ports committer -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 --2dwkzayx6u25emeb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZO8ejF8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny MZqAAP4qE3UBJg5jrFpOChWGBwylWNFQwS3dxGF9PCSa/loOAAD+NegfttKpe609 9ck0RsGGdDSVaWISIxzm3XLaYgS9hgA= =0zk1 -----END PGP SIGNATURE----- --2dwkzayx6u25emeb-- From nobody Wed Aug 30 10:50:18 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RbLfh5CQSz4s0F4 for ; Wed, 30 Aug 2023 10:50:20 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Received: from heemeyer.club (heemeyer.club [195.93.173.158]) (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 4RbLfg4N0Xz3fPH for ; Wed, 30 Aug 2023 10:50:19 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of dchagin@heemeyer.club has no SPF policy when checking 195.93.173.158) smtp.mailfrom=dchagin@heemeyer.club; dmarc=none Received: from heemeyer.club (localhost [127.0.0.1]) by heemeyer.club (8.17.2/8.16.1) with ESMTP id 37UAoIxY010868 for ; Wed, 30 Aug 2023 13:50:18 +0300 (MSK) (envelope-from dchagin@heemeyer.club) Received: (from dchagin@localhost) by heemeyer.club (8.17.2/8.16.1/Submit) id 37UAoIhK010867 for current@freebsd.org; Wed, 30 Aug 2023 13:50:18 +0300 (MSK) (envelope-from dchagin) Date: Wed, 30 Aug 2023 13:50:18 +0300 From: Dmitry Chagin To: current@freebsd.org Subject: Re: Possible issue with linux xattr support? Message-ID: References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spamd-Bar: / X-Spamd-Result: default: False [-0.28 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.99)[-0.988]; NEURAL_HAM_SHORT(-0.49)[-0.489]; FORGED_SENDER(0.30)[dchagin@freebsd.org,dchagin@heemeyer.club]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:61400, ipnet:195.93.173.0/24, country:RU]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; R_SPF_NA(0.00)[no SPF record]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; FROM_NEQ_ENVFROM(0.00)[dchagin@freebsd.org,dchagin@heemeyer.club]; FREEFALL_USER(0.00)[dchagin]; RCVD_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[] X-Rspamd-Queue-Id: 4RbLfg4N0Xz3fPH On Wed, Aug 30, 2023 at 12:33:23PM +0200, Felix Palmen wrote: > * Felix Palmen [20230830 12:01]: > > Unfortunately, install from GNU coreutils is now unable to install > > anything again. I tried both as 'nobody' and as 'root', it doesn't make > > a difference: > > [...] > > I assume the fsetxattr call needs some adjustment of error codes as well > > to make GNU tools play nice. > > On a second thought, shouldn't it be two separate patches in the end? > > * Some adjustment of the error codes seems to be needed to correctly > mimick Linux, so GNU tools et al don't misinterpret some error as > being "fatal" > > * Optionally allowing access to the system namespace from within a jail > is also needed for some use cases (as shown by HBSD having a patch), > but is in fact unrelated to the issue with Linux *xattr calls > > Please correct me if I'm wrong here ;) > sure, xattr.patch includes 5 commits From nobody Wed Aug 30 10:58:45 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RbLrR6rZgz4s0ZY for ; Wed, 30 Aug 2023 10:58:47 +0000 (UTC) (envelope-from felix@palmen-it.de) Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RbLrR3pN8z4DcW for ; Wed, 30 Aug 2023 10:58:47 +0000 (UTC) (envelope-from felix@palmen-it.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=palmen-it.de header.s=20200414 header.b=XXBld+SV; spf=pass (mx1.freebsd.org: domain of felix@palmen-it.de designates 2001:470:1f0b:bbb:1::1 as permitted sender) smtp.mailfrom=felix@palmen-it.de; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=tyz78R0dY0pC3vD03haOn+BGqMUCv4C1ry95+Yz1SGY=; b=XXBld+SVtuvjQ2EvWFYLoxKDF6 5/IP7TJZubTlSC4YnikAXn3w8k9NSFBAxDLLDXYr3Vsn3Eerkkb0tbEidS3QhUBIMwH2CcdeMw7g5 vgyiVUZePnUfdeTT97eRFRDwCy5Y/IzIKeNMXHNsIIT2QVtOpWh+tn2B0aC/JIsjaQTACNMapSSmE QIfEbpAHOlyh9TTKYPyPOE/5qmzeSaqeMXQHbmNECG7HR1SeELXhLWRtG8qJr+TW69EmDZjQuh/VE NcrJ3dPISnlPgouvuDfyj/MNHfOC4bUM+gv3wlbcSW7jyLToFsrQAjigzQLriRn0JvDdCPPsi1oLU efkUg/Jw==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qbIuL-00BDuX-T3 for current@freebsd.org; Wed, 30 Aug 2023 12:58:45 +0200 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.96 (FreeBSD)) (envelope-from ) id 1qbIuL-000A3T-2E for current@freebsd.org; Wed, 30 Aug 2023 10:58:45 +0000 Date: Wed, 30 Aug 2023 12:58:45 +0200 From: Felix Palmen To: current@freebsd.org Subject: Re: Possible issue with linux xattr support? Message-ID: Mail-Followup-To: current@freebsd.org X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~;.B;!M/bL}*qk]p5*r7F5vW};{:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: FreeBSD.org References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vsex4aaeia4dp5ve" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20230517 X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.50 / 15.00]; DWL_DNSWL_MED(-2.00)[palmen-it.de:dkim]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; FORGED_SENDER(0.30)[zirias@freebsd.org,felix@palmen-it.de]; R_DKIM_ALLOW(-0.20)[palmen-it.de:s=20200414]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCVD_IN_DNSWL_MED(-0.20)[2001:470:1f0b:bbb:1::1:from]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f0b:bbb:1::1:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[freebsd.org]; MLMMJ_DEST(0.00)[current@freebsd.org]; FROM_HAS_DN(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; HAS_ORG_HEADER(0.00)[]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[palmen-it.de:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[zirias@freebsd.org,felix@palmen-it.de]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4RbLrR3pN8z4DcW --vsex4aaeia4dp5ve Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Dmitry Chagin [20230830 13:48]: > On Wed, Aug 30, 2023 at 12:01:13PM +0200, Felix Palmen wrote: > > Unfortunately, install from GNU coreutils is now unable to install > > anything again. I tried both as 'nobody' and as 'root', it doesn't make > > a difference: > > [...] > > I assume the fsetxattr call needs some adjustment of error codes as well > > to make GNU tools play nice. > >=20 >=20 > I don't changed setxattr syscalls due to EPERM is a valid error from it, > however here's the essential difference between Linux and FreeBSD. > FreeBSD does not permits manipulatingg attributes in the > system namespace for unprivileged accounts. Interesting! (and, a weird design ...) > https://people.freebsd.org/~dchagin/xattr.patch Yes, that's basically the same change I meanwhile did locally, except I restricted the adjustment to cases of writing the system namespace -- not sure that's good for anything though. In short: Works fine that way! Cheers, Felix --=20 Felix Palmen {private} felix@palmen-it.de -- ports committer -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 --vsex4aaeia4dp5ve Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZO8g5V8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny MRjhAQCuN46OK1MCEw59Yoqs3UQd8xqBHCErQhrdvGo63sBFzwD+Nn1qOaKTAq6y obtrGkkTtPMAm6/IXoUlTmIig9GayAA= =8wnN -----END PGP SIGNATURE----- --vsex4aaeia4dp5ve-- From nobody Wed Aug 30 11:00:45 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RbLtr4PFTz4s10h for ; Wed, 30 Aug 2023 11:00:52 +0000 (UTC) (envelope-from felix@palmen-it.de) Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RbLtq4fmQz4FQl for ; Wed, 30 Aug 2023 11:00:51 +0000 (UTC) (envelope-from felix@palmen-it.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=palmen-it.de header.s=20200414 header.b=gjkzXDhN; spf=pass (mx1.freebsd.org: domain of felix@palmen-it.de designates 2001:470:1f0b:bbb:1::1 as permitted sender) smtp.mailfrom=felix@palmen-it.de; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=1RU0mjB5AjwfLkzIZmSPAJIeAPUhTUchXdDek0ueMes=; b=gjkzXDhNgUBs4jHuiZ9xphsL4h yCCIlO1Dsz5W7AXOZPYdPaN14Isado7TIdPPnnQwJEuCbFn/yt71Mn0ZaigUSJbaNTGz2BHtdGAU1 4KahSBB2Yq9zqUo7V6HLcY8qtEn6hietjSmJPb14I40OepyJ5QOxpjDC7Bl9/zOGGIrEPrLzbOyMR uNqAi3WoIq5tm5cR1ZaUQO6//UKOY8WZfS9xRbFpJq+dA3qfQQBmqzbT1x1uNXZXOINBgEOOARmjh e7IkWynVOGKZ17pSSLxJLM8i50rrIU5LzRY9GmJnRzzQLQwjz9wpzyiDcIXQzuc/dLSpoy39iSosu LP3K7uRg==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qbIwI-00BDum-DV for current@freebsd.org; Wed, 30 Aug 2023 13:00:46 +0200 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.96 (FreeBSD)) (envelope-from ) id 1qbIwI-000A5J-0B for current@freebsd.org; Wed, 30 Aug 2023 11:00:46 +0000 Date: Wed, 30 Aug 2023 13:00:45 +0200 From: Felix Palmen To: current@freebsd.org Subject: Re: Possible issue with linux xattr support? Message-ID: Mail-Followup-To: current@freebsd.org X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~;.B;!M/bL}*qk]p5*r7F5vW};{:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: FreeBSD.org References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="5xnfnteyti2xcz5j" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20230517 X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.50 / 15.00]; DWL_DNSWL_MED(-2.00)[palmen-it.de:dkim]; SIGNED_PGP(-2.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; FORGED_SENDER(0.30)[zirias@freebsd.org,felix@palmen-it.de]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f0b:bbb:1::1]; R_DKIM_ALLOW(-0.20)[palmen-it.de:s=20200414]; RCVD_IN_DNSWL_MED(-0.20)[2001:470:1f0b:bbb:1::1:from]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[freebsd.org]; MLMMJ_DEST(0.00)[current@freebsd.org]; FROM_HAS_DN(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; HAS_ORG_HEADER(0.00)[]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[palmen-it.de:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[zirias@freebsd.org,felix@palmen-it.de]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4RbLtq4fmQz4FQl --5xnfnteyti2xcz5j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Felix Palmen [20230830 12:58]: > * Dmitry Chagin [20230830 13:48]: > > I don't changed setxattr syscalls due to EPERM is a valid error from it, > > however here's the essential difference between Linux and FreeBSD. > > FreeBSD does not permits manipulatingg attributes in the > > system namespace for unprivileged accounts. >=20 > Interesting! (and, a weird design ...) I meant the filesystem-specific policies of course. Quoting fail on my side. --=20 Felix Palmen {private} felix@palmen-it.de -- ports committer -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 --5xnfnteyti2xcz5j Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZO8hXV8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny MZF6AQCS9o5zHA8+niGfP+AJUvhWubGplZxdl7VV6H9nLB4VLQEA/0PP76ibFWEL YwLBUviat+EJ+mB+b59Dc9+stcXcrwU= =gKZn -----END PGP SIGNATURE----- --5xnfnteyti2xcz5j-- From nobody Wed Aug 30 11:04:56 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RbLzb6XgXz4s1NN for ; Wed, 30 Aug 2023 11:04:59 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Received: from heemeyer.club (heemeyer.club [195.93.173.158]) (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 4RbLzZ34S0z4GpW for ; Wed, 30 Aug 2023 11:04:58 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of dchagin@heemeyer.club has no SPF policy when checking 195.93.173.158) smtp.mailfrom=dchagin@heemeyer.club; dmarc=none Received: from heemeyer.club (localhost [127.0.0.1]) by heemeyer.club (8.17.2/8.16.1) with ESMTP id 37UB4u65010950 for ; Wed, 30 Aug 2023 14:04:56 +0300 (MSK) (envelope-from dchagin@heemeyer.club) Received: (from dchagin@localhost) by heemeyer.club (8.17.2/8.16.1/Submit) id 37UB4uTx010949 for current@freebsd.org; Wed, 30 Aug 2023 14:04:56 +0300 (MSK) (envelope-from dchagin) Date: Wed, 30 Aug 2023 14:04:56 +0300 From: Dmitry Chagin To: current@freebsd.org Subject: Re: Possible issue with linux xattr support? Message-ID: References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spamd-Bar: / X-Spamd-Result: default: False [-0.79 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; AUTH_NA(1.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.988]; FORGED_SENDER(0.30)[dchagin@freebsd.org,dchagin@heemeyer.club]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:61400, ipnet:195.93.173.0/24, country:RU]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; R_SPF_NA(0.00)[no SPF record]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; FROM_NEQ_ENVFROM(0.00)[dchagin@freebsd.org,dchagin@heemeyer.club]; FREEFALL_USER(0.00)[dchagin]; RCVD_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[] X-Rspamd-Queue-Id: 4RbLzZ34S0z4GpW On Wed, Aug 30, 2023 at 12:58:45PM +0200, Felix Palmen wrote: > * Dmitry Chagin [20230830 13:48]: > > On Wed, Aug 30, 2023 at 12:01:13PM +0200, Felix Palmen wrote: > > > Unfortunately, install from GNU coreutils is now unable to install > > > anything again. I tried both as 'nobody' and as 'root', it doesn't make > > > a difference: > > > [...] > > > I assume the fsetxattr call needs some adjustment of error codes as well > > > to make GNU tools play nice. > > > > > > > I don't changed setxattr syscalls due to EPERM is a valid error from it, > > however here's the essential difference between Linux and FreeBSD. > > FreeBSD does not permits manipulatingg attributes in the > > system namespace for unprivileged accounts. > > Interesting! (and, a weird design ...) > > > https://people.freebsd.org/~dchagin/xattr.patch > > Yes, that's basically the same change I meanwhile did locally, except I > restricted the adjustment to cases of writing the system namespace -- > not sure that's good for anything though. > > In short: Works fine that way! > Thanks, I see, I agree with your change, taken into account. From nobody Wed Aug 30 13:15:37 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RbPtQ492Qz4s6lN for ; Wed, 30 Aug 2023 13:15:42 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-qv1-xf34.google.com (mail-qv1-xf34.google.com [IPv6:2607:f8b0:4864:20::f34]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RbPtQ0bklz4Ss8 for ; Wed, 30 Aug 2023 13:15:42 +0000 (UTC) (envelope-from markjdb@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qv1-xf34.google.com with SMTP id 6a1803df08f44-64b3504144cso31317476d6.2 for ; Wed, 30 Aug 2023 06:15:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693401341; x=1694006141; darn=freebsd.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=uI1TCfGqmpUCZ0s9Ly08Q7vLqSTTGWIRxtqZP7Lbl9g=; b=rSJInEJGCm/tYouwmxl04tAAA9A3YjL3fy+VvwOVihXjOB7pa4GuxlijpRy1E5d9Kp ckl78LiqM99zAJXT0l150+fkPxf3VEj6ZYBqjvZCfhQ0tIFM3xhMTPzXIO2cg+vtXdSi tOJjcsFiP7bqRt3aAgek/buc/lg3fyRoxDMbpp/hmDrGyv0JSrQ9M5HYUxXMicsgl4hC Ar2fDqN09ezeJN77wCAMFXp2YQ6iraApxHgMXtPgVIA/sfPblWsWEKMovNIyI+wyaL5h p9vRlWXp9VJVT0Y4FzqgrOrs///2NyxSR1JdILZ4o5HOAYRnemOp5rS9IBb5nyO80I3F TlJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693401341; x=1694006141; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uI1TCfGqmpUCZ0s9Ly08Q7vLqSTTGWIRxtqZP7Lbl9g=; b=i8CZHc22QXIfF33KXneoLMrm+SRHeNmWPIioe1HQ1/osgJG2f+5tPACblfIbewUQQd GF/eoGDOCtg3gGK2EGIXFjL4SBlnLkpPuEyLJZsTyxBf5QHSgNoKS55xPJGXNaeBCiqA hlLFaH7jM66yO/6AmT8gMzAPTi8pRKGbIvVIrU38qPb4yGlYyTj6oPHN5mXfb/CISrEd dm+Qg3ckVrpLuPTCn9/slcRcaduv+Ig49I412GxfhlCTUp1CH/QjehFvUu9DozRbiM5M yG1wPrSFjavDgzk5izUqFzzoRkSUB3Ia86jmN21G8jc+PSEmB1ZVvJ2I1omPKhiX8c80 g8bA== X-Gm-Message-State: AOJu0YxsJrP4W6UCxoDqMc9RR0pF6rzKZfozN5FBsZTGK0m3/lsk7uk2 XZkeaizniacK2Jvj68wStReEEyLyYaA= X-Google-Smtp-Source: AGHT+IEbnvI8CUBVLqf2QhR7WQ4MVsdjPvZSOtbUZfj0Jr1ESdccF6UJOlGdRmGD0tHzBaA5qhNe9w== X-Received: by 2002:a0c:e548:0:b0:630:7d0:56f4 with SMTP id n8-20020a0ce548000000b0063007d056f4mr1697000qvm.49.1693401340784; Wed, 30 Aug 2023 06:15:40 -0700 (PDT) Received: from nuc (192-0-220-237.cpe.teksavvy.com. [192.0.220.237]) by smtp.gmail.com with ESMTPSA id x5-20020a0ce0c5000000b0062de6537febsm4091101qvk.58.2023.08.30.06.15.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Aug 2023 06:15:39 -0700 (PDT) Date: Wed, 30 Aug 2023 09:15:37 -0400 From: Mark Johnston To: Cy Schubert Cc: freebsd-current@freebsd.org Subject: Re: ZFS Page Derefrence Message-ID: References: <20230830020835.A901AA9@slippy.cwsent.com> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230830020835.A901AA9@slippy.cwsent.com> X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4RbPtQ0bklz4Ss8 On Tue, Aug 29, 2023 at 07:08:35PM -0700, Cy Schubert wrote: > Hi > > Just got the following panic on an and64 machine running poudriere building > i386 packages. > > panic: vm_page_dequeue_deferred: page 0xfffffe000b222808 has unexpected > queue state^M > [...] > > uname reports, > > FreeBSD bob 15.0-CURRENT FreeBSD 15.0-CURRENT amd64 1500000 #1 > komquats-n265075-2e8edbc285cf: Tue Aug 29 03:51:59 PDT 2023 > root@cwsys:/export/obj/opt/src/git-src/amd64.amd64/sys/BREAK2 amd64 > > My BREAK2 kernel removes devices I don't use and enables keystrokes to > interrupt the system from the conosle (conserver). Local patches affect > ipfilter only. > > Head of core.txt: > > __curthread () at /opt/src/git-src/sys/amd64/include/pcpu_aux.h:57 > 57 __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct > pcpu > , > (kgdb) #0 __curthread () at /opt/src/git-src/sys/amd64/include/pcpu_aux.h:5 > 7 > #1 doadump (textdump=textdump@entry=1) > at /opt/src/git-src/sys/kern/kern_shutdown.c:405 > #2 0xffffffff806c1b30 in kern_reboot (howto=260) > at /opt/src/git-src/sys/kern/kern_shutdown.c:526 > #3 0xffffffff806c202f in vpanic ( > fmt=0xffffffff80b5da55 "%s: page %p has unexpected queue state", > ap=ap@entry=0xfffffe00bf55d770) > at /opt/src/git-src/sys/kern/kern_shutdown.c:970 > #4 0xffffffff806c1dd3 in panic (fmt=) > at /opt/src/git-src/sys/kern/kern_shutdown.c:894 > #5 0xffffffff809daab2 in vm_page_dequeue_deferred (m=, > m@entry=0xfffffe000b222808) at /opt/src/git-src/sys/vm/vm_page.c:3790 > #6 0xffffffff809ddfeb in vm_page_free_prep (m=m@entry=0xfffffe000b222808) > at /opt/src/git-src/sys/vm/vm_page.c:3928 Could you please print/x *m from this frame? From nobody Wed Aug 30 13:29:28 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RbQBd3hZJz4s7Dv for ; Wed, 30 Aug 2023 13:29:45 +0000 (UTC) (envelope-from herbert@gojira.at) Received: from mail.bsd4all.net (mail.bsd4all.net [IPv6:2a01:4f8:13b:240c::25]) (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 ECDSA (P-384) client-digest SHA384) (Client CN "mail.bsd4all.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RbQBc2NXlz4V7P for ; Wed, 30 Aug 2023 13:29:44 +0000 (UTC) (envelope-from herbert@gojira.at) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gojira.at header.s=mail202005 header.b=L4FHQME1; spf=pass (mx1.freebsd.org: domain of herbert@gojira.at designates 2a01:4f8:13b:240c::25 as permitted sender) smtp.mailfrom=herbert@gojira.at; dmarc=none Date: Wed, 30 Aug 2023 15:29:28 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gojira.at; s=mail202005; t=1693402174; bh=xIvVKn2V6LsaHlM/qHm2nTPL1wQEvAquor1Y7fyhHU0=; h=Date:Message-ID:From:To:Subject:MIME-Version:Content-Type; b=L4FHQME1+sELiAUD0rR7P4xrAx6pZueB7eLLyaXCW9xATSS1AThh+rXyiGP0wN4KM x22AP3eOwsxswgpg8MrniDWUMY9EkSZriXPN3AxIINeno9rfsFMtfmozzRvvqljalU pePiJao0cwL+ccj7o7/wzA9k5g31xTNQDizMvMvQCPMcmnoXjKXb7WVVJaHqvGtShl neQvlUO4Pj6+HLWLvaLwhoTub9pNrT7pBpIy7N5QrUL3qdpNeY48XhZNAYMXpyzlGJ +hApady2SSnPU3LFhLpIZRmf1hhttjrs0evml8S5au4XzMRjIhnma/XOgMwIpjtuXd t2pvZ8VoFV8ag== Message-ID: <871qfkr747.wl-herbert@gojira.at> From: "Herbert J. Skuhra" To: current@FreeBSD.org Subject: net/mpd5 on stable/14 - COMPAT_FREEBSD12 required? User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/30.0 Mule/6.0 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Spamd-Bar: - X-Spamd-Result: default: False [-1.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_ALLOW(-0.20)[+ip6:2a01:4f8:13b:240c::25]; R_DKIM_ALLOW(-0.20)[gojira.at:s=mail202005]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[current@FreeBSD.org]; RCVD_COUNT_ZERO(0.00)[0]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[gojira.at:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[gojira.at]; TO_DN_NONE(0.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE] X-Rspamd-Queue-Id: 4RbQBc2NXlz4V7P Hi, after updating from stable/13 to (main and later to) stable/14 net/mpd5 only connects to my ISP (VDSL with VLAN) if I enable "options COMPAT_FREEBSD12" in my kernel. Without I get only: Aug 30 15:08:06 gw mpd[59876]: [L1] PPPoE connection timeout after 9 seconds Aug 30 15:08:06 gw mpd[59876]: [L1] Link: DOWN event Aug 30 15:08:06 gw mpd[59876]: [L1] LCP: Down event Aug 30 15:08:06 gw mpd[59876]: [L1] Link: reconnection attempt 1 in 7 seconds Aug 30 15:08:14 gw mpd[59876]: [L1] Link: reconnection attempt 1 Aug 30 15:08:14 gw mpd[59876]: [L1] PPPoE: Connecting to '' Aug 30 15:08:23 gw mpd[59876]: [L1] PPPoE connection timeout after 9 seconds Aug 30 15:08:23 gw mpd[59876]: [L1] Link: DOWN event Aug 30 15:08:23 gw mpd[59876]: [L1] LCP: Down event [..] I guess the problem is: Without "COMPAT_FREEBSD12" vlanproto = 0x0000. If I run "ifconfig vlan31 vlanproto 802.1q" mpd5 works. -- Herbert From nobody Wed Aug 30 13:46:46 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RbQZK2nFyz4s7jM for ; Wed, 30 Aug 2023 13:46:49 +0000 (UTC) (envelope-from herbert@gojira.at) Received: from mail.bsd4all.net (mail.bsd4all.net [IPv6:2a01:4f8:13b:240c::25]) (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 ECDSA (P-384) client-digest SHA384) (Client CN "mail.bsd4all.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RbQZJ1Gm0z4YJr; Wed, 30 Aug 2023 13:46:48 +0000 (UTC) (envelope-from herbert@gojira.at) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gojira.at header.s=mail202005 header.b=QRJQuHQR; spf=pass (mx1.freebsd.org: domain of herbert@gojira.at designates 2a01:4f8:13b:240c::25 as permitted sender) smtp.mailfrom=herbert@gojira.at; dmarc=none Date: Wed, 30 Aug 2023 15:46:46 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gojira.at; s=mail202005; t=1693403206; bh=cp1D08q+rmJqQUrt741F/dq8ithdxlnggXgJupZkEu4=; h=Date:Message-ID:From:To:Cc:Subject:MIME-Version:Content-Type; b=QRJQuHQROREeXOT673iUz0PUkE2ZdGYk5mvyGjnMbQxXzx2TQIu/02VfZL5kYyQzK asvDmcHVQZYKzoHOa2gPed3z7OJ9vwsDwJu3xCvA3ZyFilhPpEAK03VkyEYqn8Wkvz OCfP83XiEv1UH4i0nXSyWFRzhQeQo3mdVML8fj9GEBbMWLHiM9WawevL6tULzfa/3A IAAuMSrI1FyFQ+mRBUBqi8N96gop9UETn/qJ5pGJ9/pr+GzYVfEzJdQv3HrLOggTbM FtapQC+dUhUud5KsHN2xLNpTkP64b+g7EOqsyMuuYszUwtEJ8616adGYmfEgF+3W2x C3wsVodgi/+dA== Message-ID: <87zg28prqx.wl-herbert@gojira.at> From: "Herbert J. Skuhra" To: current@FreeBSD.org Cc: melifaro@FreeBSD.org Subject: Re: net/mpd5 on stable/14 - COMPAT_FREEBSD12 required? In-Reply-To: <871qfkr747.wl-herbert@gojira.at> References: <871qfkr747.wl-herbert@gojira.at> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/30.0 Mule/6.0 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Spamd-Bar: - X-Spamd-Result: default: False [-1.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_ALLOW(-0.20)[+ip6:2a01:4f8:13b:240c::25]; R_DKIM_ALLOW(-0.20)[gojira.at:s=mail202005]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[current@FreeBSD.org]; RCVD_COUNT_ZERO(0.00)[0]; RCPT_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[gojira.at:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[gojira.at]; TO_DN_NONE(0.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE] X-Rspamd-Queue-Id: 4RbQZJ1Gm0z4YJr On Wed, 30 Aug 2023 15:29:28 +0200, "Herbert J. Skuhra" wrote: > > Hi, > > after updating from stable/13 to (main and later to) stable/14 > net/mpd5 only connects to my ISP (VDSL with VLAN) if I enable "options > COMPAT_FREEBSD12" in my kernel. Without I get only: > > Aug 30 15:08:06 gw mpd[59876]: [L1] PPPoE connection timeout after 9 seconds > Aug 30 15:08:06 gw mpd[59876]: [L1] Link: DOWN event > Aug 30 15:08:06 gw mpd[59876]: [L1] LCP: Down event > Aug 30 15:08:06 gw mpd[59876]: [L1] Link: reconnection attempt 1 in 7 seconds > Aug 30 15:08:14 gw mpd[59876]: [L1] Link: reconnection attempt 1 > Aug 30 15:08:14 gw mpd[59876]: [L1] PPPoE: Connecting to '' > Aug 30 15:08:23 gw mpd[59876]: [L1] PPPoE connection timeout after 9 seconds > Aug 30 15:08:23 gw mpd[59876]: [L1] Link: DOWN event > Aug 30 15:08:23 gw mpd[59876]: [L1] LCP: Down event > [..] > > I guess the problem is: > > Without "COMPAT_FREEBSD12" vlanproto = 0x0000. If I run "ifconfig > vlan31 vlanproto 802.1q" mpd5 works. Maybe this commit is related: commit afbb64f1d85b7d8c2938031c3567946b5d10da4f Author: Alexander V. Chernikov Date: Sun Apr 11 17:47:03 2021 +0100 Fix vlan creation for the older ifconfig(8) binaries. Reported by: allanjude MFC after: immediately ? -- Herbert From nobody Wed Aug 30 13:56:28 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RbQnX64yvz4s88D for ; Wed, 30 Aug 2023 13:56:32 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) (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 4RbQnX06gpz4bXV; Wed, 30 Aug 2023 13:56:31 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; none Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTP id bKM1qDjjA6NwhbLgMq6ljj; Wed, 30 Aug 2023 13:56:30 +0000 Received: from spqr.komquats.com ([70.66.152.170]) by cmsmtp with ESMTPA id bLgLqSkEpHFsObLgMqJ3p6; Wed, 30 Aug 2023 13:56:30 +0000 X-Authority-Analysis: v=2.4 cv=XZqaca15 c=1 sm=1 tr=0 ts=64ef4a8e a=y8EK/9tc/U6QY+pUhnbtgQ==:117 a=y8EK/9tc/U6QY+pUhnbtgQ==:17 a=kj9zAlcOel0A:10 a=UttIx32zK-AA:10 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=EkcXrb_YAAAA:8 a=fFr1w6tij_BTMovjqlYA:9 a=CjuIK1q_8ugA:10 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 a=LK5xJRSDVpKd5WXXoEvA:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id DF9BC1037; Wed, 30 Aug 2023 06:56:28 -0700 (PDT) Received: by slippy.cwsent.com (Postfix, from userid 1000) id A15F41D9; Wed, 30 Aug 2023 06:56:28 -0700 (PDT) X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.8+dev Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Mark Johnston cc: Cy Schubert , freebsd-current@freebsd.org Subject: Re: ZFS Page Derefrence In-reply-to: References: <20230830020835.A901AA9@slippy.cwsent.com> Comments: In-reply-to Mark Johnston message dated "Wed, 30 Aug 2023 09:15:37 -0400." List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 30 Aug 2023 06:56:28 -0700 Message-Id: <20230830135628.A15F41D9@slippy.cwsent.com> X-CMAE-Envelope: MS4xfJaUzFcjpDpCdScLQCcF63RU64cm3ebpvv/vz3E6EtGsvivyUFpLT3XjpD3si1eRPjm0B+tZPghoTuompKc6t8g8y39Y/HPGiIT2Oks8URd5Cqt6VdVL 13wV/V47aML4rJOD296SDZ93FhfhAbl0B1ebz7lUPWLjEsBQyTX4HuH7NDXMxDQvrItRoR+48RjB67EdGTR2eiSKvOFs9BS1SvtgPliLY6jmrdv/pacX9s1r 7xONEQvROTeIIM8fjvO+Pw== X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US] X-Rspamd-Queue-Id: 4RbQnX06gpz4bXV In message , Mark Johnston writes: > On Tue, Aug 29, 2023 at 07:08:35PM -0700, Cy Schubert wrote: > > Hi > > > > Just got the following panic on an and64 machine running poudriere building > > > i386 packages. > > > > panic: vm_page_dequeue_deferred: page 0xfffffe000b222808 has unexpected > > queue state^M > > [...] > > > > uname reports, > > > > FreeBSD bob 15.0-CURRENT FreeBSD 15.0-CURRENT amd64 1500000 #1 > > komquats-n265075-2e8edbc285cf: Tue Aug 29 03:51:59 PDT 2023 > > root@cwsys:/export/obj/opt/src/git-src/amd64.amd64/sys/BREAK2 amd64 > > > > My BREAK2 kernel removes devices I don't use and enables keystrokes to > > interrupt the system from the conosle (conserver). Local patches affect > > ipfilter only. > > > > Head of core.txt: > > > > __curthread () at /opt/src/git-src/sys/amd64/include/pcpu_aux.h:57 > > 57 __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct > > > pcpu > > , > > (kgdb) #0 __curthread () at /opt/src/git-src/sys/amd64/include/pcpu_aux.h: > 5 > > 7 > > #1 doadump (textdump=textdump@entry=1) > > at /opt/src/git-src/sys/kern/kern_shutdown.c:405 > > #2 0xffffffff806c1b30 in kern_reboot (howto=260) > > at /opt/src/git-src/sys/kern/kern_shutdown.c:526 > > #3 0xffffffff806c202f in vpanic ( > > fmt=0xffffffff80b5da55 "%s: page %p has unexpected queue state", > > ap=ap@entry=0xfffffe00bf55d770) > > at /opt/src/git-src/sys/kern/kern_shutdown.c:970 > > #4 0xffffffff806c1dd3 in panic (fmt=) > > at /opt/src/git-src/sys/kern/kern_shutdown.c:894 > > #5 0xffffffff809daab2 in vm_page_dequeue_deferred (m=, > > m@entry=0xfffffe000b222808) at /opt/src/git-src/sys/vm/vm_page.c:3790 > > #6 0xffffffff809ddfeb in vm_page_free_prep (m=m@entry=0xfffffe000b222808) > > at /opt/src/git-src/sys/vm/vm_page.c:3928 > > Could you please print/x *m from this frame? Sure. (kgdb) print/x *m $1 = {plinks = {q = {tqe_next = 0xffffffffffffffff, tqe_prev = 0xffffffffffffffff}, s = {ss = { sle_next = 0xffffffffffffffff}}, memguard = {p = 0xffffffffffffffff, v = 0xffffffffffffffff}, uma = {slab = 0xffffffffffffffff, zone = 0xffffffffffffffff}}, listq = {tqe_next = 0xffffffffffffffff, tqe_prev = 0xffffffffffffffff}, object = 0x0, pindex = 0x572c, phys_addr = 0x1b67d5000, md = {pv_list = {tqh_first = 0x0, tqh_last = 0xfffffe000b222840}, pv_gen = 0xf4a, pat_mode = 0x6}, ref_count = 0x0, busy_lock = 0xfffffffe, a = {{flags = 0x10, queue = 0xff, act_count = 0x0}, _bits = 0xff0010}, order = 0xd, pool = 0x0, flags = 0x1, oflags = 0x0, psind = 0x0, segind = 0x5, valid = 0xff, dirty = 0x0} (kgdb) -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e^(i*pi)+1=0 From nobody Wed Aug 30 14:36:41 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RbRh628z4z4s9kY for ; Wed, 30 Aug 2023 14:36:54 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from mailgate.Leidinger.net (mailgate.leidinger.net [IPv6:2a00:1828:2000:313::1:5]) (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 ECDSA (P-256) client-digest SHA256) (Client CN "mailgate.leidinger.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RbRh4698cz4gJr for ; Wed, 30 Aug 2023 14:36:52 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=leidinger.net header.s=outgoing-alex header.b=pCHhcWK1; spf=pass (mx1.freebsd.org: domain of Alexander@Leidinger.net designates 2a00:1828:2000:313::1:5 as permitted sender) smtp.mailfrom=Alexander@Leidinger.net; dmarc=pass (policy=quarantine) header.from=leidinger.net Received: from webmail2.leidinger.net (roundcube.Leidinger.net [192.168.1.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: Alexander@Leidinger.net) by outgoing.leidinger.net (Postfix) with ESMTPSA id 0E62C600; Wed, 30 Aug 2023 16:36:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leidinger.net; s=outgoing-alex; t=1693406204; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Ies/mIBrp5hv2TREObnP05oNeR/mA2BOHDI785m4GrM=; b=pCHhcWK1O/JVC6z/5Y4iRRjmdHh9GJ3FmsVZMadgS1y0w+D7hHMO2D/iJXuaqKwSXBkz3W uHUXmEBPgRh+yo7osi+BwDSugyKtF6Qu7c4kBo0S0c9415k5h6yfRDsLtDY04B6FnFzy+e RSW/VX1lpWbrNEszO3zeM508hKYMfRGsWX5R1WsDg5QMsWob0zF9l9T29KyXhv169EArSq pM2/cWteSCURxqpxuoSjF51X2QMz7Uhiv6RjjJAJiRHjp2jlwD7ob0h6uevqTe8EJ6EzWc JZpSJmmn+c/nDuqTcBjBarPJdZ9JyHqQbBSC9wMmA2sA2nQIpDNxcgAQKSAgQw== List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Date: Wed, 30 Aug 2023 16:36:41 +0200 From: Alexander Leidinger To: =?UTF-8?Q?Mina_Gali=C4=87?= Cc: current@freebsd.org Subject: Re: 100% CPU time for sysctl command, not killable In-Reply-To: References: <67616bb5b074851832053a0286c3c2fa@Leidinger.net> <-2rv9P1fc0I_nDQomzn-3shvEyCOkCA84lNmp7B3RdDOr9qBwG5QXZNT0R4ZPq0Z1S4-PyGC1xbVoNjPNHNmajxFq-ygNfDS4AqGzB0ylRU=@igalic.co> Message-ID: X-Sender: Alexander@Leidinger.net Content-Type: multipart/alternative; boundary="=_ecfc975d1cc88a7ac32bdd744aa7025e" X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[leidinger.net,quarantine]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[leidinger.net:s=outgoing-alex]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MLMMJ_DEST(0.00)[current@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:34240, ipnet:2a00:1828::/32, country:DE]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_VIA_SMTP_AUTH(0.00)[]; DKIM_TRACE(0.00)[leidinger.net:+]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4RbRh4698cz4gJr --=_ecfc975d1cc88a7ac32bdd744aa7025e Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8; format=flowed Am 2023-08-20 21:23, schrieb Alexander Leidinger: > Am 2023-08-20 18:55, schrieb Mina Galić: > procstat(1) kstack could be helpful here. > > -------- Original Message -------- > On 20 Aug 2023, 17:29, Alexander Leidinger Alexander@Leidinger.net> > wrote: > Hi, sysctl kern.maxvnodes=1048576000 results in 100% CPU and a > non-killable sysctl program. This is somewhat unexpected... Bye, > Alexander. -- http://www.Leidinger.net Alexander@Leidinger.net: PGP > 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP > 0x8F31830F9F2772BF PID TID COMM TDNAME KSTACK 94391 118678 sysctl - sysctl_maxvnodes sysctl_root_handler_locked sysctl_root userland_sysctl sys___sysctl amd64_syscall fast_syscall_common I experimented a bit by multiplying my initial value of 104857600. It fails between 5 and 6 times the initial value. sysctl kern.maxvnodes=524288000 is successful within 4 seconds. sysctl kern.maxvnodes=629145600 goes into a loop with the same procstat -k output. Bye, Alexander. -- http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF --=_ecfc975d1cc88a7ac32bdd744aa7025e Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8

Am 2023-08-20 21:23, schrieb Alexander Leidinger:

Am 2023-08-20 18:55, schrieb Mina Gali=C4=87:

procstat(1) kstack could be helpful here.
 
-------- Original Message --------
On 20 Aug 2023, 17:29, Alexand= er Leidinger Alexander@Leidinger.net> wrote:

Hi, sysctl kern.maxvnodes= =3D1048576000 results in 100% CPU and a non-killable sysctl program. This i= s somewhat unexpected... Bye, Alexander. -- http://www.Leidinger.net Alexan= der@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@F= reeBSD.org : PGP 0x8F31830F9F2772BF

  PID    TID COMM           &nbs= p;    TDNAME              KSTA= CK                     &n= bsp; 
94391 118678 sysctl           &nbs= p;  -                   s= ysctl_maxvnodes sysctl_root_handler_locked sysctl_root userland_sysctl sys_= __sysctl amd64_syscall fast_syscall_common 


I experimented a bit by multiplying my initial value of 104857600. It fa= ils between 5 and 6 times the initial value.

sysctl kern.maxvnodes=3D524288000 is successful within 4 seconds.

sysctl kern.maxvnodes=3D629145600 goes into a loop with the same procsta= t -k output.

Bye,

Alexander.

--
--=_ecfc975d1cc88a7ac32bdd744aa7025e-- From nobody Wed Aug 30 18:02:34 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RbXFZ0n2xz4sLWt for ; Wed, 30 Aug 2023 18:02:42 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) (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 4RbXFY1yZSz3XtD for ; Wed, 30 Aug 2023 18:02:40 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of cy.schubert@cschubert.com has no SPF policy when checking 3.97.99.32) smtp.mailfrom=cy.schubert@cschubert.com; dmarc=none Received: from shw-obgw-4004a.ext.cloudfilter.net ([10.228.9.227]) by cmsmtp with ESMTP id bFOUqJwgTLAoIbPWZqHv3j; Wed, 30 Aug 2023 18:02:39 +0000 Received: from spqr.komquats.com ([70.66.152.170]) by cmsmtp with ESMTPA id bPWVqVRbv3fOSbPWWqU0s1; Wed, 30 Aug 2023 18:02:39 +0000 X-Authority-Analysis: v=2.4 cv=J8G5USrS c=1 sm=1 tr=0 ts=64ef843f a=y8EK/9tc/U6QY+pUhnbtgQ==:117 a=y8EK/9tc/U6QY+pUhnbtgQ==:17 a=kj9zAlcOel0A:10 a=UttIx32zK-AA:10 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=EkcXrb_YAAAA:8 a=B5J-8FBYUyk5F4RCGBQA:9 a=CjuIK1q_8ugA:10 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 a=LK5xJRSDVpKd5WXXoEvA:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id CFD5F260 for ; Wed, 30 Aug 2023 11:02:34 -0700 (PDT) Received: by slippy.cwsent.com (Postfix, from userid 1000) id 8F1E668; Wed, 30 Aug 2023 11:02:34 -0700 (PDT) X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.8+dev Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: freebsd-current@freebsd.org Subject: Another ZFS Panic -- buffer modified while frozen List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 30 Aug 2023 11:02:34 -0700 Message-Id: <20230830180234.8F1E668@slippy.cwsent.com> X-CMAE-Envelope: MS4xfESYufaZgR+psmlo/UCL5F6yhARGwq6PvUlo1edGeuMKKePG/gn0GPpSlkPVOGP6eFfu6aBqMkaOQzkFjBEvyFg1iON9YHglMF8OEbdA9rYBOOjbYca/ Ykj1ky70ZRShlpVT5woYR0yQFSIg2ZrFs1gNS03zJ1NfBIsiGH2btZsUZh+JecXh7VuT7wiPo5fiCbD5SxBGigw9cIhdu9UL0Z0= X-Spamd-Bar: - X-Spamd-Result: default: False [-1.64 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-1.00)[-0.998]; NEURAL_HAM_LONG(-0.94)[-0.943]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[3.97.99.32:from]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; R_SPF_NA(0.00)[no SPF record]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[cschubert.com]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; HAS_REPLYTO(0.00)[Cy.Schubert@cschubert.com] X-Rspamd-Queue-Id: 4RbXFY1yZSz3XtD A different panic on a different amd64 machine also running poudriere but building amd64 packages. Exmh was just started, displaying back to my laptop at the time of panic. panic: buffer modified while frozen! cpuid = 1 time = 1693417762 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe008e67fba0 vpanic() at vpanic+0x132/frame 0xfffffe008e67fcd0 panic() at panic+0x43/frame 0xfffffe008e67fd30 arc_cksum_verify() at arc_cksum_verify+0x12c/frame 0xfffffe008e67fd80 arc_buf_destroy_impl() at arc_buf_destroy_impl+0x6f/frame 0xfffffe008e67fdc0 arc_buf_destroy() at arc_buf_destroy+0xd5/frame 0xfffffe008e67fdf0 dbuf_destroy() at dbuf_destroy+0x60/frame 0xfffffe008e67fe40 dbuf_evict_one() at dbuf_evict_one+0x176/frame 0xfffffe008e67fe70 dbuf_evict_thread() at dbuf_evict_thread+0x345/frame 0xfffffe008e67fef0 fork_exit() at fork_exit+0x82/frame 0xfffffe008e67ff30 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe008e67ff30 --- trap 0, rip = 0, rsp = 0, rbp = 0 --- Uptime: 3h46m10s Dumping 1962 out of 8122 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..91 % __curthread () at /opt/src/git-src/sys/amd64/include/pcpu_aux.h:57 57 __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct pcpu , (kgdb) bt #0 __curthread () at /opt/src/git-src/sys/amd64/include/pcpu_aux.h:57 #1 doadump (textdump=textdump@entry=1) at /opt/src/git-src/sys/kern/kern_shutdown.c:405 #2 0xffffffff806c1b30 in kern_reboot (howto=260) at /opt/src/git-src/sys/kern/kern_shutdown.c:526 #3 0xffffffff806c202f in vpanic ( fmt=0xffffffff83d82b7c "buffer modified while frozen!", ap=ap@entry=0xfffffe008e67fd10) at /opt/src/git-src/sys/kern/kern_shutdown.c:970 #4 0xffffffff806c1dd3 in panic (fmt=) at /opt/src/git-src/sys/kern/kern_shutdown.c:894 #5 0xffffffff83ae5f2c in arc_cksum_verify (buf=0xfffff80188cde180) at /opt/src/git-src/sys/contrib/openzfs/module/zfs/arc.c:1475 #6 0xffffffff83ae99ff in arc_buf_destroy_impl ( buf=buf@entry=0xfffff80188cde180) at /opt/src/git-src/sys/contrib/openzfs/module/zfs/arc.c:3113 #7 0xffffffff83ae9625 in arc_buf_destroy (buf=0xfffff80188cde180, tag=tag@entry=0xfffff80104a534c8) at /opt/src/git-src/sys/contrib/openzfs/module/zfs/arc.c:3889 #8 0xffffffff83b0eee0 in dbuf_destroy (db=db@entry=0xfffff80104a534c8) at /opt/src/git-src/sys/contrib/openzfs/module/zfs/dbuf.c:2983 #9 0xffffffff83b17996 in dbuf_evict_one () at /opt/src/git-src/sys/contrib/openzfs/module/zfs/dbuf.c:781 --Type for more, q to quit, c to continue without paging--c #10 0xffffffff83b0c345 in dbuf_evict_thread (unused=) at /opt/src/git-src/sys/contrib/openzfs/module/zfs/dbuf.c:819 #11 0xffffffff80677ab2 in fork_exit ( callout=0xffffffff83b0c000 , arg=0x0, frame=0xfffffe008e67ff40) at /opt/src/git-src/sys/kern/kern_fork.c:1160 #12 (kgdb) FreeBSD cwsys 15.0-CURRENT FreeBSD 15.0-CURRENT amd64 1500000 #4 komquats-n26508 9-b22aae410bc7: Wed Aug 30 04:38:24 PDT 2023 root@cwsys:/export/obj/opt/ src/ git-src/amd64.amd64/sys/BREAK2 amd64 Almost the same configuration as the other machine. -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e^(i*pi)+1=0 From nobody Wed Aug 30 18:34:00 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RbY8v4rZGz4sMZL for ; Wed, 30 Aug 2023 18:43:43 +0000 (UTC) (envelope-from jfc@mit.edu) Received: from outgoing-exchange-3.mit.edu (outgoing-exchange-3.mit.edu [18.9.28.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.outgoing-exchange.mit.edu", Issuer "InCommon RSA Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RbY8t5CV7z3ch2 for ; Wed, 30 Aug 2023 18:43:42 +0000 (UTC) (envelope-from jfc@mit.edu) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=mit.edu header.s=outgoing header.b=KwClDfFH; spf=pass (mx1.freebsd.org: domain of jfc@mit.edu designates 18.9.28.13 as permitted sender) smtp.mailfrom=jfc@mit.edu; dmarc=pass (policy=none) header.from=mit.edu Received: from oc11exedge2.exchange.mit.edu (OC11EXEDGE2.EXCHANGE.MIT.EDU [18.9.3.18]) by outgoing-exchange-3.mit.edu (8.14.7/8.12.4) with ESMTP id 37UIXoUq014036 for ; Wed, 30 Aug 2023 14:34:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1693420479; bh=QU/3dPVOJH/1Rkz13LabvgSc6UbrGFm9rnagSaqhO1k=; h=From:Subject:Date:Message-ID:Content-Type:MIME-Version; b=KwClDfFHgKQN4zfySORnh0ey5AMTmjixOnbr2FIxtwJLvMgqSL+AGVbVDEgujOfkB Zq1ze1pGAqv2erXlcD5iCsROklygglGU9kbjroXiGQ05Cw9xI3uUP753Hs6aNywHZ4 UB3J7tuxKH4PSi6H6rbgMRVA1jCDykagTjmfGAaweLHyq62qkRaFfGgYq54n6nueL6 HOk9dnKhhVnmojWP8/lWJML3alhpor8EbmVCce2UcnrsFEYGJiJkhbFw7l+ANicw7p RFf4YZ/j/GR+XSPsJuXwa6CUkFiD6uMTHV7nvBuczrI96hRc2mhGOgfjwacIyOVdqA I19kxqJmORvVA== Received: from w92expo30.exchange.mit.edu (18.7.74.42) by oc11exedge2.exchange.mit.edu (18.9.3.18) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Wed, 30 Aug 2023 14:33:33 -0400 Received: from oc11exhyb2.exchange.mit.edu (18.9.1.98) by w92expo30.exchange.mit.edu (18.7.74.42) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 30 Aug 2023 14:34:07 -0400 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.45) by oc11exhyb2.exchange.mit.edu (18.9.1.98) with Microsoft SMTP Server (TLS) id 15.0.1497.48 via Frontend Transport; Wed, 30 Aug 2023 14:34:07 -0400 Received: from SA3PR01MB8450.prod.exchangelabs.com (2603:10b6:806:382::17) by PH0PR01MB6521.prod.exchangelabs.com (2603:10b6:510:99::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6745.20; Wed, 30 Aug 2023 18:34:00 +0000 Received: from SA3PR01MB8450.prod.exchangelabs.com ([fe80::aabf:709:113b:716e]) by SA3PR01MB8450.prod.exchangelabs.com ([fe80::aabf:709:113b:716e%6]) with mapi id 15.20.6699.034; Wed, 30 Aug 2023 18:34:00 +0000 From: "John F Carr" To: Current FreeBSD Subject: sscanf change prevents build of CURRENT Thread-Topic: sscanf change prevents build of CURRENT Thread-Index: AQHZ23CLzojoMUUQ1ECjcFrxeZqgCA== Date: Wed, 30 Aug 2023 18:34:00 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SA3PR01MB8450:EE_|PH0PR01MB6521:EE_ x-ms-office365-filtering-correlation-id: b9cbdc2e-1720-4eae-b39e-08dba987ade4 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: n5qlkQs5CDpGF7O5Vgdj9yuOZ7XcQNssGkiwGMxl7UvfyEGdfw/Toq4tfeJC1NXPdbBd1Kg7OJgaBixZ2fDApUYBePJYbLeUDsi51oeJZCt+cJVqpPu0mjr5syKFOAz/BhwiX5J5zpFhuGUUfVYTI8GSDDL7L+ltoKWJcnjfiQrk0uYxNGE6QKoGF6j1IM6HddBMaRNk98BqgFRjaHWdgs36lgHdH6nSasLeF27v8+0HzhmPS+bLFCmXEv6edj72EWnrmiMIVY1DJcQANCvcQZ3k29zeicvelx8bNc2qecWx5UuQXdAC4XCucQjv4ON9M0CcX6ttyhQeI/KhXmoZINnd1Brl1lEqMzqTKDNbkEhsfpfCaPxUU6WP6+/VQLqJiSXMUBDkS0gaQtourk8kfzM1R9IufLWGcVdJyxlYhOdxekWQXWTOfmbKuDHDGVf2ZRQrwmDIFDU6b2sL4Qne7heMmbYUtuK0AVtSCvNJ+diqtzvk2VkSTnFSVfek/46HAcG9D3wwpers+e3wqdRAHkMeVAAL0vGnpN07KpEqTUyzAUnyhnXjygQMrsHk/nrd6nCnX6niiiT/U/zkExVkZWiOERMeC49hBaPrjwmOmwKbQfRwQ9k3tLQoiupVrTOk x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA3PR01MB8450.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230031)(376002)(136003)(366004)(346002)(396003)(39860400002)(1800799009)(186009)(451199024)(33656002)(66556008)(6916009)(66476007)(2906002)(64756008)(66446008)(76116006)(91956017)(66946007)(316002)(36756003)(786003)(75432002)(41300700001)(6512007)(71200400001)(6506007)(5660300002)(6486002)(26005)(83380400001)(2616005)(86362001)(8936002)(38070700005)(38100700002)(8676002)(122000001)(478600001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?3/roeSciZZnKwz7D4jDGTCIBXGLbn8cLHhTOhrnuFqRMqF/mix/gIVBj2Fjb?= =?us-ascii?Q?xn5kEkSWaQio3pCfz6yXu/YZIOubSv7Z1qH0sKjW/bJ2VhA/L9Fla92ki+9K?= =?us-ascii?Q?QwTi0Zb3QEaoKKDE1Wd32r6fgcemTI95/EGbsBYJVliIeMmAQVDa6g4TET3c?= =?us-ascii?Q?BvRCY6jElfWBmlAyOUV3evZKZvpC/SmH0ynTCx0r4c0BuUr5ZbvdnfFy6Nk6?= =?us-ascii?Q?xkRxZFkjVSQzdi8rVcuZ5ez+h+d+VNuMjZrmtmdUpkCaYwmnBHeriwN6346W?= =?us-ascii?Q?avwClYxtz1wn6bXUG35K5NCeT2g2zUw8BeBEt3kwOHVOZY5XYj1GPgThBroT?= =?us-ascii?Q?9qd8CUOySJv0ILU2ZFasZu3Nyes5QzBjmZfkH0DkYnpfcSJ5qe9jfuHqdKRT?= =?us-ascii?Q?16wO7EhPcdRsP4XJs9j5Y/U3A89QmBc6T2bRvtP1mnJe7gUbPy7dM/g3N8XY?= =?us-ascii?Q?z1MUMNdqHSlx/PPdN0Ze+XcOictZSc6impqjGxgh/H/JQumHjkLd7uwHRZRq?= =?us-ascii?Q?5w6U9y7zNF+GPceXL0oHMUUN/xuBgX/NvsrGDYqzSPrbdGSY4DijLP/yuxUH?= =?us-ascii?Q?5UPWvb4wjTn9FO5lflnWB71AebX5F6sUX787dj2Frmxh0YT80ov7BnR1iyo+?= =?us-ascii?Q?cth0greC+1ycxBV1uJCuPim1b+Wyy9IUmntAn+KdshbIZIV0prYmiQhobN8N?= =?us-ascii?Q?lLASm9XkAs9gdT8h4S+8IMe1TDENfRomJb/G/+sqr6uhABUS0mVyioHETYCI?= =?us-ascii?Q?GKXW1MvmhUT7+vAMncbg+iD5xR3qhZ5S9y2mq1ug/IdVHvEKZ3UfU6MUdny6?= =?us-ascii?Q?s6IlT308Kk7Avgb3I5FfOq0kJ24HfKyD2s+MIGE68KID4oGe6YyK7fxE0E86?= =?us-ascii?Q?mRJ1slVYvBKIF4TTjC8mFi8yrPaGXUsSVwoqifNQs2g6wev6JhRpXi8kiYs9?= =?us-ascii?Q?1dfrn9S6uEbYu1q0EeRbocAAOJO+XBItwiSzu2dyK17nT50F28Da27jSj/6o?= =?us-ascii?Q?nm6Up4lID6309daDpWiVk25M3VS4hv4h/G3Adz+T8xJ9zpQ6MJ5Jm7XTfil9?= =?us-ascii?Q?3rHST/MbIbUkHUMMVUMR/N2MftLkCvOtYNXBCYI+gVkc+3lwQnahSw57loza?= =?us-ascii?Q?chHVM+zx2FNXnFZZIQGfZDTDYY/MWmwqeQTktsorqT5tNyms4WUuS5dULyn3?= =?us-ascii?Q?vtxWICopO6LxzUBhZQW4TNw1dDwBvdvx4q6VsfRUMLlw+Wg1L8XgWh2mxZwN?= =?us-ascii?Q?iVW3AkeLUR9WwbZWtZ6eq5UTfrcVsv0LaCd+gopUqI2mBHDt/NCGQvf8DI5o?= =?us-ascii?Q?2pTn5hdLgpwfq10mrRwdWiruOP2RSlph2M/MOD1Xwzy+f1ZjaxYryWFTEH4s?= =?us-ascii?Q?QfuAnpwvB1AfQMG0W+ddepotWIeYXiE805C42hieaicqOvNTS1WXZ48xiauc?= =?us-ascii?Q?O+K5/is2Vg1wZV2yHsIJw8Cu7MCHdLulB4DpsJ771WES79SDyQCvpgIIwUPe?= =?us-ascii?Q?gMSubwpwIMHMJPa1j1IOU2rTK+UmtzsmHHB4AiqDT1wififyNuueU7PUIgDg?= =?us-ascii?Q?LbITyxqlswvByGBmb9U=3D?= Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA3PR01MB8450.prod.exchangelabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: b9cbdc2e-1720-4eae-b39e-08dba987ade4 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Aug 2023 18:34:00.5802 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 64afd9ba-0ecf-4acf-bc36-935f6235ba8b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: oXk5xtX34xaPIM2dy2kf+BMEeZukrJgBAreXhZTFL7qPmEnD9Hrty9D78RxljI0e X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR01MB6521 X-OriginatorOrg: mit.edu X-Spamd-Bar: ++ X-Spamd-Result: default: False [2.50 / 15.00]; URIBL_BLACK(7.50)[libc.so:url]; DWL_DNSWL_LOW(-1.00)[mit.edu:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; R_DKIM_ALLOW(-0.20)[mit.edu:s=outgoing]; RCVD_IN_DNSWL_MED(-0.20)[18.9.28.13:from]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[18.9.3.18:received]; BAD_REP_POLICIES(0.10)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[104.47.56.45:received,18.9.1.98:received]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(0.00)[+ip4:18.9.28.0/24]; ARC_NA(0.00)[]; DMARC_POLICY_ALLOW(0.00)[mit.edu,none]; DKIM_TRACE(0.00)[mit.edu:+]; TO_DN_ALL(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:3, ipnet:18.9.0.0/16, country:US]; GREYLIST(0.00)[pass,body] X-Rspamd-Queue-Id: 4RbY8t5CV7z3ch2 I had a problem yesterday and today rebuilding a -CURRENT system from sourc= e: --- magic.mgc --- ./mkmagic magic magic, 4979: Warning: Current entry does not yet have a description for a= dding a MIME type mkmagic: could not find any valid magic files! The cause was an sscanf call unexpectedly failing to parse the input. This= caused the mkmagic program (internal tool used to build magic number table for fil= e) to fail. If I link mkmagic against the static libc.a in /usr/obj then it works. So = my installed libc.so is broken and the latest source works. I think. My installed kern= el is at 76edfabbecde, the end of the binary integer parsing commit series, so my li= bc should be the same. The program below demonstrates the bug. See src/contrib/file/src for conte= xt. I am trying to manually compile a working mkmagic and restart the build to = get unstuck. #include #include struct guid { uint32_t data1; uint16_t data2; uint16_t data3; uint8_t data4[8]; }; int main(int argc, char *argv[]) { struct guid g =3D {0, 0, 0, {0}}; char *text =3D "75B22630-668E-11CF-A6D9-00AA0062CE6C"; if (argc > 1) text =3D argv[1]; int count =3D sscanf(text, "%8x-%4hx-%4hx-%2hhx%2hhx-%2hhx%2hhx%2hhx%2hhx%2hhx%2hhx", &g.data1, &g.data2, &g.data3, &g.data4[0], &g.data4[1], &g.data4[2], &g.data4[3], &g.data4[4], &g.data4[5], &g.data4[6], &g.data4[7]); fprintf(stdout, "[%d]:\n%08x-%04hx-%04hx-%02hhx%02hhx-%02hhx%02hhx%02hhx%02hhx%02= hhx%02hhx\n", count, g.data1, g.data2, g.data3, g.data4[0], g.data4[1], g.data4[2], g.data4[3], g.data4[4], g.data4[5], g.data4[6], g.data4[7]); return count !=3D 11; } From nobody Wed Aug 30 18:44:26 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RbY9n3ltkz4sNHj; Wed, 30 Aug 2023 18:44:29 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RbY9n34S9z3dcB; Wed, 30 Aug 2023 18:44:29 +0000 (UTC) (envelope-from gjb@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693421069; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tE5dL0wlF85L3vZPOpT2/T+uf5ItCiIeS2NwPqhhjTA=; b=iRhYNRlVg01aGoFpmXl8CyLPRL3O1qyEjZID0viZ/VIPr185m56vsRR5Y3kIrZ2AkHmU8M OjIwItOCEFh8r3Vb67ip0xM3hj64saTc4D4JzZoxetOGkUNwDwPw9qnH9jwzNiZB2bgeGK igkFUMGMMIFKyEZp/C1w5kEFD2B0CKHm50WuV3ZWJNBh6xS1OYknGZAaIR5aknACsboygv BlJUgPAEsmwkqBFwIo4AMx5iJjgMmdA5MHS0rTsbFIoGdPzM6UKTsyE4YbFbxKrV2aaUv5 86umCy4Fb4bCPAy+dMLm3HZrKL+0OryWGzMME/eKA5y0mDr4FcLea1tUlyVXQQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693421069; a=rsa-sha256; cv=none; b=idSz/esAldB0663ASDr2eZXZKEId9/WoH1t9M15t2OQnskr+buLHPcPG9SDpdlI4NK+5eO JBgC88P0rfrLys5JKpeRE75+Im5Qg1MZsAacvckgauh8DQQIZ0mVNZjz8HZB4mGhbH3J72 q9Uli3QoYd0tOO5m63dlYvppYtcIv/R6VR8TosG+9sGikKXESMpx3xXlC4yfaITgVS2Ym2 AvroTFnL8VFt10uh3vWen3akCcz8mZSG4Hy+7sMjSLzS7k34KCG5prw6iNwyjemh2uLYy8 SKcaAOrHHIQ06P6XeMjGsoQk6iKwy1pqn6ykUtgnSwdKhviVQueXUr9cwZlBqg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693421069; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tE5dL0wlF85L3vZPOpT2/T+uf5ItCiIeS2NwPqhhjTA=; b=dPdFjCLE7RLL1WRne5h0SS1n1EUo3BSrEzf5vwIGGVnNVxqUgSxQujTca3108OxIkVPkpr QIh0Mz65PNNPTK45kyS7IgUnxhWM9TynOygp7/KYhZ3xP0HuyD/V3KwbZyQ0zhzTqAtGkv +PMapAc9RV0NLAbkBgaw2H5xZXJncYCHJnPsNP4tOSHEyh5lxt/9c+CRHLgCs5W145Q1JK xvUpYlKELYrXsNfFUOOmqrIRCkzHcb78Bhf137FtwE0tgrfPjpMaNtCZq7juEinh5H6Lgw ApGR6Ge0liXX7eD4Re1ipsUcg3UMYTVCYuk5LliQSid3c8RD7OcYg8uQC9AMJw== Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 018F71A3E2; Wed, 30 Aug 2023 18:44:28 +0000 (UTC) (envelope-from gjb@freebsd.org) Date: Wed, 30 Aug 2023 18:44:26 +0000 From: Glen Barber To: Mark Millard Cc: Current FreeBSD , FreeBSD-STABLE Mailing List , freebsd-arch , Martin Matuska Subject: Re: Possible regression in main causing poor performance Message-ID: <20230830184426.GM1219@FreeBSD.org> References: <8A267B4A-1B7B-4D61-AA57-8E3156470617@yahoo.com> <1B47E578-693D-4690-A577-947E8C9140B5@yahoo.com> <1C3E6B34-2937-46C6-862E-5B988B8A3A43@yahoo.com> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="rq18dCD+oSRtyKma" Content-Disposition: inline In-Reply-To: <1C3E6B34-2937-46C6-862E-5B988B8A3A43@yahoo.com> --rq18dCD+oSRtyKma Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 28, 2023 at 06:06:09PM -0700, Mark Millard wrote: > Has any more been learned about this? Is it still an issue? >=20 I rebooted the machine before the ALPHA3 builds with no other changes, and the overall times for 14.x builds went back to normal. I do not like to experiment with builders during a release cycle, but as we are going to have 15.x snapshots available moving forward, I will not reboot that machine next week in hopes to get some useful data. If my memory serves correctly, mm@ has a pending ZFS import from upstream for both main and stable/14 pending. Whether or not that will resolve any issue here, I do not know. Glen --rq18dCD+oSRtyKma Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAmTvjgoACgkQAxRYpUeP 4pNIdg//ZnZb5LdnuEiCcQ/Cdl0qVQa3Jnzky/puQls6HOlu1rszAQhU9a6+KQUj PTRtMjkNfeNt02H606tyVQ4Y5BsQHmaR4KT6S24pdF13oSf3x4FUKoYQXUqFn7TL mHBizwKs/16O6Xa9R60VWN6vPTqhdb7HVORTNo/ntsT57hILVE402LJ50B/s+JXF 9MclLIIXwEkfueocEz3iceDGErVj1UpFdnx3KZ5MGeedOgbhUhJ07pCQiDUEBvJX HZfDxZBQPZ/qBVUl98wbl8h1ilsqj91FoTgKrV/MeBh1QEI5NhRFzoor0Jpu6HAA M6Wqk5CvAC9aC1oFKAYooFJM3oj+xGEX4UWziBiJrIt5gB1hV501A9E0jczHwM8K zrzPVpU96quilwt8NIrHYE9iquSVJ/Czax9xnBzhakoI42gD1tcZ6pb7ICK87mID N/sXn0gXEufnxrHTT3SCuYdB/rX5eCBYjNnsXmAhy5FNkIFtppIp2tfYHJsL3PjG h/ZcVDkB5UngNHBXC8fAB20L/qrvrsXqCl9OSfgc2tj1QydvEqxhyJYjq+d+RRG6 Ivv0aS22EWaTRIFLE2z8p6u/pn5dn9xJ9nZdbc6j7fX6mymduIouoXr+6GnJUIR3 JyUfyB62zJ9wQC5Q9jZA8ZtLkJuFM30g3Jtnua4nIrL0E77wrOo= =NxpC -----END PGP SIGNATURE----- --rq18dCD+oSRtyKma-- From nobody Wed Aug 30 19:23:27 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RbZ2p3lMVz4sPRj for ; Wed, 30 Aug 2023 19:23:30 +0000 (UTC) (envelope-from des@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RbZ2p2yj8z4FSS; Wed, 30 Aug 2023 19:23:30 +0000 (UTC) (envelope-from des@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693423410; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mgidGdxmC/93zwHrt1JVaiE1Ws4q4Qqyc2uMzt3wesw=; b=tRS83mds4uCzHrSAm6BBpshK50fOHvdC3+IN2qoHW5mJcGB/82wVoWCD/hW804VZFwHnXb r7Nosp9QLfNYm9GKaeVWN9bM5iGp3pXOrmRKXNgq3zbDunJpT52Ik0DWpMV+UDg4NpJfuD kl7ejWbyOfF0dqQMD8ACFCH0rvZ96kJXh9cNGG302+4itJmQZt0N5jdCrFJkqayyw/nmMq WKpC8g6VRcDS/UAegRnCE4lXHQug/OG043MiBsA/rjJDh1x+764BL+IBXTMnX/NF7dL8lr RetcUeLZa2S29Kx7Iwj+20MDN50rsTthXfj0WJ8+tM+2PwhwS376pg1JWsjczg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693423410; a=rsa-sha256; cv=none; b=vldWn/+T5eETvjIVyN4KT4tFtreVf4UxRYgoYQKi25bU43v86Q0YShGRt+wjJFNw8djCLE qtViVDGL+3Y4q2dmGCra9nTxG0rH9A6k0Nc2KxOx8LJWuF8DD/k0wgGsNO2mgz/JaGaacR 23ijuEo2X+Zk+p/pJmBFbbZWq58nU8vDl37QhGvQOS9Oy7gREiyddMYOUi9GraNvRzg8e6 jxiRLHonKV7FVV5bsHjYVPoORDK2+RXghMR7cDOjAEltpoU8LGmLG8Z5Zye2rHRRsH9Aol EAVAOBHKkoBuTp7qdjfgQ7BtvcdQZmENCZll5bmsbbxLUWGFkGO8R1xYK7MVZw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693423410; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mgidGdxmC/93zwHrt1JVaiE1Ws4q4Qqyc2uMzt3wesw=; b=xe9LMjtxaOD8yzwv5L0vUOavMAM9KCm7DArOTSSVGpss10Kz2oAabTz0hG/kgt5UJrb8x2 kPgpaauR1BIYb3SMCHpOi7OAIcMhkUYtqLY8Rq52HK25EHaeg3DAl1+JKIbuLDpFHZYHdN av9hGv2IyFfBItV5v39RnLhutDtQtOn/BsDuWzFH1w3kI2QkHKcKdgjFHI8XHsCDN8NS2X Fb0Tl0hlWgfomGUr10DpyCvVvBvUmyNHP0P+yisFnYvlnDG0PMw7dH5oekikC8h3HoJ0OZ 4q32ddtpzPEQg7zBE/1wGnkijF05j+3ybhrkJUqPljEIErjAzdt3IZJNZrAL5A== Received: from ltc.des.no (unknown [IPv6:2001:4647:d671:0:36e8:94ff:feca:9834]) (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) (Authenticated sender: des) by smtp.freebsd.org (Postfix) with ESMTPSA id 4RbZ2p172Sz7jv; Wed, 30 Aug 2023 19:23:30 +0000 (UTC) (envelope-from des@freebsd.org) Received: by ltc.des.no (Postfix, from userid 1001) id 800F411EDD; Wed, 30 Aug 2023 21:23:27 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: "John F Carr" Cc: Current FreeBSD Subject: Re: sscanf change prevents build of CURRENT In-Reply-To: (John F. Carr's message of "Wed, 30 Aug 2023 18:34:00 +0000") References: User-Agent: Gnus/5.13 (Gnus v5.13) Date: Wed, 30 Aug 2023 21:23:27 +0200 Message-ID: <861qfkz64w.fsf@ltc.des.no> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable "John F Carr" writes: > I had a problem yesterday and today rebuilding a -CURRENT system from > source: [...] The cause was an sscanf call unexpectedly failing to > parse the input. This caused the mkmagic program (internal tool used > to build magic number table for file) to fail. This was fixed in aca3bd160257. > I am trying to manually compile a working mkmagic and restart the > build to get unstuck. mkmagic is fine, just build and install libc. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org From nobody Wed Aug 30 20:00:13 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RbZsM6PFJz4sRHZ for ; Wed, 30 Aug 2023 20:00:23 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Received: from heemeyer.club (heemeyer.club [195.93.173.158]) (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 4RbZsL6YLsz4Ldh; Wed, 30 Aug 2023 20:00:22 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of dchagin@heemeyer.club has no SPF policy when checking 195.93.173.158) smtp.mailfrom=dchagin@heemeyer.club; dmarc=none Received: from heemeyer.club (localhost [127.0.0.1]) by heemeyer.club (8.17.2/8.16.1) with ESMTP id 37UK0EeC012989; Wed, 30 Aug 2023 23:00:14 +0300 (MSK) (envelope-from dchagin@heemeyer.club) Received: (from dchagin@localhost) by heemeyer.club (8.17.2/8.16.1/Submit) id 37UK0D0o012988; Wed, 30 Aug 2023 23:00:13 +0300 (MSK) (envelope-from dchagin) Date: Wed, 30 Aug 2023 23:00:13 +0300 From: Dmitry Chagin To: Kyle Evans Cc: Shawn Webb , current@freebsd.org, Alexander Leidinger Subject: Re: Possible issue with linux xattr support? Message-ID: References: <20230829190258.uc67572553e4fq3v@mutt-hbsd> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spamd-Bar: / X-Spamd-Result: default: False [-0.73 / 15.00]; AUTH_NA(1.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.93)[-0.931]; FORGED_SENDER(0.30)[dchagin@freebsd.org,dchagin@heemeyer.club]; MIME_GOOD(-0.10)[text/plain]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:61400, ipnet:195.93.173.0/24, country:RU]; MLMMJ_DEST(0.00)[current@freebsd.org]; R_SPF_NA(0.00)[no SPF record]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[freebsd.org]; FREEFALL_USER(0.00)[dchagin]; ARC_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[dchagin@freebsd.org,dchagin@heemeyer.club]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4RbZsL6YLsz4Ldh On Tue, Aug 29, 2023 at 02:07:11PM -0500, Kyle Evans wrote: > On 8/29/23 14:02, Shawn Webb wrote: > > On Tue, Aug 29, 2023 at 05:45:51PM +0300, Dmitry Chagin wrote: > > > On Tue, Aug 29, 2023 at 12:59:11PM +0200, Felix Palmen wrote: > > > > * Dmitry Chagin [20230828 18:57]: > > > > > On Mon, Aug 28, 2023 at 08:03:33AM +0200, Felix Palmen wrote: > > > > > > * Cy Schubert [20230827 16:59]: > > > > > > > > > > > > > > If we are to break it to fix a problem, maybe a sysctl to enable/disable then? > > > > > > > > > > > > IMHO depends on the exact nature of the problem. If it's confirmed that > > > > > > it (always and only) breaks for jailed processes, just disabling it for > > > > > > them would be the better workaround. "No-op" calls won't break anything. > > > > > > > > > > > > > > > > please, try: https://people.freebsd.org/~dchagin/xattrerror.patch > > > > > > > > Thanks, I can confirm this avoids the issue in both cases I experienced > > > > (install from GNU coreutils and python). > > > > > > > thanks, this is the first half of the fix, it works for you due to you > > > are running tools under unprivileged user, afaiu. The second I have > > > tested by myself :) > > > > > > > If I understand this patch correctly, it completely avoids EPERM, > > > > masking it as not supported, so callers should consider it non-fatal, > > > > allowing to silently ignore writing of "system" attributes while still > > > > keeping other functionality? > > > > > > > system namespace is accessible only for privileged user, for others Linux > > > returns ENOTSUP. So many tools ignores this error, eg ls. > > > > > > the second: https://people.freebsd.org/~dchagin/sea_jailed.patch > > > > > > Try this under privileged user, please. > > > > Back in 2019, I had a similar issue: I needed access to be able to > > read/write to the system extended attribute namespace from within a > > jailed context. I wrote a rather simple patch that provides that > > support on a per-jail basis: > > > > https://git.hardenedbsd.org/hardenedbsd/HardenedBSD/-/commit/96c85982b45e44a6105664c7068a92d0a61da2a3 > > > > Hopefully that's useful to someone. > > > > Thanks, > > > > FWIW (which likely isn't much), I like this approach much better; it makes > more sense to me that it's a feature controlled by the creator of the jail > and not one allowed just by using a compat ABI within a jail. > Seems phab mail is dead, https://reviews.freebsd.org/D41643 From nobody Wed Aug 30 20:23:34 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RbbNB4mcpz4sSJD for ; Wed, 30 Aug 2023 20:23:38 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RbbNB0ySsz4N82 for ; Wed, 30 Aug 2023 20:23:38 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Authentication-Results: mx1.freebsd.org; none Received: by mail-io1-xd2d.google.com with SMTP id ca18e2360f4ac-7923ae72111so6978239f.0 for ; Wed, 30 Aug 2023 13:23:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd.org; s=google; t=1693427016; x=1694031816; darn=freebsd.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=OByBILCI9NC30UwQDcVvjZPE6/HlyTqQrRCOKvQcwfw=; b=gNou6m3hdey6h/tR3zLonP5vs73sEbuPdA9fL4GarZrHbktqT/Q6KeT8ub2z8dzv4m eHQCNJEavarxGTULxTD+zXkf0lHSX44Gz4HE7P1ArXmnxaWmm1SxzssPoBrgFxHU8sDs xFjP4Pczmf/0T7o5Xxx+UZIpk9U67zW9ViDSNFV14AaXwF7RMJi6CdIVWsQQb/klhuLJ Ng6DsDSxSGNfu7mx5/IoOJMA3M6Jzud2kAJECvMHeWxcLXDhs1UgXaU+adQmdcWdogEN zaQbDFZeySMQcJSbCJj33GGWxm6GOPSFDDO8cJSdLnXtoHhgeLZksS05MqfjhDREiV4D VkmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693427016; x=1694031816; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=OByBILCI9NC30UwQDcVvjZPE6/HlyTqQrRCOKvQcwfw=; b=VfCorPR4EDSp6XS8YB2nJBT9/6wdj/gothLv4c8UdW60i69Fgt7k3uXCLlh3C1jjpr HSOPodtenRtLwv6qX8jfmt3575R1q6G3y6dp8nMInitCA32oaugdvaTuCjNEQc534UW2 mjWwoThdYRSeBAfLgUHEB3wKSYd5qzCQDShstTjgrIKykWzCg6pA0jDrW4AJj3mEEYSl n3+1uaFU9BWcX6mW7fThaDAkwDOZY8seUGkdxdV3dxj0sNKhHpGZJf1nhsif9zUG01UI tUiW9OCefCHL9VJdWwXwYzEm20yC3HS91KzodzvSM9ykbdBx7In9V3iqS2Z9PjypLCAb VFFw== X-Gm-Message-State: AOJu0YxzG3Vg7ZmpU2Tto6G6KTtF/CMiIiOHigFS43m7k1noSBBN0Kce 9QwJ5e5RBrB77z8GfrcvDgRScg== X-Google-Smtp-Source: AGHT+IFmoi475+8bC0Gn+Ru1wOwjotnkI1D8KiAdhy4W0Jbn+mM9Cs9Ij4Jtt98Z1iqbYh6duy+//g== X-Received: by 2002:a6b:e812:0:b0:787:1697:1b3b with SMTP id f18-20020a6be812000000b0078716971b3bmr3880692ioh.8.1693427016578; Wed, 30 Aug 2023 13:23:36 -0700 (PDT) Received: from mutt-hbsd ([73.153.118.59]) by smtp.gmail.com with ESMTPSA id w11-20020a5ec24b000000b00790d81167a7sm4015858iop.2.2023.08.30.13.23.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Aug 2023 13:23:35 -0700 (PDT) Date: Wed, 30 Aug 2023 16:23:34 -0400 From: Shawn Webb To: Alexander Leidinger Cc: Dmitry Chagin , current@freebsd.org Subject: Re: Possible issue with linux xattr support? Message-ID: <20230830202334.vvois6ijpf3h54zh@mutt-hbsd> X-Operating-System: FreeBSD mutt-hbsd 14.0-ALPHA2-HBSD FreeBSD 14.0--HBSD amd64 1400096 X-PGP-Key: https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/blob/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc References: <20230829190258.uc67572553e4fq3v@mutt-hbsd> <8b49a01cfc32aa0a4bb9d0e9aebbe7be@Leidinger.net> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="t3q6xn7etqdmgxyz" Content-Disposition: inline In-Reply-To: <8b49a01cfc32aa0a4bb9d0e9aebbe7be@Leidinger.net> X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4RbbNB0ySsz4N82 --t3q6xn7etqdmgxyz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 30, 2023 at 06:55:14AM +0200, Alexander Leidinger wrote: > Am 2023-08-29 21:02, schrieb Shawn Webb: >=20 > > Back in 2019, I had a similar issue: I needed access to be able to > > read/write to the system extended attribute namespace from within a > > jailed context. I wrote a rather simple patch that provides that > > support on a per-jail basis: > >=20 > > https://git.hardenedbsd.org/hardenedbsd/HardenedBSD/-/commit/96c85982b4= 5e44a6105664c7068a92d0a61da2a3 >=20 > You enabled it by default. I would assume you had a thought about the > implications... any memories about it? I hope you don't mind if I quote a response I wrote to another person on the list about the feature: =3D=3D=3D begin quote =3D=3D=3D In HardenedBSD's case, since we use filesystem extended attributes to toggle exploit mitigations on a per-application basis, there's now a conceptual security boundary between the host and the jail. Should the jail and the host share resources, like executables, a jailed process could toggle an exploit mitigation, and the toggle would bubble up to the host. So the next time the host executed /shared/app/executable/here, the security posture of the host would be affected. FreeBSD uses ELF header tagging, not filesystem extended attributes, to toggle exploit mitigations. So my description above is moot for FreeBSD users. I'm just hoping to share a unique perspective. =3D=3D=3D end quote =3D=3D=3D The main reason for enabling it by default in HardenedBSD is so that exploit mitigation toggles get applied to the application on `pkg install` (or `make install` in ports.) We have patches to our ports tree and have forked pkg to support the way we toggle exploit mitigations. So, I wanted to make sure that applications would behave the same in a jailed environment and the host... to avoid a POLA violation. >=20 > What I'm after is: > - What can go wrong if we enable it by default? I don't know if there's anything that could go wrong if FreeBSD was to enable it by default. I think it might be more of a downstream issue: those who have developed custom behavior backed by filesystem extended attributes. > - Why would we like to disable it (or any ideas why it is disabled by > default in FreeBSD)? I wouldn't want to dictate what approach FreeBSD takes, if any. I think the approach I've taken works well for HardenedBSD. But the FreeBSD community might prefer an entirely different approach altogether. >=20 > Depending in the answers we may even use a simpler patch and have it allo= wed > in jails even without the possibility to configure it. I also wonder if extended attributes could be taught to (optionally?) scope extended attributes to each jail. That might be a topic worth exploring some day for someone. Just a random thought. :-) Thanks, --=20 Shawn Webb Cofounder / Security Engineer HardenedBSD https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A= 4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc --t3q6xn7etqdmgxyz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAmTvpUAACgkQ/y5nonf4 4frJsA/9HUv37Ws/kNyDJPCclIrBp+roiKSt4t/z5W8JR9hPWMKOgDIjU674ZayD vnOyhvIgFX3aP9sp0VNFCF5JLcMXBln23FVkxszdNxtBhD8qIISboJz+pgVwNP8k ZYL6uVC0KikZz+SzSJiFhmU1apenGN5Df7SUF8GqOvmgOvpd10bozBNjzkqCP2Wi DMXJ5M3WDC5d5XTzjkb4PG9aplL7FC4Xs5plMENjbhwIZK8Nhnyx13HXfiRvgTxG /4faQ8I9XfZjDKmG3cvpjtSUQx/h6NCgs3gedkdQ74bnFqS4oZFwB4Pr75cRTQ+U nf6HHimXuhmtU75vztOfkQDwSh28HLp7AgJt2VrMGHSYMr2+KmFoLWcQKTKWd99M X/tOraqR9Tz3ZtwUrOVViv7YH9cVeXlO89TUduoOWnoHBWKipu+lmUyFp6+POmoa DQ8RcOR7ydPbo5eNhnl/RdZgQbU7yMVe3MlYnPw0gLp+PVs0Ow1OemfNFtoHdOVn SD7bip3Hs6YVVXyRxnnUjfUzSyfeUuNjnYoGhWeRCJRoTmV7WFuZWM+6L3AC7pkP czULanGDoyneDRZXqOvK0ZSrWDKqAhpInUBha0ti3VTjQ1i8SHfTWJqFASOafTdu pQELJqgKzJYmnvqWtLvm2VrwChAgkVGvTR4c1JauQyGQTyfLAe8= =bOlk -----END PGP SIGNATURE----- --t3q6xn7etqdmgxyz-- From nobody Wed Aug 30 20:44:06 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Rbbqt2rYlz4sSpc; Wed, 30 Aug 2023 20:44:10 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) (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 4Rbbqt0fM8z4RZ2; Wed, 30 Aug 2023 20:44:09 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; none Received: from shw-obgw-4002a.ext.cloudfilter.net ([10.228.9.250]) by cmsmtp with ESMTP id bMPjqDq5m6NwhbS2qq8GE6; Wed, 30 Aug 2023 20:44:08 +0000 Received: from spqr.komquats.com ([70.66.152.170]) by cmsmtp with ESMTPA id bS2oqq0iIyAOebS2pqSJ1m; Wed, 30 Aug 2023 20:44:08 +0000 X-Authority-Analysis: v=2.4 cv=e5oV9Il/ c=1 sm=1 tr=0 ts=64efaa18 a=y8EK/9tc/U6QY+pUhnbtgQ==:117 a=y8EK/9tc/U6QY+pUhnbtgQ==:17 a=kj9zAlcOel0A:10 a=UttIx32zK-AA:10 a=6I5d2MoRAAAA:8 a=YxBL1-UpAAAA:8 a=EkcXrb_YAAAA:8 a=G3LvnqETKYGWPXOmKJ0A:9 a=CjuIK1q_8ugA:10 a=IjZwj45LgO3ly-622nXo:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=LK5xJRSDVpKd5WXXoEvA:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id 489513F3; Wed, 30 Aug 2023 13:44:06 -0700 (PDT) Received: by slippy.cwsent.com (Postfix, from userid 1000) id 24FDC7E; Wed, 30 Aug 2023 13:44:06 -0700 (PDT) X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.8+dev Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Glen Barber cc: Mark Millard , Current FreeBSD , FreeBSD-STABLE Mailing List , freebsd-arch , Martin Matuska Subject: Re: Possible regression in main causing poor performance In-reply-to: <20230830184426.GM1219@FreeBSD.org> References: <8A267B4A-1B7B-4D61-AA57-8E3156470617@yahoo.com> <1B47E578-693D-4690-A577-947E8C9140B5@yahoo.com> <1C3E6B34-2937-46C6-862E-5B988B8A3A43@yahoo.com> <20230830184426.GM1219@FreeBSD.org> Comments: In-reply-to Glen Barber message dated "Wed, 30 Aug 2023 18:44:26 -0000." List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 30 Aug 2023 13:44:06 -0700 Message-Id: <20230830204406.24FDC7E@slippy.cwsent.com> X-CMAE-Envelope: MS4xfAIZgZK9dm0saB4ec+gMFcbO83tSNfdoT8BEl8As9ziKStuWbB191AZNIYDzQOPnur3qFe/zvBkY1az9Y+oYUPqRdRBflr0DQY1MqKLLCZrMhL4avn1I +sLC1r+dSrTMYHrdniAYqObqxMSBEcETwyWkF4hUj6prGhFJA6UWQ3tRn3WXfrKw/G/mdofxpBFTP/V9D17K3qhTsscVO3z9RhxGOpBe8F4CN4FmWDSDcYs8 Z0TmN3VL+IdixhM+zBbKznzeIm13OVeCWB8jvmT+4sBVlIWlpzegQ1wmYJAU/6V+S1Oo1zBjlVMiHmdC7ftJI9ckpx3QL6a+htBcgcsOL41XZV6ZpyyhfAZE nKZ7fJt0jzz2Lh0zm2rS+d4rRaqf+w== X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US] X-Rspamd-Queue-Id: 4Rbbqt0fM8z4RZ2 In message <20230830184426.GM1219@FreeBSD.org>, Glen Barber writes: > > > On Mon, Aug 28, 2023 at 06:06:09PM -0700, Mark Millard wrote: > > Has any more been learned about this? Is it still an issue? > >=20 > > I rebooted the machine before the ALPHA3 builds with no other changes, > and the overall times for 14.x builds went back to normal. I do not > like to experiment with builders during a release cycle, but as we are > going to have 15.x snapshots available moving forward, I will not reboot > that machine next week in hopes to get some useful data. > > If my memory serves correctly, mm@ has a pending ZFS import from > upstream for both main and stable/14 pending. Whether or not that will > resolve any issue here, I do not know. Two of my poudriere builder machines have experienced different panics since the ZFS import two days ago. The problems have been documented on the -current list. -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e^(i*pi)+1=0 From nobody Thu Aug 31 01:59:09 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RbkqV4VX4z4rWfd for ; Thu, 31 Aug 2023 01:59:18 +0000 (UTC) (envelope-from brian@sonicboom.org) Received: from sheehan.sonicboom.org (sheehan.sonicboom.org [69.75.45.53]) (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 4RbkqT2123z3Gmm for ; Thu, 31 Aug 2023 01:59:17 +0000 (UTC) (envelope-from brian@sonicboom.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of brian@sonicboom.org designates 69.75.45.53 as permitted sender) smtp.mailfrom=brian@sonicboom.org; dmarc=none Received: from [10.10.1.112] (rrcs-69-75-45-51.west.biz.rr.com [69.75.45.51]) by sheehan.sonicboom.org (Postfix) with ESMTPSA id 1DA8E3A0019C for ; Wed, 30 Aug 2023 18:59:10 -0700 (PDT) Message-ID: Date: Wed, 30 Aug 2023 18:59:09 -0700 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 To: freebsd-current@freebsd.org Content-Language: en-US From: brian whalen Subject: pkg problems with v15 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.79 / 15.00]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-1.00)[-0.997]; NEURAL_HAM_SHORT(-0.59)[-0.594]; R_SPF_ALLOW(-0.20)[+ip4:69.75.45.53:c]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_TLS_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:20001, ipnet:69.75.0.0/16, country:US]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; DMARC_NA(0.00)[sonicboom.org]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[brian]; RCVD_VIA_SMTP_AUTH(0.00)[]; BLOCKLISTDE_FAIL(0.00)[69.75.45.51:server fail,69.75.45.53:server fail]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4RbkqT2123z3Gmm root@f15:~ # pkg update pkg: Warning: Major OS version upgrade detected.  Running "pkg bootstrap -f" recommended Updating FreeBSD repository catalogue... pkg: http://pkgmir.geo.freebsd.org/FreeBSD:15:amd64/quarterly/meta.txz: Not Found repository FreeBSD has no meta file, using default settings pkg: http://pkgmir.geo.freebsd.org/FreeBSD:15:amd64/quarterly/packagesite.pkg: Not Found pkg: http://pkgmir.geo.freebsd.org/FreeBSD:15:amd64/quarterly/packagesite.txz: Not Found Unable to update repository FreeBSD Error updating repositories! root@f15:~ # pkg bootstrap -f The package management tool is not yet installed on your system. Do you want to fetch and install it now? [y/N]: y Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:15:amd64/quarterly, please wait... pkg: Error fetching http://pkg.FreeBSD.org/FreeBSD:15:amd64/quarterly/Latest/pkg.txz: Operation timed out A pre-built version of pkg could not be found for your system. Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'. The pkg package is installed; I put it there while the system was at 13.2 root@f15:~ # pkg info pkg: Warning: Major OS version upgrade detected.  Running "pkg bootstrap -f" recommended bash-5.2.15                    GNU Project's Bourne Again SHell ca_root_nss-3.89.1             Root certificate bundle from the Mozilla Project ccache-3.7.12_4                Tool to minimize the compile time of C/C++ programs curl-8.1.2                     Command line tool and library for transferring data with URLs expat-2.5.0                    XML 1.0 parser written in C fusefs-libs-2.9.9_2            FUSE allows filesystem implementation in userspace gettext-runtime-0.21.1         GNU gettext runtime libraries and programs git-2.41.0                     Distributed source code management tool glib-2.76.4_1,2                Some useful routines of C programming (current stable version) indexinfo-0.3.1                Utility to regenerate the GNU info page index libdnet-1.13_3                 Simple interface to low level networking routines libffi-3.4.4                   Foreign Function Interface libiconv-1.17                  Character set conversion library libidn2-2.3.4                  Implementation of IDNA2008 internationalized domain names libmspack-0.11alpha            Library for Microsoft compression formats libnghttp2-1.53.0              HTTP/2.0 C Library libpsl-0.21.2_3                C library to handle the Public Suffix List libssh2-1.11.0,3               Library implementing the SSH2 protocol libunistring-1.1               Unicode string library libxml2-2.10.4                 XML parser library for GNOME mpdecimal-2.5.1                C/C++ arbitrary precision decimal floating point libraries open-vm-tools-nox11-12.2.5,2   Open VMware tools for FreeBSD VMware guests (without X11) p5-Authen-SASL-2.16_1          Perl5 module for SASL authentication p5-CGI-4.57                    Handle Common Gateway Interface requests and responses p5-Clone-0.46                  Recursively copy Perl datatypes p5-Digest-HMAC-1.04            Perl5 interface to HMAC Message-Digest Algorithms p5-Encode-Locale-1.05          Determine the locale encoding p5-Error-0.17029               Error/exception handling in object-oriented programming style p5-GSSAPI-0.28_2               Perl extension providing access to the GSSAPIv2 library p5-HTML-Parser-3.81            Perl5 module for parsing HTML documents p5-HTML-Tagset-3.20_1          Some useful data table in parsing HTML p5-HTTP-Date-6.05              Conversion routines for the HTTP protocol date formats p5-HTTP-Message-6.44           Representation of HTTP style messages p5-IO-HTML-1.004               Open an HTML file with automatic charset detection p5-IO-Socket-IP-0.41           Drop-in replacement for IO::Socket::INET supporting IPv4 and IPv6 p5-IO-Socket-SSL-2.083_1       Perl5 interface to SSL sockets p5-LWP-MediaTypes-6.04         Guess media type for a file or a URL p5-Mozilla-CA-20221114         Perl extension for Mozilla CA cert bundle in PEM format p5-Net-SSLeay-1.92             Perl5 interface to SSL p5-TimeDate-2.33,1             Perl5 module containing a better/faster date parser for absolute dates p5-URI-5.19                    Perl5 interface to Uniform Resource Identifier (URI) references pcre2-10.42                    Perl Compatible Regular Expressions library, version 2 perl5-5.32.1_3                 Practical Extraction and Report Language pkg-1.19.2                     Package manager python39-3.9.17                Interpreted object-oriented programming language readline-8.2.1                 Library for editing command lines as they are typed From nobody Thu Aug 31 02:00:18 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Rbkrh3bP1z4rX49 for ; Thu, 31 Aug 2023 02:00:20 +0000 (UTC) (envelope-from brian@sonicboom.org) Received: from sheehan.sonicboom.org (2603-8001-7e00-f435-0000-0000-0000-1000.res6.spectrum.com [IPv6:2603:8001:7e00:f435::1000]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rbkrg2wNXz3JFG for ; Thu, 31 Aug 2023 02:00:19 +0000 (UTC) (envelope-from brian@sonicboom.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=softfail (mx1.freebsd.org: 2603:8001:7e00:f435::1000 is neither permitted nor denied by domain of brian@sonicboom.org) smtp.mailfrom=brian@sonicboom.org; dmarc=none Received: from [10.10.1.112] (rrcs-69-75-45-51.west.biz.rr.com [69.75.45.51]) by sheehan.sonicboom.org (Postfix) with ESMTPSA id 6FAD03A0019C for ; Wed, 30 Aug 2023 19:00:18 -0700 (PDT) Message-ID: Date: Wed, 30 Aug 2023 19:00:18 -0700 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: user problems when upgrading to v15 Content-Language: en-US From: brian whalen To: freebsd-current@freebsd.org References: <5c5c3ea5-5b14-d969-f55f-b894e4983359@sonicboom.org> In-Reply-To: <5c5c3ea5-5b14-d969-f55f-b894e4983359@sonicboom.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.72 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.72)[-0.716]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_TLS_ALL(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:20001, ipnet:2603:8000::/28, country:US]; FROM_EQ_ENVFROM(0.00)[]; BLOCKLISTDE_FAIL(0.00)[2603:8001:7e00:f435::1000:server fail,69.75.45.51:server fail]; DMARC_NA(0.00)[sonicboom.org]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[brian]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; R_SPF_SOFTFAIL(0.00)[~all:c]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4Rbkrg2wNXz3JFG I have seen this twice. Once when going from 13.2 to current 14.0 alpha1 and then to 15, and a 2nd time when going from 13.2 to 15. I have a user that is a member of the wheel group. After I upgraded and ran the post reboot commands in single user mode I was alerted to merge conflicts. I ran etcupdate resolve accepting the remote option and saw 2 issues. The root user's password was deleted. The non root user no longer existed. From nobody Thu Aug 31 02:19:08 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RblGW2HQ9z4rY8s for ; Thu, 31 Aug 2023 02:19:15 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RblGV21CRz3NGQ for ; Thu, 31 Aug 2023 02:19:14 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=rUVbJFI+; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::536 as permitted sender) smtp.mailfrom=grahamperrin@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-52a4b62c2f5so312974a12.1 for ; Wed, 30 Aug 2023 19:19:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693448352; x=1694053152; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:subject:from:content-language :references:to:user-agent:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=dCyxkg1Z65LvoJtShyX21a4iyw6s62JIyD7vDNaHF0A=; b=rUVbJFI+NvFRZ9OxO7gD1dvb2B20FNb7DwzQEpfA5J/niyiqz3YNf7xjnmXoZCW1xN p8ExCS4Z7BSCTBCFwyQGdkscFpdj+f5Sjt4oNdTddTw1+l3WjM0qy5frMKppbG6JbxLg UKyT/LibbpcYavjf8qlaSRFQTSeSxEjpqtdu3XywcZs/iUyXF7gjc/M38X7araLCuNZk 4117itrMBXWcqe79038HvNtMzK47q2mv+YDWxGB+hU4cYWeeiR562I1k3zK4tw60GIx0 LsPP8DHJAejEXjWnIGAlPBhv4plvLuZCwCYav3/7ktyorwjtDrB1nCLMkZK/dGw9Blul HZVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693448352; x=1694053152; h=content-transfer-encoding:in-reply-to:subject:from:content-language :references:to:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=dCyxkg1Z65LvoJtShyX21a4iyw6s62JIyD7vDNaHF0A=; b=SMZ0dEiG5KPeO9L+8DsnsXvAixJf3szHvBk8GS4/93srROyM7nk26Mjnca8Qh7eicq TVBfFrf/Iv6otwgGBRNd5z75+KzYzcYwY5fTwhzmuwp6LtnHXvUJaYdX9VSEcGxsVmSU uBqFer2d32ouk9guGDd/0QtGHXyK1IEONKbtYuH8nkhvzTbLCY+zEbTfSQJ5IUBn9TsL FJRD9GFyLWb9p6AE3dGt8sBYr+YjFa4O9uRhmKiwDm9dOs9nXpOkEPAj72yGiiikT6pZ BpD4atcArVftubotFFSpBov23Iomf4rmWCzFnJyTHMC/wLzwd7BAltdlznl8X59EyohT yzdA== X-Gm-Message-State: AOJu0Yzo8G8/z60VfOFxpu3gczvAQKb0rEOfi1Q7zLeUwV2c+kfSASYn 6FtAtEspiij0BAdsI5/AlE0An+jHLW4= X-Google-Smtp-Source: AGHT+IFOHMI0dtsp8OPS7IlWfVSUWueOy/lMKcLSNlTKbFXNBq8qn/q4BcK19ksTPULX3OHA7DUpTQ== X-Received: by 2002:a05:6402:2c4:b0:527:24bb:d29 with SMTP id b4-20020a05640202c400b0052724bb0d29mr2835725edx.21.1693448351957; Wed, 30 Aug 2023 19:19:11 -0700 (PDT) Received: from ?IPV6:2001:470:1f1c:a0::2? (tunnel642390-pt.tunnel.tserv1.lon2.ipv6.he.net. [2001:470:1f1c:a0::2]) by smtp.gmail.com with ESMTPSA id d25-20020a056402079900b005224f840130sm226853edy.60.2023.08.30.19.19.09 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 30 Aug 2023 19:19:10 -0700 (PDT) Message-ID: <7bb46b44-1bc4-94fb-a43d-88222ac5b17a@gmail.com> Date: Thu, 31 Aug 2023 03:19:08 +0100 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 To: freebsd-current@freebsd.org References: Content-Language: en-US From: Graham Perrin Subject: Re: pkg problems with v15 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[text/plain]; FREEFALL_USER(0.00)[grahamperrin]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; BLOCKLISTDE_FAIL(0.00)[2001:470:1f1c:a0::2:server fail,2a00:1450:4864:20::536:server fail]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::536:from]; RCVD_VIA_SMTP_AUTH(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4RblGV21CRz3NGQ On 31/08/2023 02:59, brian whalen wrote: > … > pkg: > http://pkgmir.geo.freebsd.org/FreeBSD:15:amd64/quarterly/meta.txz: Not > Found > … For 15.0-CURRENT you should use latest; don't expect quarterly. Also, it's probably too soon for latest. 1. 2. seek (filter) main-amd64 3. click the 'Started (UTC)' column heading until you get reverse chronological order. Whilst is 'stopped:done:', I can't guess whether the end result was suitable for general end use. From nobody Thu Aug 31 02:21:09 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RblJp5c0fz4rYQJ for ; Thu, 31 Aug 2023 02:21:14 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RblJn5HXbz3PWb for ; Thu, 31 Aug 2023 02:21:13 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=CwATk9Ks; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::534 as permitted sender) smtp.mailfrom=grahamperrin@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-5298e43bb67so582215a12.1 for ; Wed, 30 Aug 2023 19:21:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693448471; x=1694053271; darn=freebsd.org; h=in-reply-to:from:references:to:content-language:subject:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=t0yay5czctoxRe36b5tc7EHeMsAx326S9+eu1i0thig=; b=CwATk9KsJn0ehFrcTG3McZLVQnhwRP0T8O5AGvyDRDYNOPk8SoXsxhSae0hUc20X3E xTQjhJZyTOBpu6jeofAMl5QPKwWFW23U0cbJoSvzwyNYIi8FsOwdUa/el0XmgZ2jrc5L Z5V1fKXk0h7GUjoDpoAKYx3DewzioH8XIYIslPrhECm/eDMmCTaHE0FfIPUhrkdIdlSP asuO7Rq0VyQTeS4lbaOBXKOqScE1lrDycL1IQKjfHIsUK5G8UNPA83KvVMY/cxdwIlMY oUilU3ezOW8H1I2zlIF6iOYYykxTrcx8Lgkq3AIuCmLjMxAC6IwDBPLlId866W1D21U+ dpkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693448471; x=1694053271; h=in-reply-to:from:references:to:content-language:subject:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=t0yay5czctoxRe36b5tc7EHeMsAx326S9+eu1i0thig=; b=XLFXGc3qmop5YrKeanI1XKWfvMUc2afC9c8ddBDmJ6HFbJy2OOmcSdh29RHwJtsWpF ikLKdfThvimbCRJ4IP1yrpty8uTiqeoTVQmdSft3NLUzHkRWI8d31ADIkeJ79wCMkFKl ZzMWKoqErs1GPQnp2KDz0v3/mcj6yOOjyeRm8d0Fkn/6Flt8EYouvuP2DGC4NS0YDGac XLYn/70L848lSrIABLvM0uB4oXwwr0uW5HvdKYmMp2WlcBFRXPxrSt11NZg4X5jgk1EX IkJg2yTiAXEH1/vUvhnXIK4ee7/v2ewl5C6GxINJ8dNP7SYvPOEuw+TTHHXUGOxPj+mX XFfg== X-Gm-Message-State: AOJu0YzFgwwzeSAfQGe5IL8WT5wOTplK07JrRIE91rn9Ota2AV93rUTT sxo350bKA9c4juhFx+uyskhRqrS0fgY= X-Google-Smtp-Source: AGHT+IGj6SuuNUz8Vcv/k2rTjfOjnAvw2g5FtpwyfPvbKvaM5BBim62ygaMJPBSd43rxeVq3uITjzw== X-Received: by 2002:aa7:c6c8:0:b0:521:d2ab:e4df with SMTP id b8-20020aa7c6c8000000b00521d2abe4dfmr1514700eds.19.1693448471447; Wed, 30 Aug 2023 19:21:11 -0700 (PDT) Received: from ?IPV6:2001:470:1f1c:a0::2? (tunnel642390-pt.tunnel.tserv1.lon2.ipv6.he.net. [2001:470:1f1c:a0::2]) by smtp.gmail.com with ESMTPSA id d17-20020aa7ce11000000b00522572f323dsm238675edv.16.2023.08.30.19.21.09 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 30 Aug 2023 19:21:10 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------JBV6giVl0mvGHnCz0lZQc51O" Message-ID: <46ee9e3b-adeb-4cd1-5fcc-43547c5c7231@gmail.com> Date: Thu, 31 Aug 2023 03:21:09 +0100 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: user problems when upgrading to v15 Content-Language: en-US To: freebsd-current@freebsd.org References: <5c5c3ea5-5b14-d969-f55f-b894e4983359@sonicboom.org> From: Graham Perrin In-Reply-To: X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FREEFALL_USER(0.00)[grahamperrin]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; BLOCKLISTDE_FAIL(0.00)[2a00:1450:4864:20::534:server fail,2001:470:1f1c:a0::2:server fail]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::534:from]; RCVD_VIA_SMTP_AUTH(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4RblJn5HXbz3PWb This is a multi-part message in MIME format. --------------JBV6giVl0mvGHnCz0lZQc51O Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 31/08/2023 03:00, brian whalen wrote: > … I ran etcupdate resolve accepting the remote option and saw 2 issues. > > The root user's password was deleted. > > The non root user no longer existed. Logically, remote does not include things such as your root user's password. --------------JBV6giVl0mvGHnCz0lZQc51O Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
On 31/08/2023 03:00, brian whalen wrote:
… I ran etcupdate resolve accepting the remote option and saw 2 issues.

The root user's password was deleted.

The non root user no longer existed.
Logically, remote does not include things such as your root user's password.
--------------JBV6giVl0mvGHnCz0lZQc51O-- From nobody Thu Aug 31 02:31:21 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RblXX3KV7z4rYwc for ; Thu, 31 Aug 2023 02:31:24 +0000 (UTC) (envelope-from brian@sonicboom.org) Received: from sheehan.sonicboom.org (2603-8001-7e00-f435-0000-0000-0000-1000.res6.spectrum.com [IPv6:2603:8001:7e00:f435::1000]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RblXW4nPDz3Qn6 for ; Thu, 31 Aug 2023 02:31:23 +0000 (UTC) (envelope-from brian@sonicboom.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=softfail (mx1.freebsd.org: 2603:8001:7e00:f435::1000 is neither permitted nor denied by domain of brian@sonicboom.org) smtp.mailfrom=brian@sonicboom.org; dmarc=none Received: from [10.10.1.112] (rrcs-69-75-45-51.west.biz.rr.com [69.75.45.51]) by sheehan.sonicboom.org (Postfix) with ESMTPSA id 82AC33A0019C for ; Wed, 30 Aug 2023 19:31:22 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------28exJugWHCoepP691UFuf9vW" Message-ID: <222e96ba-70b6-e976-8e32-d3726dde18b1@sonicboom.org> Date: Wed, 30 Aug 2023 19:31:21 -0700 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: user problems when upgrading to v15 Content-Language: en-US To: freebsd-current@freebsd.org References: <5c5c3ea5-5b14-d969-f55f-b894e4983359@sonicboom.org> <46ee9e3b-adeb-4cd1-5fcc-43547c5c7231@gmail.com> From: brian whalen In-Reply-To: <46ee9e3b-adeb-4cd1-5fcc-43547c5c7231@gmail.com> X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.71 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.71)[-0.711]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_COUNT_ONE(0.00)[1]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; ASN(0.00)[asn:20001, ipnet:2603:8000::/28, country:US]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DMARC_NA(0.00)[sonicboom.org]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[brian]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; R_SPF_SOFTFAIL(0.00)[~all:c]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4RblXW4nPDz3Qn6 This is a multi-part message in MIME format. --------------28exJugWHCoepP691UFuf9vW Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Understood. I guess I was expecting the update process of etcupdate -p && make installworld && etcupdate -B to not whack existing users or delete an existing root user's password. I accepted the remote and then recreated users and reset passwords and am retrying this. BW On 8/30/2023 7:21 PM, Graham Perrin wrote: > On 31/08/2023 03:00, brian whalen wrote: >> … I ran etcupdate resolve accepting the remote option and saw 2 issues. >> >> The root user's password was deleted. >> >> The non root user no longer existed. > Logically, remote does not include things such as your root user's > password. --------------28exJugWHCoepP691UFuf9vW Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Understood. I guess I was expecting the update process of etcupdate -p && make installworld && etcupdate -B to not whack existing users or delete an existing root user's password. I accepted the remote and then recreated users and reset passwords and am retrying this.

BW

On 8/30/2023 7:21 PM, Graham Perrin wrote:
On 31/08/2023 03:00, brian whalen wrote:
… I ran etcupdate resolve accepting the remote option and saw 2 issues.

The root user's password was deleted.

The non root user no longer existed.
Logically, remote does not include things such as your root user's password.
--------------28exJugWHCoepP691UFuf9vW-- From nobody Thu Aug 31 02:35:09 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Rbld00q2Cz4rZTW for ; Thu, 31 Aug 2023 02:35:16 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rblcy682Bz3S57 for ; Thu, 31 Aug 2023 02:35:14 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=NXterAbQ; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::22c as permitted sender) smtp.mailfrom=grahamperrin@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2bcb89b4767so6566381fa.3 for ; Wed, 30 Aug 2023 19:35:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693449311; x=1694054111; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=3R8kAEim3SOzkYMteo1pFwHCn7VQfvD0J3xvEEm7fac=; b=NXterAbQZE6QhrHaE+sf+bz9tooeIGtaG6dnHfAdzvyfIs3z3GYmIiO6VjFh0u082V Edk6TuHsv8/XIsL4+W5BcC5pOkHBDao2eTtxZ5CCXvD8a3XhCVIzKVwp8r+oqPDgKP7R 82Ts+QjlQPLRIxw6rj1gk8RjnZrmywjMnJBxJqQ/VV+093Ju80lvqnSB3rrjBaEeUNsT Q1NJRhqB2fkgVoQl/bo1NSs/p5AdDRy5vU4+QL3Hsa4DX0DNtfD2rsUhchOGeynt8GzM 6Y/1JM4virc1HKh+mt5n5LE7OjA2komB6sPQMBY6n7SrEYFGwA+c01P9oHnKWuUdnaV6 8G9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693449311; x=1694054111; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3R8kAEim3SOzkYMteo1pFwHCn7VQfvD0J3xvEEm7fac=; b=X2L4PSK40yqRSUJng3hohAJjN18r8QhEtQUtBitucgaZaqjJkUy5Mc010HRY+Yvt9N OddnY/vat0Uz10fhAzmp+0cSrZyWQ0yp4FEqsougrwcqaq7E+5xUuZb/USneZlGiPuP/ btOqhlmTsHh7Hec2bN0ZBMzbBeDtKR1hJq/S611vColKp6aBkUmE5cH4FF+L69AOnnUh mFOS4UETvVPSPHVaYC9xV/4eLsWhPe41/DIdIQOJgyzOhoiHJmu+kVu0w157rEZBDQQm NDFAA7ZPU3ZQeGGROVJX8wnQ0wSurwdYbksBtPkf8xRye/Amq6FxI0MyaVgksACaUA0a 0Lvg== X-Gm-Message-State: AOJu0YyYpPObprGJTDGpH434nzsmpkbQcWFNTwi8FAJBiN8/eiEugGfd zDyBa4HZqFc1+WpJj8ZNAn3A+pZ2y120LQ== X-Google-Smtp-Source: AGHT+IE4bVuL36CjawJloQtuNyQfH3PUPZxfHQrZeNEdY5XPkVdbGPB6Z71LsleixXSgpZQ9YIrHOQ== X-Received: by 2002:a2e:890d:0:b0:2ba:7b3b:4b7d with SMTP id d13-20020a2e890d000000b002ba7b3b4b7dmr3227842lji.17.1693449311219; Wed, 30 Aug 2023 19:35:11 -0700 (PDT) Received: from ?IPV6:2001:470:1f1c:a0::2? (tunnel642390-pt.tunnel.tserv1.lon2.ipv6.he.net. [2001:470:1f1c:a0::2]) by smtp.gmail.com with ESMTPSA id t11-20020a1709064f0b00b009932337747esm214480eju.86.2023.08.30.19.35.10 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 30 Aug 2023 19:35:10 -0700 (PDT) Message-ID: Date: Thu, 31 Aug 2023 03:35:09 +0100 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: user problems when upgrading to v15 Content-Language: en-US To: freebsd-current@freebsd.org References: <5c5c3ea5-5b14-d969-f55f-b894e4983359@sonicboom.org> <46ee9e3b-adeb-4cd1-5fcc-43547c5c7231@gmail.com> <222e96ba-70b6-e976-8e32-d3726dde18b1@sonicboom.org> From: Graham Perrin In-Reply-To: <222e96ba-70b6-e976-8e32-d3726dde18b1@sonicboom.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[grahamperrin]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::22c:from]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; MID_RHS_MATCH_FROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4Rblcy682Bz3S57 On 31/08/2023 03:31, brian whalen wrote: > Understood. I guess I was expecting the update process of etcupdate -p > && make installworld && etcupdate -B to not whack existing users or > delete an existing root user's password. I accepted the remote and > then recreated users and reset passwords and am retrying this. > > BW > Thanks. For clarity: did the routine /not/ prompt you to edit the file (in which, you would have seen conflict markers etc.)? > On 8/30/2023 7:21 PM, Graham Perrin wrote: >> On 31/08/2023 03:00, brian whalen wrote: >>> … I ran etcupdate resolve accepting the remote option and saw 2 issues. >>> >>> The root user's password was deleted. >>> >>> The non root user no longer existed. >> Logically, remote does not include things such as your root user's >> password. From nobody Thu Aug 31 16:39:13 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Rc6Lz2qKbz4rM3k for ; Thu, 31 Aug 2023 16:39:23 +0000 (UTC) (envelope-from herbert@gojira.at) Received: from mout-u-107.mailbox.org (mout-u-107.mailbox.org [80.241.59.207]) (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 4Rc6Lx6s4lz4Nfd for ; Thu, 31 Aug 2023 16:39:21 +0000 (UTC) (envelope-from herbert@gojira.at) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gojira.at header.s=MBO0001 header.b=fil1mrB2; spf=pass (mx1.freebsd.org: domain of herbert@gojira.at designates 80.241.59.207 as permitted sender) smtp.mailfrom=herbert@gojira.at; dmarc=none Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-107.mailbox.org (Postfix) with ESMTPS id 4Rc6Lr6SMZz9sR0 for ; Thu, 31 Aug 2023 18:39:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gojira.at; s=MBO0001; t=1693499956; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=oQ1hTFYP11JcvWvtt468K3KA7Bo1vmLSSUiCNkFEdpk=; b=fil1mrB2h6glzx9IxnFX3gy/g5i81g5wfIZCjqdI6CrIoBk7THrlLqzsni6Q8D74/KD3Da tOir2kVSEeKoKcaQ4EuE0vtYr3M+XyKSiD8GjyqqdqNlnIJZgyfahBbwBclTxeL04qZXEh l/b1jxjgTApW/wyQJ8TI2uRuET9bqFlM7+PV91lFjzsq8AEpzup4yElykEPM9utuQ4yyiF 5AFGv0yEiR3fycLPjPGhMmXnkJ+TurATGbefTY3U7QxNvr2xBA/9de08IpdBwVfVfjk2kT Sb5Wyv6YA7pGdd/CSbICjGQNXngiBedKJkADwe/cCFZoeogX6/iZcjQ+VyHyqg== Date: Thu, 31 Aug 2023 18:39:13 +0200 Message-ID: <87h6ofkvym.wl-herbert@gojira.at> From: "Herbert J. Skuhra" To: current@FreeBSD.org Subject: Re: net/mpd5 on stable/14 - COMPAT_FREEBSD12 required? In-Reply-To: <87zg28prqx.wl-herbert@gojira.at> References: <871qfkr747.wl-herbert@gojira.at> <87zg28prqx.wl-herbert@gojira.at> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Spamd-Bar: - X-Spamd-Result: default: False [-1.60 / 15.00]; MID_CONTAINS_FROM(1.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; R_DKIM_ALLOW(-0.20)[gojira.at:s=MBO0001]; R_SPF_ALLOW(-0.20)[+ip4:80.241.56.0/21]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[80.241.59.207:from]; MLMMJ_DEST(0.00)[current@FreeBSD.org]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:199118, ipnet:80.241.56.0/21, country:DE]; RCVD_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; DMARC_NA(0.00)[gojira.at]; RCVD_TLS_ALL(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[gojira.at:+]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4Rc6Lx6s4lz4Nfd On Wed, 30 Aug 2023 15:46:46 +0200, "Herbert J. Skuhra" wrote: > > On Wed, 30 Aug 2023 15:29:28 +0200, "Herbert J. Skuhra" wrote: > > > > Hi, > > > > after updating from stable/13 to (main and later to) stable/14 > > net/mpd5 only connects to my ISP (VDSL with VLAN) if I enable "options > > COMPAT_FREEBSD12" in my kernel. Without I get only: > > > > Aug 30 15:08:06 gw mpd[59876]: [L1] PPPoE connection timeout after 9 seconds > > Aug 30 15:08:06 gw mpd[59876]: [L1] Link: DOWN event > > Aug 30 15:08:06 gw mpd[59876]: [L1] LCP: Down event > > Aug 30 15:08:06 gw mpd[59876]: [L1] Link: reconnection attempt 1 in 7 seconds > > Aug 30 15:08:14 gw mpd[59876]: [L1] Link: reconnection attempt 1 > > Aug 30 15:08:14 gw mpd[59876]: [L1] PPPoE: Connecting to '' > > Aug 30 15:08:23 gw mpd[59876]: [L1] PPPoE connection timeout after 9 seconds > > Aug 30 15:08:23 gw mpd[59876]: [L1] Link: DOWN event > > Aug 30 15:08:23 gw mpd[59876]: [L1] LCP: Down event > > [..] > > > > I guess the problem is: > > > > Without "COMPAT_FREEBSD12" vlanproto = 0x0000. If I run "ifconfig > > vlan31 vlanproto 802.1q" mpd5 works. > > Maybe this commit is related: > > commit afbb64f1d85b7d8c2938031c3567946b5d10da4f > Author: Alexander V. Chernikov > Date: Sun Apr 11 17:47:03 2021 +0100 > > Fix vlan creation for the older ifconfig(8) binaries. > > Reported by: allanjude > MFC after: immediately > > ? On stable/13 (GENERIC without COMPAT_FREEBSD12): # ifconfig vlan99 create ==> vlanproto: 0x0000 # ifconfig vlan99 vlan 99 vlandev igb0 ==> vlanproto: 802.1q # ifconfig vlan99 destroy # ifconfig vlan99 create vlan 99 vlandev igb0 ==> vlanproto: 802.1q On stable/14 or main (GENERIC without COMPAT_FREEBSD12): # ifconfig vlan99 create ==> vlanproto 0x0000 # ifconfig vlan99 vlan 99 vlandev igb0 ==> vlanproto 0x0000# # ifconfig vlan99 create vlan 99 vlandev igb0 ==> vlanproto: 802.1q I guess that's why the following lines in my /etc/rc.conf no longer work on stable/14 or main (without COMPAT_FREEBSD12): cloned_interfaces="vlan99" ifconfig_vlan99="vlan 99 vlandev igb0" I have to replace the ifconfig line with: ifconfig_vlan99="vlan 99 vlandev igb0 vlanproto 802.1q" It also works if I remove the following lines in sys/net/if_vlan.c: 1110 #ifdef COMPAT_FREEBSD12 1113 #endif 2265 #ifdef COMPAT_FREEBSD12 2268 #endif -- Herbert From nobody Thu Aug 31 18:42:14 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Rc94r2bBPz4rT63 for ; Thu, 31 Aug 2023 18:42:20 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rc94q1rGqz4Xrx for ; Thu, 31 Aug 2023 18:42:19 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=euq+6lJG; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::536 as permitted sender) smtp.mailfrom=grahamperrin@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-52bd9ddb741so1587183a12.0 for ; Thu, 31 Aug 2023 11:42:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693507337; x=1694112137; darn=freebsd.org; h=content-transfer-encoding:subject:from:content-language:to :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=K4W8byYj8h4tgXN+GW+ahSLXXCb45tur8Ik9ALTuga4=; b=euq+6lJGrSFmZLX/rRRmMIW3lEJaQxztX7AW8XDlz4ZVulAYiRQh+bstoSFw6EkYX1 NDjacgbbI/eNaSHJQK7H2YE4D7mDUp4OL2y4cAo3aAD5j49AO2M13939vblFDPNNeU8r zYrec0Hj/5QvFRj/ydXW5g0QAnJc2v47zNh63QVuuuUpHiSBOG6Pr1PvfIiulBBOW7sh S3QIJ01Ww1Jng2lHoZVRY08yEW8H34xmv4T0Wbu4m4UOwdsMeH27s4iolGcGDeMp76Dl ba4faN2VeUA8+NKKk1HTW/4kEI2SzAo6YBDBoNIg5I22bEj/j62N5PXx4ZsPGEyjWip1 PBLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693507337; x=1694112137; h=content-transfer-encoding:subject:from:content-language:to :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=K4W8byYj8h4tgXN+GW+ahSLXXCb45tur8Ik9ALTuga4=; b=SQ9uplpsmyD/wFkhuEkkMfv6Au77+g526j82OarUF5tZVc8MelN6/DPpUOujX590EG HNgNJ2AU/pWRCxfGOab5ZBbE4Zk6tq28ASDEeTV165kYO32iaPrwcIzivolVzP0twp91 GIxtZF7I5eHDKQef4P7cTA1PUzOjlPPSVeqtannufauuccdFEJDXGfg13vba6kts99s4 IvBFX4nbcD3xFrr1/dcPoE+lUDJ+5g19fmYb3RJxbRBArDOqE60mwmJu+Aak077KKmKd PaefS1xRRKtR94sxBVTU3fFmAXGO41gqvo0cixi9cmsQtibqN5Uxk4V5Jl/KjY0Bw/LD Nsew== X-Gm-Message-State: AOJu0YwjM3PcLkzUkPX4ViqfWTbxo+ataPBCZZjsC4MFBmBGoEpYBqz9 wPzQm95km5l0g7TvZ0eNeduX5mwQ/gPRXQ== X-Google-Smtp-Source: AGHT+IHYA9cY8a5kZk4AgXnLTGYlvIJpxr9QE2i9vmf05OcyhCc61SKEvWHvIU7bNFTKKfdJMf7FbA== X-Received: by 2002:a17:907:a0c6:b0:9a2:26d8:f184 with SMTP id hw6-20020a170907a0c600b009a226d8f184mr112331ejc.51.1693507337142; Thu, 31 Aug 2023 11:42:17 -0700 (PDT) Received: from [192.168.1.10] (80-42-66-93.dynamic.dsl.as9105.com. [80.42.66.93]) by smtp.gmail.com with ESMTPSA id lg11-20020a170906f88b00b00997d7aa59fasm1055610ejb.14.2023.08.31.11.42.16 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 31 Aug 2023 11:42:16 -0700 (PDT) Message-ID: <5a642c3d-6b32-4614-ad7d-40f72b92e537@gmail.com> Date: Thu, 31 Aug 2023 19:42:14 +0100 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 To: FreeBSD CURRENT Content-Language: en-US From: Graham Perrin Subject: Occasional supend/sleep failure Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[grahamperrin]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::536:from]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; MID_RHS_MATCH_FROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; TO_DN_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4Rc94q1rGqz4Xrx I have a suspend.sh script that aims to take three cache devices offline before sleep of the computer: % grep -v -e '# ' /etc/rc.suspend | uniq | grep -B 3 -A 2 suspend.sh #!/bin/sh # /usr/local/sbin/suspend.sh         echo "Usage: $0 [apm|acpi] [standby,suspend|1-4]" % grep -v -e '# ' /usr/local/sbin/suspend.sh | uniq #!/bin/sh while mount | grep Transcend 2>&1; do    zpool export Transcend    sleep 5 done zpool offline august gpt/cache1-august zpool offline august gpt/cache2-august zpool offline august gpt/cache3-august sync killall pulseaudio while fstat | grep -e dsp -e mixer 2>&1; do    fstat | grep -e dsp -e mixer | cut -w -f 3 | while read pid;       do kill -15 "$pid"    done done sysctl hw.snd.default_unit=1 % Below, it seems that sleep fails if a device is not detached. (Possibly if the offlining does not succeed, although I did check pool status shortly before suspend.) How can I more reliably ensure detachment before /etc/rc.suspend proceeds? Alternatively (ideally) is it possible for /etc/rc.suspend to _not_ proceed if detachment does not occur? Final lines in /var/log/messages before a forced stop of the computer: Aug 31 17:37:01 mowa219-gjp4-8570p-freebsd kernel: ugen1.8: at usbus1 (disconnected) Aug 31 17:38:46 mowa219-gjp4-8570p-freebsd kernel: vdev_geom_close_locked:352[1]: Closing access to gpt/cache1-august. Aug 31 17:38:46 mowa219-gjp4-8570p-freebsd kernel: vdev_geom_detach:315[1]: Detaching from gpt/cache1-august. Aug 31 17:38:46 mowa219-gjp4-8570p-freebsd kernel: vdev_geom_detach:326[1]: Destroying consumer for gpt/cache1-august. Aug 31 17:38:53 mowa219-gjp4-8570p-freebsd kernel: acpi0: suspend request timed out, forcing sleep now Aug 31 17:38:56 mowa219-gjp4-8570p-freebsd kernel: vdev_geom_close_locked:352[1]: Closing access to gpt/cache2-august. Aug 31 17:38:56 mowa219-gjp4-8570p-freebsd kernel: vdev_geom_detach:315[1]: Detaching from gpt/cache2-august. Aug 31 17:38:56 mowa219-gjp4-8570p-freebsd kernel: vdev_geom_detach:326[1]: Destroying consumer for gpt/cache2-august. Extract from /var/log/console.log after the next start: Aug 31 18:29:26 mowa219-gjp4-8570p-freebsd kernel: Enter full pathname of shell or RETURN for /bin/sh: Aug 31 18:29:26 mowa219-gjp4-8570p-freebsd kernel: # mount -uw / Aug 31 18:29:26 mowa219-gjp4-8570p-freebsd kernel: # zfs mount -a Aug 31 18:29:26 mowa219-gjp4-8570p-freebsd kernel: # zpool status -x Aug 31 18:29:26 mowa219-gjp4-8570p-freebsd kernel:   pool: august Aug 31 18:29:26 mowa219-gjp4-8570p-freebsd kernel:  state: ONLINE Aug 31 18:29:26 mowa219-gjp4-8570p-freebsd kernel: status: One or more devices has been taken offline by the administrator. Aug 31 18:29:26 mowa219-gjp4-8570p-freebsd kernel:      Sufficient replicas exist for the pool to continue functioning in a Aug 31 18:29:26 mowa219-gjp4-8570p-freebsd kernel:      degraded state. Aug 31 18:29:26 mowa219-gjp4-8570p-freebsd kernel: action: Online the device using 'zpool online' or replace the device with Aug 31 18:29:26 mowa219-gjp4-8570p-freebsd kernel:      'zpool replace'. Aug 31 18:29:26 mowa219-gjp4-8570p-freebsd kernel:   scan: scrub repaired 0B in 11:06:38 with 0 errors on Mon Jun 12 01:56:37 2023 Aug 31 18:29:26 mowa219-gjp4-8570p-freebsd kernel: config: Aug 31 18:29:26 mowa219-gjp4-8570p-freebsd kernel: Aug 31 18:29:26 mowa219-gjp4-8570p-freebsd kernel: NAME                 STATE     READ WRITE CKSUM Aug 31 18:29:26 mowa219-gjp4-8570p-freebsd kernel: august               ONLINE       0     0     0 Aug 31 18:29:26 mowa219-gjp4-8570p-freebsd kernel: ada0p3.eli         ONLINE       0     0     0 Aug 31 18:29:26 mowa219-gjp4-8570p-freebsd kernel:      cache Aug 31 18:29:26 mowa219-gjp4-8570p-freebsd kernel: gpt/cache2-august  OFFLINE      0     0     0 Aug 31 18:29:26 mowa219-gjp4-8570p-freebsd kernel: gpt/cache3-august  ONLINE       0     0     0 Aug 31 18:29:26 mowa219-gjp4-8570p-freebsd kernel: gpt/cache1-august  OFFLINE      0     0     0 Aug 31 18:29:26 mowa219-gjp4-8570p-freebsd kernel: Aug 31 18:29:26 mowa219-gjp4-8570p-freebsd kernel: errors: No known data errors From nobody Fri Sep 1 00:00:25 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RcJ7t0bV1z4rmYR; Fri, 1 Sep 2023 00:00:26 +0000 (UTC) (envelope-from salvadore@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RcJ7s3wGwz3XKs; Fri, 1 Sep 2023 00:00:25 +0000 (UTC) (envelope-from salvadore@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693526425; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=uxm8M3vDBP5+TYcFpoGJwp4tMFUO7XjSZkedYQJCFpg=; b=d1KUVDMGMzjr4TDiPREFxX8/EsQdZTGWNjTmAU6DdfJbzhl+cTWzZiQ4LDcQ+XivTf4keM 9JTGPoRN4TxpEcy/QMZ7/7OuyHZwq1jWKsNU7vHmf0TL93hAWhtuxIMQnjJ494LBUBYeTt WjpiAWVG9DVsG4+TB7AgM/BTL406sBN3/pPgdxepI7H9bcSuh7Gsrwl179lx+PhZ3YTcqj rO1CV3NFnLyhJjFl1fcmb4AiQShftH2iuGW5ceTB8wpozluGzgmq5CEhAQ7ODYKudZVYhk ksUmvieKJ39vCZQW31H/xz9QviylGaZfWrgpkrwuHgEEcfsOXR14lPNu3nIGeQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693526425; a=rsa-sha256; cv=none; b=bEtSucEn0IoF94zKbmCGD7TyYGujf/eYxXUULucgDjHyHXi8CZTqUUBnKXKnMyWN4LXEQ6 xINKF9zN5pApOvCR47pyZJI+2EoMvau0j9SCNhPC+rRRMTZY6zsO49dSKgbUzTQH1R+pHX /LYb67+THBe0ntKJz5UbqQyMos4zbhAsLFHFCRudEBzH3wx6Dc7osKRJtJQ+7K6iOduTiS 6TVqU+fL2i3bwREyA7bwHRcfsbMW8wNW2aLBg5OSvrHmKIuonVkW7nfMsihlNuiJBEwMvH qOkqfM7lmoSzHvWgtnb8SV0HEZHZfteRcejmzFa3jZzsv1gy63HhY6iO+CjTnA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693526425; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=uxm8M3vDBP5+TYcFpoGJwp4tMFUO7XjSZkedYQJCFpg=; b=Tzsr/HoIOAMNwAwYt6z9fiicl/OodxcskGHV0mB3Cm8JVDEO7KWoydgc6VBsEeJ3ChNyxK XAuqikVmlCp51VH5wYQlgHWS+5aQ+lSnVNIlSuBvWoZ9UTLllU/qIbUO/Tc1xSieCb9pqc BATzsHGth3VMDmUFDnvRKjaZgOrc9Gz7wCd1pdgSt/LA1TqI+epKzuiyZaZ3FJoCT23x4Y l5Omh4X1ThSmRzcd0/E7waIRM/asRq0ZEYYnXbvMEdXuWgfcjqBR9qOXHDdWbg5MhUqvgk FzmGFNR0ixZD5TzLB7aF01E3AZHQiI1jQefsZdwwRk/YKDiIaSPQ8fUDow1PLA== Received: by freefall.freebsd.org (Postfix, from userid 1472) id 4A0441EB23; Fri, 1 Sep 2023 00:00:25 +0000 (UTC) To: freebsd-status-calls@FreeBSD.org Subject: Call for 2023Q3 status reports Cc: freebsd-current@FreeBSD.org,freebsd-hackers@FreeBSD.org,devsummit@FreeBSD.org,soc-students@FreeBSD.org,soc-mentors@FreeBSD.org Message-Id: <20230901000025.4A0441EB23@freefall.freebsd.org> Date: Fri, 1 Sep 2023 00:00:25 +0000 (UTC) From: Lorenzo Salvadore List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Dear FreeBSD Community, The deadline for the next FreeBSD Status Report update is September, 30th 2023 for work done since the last round of quarterly reports: July 2023 - September 2023. I would like to remind you that reports are published on a quarterly basis and are usually collected during the last month of each quarter, You are also welcome to submit them even earlier if you want, and the earlier you submit them, the more time we have for reviewing. Status report submissions do not need to be very long. They may be about anything happening in the FreeBSD project and community, and they provide a great way to inform FreeBSD users and developers about work that is underway or has been completed. Report submissions are not limited to committers; anyone doing anything interesting and FreeBSD related can -- and should -- write one! The following methods are available to submit your reports: * submit a review on Phabricator and add the group "status" to the reviewers list. You should put your reports in the directory doc/website/content/en/status/report-2023-07-2023-09/ (create it if it is missing); * submit a pull request at . You should put your reports in the directory doc/website/content/en/status/report-2023-07-2023-09/ (create it if it is missing); * send an email to status-submissions@FreeBSD.org including your report. An AsciiDoc template is available at . We look forward to seeing your 2023Q3 reports! Thanks, Lorenzo Salvadore (on behalf of status@) From nobody Fri Sep 1 01:42:27 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RcLPh0cFJz4rspv for ; Fri, 1 Sep 2023 01:42:32 +0000 (UTC) (envelope-from brian@sonicboom.org) Received: from sheehan.sonicboom.org (2603-8001-7e00-f435-0000-0000-0000-1000.res6.spectrum.com [IPv6:2603:8001:7e00:f435::1000]) (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 4RcLPg1slpz4F5C for ; Fri, 1 Sep 2023 01:42:31 +0000 (UTC) (envelope-from brian@sonicboom.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=softfail (mx1.freebsd.org: 2603:8001:7e00:f435::1000 is neither permitted nor denied by domain of brian@sonicboom.org) smtp.mailfrom=brian@sonicboom.org; dmarc=none Received: from [10.10.1.112] (rrcs-69-75-45-51.west.biz.rr.com [69.75.45.51]) by sheehan.sonicboom.org (Postfix) with ESMTPSA id 2D7583A00582 for ; Thu, 31 Aug 2023 18:42:28 -0700 (PDT) Message-ID: Date: Thu, 31 Aug 2023 18:42:27 -0700 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 From: brian whalen Subject: Re: user problems when upgrading to v15 To: freebsd-current@freebsd.org References: <5c5c3ea5-5b14-d969-f55f-b894e4983359@sonicboom.org> <46ee9e3b-adeb-4cd1-5fcc-43547c5c7231@gmail.com> <222e96ba-70b6-e976-8e32-d3726dde18b1@sonicboom.org> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.994]; NEURAL_HAM_LONG(-0.99)[-0.989]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_ONE(0.00)[1]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; ASN(0.00)[asn:20001, ipnet:2603:8000::/28, country:US]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[sonicboom.org]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[brian]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; R_SPF_SOFTFAIL(0.00)[~all]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4RcLPg1slpz4F5C Repeating the entire process: I created a 13.2 vm with 6 cores and 8GB of ram. Ran freebsd-update fetch and install. Ran pkg install git bash ccache open-vm-tools-nox11 Used git clone to get current and ports source files. Edited /etc/make.conf to use ccache Ran make -j6 buildworld && make -j6 kernel I then rebooted in single user mode and did the next steps saving output to a file with > filename. etcupdate -p was pretty uneventful. It did  show the below and did not prompt to edit. root@f15:~ # less etcupdatep   C /etc/group   C /etc/master.passwd make installworld seemed mostly error free though I did see a nonzero status for a man page failed inn the man4 directory. etcupdate -B only showed the below. This was my first build after install. root@f15:~ # less etcupdateB Conflicts remain from previous update, aborting. If I type exit in single user mode to go multi user mode, the local user still works. After a reboot the local user still works. This local user can also sudo as expected. This wasn't the case for the previous build when I first reported this. However, if I run etcupdate resolve it is still presenting /etc/group and /etc/master/passwd as problems. If this is is expected behavior for current then no big deal. I just wasn't sure. Brian On 8/30/2023 7:35 PM, Graham Perrin wrote: > On 31/08/2023 03:31, brian whalen wrote: > >> Understood. I guess I was expecting the update process of etcupdate >> -p && make installworld && etcupdate -B to not whack existing users >> or delete an existing root user's password. I accepted the remote and >> then recreated users and reset passwords and am retrying this. >> >> BW >> > Thanks. > > For clarity: did the routine /not/ prompt you to edit the file (in > which, you would have seen conflict markers etc.)? > >> On 8/30/2023 7:21 PM, Graham Perrin wrote: >>> On 31/08/2023 03:00, brian whalen wrote: >>>> … I ran etcupdate resolve accepting the remote option and saw 2 >>>> issues. >>>> >>>> The root user's password was deleted. >>>> >>>> The non root user no longer existed. >>> Logically, remote does not include things such as your root user's >>> password. > From nobody Fri Sep 1 11:03:14 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RcZrm4bWQz4sN88 for ; Fri, 1 Sep 2023 11:03:20 +0000 (UTC) (envelope-from garyj@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RcZrj48zxz4D7d for ; Fri, 1 Sep 2023 11:03:17 +0000 (UTC) (envelope-from garyj@gmx.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.de header.s=s31663417 header.b=eKyLN4VH; spf=pass (mx1.freebsd.org: domain of garyj@gmx.de designates 212.227.15.18 as permitted sender) smtp.mailfrom=garyj@gmx.de; dmarc=pass (policy=none) header.from=gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1693566194; x=1694170994; i=garyj@gmx.de; bh=iG+/czx4QcHIc8kb+jP/s2XkFtnBgkVJ0bM/WaE6XTQ=; h=X-UI-Sender-Class:Date:From:To:Subject:Reply-To; b=eKyLN4VHfnaHw+tW0lQus9c2aHEBXQgnkj71E7Asvnvpm+kOt7yzMuKvQ1VcFGMqGwF03DB QYeJfgpBj9161kprZD9GzBvu3R6shxwBRLyYNa1DZ+T/Va7oNIqaFjyFdoZFvGOcEWxoCRvxm zz02+Hmn5BUxfcY5DRxeclsit7ZBPDt7uuWi26wek9pYuFJal7/JNJiNTVurAyQJ8N6aRiy0h DLuqcOaa7ovWGQ7GQyo4EJFUOJQ2dZjgXcJ+D4sLQhwcYJUyZWovSavyaxlaLObPo5s4tfk45 OEy35vq4r+KJalhGK0aEG19aiE43GAu2Ojs2HeX1GClb7d6eOQPw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from ernst.home ([91.59.229.79]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MatRZ-1q5BHt3GI7-00cPeA for ; Fri, 01 Sep 2023 13:03:14 +0200 Date: Fri, 1 Sep 2023 11:03:14 +0000 From: Gary Jennejohn To: current@freebsd.org Subject: FreeBSD-15 kernel panic when the amdtemp device is in the kernel Message-ID: <20230901130314.460f91bf@ernst.home> Reply-To: garyj@gmx.de X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:qH54L9R46FP2ysrieeC2gjI0kfqF9bZa3jrfR6NS29v7m/XVoSa lXBpxAoo2FyWXccJGhKLcCrPMgywy+AzRJsCZpsottAlMjY6KoemYA1oPgsv4LerkFzYBZ4 Gy7qNrxaHZtP8ySwbHRZH5pdSMx2nEHtD7zlH3L8UhskHApA0mgIqh/Tr+V9cZbC8Ihnsra lGI2sT82AiUX2ZidG79Ng== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:AHGgwYpr3pE=;eufavWJQNZso14z77Qy6PZ9FCWc eK4ut4VUj+WSfWp6+xF6X/LqkTKMIrkZmZeXSeTxoyVQk5ZL8Vi+xJ+5LpMxj8Z+WyajnKHjr tg7vCWbGUPUlHiUgANPZYf+lHxqMAAd3uY1VdlVvEZPEAcKMRQHhGPpc15O+RAw1/b6qgg0MX FbImuXLQDlm6nHiwlXD7J06TXZQLL+OepeSEvPBYCoNLL19EpR9GO6JXtFm6KZ2lPeCLMfJZs FokUlqwKdefM2XYzNM3DepUCb+VXEVNPywXVxx6ycQDQ0Fwfcb+CZVeG8PfFEB9aG/XILTIDP f3J+FFvREUVhGP8+g3YAx8hbFuLfnN39/e/NF64q1jmV+O3eKHld3OYcol0/RXVKCWy2KRzhv d4Veutff7jPukwbp6ulyQEFebPrNVmo3jJ+ByFuXfham/Azyv6OxwmpmTaK/Uy3AVYR0vBE63 NKigge47tda6e688Z8S/Fh7syVN1oD1OSrIMWXnUD2qhqNh5NLIhTtEKev3kU63/ehijs8JyE 47HHrq+rPT5NopBkIHE/xiFpPkc5y1ac3d6Atdfqf3BA0SF8VlKwocougPB40uTAtHcrolECB Mv6FV8HfqjaPanC9ulh1X4flffK8uZs4X2ClmRzqCgomDx7xW6IRgJ9cyXKk7Ll0Q/3O6Lyye lOM+byyhYDJHUALBPa/4vSbu7pF769hnSY5Got9NA3ANKw0KkQG5cqpeoScSEUe4HQxDnluEG fBhkKCiPotDPi2vNISW5IM+d1hNf5+0k9l9rnfBJxZqNYzRs8m4Fo1Kd35qc3L9RzOlnDw+Z9 d63f2HIXkE/2h9kfUugzzpzKenImwu51mYEKPiqHWlQPVYZZAaICaiIdXmvrOLaB/N/4p+H9v 7200EZBpEl9zIZ+Tg7kwBd3myUhR5CyJfKSOR47ZH93h/2mL23hc8dwDqIUBZTy0W8SCqsN1j lENh3w== X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.91 / 15.00]; NEURAL_HAM_SHORT(-0.99)[-0.990]; NEURAL_HAM_LONG(-0.98)[-0.979]; NEURAL_HAM_MEDIUM(-0.94)[-0.942]; DMARC_POLICY_ALLOW(-0.50)[gmx.de,none]; R_SPF_ALLOW(-0.20)[+ip4:212.227.15.0/25]; R_DKIM_ALLOW(-0.20)[gmx.de:s=s31663417]; ONCE_RECEIVED(0.10)[]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.15.18:from]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_REPLYTO(0.00)[garyj@gmx.de]; FREEMAIL_REPLYTO(0.00)[gmx.de]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; MLMMJ_DEST(0.00)[current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; FREEMAIL_ENVFROM(0.00)[gmx.de]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FREEMAIL_FROM(0.00)[gmx.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.15.18:from]; TO_DN_NONE(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; DKIM_TRACE(0.00)[gmx.de:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4RcZrj48zxz4D7d I have a laptop wioth a AMD Ryzen 5 and a tower with a AMD Ryzen 7 3700X. These are respectively Zen 1 and Zen 2 CPUs. I built a kernel on both computers using the FreeBSD-15 source tree. If I include the amdtemp device in my kernel file BOTH computers end up with a kernel panic while trying to attach the amdtemp device. If I remove amdtemp both computers boot without any issues. I suspect that this commit is the cause: commit 323a94afb6236bcec3a07721566aec6f2ea2b209 Author: Akio Morita Date: Tue Aug 1 22:32:12 2023 +0200 amdsmn(4), amdtemp(4): add support for Zen 4 Zen 4 support, tested on Ryzen 9 7900 Reviewed by: imp (previous version), mhorne Approved by: mhorne Obtained from: http://jyurai.ddo.jp/~amorita/diary/?date=3D20221102#p= 01 Differential Revision: https://reviews.freebsd.org/D41049 =2D- Gary Jennejohn From nobody Fri Sep 1 12:15:20 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RccS92h51z4sR7X for ; Fri, 1 Sep 2023 12:15:37 +0000 (UTC) (envelope-from herbert@gojira.at) Received: from mail.bsd4all.net (mail.bsd4all.net [94.130.200.20]) (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 ECDSA (P-384) client-digest SHA384) (Client CN "mail.bsd4all.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RccS36Dnrz4KnR for ; Fri, 1 Sep 2023 12:15:31 +0000 (UTC) (envelope-from herbert@gojira.at) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gojira.at header.s=mail202005 header.b=Inz8FGAB; spf=pass (mx1.freebsd.org: domain of herbert@gojira.at designates 94.130.200.20 as permitted sender) smtp.mailfrom=herbert@gojira.at; dmarc=none Date: Fri, 01 Sep 2023 14:15:20 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gojira.at; s=mail202005; t=1693570524; bh=YhCe1fJ60oUKrvz5OYqo0yZ/+b/RCzkvzqKPnqIJ30Q=; h=Date:Message-ID:From:To:Subject:MIME-Version:Content-Type; b=Inz8FGAB6rLYyKob8WkDTQjN4xMBsxkDCVer0QYD0AL3OTT3J470rblUTZb3M0a8q OdkxVMj6L0fPOQsvPwqbQsRDyFdsv04zVVKKDA/i8aI9BffAl093+QgG1URswrMeYV fo9tx49xXV//EqhFypG5MkBTbZVypqTAcWXUkeZZ5h6eQHykR0YWIy4vRepBbSOeFR iqTiiXE9bQcps1kxmD0H01mkyrKieEh+oF6o9vgJyTkC16TjLIC+vwOf9uYWNO0ulN Jg0EPbBe+hNL17C1w4GGVsvMzNM19vLfa1Sj5GMae79+0FcIjiTy3c1XRypXUmiC96 s4egKAWwFs5kg== Message-ID: <87edjixf6v.wl-herbert@gojira.at> From: "Herbert J. Skuhra" To: current@freebsd.org Subject: Re: FreeBSD-15 kernel panic when the amdtemp device is in the kernel In-Reply-To: <20230901130314.460f91bf@ernst.home> References: <20230901130314.460f91bf@ernst.home> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/30.0 Mule/6.0 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.40 / 15.00]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-0.99)[-0.994]; NEURAL_HAM_MEDIUM(-0.97)[-0.968]; NEURAL_HAM_SHORT(-0.94)[-0.938]; R_SPF_ALLOW(-0.20)[+ip4:94.130.200.20]; R_DKIM_ALLOW(-0.20)[gojira.at:s=mail202005]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[current@freebsd.org]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; BLOCKLISTDE_FAIL(0.00)[94.130.200.20:query timed out]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[gojira.at:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[gojira.at]; TO_DN_NONE(0.00)[]; ASN(0.00)[asn:24940, ipnet:94.130.0.0/16, country:DE] X-Rspamd-Queue-Id: 4RccS36Dnrz4KnR On Fri, 01 Sep 2023 13:03:14 +0200, Gary Jennejohn wrote: > > I have a laptop wioth a AMD Ryzen 5 and a tower with a AMD Ryzen 7 3700X. > > These are respectively Zen 1 and Zen 2 CPUs. > > I built a kernel on both computers using the FreeBSD-15 source tree. > > If I include the amdtemp device in my kernel file BOTH computers end up > with a kernel panic while trying to attach the amdtemp device. > > If I remove amdtemp both computers boot without any issues. > > I suspect that this commit is the cause: > > commit 323a94afb6236bcec3a07721566aec6f2ea2b209 > Author: Akio Morita > Date: Tue Aug 1 22:32:12 2023 +0200 > > amdsmn(4), amdtemp(4): add support for Zen 4 > > Zen 4 support, tested on Ryzen 9 7900 > > Reviewed by: imp (previous version), mhorne > Approved by: mhorne > Obtained from: http://jyurai.ddo.jp/~amorita/diary/?date=20221102#p01 > Differential Revision: https://reviews.freebsd.org/D41049 Thanks for sharing your findings. Now I probably know why my old kernel from stable/13 no longer booted after updating to stable/14. I've create a new kernel config and forgot to add "device amdtemp" & "device amdsmn" and forgot about the issue. After removing only "device amdtemp" from my old kernel config it boots again. Unfortunately reverting this commit (git revert -n 323a94afb623) doesn't resolve this issue. Old kernel does not boot if "device amdtemp" is enabled. Probably wrong commit or I am doing somethig wrong!? -- Herbert From nobody Fri Sep 1 12:57:47 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RcdP559smz4sSn4 for ; Fri, 1 Sep 2023 12:58:01 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RcdP53VqRz4NHF for ; Fri, 1 Sep 2023 12:58:01 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-5256d74dab9so2477146a12.1 for ; Fri, 01 Sep 2023 05:58:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1693573080; x=1694177880; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=SuYkhSVEbUCHSDw6liwHrkNdHVta97vebQ3m4Ba8g+0=; b=3HUf6RHsKcD/7mGAucEBLK/getDhTtPAdICk8ctUQt8r4PDh0P00GAbn3cdc9LvPDl sMfl0jpZ32wCTzjvuO/tsjnDAGBKyiOb+WRbLfuZaLu/gN+T/W+wDjEpM8t0shsJevJJ sQT10ou4wiivs2SGhJhVUbzeSRYaRDXvzzBk5bRAnQEfnC/Qqlb8HdHJCu/6uBbiMQTW yzHLPUZG7S0USN6OVlrHBsX3J9p9Ewaq5zFzwya/KhRIgs8x11kF2bhjN2PLZI0lVpZJ G8TFJwufwcCZH08lZC1czKnn1//ZYeaiFEaol6y1fd2wFaY3ecYf/3QCSG/g7NDrnVXM KRsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693573080; x=1694177880; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=SuYkhSVEbUCHSDw6liwHrkNdHVta97vebQ3m4Ba8g+0=; b=KKlJ+9f5jqYMiUAYu1auCxl6Lg2KVmSDoQoQ19WKiAVr5tzNG1D0j7A+tjWIVEfuGw WkhCyckqjvIbQphPWYHTL4Kwah24OiGINnACMlFNZLbVdVgj4hEbG1CWhf9PREIu3dFa 7wm6kmKL5juPYC9MdBNQT6XeSjnlGU1Bqgfnw5XrP7mWPrewdvRpDqx2i41Y/p5SqAJJ OxrWv6neokMx7PkM62oVqp91lbKLQFQUCNYgMofTkRVfa44M+JliZ+FAL+BoHtZKgpFg rJWrwEJCy9PZ/0ya88qVU2V9UQKgZUs0KJaaXRjG4ZTJ2bsJb+V5VmR0LWjMWNAm7Iz2 Ck2g== X-Gm-Message-State: AOJu0YzZZNusFdr82eYRQPik0i5HbgsA8Z1zk25D2BJpUJOIWqs62GPD 67eV1qeGBL63Ob8n0ho/BOoH5X69h2EsbZvzDLBuIbyFnWOVx6Zs X-Google-Smtp-Source: AGHT+IE7f+yw3BYahXfmZ/7bRBXheT2Erzo7rEhCKOJBlh5o1cyr+smSvdpT6EaDCAWTShFxxO/Hq1TAyvo1wQ3SQSs= X-Received: by 2002:aa7:da45:0:b0:523:c19d:a521 with SMTP id w5-20020aa7da45000000b00523c19da521mr1782495eds.40.1693573079815; Fri, 01 Sep 2023 05:57:59 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <20230901130314.460f91bf@ernst.home> In-Reply-To: <20230901130314.460f91bf@ernst.home> From: Warner Losh Date: Fri, 1 Sep 2023 06:57:47 -0600 Message-ID: Subject: Re: FreeBSD-15 kernel panic when the amdtemp device is in the kernel To: garyj@gmx.de Cc: FreeBSD Current Content-Type: multipart/alternative; boundary="000000000000d2ea6106044bb554" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4RcdP53VqRz4NHF --000000000000d2ea6106044bb554 Content-Type: text/plain; charset="UTF-8" On Fri, Sep 1, 2023, 5:03 AM Gary Jennejohn wrote: > I have a laptop wioth a AMD Ryzen 5 and a tower with a AMD Ryzen 7 3700X. > > These are respectively Zen 1 and Zen 2 CPUs. > > I built a kernel on both computers using the FreeBSD-15 source tree. > > If I include the amdtemp device in my kernel file BOTH computers end up > with a kernel panic while trying to attach the amdtemp device. > Traceback? Warner If I remove amdtemp both computers boot without any issues. > > I suspect that this commit is the cause: > > commit 323a94afb6236bcec3a07721566aec6f2ea2b209 > Author: Akio Morita > Date: Tue Aug 1 22:32:12 2023 +0200 > > amdsmn(4), amdtemp(4): add support for Zen 4 > > Zen 4 support, tested on Ryzen 9 7900 > > Reviewed by: imp (previous version), mhorne > Approved by: mhorne > Obtained from: http://jyurai.ddo.jp/~amorita/diary/?date=20221102#p01 > Differential Revision: https://reviews.freebsd.org/D41049 > > -- > Gary Jennejohn > > --000000000000d2ea6106044bb554 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Fri, Sep 1, 2023, 5:03 AM Gary Jennejohn <garyj@gmx.de> wrote:
I have a laptop wioth a AMD Ryzen 5 and a tower with a A= MD Ryzen 7 3700X.

These are respectively Zen 1 and Zen 2 CPUs.

I built a kernel on both computers using the FreeBSD-15 source tree.

If I include the amdtemp device in my kernel file BOTH computers end up
with a kernel panic while trying to attach the amdtemp device.

Traceback?

Warner=C2=A0

If I remove amdtemp both computers boot without any issues.

I suspect that this commit is the cause:

commit 323a94afb6236bcec3a07721566aec6f2ea2b209
Author: Akio Morita <akio.morita@kek.jp>
Date:=C2=A0 =C2=A0Tue Aug 1 22:32:12 2023 +0200

=C2=A0 =C2=A0 amdsmn(4), amdtemp(4): add support for Zen 4

=C2=A0 =C2=A0 Zen 4 support, tested on Ryzen 9 7900

=C2=A0 =C2=A0 Reviewed by:=C2=A0 =C2=A0 imp (previous version), mhorne
=C2=A0 =C2=A0 Approved by:=C2=A0 =C2=A0 mhorne
=C2=A0 =C2=A0 Obtained from:=C2=A0 http://jyurai.ddo.jp/~amorita/diary/?date=3D20221102#p01
=C2=A0 =C2=A0 Differential Revision:=C2=A0 https://revi= ews.freebsd.org/D41049

--
Gary Jennejohn

--000000000000d2ea6106044bb554-- From nobody Fri Sep 1 14:04:41 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RcftG6WDmz4rHrc for ; Fri, 1 Sep 2023 14:04:54 +0000 (UTC) (envelope-from garyj@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RcftG2vBLz4V12 for ; Fri, 1 Sep 2023 14:04:54 +0000 (UTC) (envelope-from garyj@gmx.de) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1693577082; x=1694181882; i=garyj@gmx.de; bh=4ObwpaKfM6cSCbndIOVpzCerVso0oWd8GD3y9XJ7p5M=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:In-Reply-To:References:Reply- To; b=iiRZnVA3iB5zLjLI7Bs/AapBLcQjgQfFevKmXG3SdvcPEqU3gWRjOuYMXknpB4c5tkmjrJZ Vv/+4A81S8g1YLFVvu35K+LmO1ZVZ87EeHyUmvamDlRNK54Vk2W2TZXH/shKYSB3Eeb9rr4W+ Z1yYSTPzlB4D00RKStIS6nrHcEoVoueAJQZgNBThQaaXyyGGQcWk+C8a54Q44gHjJDiyGmcrO CUwS+2xx8x8bQmQKyZedxJnoJH01TCsABfMTTpR/CdlnTl0ijR7GklwjCOR1zdX7OXpVrlRJV FHcIy0ZyMCpQKcihmbvHCNFw8FZFmn0qXrWtBRBZinOxeaI64yhw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from ernst.home ([91.59.229.79]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MXGvG-1qB1gC1lmg-00Yf09; Fri, 01 Sep 2023 16:04:42 +0200 Date: Fri, 1 Sep 2023 14:04:41 +0000 From: Gary Jennejohn To: "Herbert J. Skuhra" Cc: current@freebsd.org Subject: Re: FreeBSD-15 kernel panic when the amdtemp device is in the kernel Message-ID: <20230901160441.038539cd@ernst.home> In-Reply-To: <87edjixf6v.wl-herbert@gojira.at> References: <20230901130314.460f91bf@ernst.home> <87edjixf6v.wl-herbert@gojira.at> Reply-To: garyj@gmx.de X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:UAsQeMRo6f4jbxZGjIoPQqVK21bK27y4rRxEJYSDXBdmKSnF4Ck pzcOXN6q0D+blhxT/4eOWpzghnusXNtjiGIMa4OU5jEjN5kwr8Nn7L1jTsz1gbp86Fs2BUu eHt5O1naWwDZSdT6e+hJAABnuX5rv34qwx7CDX60xKtdjDSIvPbhJPXL9KoDWQ1t6EE3sB8 12CSTWiM31BX3C9qr09Dw== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:TITKFG4pdss=;7Shr8vvGAVTIiy5ueTBcraoGAgD woV+8lwx8IN3jIp4hiRp7NBW0U5JOGo2ApkPKi2jz5Yp3ctuv+UUqM7Demf8R1EZSPEXsN/D6 5ZrvksKILtJygOMXQjZCwoew1SH29Av1VCwGXIcaGgiiKy5tUJf6xotI0UlWv8jB9UN2vJ0MB WdoEG6gQfdBl2Pi7igDv18g9VKQcx4c0QB6AD7yQZvWWyfqmnhIA4+tS4DzghhOoJSP9kJulf Bkgy8LyCRYEbekzDGjP765Zkrq8T0MPHHB/YCeVL7W+iMIWIouBlXZGyscehP6FDZkFCGTQDe 55NCIXCX6v/zK18DTdmbyWYzXxXwucq7ILrKGJntZ02NMJRfJ8dgCXKmWuiCaqaXXNWJwqN1i Ixx0uyeKB41pogJ2BJBEimIa5LorIgjqiUu+AWB0OVQJI5x8v+GN5ls50kNkaKITmvkp1TbFY 2qNIIRDXB4JH+qDQGtt5VfOWwCrGXeeZkK6d/4YXnNRB/JTsa7l2W7CiIZYGDgWIcn6dJ9Zuc O7VT5j4VYalxcSS9MBE31ekao0AgCb6IfZNDgcXhcG6a9upYhXXuha/6elAyPL1rOfRqNRp9g Yj8lWQZ4qfLrXYa8M5XfALBbn42iyF/TRM/+8nNsmvV7Z72ln82CpiFx0GEs8qbuKiXzb32yZ ZXxm5ZQ9HuO9xcdUiL4gG0pVE4PUghsHNN6+govbtJJr62JbbjW+7wKXzDulsSUzxw49v9Mmw oUj0i455l0uyXegR7WoR19uMVnidMTgj+nMuDJxAN2InNGRILofFSJHAFrZsthF0hsaCwynjM z5oSAChnHZwdXoQlF7Omiy/MOaq2q1joOm+m8icJ4txO4Fz/ElmpU2I/M6V45qjU+Rfh8SFlc kzkyWChjsl1Onvd7FY2Nla06wwoori571AxakUi4Z6qDIneOKX6yX4gIB8gtHfzEW2AmdXH63 P0coeU6TU+vvQoaRIALvrX8UYRE= X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE] X-Rspamd-Queue-Id: 4RcftG2vBLz4V12 On Fri, 01 Sep 2023 14:15:20 +0200 "Herbert J. Skuhra" wrote: > On Fri, 01 Sep 2023 13:03:14 +0200, Gary Jennejohn wrote: > > > > I have a laptop wioth a AMD Ryzen 5 and a tower with a AMD Ryzen 7 370= 0X. > > > > These are respectively Zen 1 and Zen 2 CPUs. > > > > I built a kernel on both computers using the FreeBSD-15 source tree. > > > > If I include the amdtemp device in my kernel file BOTH computers end u= p > > with a kernel panic while trying to attach the amdtemp device. > > > > If I remove amdtemp both computers boot without any issues. > > > > I suspect that this commit is the cause: > > > > commit 323a94afb6236bcec3a07721566aec6f2ea2b209 > > Author: Akio Morita > > Date: Tue Aug 1 22:32:12 2023 +0200 > > > > amdsmn(4), amdtemp(4): add support for Zen 4 > > > > Zen 4 support, tested on Ryzen 9 7900 > > > > Reviewed by: imp (previous version), mhorne > > Approved by: mhorne > > Obtained from: http://jyurai.ddo.jp/~amorita/diary/?date=3D202211= 02#p01 > > Differential Revision: https://reviews.freebsd.org/D41049 > > Thanks for sharing your findings. > > Now I probably know why my old kernel from stable/13 no longer booted > after updating to stable/14. I've create a new kernel config and > forgot to add "device amdtemp" & "device amdsmn" and forgot about the > issue. After removing only "device amdtemp" from my old kernel config > it boots again. > > Unfortunately reverting this commit (git revert -n 323a94afb623) > doesn't resolve this issue. Old kernel does not boot if "device > amdtemp" is enabled. Probably wrong commit or I am doing somethig > wrong!? > Strange. My FreeBSD-14 kernel boots with device amdtemp (which automatica= lly results in amdsmn being included). It's FreeBSD-15 which fails for me. =2D- Gary Jennejohn From nobody Fri Sep 1 14:23:36 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RcgHw2KtYz4rKD2 for ; Fri, 1 Sep 2023 14:23:40 +0000 (UTC) (envelope-from garyj@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RcgHt2TQ7z4Wmb for ; Fri, 1 Sep 2023 14:23:38 +0000 (UTC) (envelope-from garyj@gmx.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.de header.s=s31663417 header.b=PSstSdqY; spf=pass (mx1.freebsd.org: domain of garyj@gmx.de designates 212.227.17.22 as permitted sender) smtp.mailfrom=garyj@gmx.de; dmarc=pass (policy=none) header.from=gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1693578216; x=1694183016; i=garyj@gmx.de; bh=jEUqEis638f2touVq30cd0b1CC45AlpCMHOmvPHh4lE=; h=X-UI-Sender-Class:Date:From:To:Subject:In-Reply-To:References:Reply-To; b=PSstSdqY8573TyCOhuuZBp8P285UiLecN8Q5oUUOhbkN/An5vPQZROmhB416PGxRyy01Umt nGFi2A7XIJhYYhtRpgk7IVcPxsOfCBtWqAkvGP/2yIh3wUJVGpibMO+yMkb1xnWPPHQaVriRV 5sD2Wq/jKb+RVeyWcuWAO+/HAWY+aolZMWQF3GTeweS4PUbEOVyPVdlN1ypGwDyJbn2nT+zCs Tc7doSm+ljhndEqoL90xapNHgF/MXGtKCVcn6xADtqyZo1WUIwdt2t8H/2fzgZ+O10RpVXCNs LcUlB0GlUV+lN8xnT8B2Sfxp7/bi6LKz1F+GuZG7Lp4j3AkRf6qA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from ernst.home ([91.59.229.79]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N49hB-1pby0n2pPN-0102EB for ; Fri, 01 Sep 2023 16:23:36 +0200 Date: Fri, 1 Sep 2023 14:23:36 +0000 From: Gary Jennejohn To: current@freebsd.org Subject: Re: FreeBSD-15 kernel panic when the amdtemp device is in the kernel Message-ID: <20230901162336.542a1b91@ernst.home> In-Reply-To: <20230901130314.460f91bf@ernst.home> References: <20230901130314.460f91bf@ernst.home> Reply-To: garyj@gmx.de X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:PnsRWEIIZtCOqQRoVB/pz2N9IRPekbggpNKEChXUtjK2dJCGMxt DCplwNa6fftxGnjqjBLqnhJOJMFJVpzvmn71FremniGacCjGrrMr4HtNzSea+3zC40TfBdn uUTVjlOJukIo623u5gK75pi4buwrP4Z5kUay9JmOUz6WqS19mbUXipb7xfQQU65XY898VTy l7QPv8YQAIR2F/xA4rR8Q== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:cfQCw1JGOjs=;i9i0W9KYCLXE8lWtwYYntuKQthV NIaPI7Yb3cxYkGryPujLMSZdNnr3FuKjhx+Pa/lpOy69EI2OvbrKssMQpJXg5zSPyZpULXjob jr3GKX6skpGSgw27l4Wa6/R6L/LbHATaUQCRA/3oCf7Jvld9s1NlR3nn2vycfRKUzC/VrxtjS X8bs6mgktGCJHALhAGioqUoOUAZp4T3TUxmxjB/DiAOIuEQlxIOIEbQCTh857DcH+wlWWgFZ6 exU2ZT2anY/bPZJbOekdOlC75PIgSDH23GJ4MhAuF+4cNSZzPneajN6C6thK65QGWalO5ix4m xkmhfBR/fUHZ62cmELCjLodUaOLWYQ4UIzhk0PYMSFDem09zcZU1UB00WWNe9qheeW6w2fZ40 PPS6LgKqxhGYImsxx7RiZNshXn4m2P+z9xy/AtNzZI7viz6M/IybTVN1ML4S5huXtztle6m+7 ofbiLmE6M7wUuPfSu1k+XF0tGbaAMSsgh5atCtkSyTqbKpz9yDiNF4WLW8Wplt+PpAv0jXAtV Xmm+tn4/XLMuPLcUVHQyx3uuy16mzEuluJYWpl2oPO9NuZ6ULwBgXXsFBM1yA3wOWJQ1sFgHR qHOs9oXukG9rDFF1Jb89oHYAT12ruJl63xEgFj/jxNNHmKMv5HYUfTlwjNHzEfMHxdxFN7RQ+ uVlclieBD1cdofz493lhFdhUHkWT1/n3tmieqoGWWxOUyCfwLc9K9T3aIExl1i6kq7JF0cBxz Q7RI2w2X5cRCvq4/TKId3MJ7tk5EbhSIOuswVQuiOJbrCcJw8Se5OIOXBtdqCsa2+DAMDvugN lchUUXkUzWzpB2UmmQF0hzty5Ol80BQ7ADaTo0zYjqpgsHfLCBHeb61aWU87sKMkodOJY3wlv Yq4fflMRHUV6+zjNF48vwXvf2UDtmlMxGVrHxUq6qvtl9xqSL8hrmQcAqii+s/jGI9zYYzBNk xfcoh4CNuDHcoFzjddozrsue/Pk= X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.96 / 15.00]; NEURAL_HAM_LONG(-0.98)[-0.977]; NEURAL_HAM_MEDIUM(-0.94)[-0.944]; NEURAL_HAM_SHORT(-0.94)[-0.942]; DMARC_POLICY_ALLOW(-0.50)[gmx.de,none]; R_SPF_ALLOW(-0.20)[+ip4:212.227.17.0/27]; R_DKIM_ALLOW(-0.20)[gmx.de:s=s31663417]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.17.22:from]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; RWL_MAILSPIKE_GOOD(-0.10)[212.227.17.22:from]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_REPLYTO(0.00)[gmx.de]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; HAS_REPLYTO(0.00)[garyj@gmx.de]; FREEMAIL_ENVFROM(0.00)[gmx.de]; MLMMJ_DEST(0.00)[current@freebsd.org]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FREEMAIL_FROM(0.00)[gmx.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; TO_DN_NONE(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; DKIM_TRACE(0.00)[gmx.de:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4RcgHt2TQ7z4Wmb On Fri, 1 Sep 2023 11:03:14 +0000 Gary Jennejohn wrote: > I have a laptop wioth a AMD Ryzen 5 and a tower with a AMD Ryzen 7 3700X= . > > These are respectively Zen 1 and Zen 2 CPUs. > > I built a kernel on both computers using the FreeBSD-15 source tree. > > If I include the amdtemp device in my kernel file BOTH computers end up > with a kernel panic while trying to attach the amdtemp device. > > If I remove amdtemp both computers boot without any issues. > > I suspect that this commit is the cause: > > commit 323a94afb6236bcec3a07721566aec6f2ea2b209 > Author: Akio Morita > Date: Tue Aug 1 22:32:12 2023 +0200 > > amdsmn(4), amdtemp(4): add support for Zen 4 > > Zen 4 support, tested on Ryzen 9 7900 > > Reviewed by: imp (previous version), mhorne > Approved by: mhorne > Obtained from: http://jyurai.ddo.jp/~amorita/diary/?date=3D20221102= #p01 > Differential Revision: https://reviews.freebsd.org/D41049 > Now that I look at the date of my FreeBSD-14 kernel I see that it's from August 13, so this commit is perhaps not the cause of my FreeBSD-15 kernel panicking at boot time, since FBSD-14 boots OK. Nonetheless, amdtemp or maybe amdsmn seems to be related. =2D- Gary Jennejohn From nobody Fri Sep 1 14:43:21 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Rcgkh0Y6Sz4rLPZ for ; Fri, 1 Sep 2023 14:43:24 +0000 (UTC) (envelope-from garyj@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rcgkg1SY4z4Yfw for ; Fri, 1 Sep 2023 14:43:23 +0000 (UTC) (envelope-from garyj@gmx.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.de header.s=s31663417 header.b=M0XwPfGJ; spf=pass (mx1.freebsd.org: domain of garyj@gmx.de designates 212.227.17.22 as permitted sender) smtp.mailfrom=garyj@gmx.de; dmarc=pass (policy=none) header.from=gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1693579402; x=1694184202; i=garyj@gmx.de; bh=s7cqWP9ZmtUBGKyzb6C9FrXLNKh6Na14+bda/CpaFjk=; h=X-UI-Sender-Class:Date:From:To:Subject:In-Reply-To:References:Reply-To; b=M0XwPfGJuQuVw2OCjQImHqu+J+zpuu4M1xSPu2Jx671+teFgkdaVM4BFd7CLaEZloLByAyT IBXQqWtyuwakzL7j7g56QtPJ2zWUaQbTN09uoryx1nYefbvs4YYBVK0YBNjPWb6Icl3ehFq/j 9YtwJZ+wIF9Wn3R6P5HVfIGSeT9d03f6cRPWcwkAq2XHdXApSJJHGSbFH76kqF28eP2y8WFbD 7Zm7TTN5Lp2g6L9/Qw3di5TEZ060KEjlgrfhcyvXj9V/kbleE80av/ZwcnagDSrKnAm5lWMcS Dz0K/EoRAOvdWSs36zSUIhkMqNGx9Cmwq9E/SLrUuKnrEbdEVe5w== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from ernst.home ([91.59.229.79]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MNsw4-1qIC0H3wEa-00OJn1 for ; Fri, 01 Sep 2023 16:43:22 +0200 Date: Fri, 1 Sep 2023 14:43:21 +0000 From: Gary Jennejohn To: current@freebsd.org Subject: Re: FreeBSD-15 kernel panic when the amdtemp device is in the kernel Message-ID: <20230901164321.3259afd9@ernst.home> In-Reply-To: <20230901162336.542a1b91@ernst.home> References: <20230901130314.460f91bf@ernst.home> <20230901162336.542a1b91@ernst.home> Reply-To: garyj@gmx.de X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:02UjdFwn2D73fSIaWq9P+7jfkq4+0avqYokhx6VKfceqnr5BfgB 5WlYEYgnpbhKeIkrlD5mbk/Zik2LihiH2sI53UxSHHzh8ptLgT5jcnZtT6b9jhbswNRK0k4 92hMEKKY5nWlXnDO21TlOa5xvF23Gngwi3qqWZKb9TNCCX6kJngdFTOwSpEvFYkQmYv0hmf MNMfwh53e4UHZiRjhZgUg== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:CtCo/hMe6MU=;wVQGvWtFw9e4uIlPIK4xqvxwPwe oN5jsAYTQOYFQ7BugjP4RMMh6QWBUi+RwaOuoQmpWgWviRKV1xGSlxpKzchXoDMhmIElJrgDK ur32dp9Onycr43Yy1dcgpxj7nxzh/Z8Fp6BxqeTylbzTrHmCHRAOOEJKjW0ExIX4hecVNG/Hu 3mN1QDwEsAsD0guTedSs8WV9ExPTpe+YtRDkcHy2lcL7qi/WcbvkzryBDXFxmXgxNUlqWQ0o+ zbLUVC78ywJ75ANRmNWSW9+uc8JDyElpBklTn4CngAIcTdQJbTu0RwOVQlNCnThIviaTe7OmS sMhI7qGFtasQDP5XpzwiCWM/aZjGKa23/HGJwhjkdQlTO9jSO1F3b3Fr81aulidjFQOggujeu Cd5SPbH65yNn2uPY6FoiClEGPssLmcXd10sao0q8x8Y6QZVtIlHAmoJcGBrt4ZI+AHlMj+ih1 sYyoR/rPmatO+Cbc8Vitli/085xTkUr+vfoi3VAPHVd/GF/Xhmcnj68RmNrfvlQkpD8TPpa4j /pZV2nUjRWUv7TfncJqTkl0/etomawwCzjgK/1NUr2KxPIDL+/caOnqLZQQTPnHhMD0nlF6o4 QnQgLvhUDvZWqPJtAO4d7W1wVTHN5CKikk19fG4OfILwNXakEC5SLJbw3omaUAfW8HFka6PHc WWaBjRzFJAAc31C/9nPAhodtm457d8f4VPOpw9b6z6P49S9XKnb8ttnxWCfUGcrc4eBTJ8VTB /rZJRlIe5ZSdD3q8QLZe0kKQRFjwb43ZKFvcCdQlNLNrm0eLNfoQ5zio7pxRJFMpgvDYlP/XJ pDPkB8CbxaNoScoOX3UZMCGU1WucGPnqPUx5PKlcBI0xcGAm475GqCeYcFDL3kR6ddxtjQmhW 6+nAsVti72J3rT3HY4ul5XtbKttEIVExsUIzgww6QLG3zGdyYpekKCN0yIH9Tqsr3BC2VJNCn BMM7OrVlJ2NsO0RwkpK/varOeKQ= X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_LONG(-0.97)[-0.967]; NEURAL_HAM_SHORT(-0.96)[-0.961]; NEURAL_HAM_MEDIUM(-0.96)[-0.961]; DMARC_POLICY_ALLOW(-0.50)[gmx.de,none]; R_SPF_ALLOW(-0.20)[+ip4:212.227.17.0/27]; R_DKIM_ALLOW(-0.20)[gmx.de:s=s31663417]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.17.22:from]; RWL_MAILSPIKE_GOOD(-0.10)[212.227.17.22:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; HAS_REPLYTO(0.00)[garyj@gmx.de]; FREEMAIL_REPLYTO(0.00)[gmx.de]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; BLOCKLISTDE_FAIL(0.00)[91.59.229.79:server fail,212.227.17.22:server fail]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmx.de]; MLMMJ_DEST(0.00)[current@freebsd.org]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FREEMAIL_FROM(0.00)[gmx.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; TO_DN_NONE(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; DKIM_TRACE(0.00)[gmx.de:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4Rcgkg1SY4z4Yfw On Fri, 1 Sep 2023 14:23:36 +0000 Gary Jennejohn wrote: > Now that I look at the date of my FreeBSD-14 kernel I see that it's from > August 13, so this commit is perhaps not the cause of my FreeBSD-15 > kernel panicking at boot time, since FBSD-14 boots OK. > > Nonetheless, amdtemp or maybe amdsmn seems to be related. > Since my FBSD-14 kernel is from August 13 and FBSD-15 appeared on August 24 there were 10 to 11 days of commits in between. That makes it much more difficult to pinpoint the cause. A git-bisect is probably required. =2D- Gary Jennejohn From nobody Fri Sep 1 15:14:02 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RchQ83nttz4rRr9 for ; Fri, 1 Sep 2023 15:14:08 +0000 (UTC) (envelope-from herbert@gojira.at) Received: from mail.bsd4all.net (mail.bsd4all.net [IPv6:2a01:4f8:13b:240c::25]) (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 ECDSA (P-384) client-digest SHA384) (Client CN "mail.bsd4all.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RchQ53dBWz4fkq for ; Fri, 1 Sep 2023 15:14:05 +0000 (UTC) (envelope-from herbert@gojira.at) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gojira.at header.s=mail202005 header.b=VSoTpVsc; spf=pass (mx1.freebsd.org: domain of herbert@gojira.at designates 2a01:4f8:13b:240c::25 as permitted sender) smtp.mailfrom=herbert@gojira.at; dmarc=none Date: Fri, 01 Sep 2023 17:14:02 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gojira.at; s=mail202005; t=1693581242; bh=8zMoAjbDAu3C2VDxKy525AKyGOoFH8OrJOYd8tNRaHM=; h=Date:Message-ID:From:To:Subject:MIME-Version:Content-Type; b=VSoTpVsc1I9uqJnMSAKyxfaHWOwxB+f+d7WnY1LlnTC84tYkOQSmqcJx4yI1oqZAT XCXjFQNU32icVkn5v204zNSklS8zX3NlRywbLM/EZMgNcFsq+fN7c9rebbGdHGo6dL 6HDdPuc2jtqrzpl7/A6mM/yPwqF/i9Jt8H3JfYmINdgBjc641cgsEuNeRxQmsRvZ6b aQmL1lQSEDUP+T7L+bJxfZEyy1TLGLrmwJ9zfbU/WQ9FB++UGEZmq2SUDViIyKqzHx E0HzADClQtGcolfY8446u2vFkwHnmDh66cIfq2sBKvLtZR968YJE8yPiYJvuq5iSnz WvuOpt6x2NgcA== Message-ID: <87cyz2x6x1.wl-herbert@gojira.at> From: "Herbert J. Skuhra" To: current@freebsd.org Subject: Re: FreeBSD-15 kernel panic when the amdtemp device is in the kernel In-Reply-To: <20230901160441.038539cd@ernst.home> References: <20230901130314.460f91bf@ernst.home> <87edjixf6v.wl-herbert@gojira.at> <20230901160441.038539cd@ernst.home> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/30.0 Mule/6.0 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.38 / 15.00]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-0.99)[-0.994]; NEURAL_HAM_MEDIUM(-0.97)[-0.970]; NEURAL_HAM_SHORT(-0.92)[-0.916]; R_SPF_ALLOW(-0.20)[+ip6:2a01:4f8:13b:240c::25]; R_DKIM_ALLOW(-0.20)[gojira.at:s=mail202005]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[current@freebsd.org]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; DKIM_TRACE(0.00)[gojira.at:+]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[gojira.at]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE] X-Rspamd-Queue-Id: 4RchQ53dBWz4fkq On Fri, 01 Sep 2023 16:04:41 +0200, Gary Jennejohn wrote: > > On Fri, 01 Sep 2023 14:15:20 +0200 > "Herbert J. Skuhra" wrote: > > > On Fri, 01 Sep 2023 13:03:14 +0200, Gary Jennejohn wrote: > > > > > > I have a laptop wioth a AMD Ryzen 5 and a tower with a AMD Ryzen 7 3700X. > > > > > > These are respectively Zen 1 and Zen 2 CPUs. > > > > > > I built a kernel on both computers using the FreeBSD-15 source tree. > > > > > > If I include the amdtemp device in my kernel file BOTH computers end up > > > with a kernel panic while trying to attach the amdtemp device. > > > > > > If I remove amdtemp both computers boot without any issues. > > > > > > I suspect that this commit is the cause: > > > > > > commit 323a94afb6236bcec3a07721566aec6f2ea2b209 > > > Author: Akio Morita > > > Date: Tue Aug 1 22:32:12 2023 +0200 > > > > > > amdsmn(4), amdtemp(4): add support for Zen 4 > > > > > > Zen 4 support, tested on Ryzen 9 7900 > > > > > > Reviewed by: imp (previous version), mhorne > > > Approved by: mhorne > > > Obtained from: http://jyurai.ddo.jp/~amorita/diary/?date=20221102#p01 > > > Differential Revision: https://reviews.freebsd.org/D41049 > > > > Thanks for sharing your findings. > > > > Now I probably know why my old kernel from stable/13 no longer booted > > after updating to stable/14. I've create a new kernel config and > > forgot to add "device amdtemp" & "device amdsmn" and forgot about the > > issue. After removing only "device amdtemp" from my old kernel config > > it boots again. > > > > Unfortunately reverting this commit (git revert -n 323a94afb623) > > doesn't resolve this issue. Old kernel does not boot if "device > > amdtemp" is enabled. Probably wrong commit or I am doing somethig > > wrong!? > > > > Strange. My FreeBSD-14 kernel boots with device amdtemp (which automatically > results in amdsmn being included). It's FreeBSD-15 which fails for me. 1. 'kload amdtemp' works: 12 1 0xffffffff81e7c000 3160 amdtemp.ko 13 1 0xffffffff81e80000 2138 amdsmn.ko amdsmn0: on hostb0 amdtemp0: on hostb0 2. GENERIC boots fine. The following kernel does not: include GENERIC ident TEST device amdtemp 3. Unfortunately this is a remote server without a serial console. I don't get a crashdump and I can't find anything in /var/log/messages. 4. I have no good revision for stable/14 and main. On main I always use GENERIC-NODEBUG. :-( -- Herbert From nobody Fri Sep 1 16:05:34 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RcjYY22djz4rdfd for ; Fri, 1 Sep 2023 16:05:37 +0000 (UTC) (envelope-from garyj@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RcjYX1rH5z3LpY for ; Fri, 1 Sep 2023 16:05:36 +0000 (UTC) (envelope-from garyj@gmx.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.de header.s=s31663417 header.b=bAdj2Itq; spf=pass (mx1.freebsd.org: domain of garyj@gmx.de designates 212.227.17.20 as permitted sender) smtp.mailfrom=garyj@gmx.de; dmarc=pass (policy=none) header.from=gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1693584334; x=1694189134; i=garyj@gmx.de; bh=fnwFpjKoW3x41nUw+E+mzzEhKhHubPIr4NqbdXweP4w=; h=X-UI-Sender-Class:Date:From:To:Subject:In-Reply-To:References:Reply-To; b=bAdj2ItqYxTquqptJmMBUCU/K64u5ChUmABGAjhi8JeoviX9DYYyyWGatdipoeatk4o17Qq xU2o4CJ5NiYOAICSnml8QkuR9FpogMEgSQIwDRq93aowz2OXXtT+okYAFnhvI4aI7JxmexPkU pnVwrogLD3+ysnrH161HDsJmv+8sTCEmagseT7tI32pAuFVre3SNQGfzmMQWG1rBKkfpdACFj RCv4RDDJxSTYVgwE6zOeECfg7L9DMdhHVPRZVVPpg0O8hPiqnIa5O1sXivXjWI+q6vO86zIDr fs89T1ZRzWsZ5npFXIA65p05mWQ7dwKL1+KZjCvHFF9cCg/1Oj7g== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from ernst.home ([91.59.229.79]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N33ET-1pgJs32lkT-013L1t for ; Fri, 01 Sep 2023 18:05:34 +0200 Date: Fri, 1 Sep 2023 16:05:34 +0000 From: Gary Jennejohn To: current@freebsd.org Subject: Re: FreeBSD-15 kernel panic when the amdtemp device is in the kernel Message-ID: <20230901180534.0f3f3f6b@ernst.home> In-Reply-To: <20230901164321.3259afd9@ernst.home> References: <20230901130314.460f91bf@ernst.home> <20230901162336.542a1b91@ernst.home> <20230901164321.3259afd9@ernst.home> Reply-To: garyj@gmx.de X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:7YrAqGuSKrcxyJdOXlPTejt0Y+Wgw+jczCyoijp7gkMyBdf+6mQ 7gcvGaUIXDrvf34a+q86ErmC7iOGLx5qc/wVNlqxjWJ6QY+GdBZRO6gOoyBw6r/aHHeyhcu s5bNDGExFhlFMaTckXeVvbAx5qKIOArdX4bmSiDTcLOu7Ty7pZ0jCITKmD84Q/Lfzts7VxA /JLelUQxJCVbs7Tp2HmOg== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:inLiGUvpSMU=;NA+ThxPUHPZFD8L8hOrTug3JOZo w/6M9vl/0yNPNyzLT6Fs927y2su1wu3J0M3oM46ScEeNXJcmUbnN98hT+Z/lWS28X3vszKLfp uL6TOHxZLvAzIoEnc7I8egmwIgDnWmst0NVT6w09i+WZC7bmeRjQjl398t9+CgZL3L6gC+2Ym pKVrVHZBENVG0iQSOZvEctcK7S/61fKOkMJrXDrfxhCpRsl1L/fVrlw8mw/yK47cWUETdTVXQ rIWH8JSOHnIHDzU8GjbgrMhpxGdcADa7vr2p8IcoBpbT0de6vbHK3jVgxZt6SteextEqElsfs GGQurI6sxqkVhbqqrzlqJiX0/7LF4uV6FczGSYkPahSGLAiNsxRAxTpfo/DYz2bVO5oHKcV85 QW215CLzSBI848EMwPTckgV04PH0Bdg0SFI+k4ulsrbAtPAduK1LGotzCsos6U8Z/LPvUyDIP a2QTx6Fk6uUZG3CkgtK2m3I5wVy2w1CF0piwoR33fq2ECJUTl46wUtbfWkTBg3kjnn6lMzboQ FEOY2g2s8Z+g3Eb8rD1Y4tazWVkKmNedG9TNuGXZSUYHPelmhHGjpeHMCv8KWJzbV7A3LAVec FVgwXqtnnzKh8LJWsOC67yocOG9dPpoxoxyAt3YGbEiHZOYAww+LlV2/e1VNqOvppUp1WDYo5 WF9z1MH6TyI7d3PE947AHf0R8RhFx411+0iVjc5jqrsYG9L/lgrND5tkal/EDFDuxqtqycLH5 We2WET58NeOR/eTue15oX3TfCVqXkJE3U6RemOPkFQ/X88+yghWmXoVLY3XLBYrmRaogPiTuu NGdMQsbHGRUPZtzdRL6/kEkPRZdyAyRYFgkCpFQBGA2VWJ/wCy38zWMJf3W2CMMMsjCzmmpFE 7afhPhreuR6/69qFS43WAdZC/LJ4ahXLwniFTrfakDzin+h6Tj68HbhuJ7b90kehTxMh/QkkP cUS+BNcmfWw266QU93oITB7QwmM= X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.10 / 15.00]; NEURAL_HAM_LONG(-0.97)[-0.974]; NEURAL_HAM_MEDIUM(-0.96)[-0.964]; NEURAL_HAM_SHORT(-0.96)[-0.963]; DMARC_POLICY_ALLOW(-0.50)[gmx.de,none]; R_SPF_ALLOW(-0.20)[+ip4:212.227.17.0/27]; RWL_MAILSPIKE_VERYGOOD(-0.20)[212.227.17.20:from]; R_DKIM_ALLOW(-0.20)[gmx.de:s=s31663417]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.17.20:from]; BLOCKLISTDE_FAIL(0.00)[91.59.229.79:server fail]; FREEMAIL_REPLYTO(0.00)[gmx.de]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_REPLYTO(0.00)[garyj@gmx.de]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; FREEMAIL_ENVFROM(0.00)[gmx.de]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FREEMAIL_FROM(0.00)[gmx.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; DKIM_TRACE(0.00)[gmx.de:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4RcjYX1rH5z3LpY On Fri, 1 Sep 2023 14:43:21 +0000 Gary Jennejohn wrote: > A git-bisect is probably required. > I did a bisect and the result was commit 9a7add6d01f3c5f7eba811e794cf860d2bce131d. However, that can't be correct because this commit was made on Mon Jul 17 19:29:20 2023 and my FBSD-14 kernel from August 13th boots successfully :( However, "Herbert J. Skuhra" says that kldload'ing amdtemp works. So I'll give that a try. =2D- Gary Jennejohn From nobody Fri Sep 1 16:21:34 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Rcjw13WvGz4rgtV for ; Fri, 1 Sep 2023 16:21:37 +0000 (UTC) (envelope-from garyj@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rcjw02TVxz3PJx for ; Fri, 1 Sep 2023 16:21:36 +0000 (UTC) (envelope-from garyj@gmx.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.de header.s=s31663417 header.b=lRoYdluM; spf=pass (mx1.freebsd.org: domain of garyj@gmx.de designates 212.227.17.21 as permitted sender) smtp.mailfrom=garyj@gmx.de; dmarc=pass (policy=none) header.from=gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1693585295; x=1694190095; i=garyj@gmx.de; bh=s3f6fspAFux/XhBpBsVyRmQ8r+vzk54yQ5gv02G8fI8=; h=X-UI-Sender-Class:Date:From:To:Subject:In-Reply-To:References:Reply-To; b=lRoYdluMq5cM00exk0h7QNrnhHHNAh0BMyQilyHsOG3ioPojC/36IDncT434lkNBMCgQ96V KAwzqLs3D3aaOmCeZrqCjloFn/tZDf3MC8SnplTmKyMoYOCJlgolGWvp3MtieGnIHLtO4qmEs LOa2mACk1nP6BtCqXviJ9nlAUkmumMYZvOUHt6gabdit8CgYwSVAUYY/+VRp+OATmqu+YiaKJ rRICF4fYMmrvjxag3Ei4eFkF97ZdKE4lrJzQrTLov4vFkYRqRG6XPkE/lI0vJA9w1irfiFWlg swslMcxUwLmM1q1xH8AzAd/13wrtkcvSOX45+JE3NDWDsqIDPl8g== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from ernst.home ([91.59.229.79]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MrhUK-1pqzv83bHQ-00nhiI for ; Fri, 01 Sep 2023 18:21:34 +0200 Date: Fri, 1 Sep 2023 18:21:34 +0200 From: Gary Jennejohn To: freebsd-current@freebsd.org Subject: Re: FreeBSD-15 kernel panic when the amdtemp device is in the kernel Message-ID: <20230901182134.23b8d5f3@ernst.home> In-Reply-To: <87cyz2x6x1.wl-herbert@gojira.at> References: <20230901130314.460f91bf@ernst.home> <87edjixf6v.wl-herbert@gojira.at> <20230901160441.038539cd@ernst.home> <87cyz2x6x1.wl-herbert@gojira.at> Reply-To: garyj@gmx.de X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:asuPlnk6E3hAFKR93oDfUZTIhvNf7tKXD/tnZdCAvbDAu7e284t 3nQUmpTMG1a74Ow61SGTzxaa0fHinAt+C5lp/I54WMdo+bdBynY636C3peS+HAFL/xnWMCN fYsnhFfjcwciDQstJfYxyWpbLMJOMyJHHaadgju/Y9kMyoNjDCuMqepVD11LDND20CmMdhi Luzq5qdqd/ulL6asQf+rg== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:S0jPddevSLk=;QUGgW5KmoK2kklz0mKrxD59D/wk yC6QlhJXEvOeBGsEaqJ+ubqigNvg8PUu1zKyYSU26ZgVX14GBTMjA3XMtQA4/64X/RX+WYplX QEsyTvXKYGeLB+pYpTJMRwUq1mC0VkHBc9VdxdSVwtN7GkFJoMWtf+AAB8c1yE7TELLEU9lqF ZQlqGndhK8ESskTQqPoZA5UYGKP1sD6tfYjmfmSVhjkSt1FnKBZCh5jhJc96rjBhoby/bjAuC iV71gxpeC1u5ZywAt/Wob2PyUFBkhcN4rPldhdXMIAWH8coUtqxqUuUKZ2ek2hoG/uItve5Vp ICtjnkQHMMC1sWSdzQ1PK+9ObdsU0n4AmmO2YZO0zH7WDTX7OgJg+fuNplIaCCWwtJyKxtP5F /YiKm8hlIQCiW7+xrf7EDCQV2SM4hk5kuIxhG6POTZu1OVVLI4TH4eF4rQML95pNRgVYogJ4G JjhPbfY5ZXEJtOAtvrn/oO/t1ISLT/1SKSXEDZQKsa90hVFF+2g1K1AiE0J9fiMpJssOk4Ljn m/sSam0KoGDIngIjxms4SxLf+hyeMvX1FwJFt9sja6SouqxO7fM68Pz4FU5GuvxC6O5h/gx57 Re2/aMwsGNEnheRUmYkbIfXK8aEGKPI7OEI4ZqNMRkrYQlwLW8VdavXh295YSRY7XkKNfb3YD fTwKqC/deazfrqzcBo6p2y7BQJyMBabHoE6TspCppzSXgUFrq6NheQfyndGfT/UILg/JKDx1J CDloV+XKijjjSr7mf5m0q+94WIoAkm9XVXoKz+Z7ShFezKj21eeyg2fTwtjBRXvcfz8VpXq+Q 7g+Az8W7GSojx+eNU/jKB08Fwu3dlbgX6wzMXUDd0k79xNZnedfa0atYTjeKSeJ6ab2gvX/vb HMq1MIlcxqW3zsqkbG2OveVkRWv5nQMtDTWqhHoeZ2zDuMAII/k3eMnscSu6lfdrDE9VqKFev VMGKgg== X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.07 / 15.00]; NEURAL_HAM_LONG(-0.98)[-0.976]; NEURAL_HAM_SHORT(-0.95)[-0.953]; NEURAL_HAM_MEDIUM(-0.94)[-0.944]; DMARC_POLICY_ALLOW(-0.50)[gmx.de,none]; R_SPF_ALLOW(-0.20)[+ip4:212.227.17.0/27]; RWL_MAILSPIKE_VERYGOOD(-0.20)[212.227.17.21:from]; R_DKIM_ALLOW(-0.20)[gmx.de:s=s31663417]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.17.21:from]; BLOCKLISTDE_FAIL(0.00)[91.59.229.79:server fail]; FREEMAIL_REPLYTO(0.00)[gmx.de]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_REPLYTO(0.00)[garyj@gmx.de]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; FREEMAIL_ENVFROM(0.00)[gmx.de]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FREEMAIL_FROM(0.00)[gmx.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; DKIM_TRACE(0.00)[gmx.de:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4Rcjw02TVxz3PJx On Fri, 01 Sep 2023 17:14:02 +0200 "Herbert J. Skuhra" wrote: > On Fri, 01 Sep 2023 16:04:41 +0200, Gary Jennejohn wrote: > > > > On Fri, 01 Sep 2023 14:15:20 +0200 > > "Herbert J. Skuhra" wrote: > > > > > On Fri, 01 Sep 2023 13:03:14 +0200, Gary Jennejohn wrote: > > > > > > > > I have a laptop wioth a AMD Ryzen 5 and a tower with a AMD Ryzen 7= 3700X. > > > > > > > > These are respectively Zen 1 and Zen 2 CPUs. > > > > > > > > I built a kernel on both computers using the FreeBSD-15 source tre= e. > > > > > > > > If I include the amdtemp device in my kernel file BOTH computers e= nd up > > > > with a kernel panic while trying to attach the amdtemp device. > > > > > > > > If I remove amdtemp both computers boot without any issues. > > > > > > > > I suspect that this commit is the cause: > > > > > > > > commit 323a94afb6236bcec3a07721566aec6f2ea2b209 > > > > Author: Akio Morita > > > > Date: Tue Aug 1 22:32:12 2023 +0200 > > > > > > > > amdsmn(4), amdtemp(4): add support for Zen 4 > > > > > > > > Zen 4 support, tested on Ryzen 9 7900 > > > > > > > > Reviewed by: imp (previous version), mhorne > > > > Approved by: mhorne > > > > Obtained from: http://jyurai.ddo.jp/~amorita/diary/?date=3D20= 221102#p01 > > > > Differential Revision: https://reviews.freebsd.org/D41049 > > > > > > Thanks for sharing your findings. > > > > > > Now I probably know why my old kernel from stable/13 no longer boote= d > > > after updating to stable/14. I've create a new kernel config and > > > forgot to add "device amdtemp" & "device amdsmn" and forgot about th= e > > > issue. After removing only "device amdtemp" from my old kernel confi= g > > > it boots again. > > > > > > Unfortunately reverting this commit (git revert -n 323a94afb623) > > > doesn't resolve this issue. Old kernel does not boot if "device > > > amdtemp" is enabled. Probably wrong commit or I am doing somethig > > > wrong!? > > > > > > > Strange. My FreeBSD-14 kernel boots with device amdtemp (which automa= tically > > results in amdsmn being included). It's FreeBSD-15 which fails for me= . > > 1. 'kload amdtemp' works: > 12 1 0xffffffff81e7c000 3160 amdtemp.ko > 13 1 0xffffffff81e80000 2138 amdsmn.ko > > amdsmn0: on hostb0 > amdtemp0: on hostb0 > > 2. GENERIC boots fine. The following kernel does not: > > include GENERIC > > ident TEST > device amdtemp > > 3. Unfortunately this is a remote server without a serial console. I > don't get a crashdump and I can't find anything in /var/log/messages. > > 4. I have no good revision for stable/14 and main. On main I always > use GENERIC-NODEBUG. :-( > Thanks, Herbert! kldload'ing amdsmn and amdtemp really does work! Now I can run FBSD-15 :) =2D- Gary Jennejohn From nobody Fri Sep 1 16:57:56 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Rckk5423Rz4rm7f for ; Fri, 1 Sep 2023 16:58:05 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rckk456Sbz3X5t; Fri, 1 Sep 2023 16:58:04 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=UC1fLhV1; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::134 as permitted sender) smtp.mailfrom=grahamperrin@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-500a398cda5so3941320e87.0; Fri, 01 Sep 2023 09:58:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693587481; x=1694192281; darn=freebsd.org; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=dJTLSYipeSbSOCWNpQRP8ewEFkmBeBaboy8D7nBwjtc=; b=UC1fLhV1copYT1lMjo9TZIB/0Da/EUYyZ9qhcAJhsOWHI1rcREKydiIyn3ExP2VP9z Oq6g3nEgLAalPS6faCh7Da5eQvcLSkNPuceMuMJjX86zIub2FEu6xL+QUBoUylb9Sv3u igczf4PVY6wUK+Ch0imW4CtjMvqdG3z30wlnwdGGxluKEMy2vGrpGytHNrqnsO6kjFGd 9l8XsKYbeJoxT6NqFPo/WzZtnhdD8cdxwYZD0ir4AnsQnmjJmXRUioBTtKExiLFySBz7 XyPj0bR1kGBpeg3ZVw2RelIarIivoWMgyTbkLg5qM5+2zq8quXepA713BWSjpmGoAC4n YtmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693587481; x=1694192281; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=dJTLSYipeSbSOCWNpQRP8ewEFkmBeBaboy8D7nBwjtc=; b=LfCF79Abuq0hyPd98tkcK1sw8H5CUOZzwUvCdsOZ53tMf0YWVYL2+sQ5RMJxTb9vrh /8d+gtrZUnKQo9UPpaqgNAsk79L6ZssK3fEg6uTCOvL9lRjg7DKTwZOOnsra0wx+T+xx hNWD2c9od8nJj+Uf9K2l4yoyKrI6z0jU6KOhp0i/vYMDFg4RvPz4k2tlAJ+a018TvRla FkNLDRSicObxRr+Ym0R1eodaZ/PqYXh8z4ps+p1CLc7Aceuf31iO1vdGitxi5n6ihSgt 51b3uEgb4/lhprEZ8omRuS5oxkw4mZ4n5dx/xhV3Fxn9M6qzTrnENaYLInDAXvpvPDPy t5PQ== X-Gm-Message-State: AOJu0Yz7CSQDJk3B2iPAcz5BrjLwMQTPR1eDYEG6Rbo4YdWjRYpJQ8SA iGGy0tMocfy71K/vKfPtvEyqizhtuxw= X-Google-Smtp-Source: AGHT+IF5YVQvixT0gHq4Fgb+4fH+/k3Xu6jvLvLEgGRCO8p/mWmnWaGNM0cX92IhIZoMDf8FUJvHLA== X-Received: by 2002:a05:6512:210d:b0:4f9:596d:c803 with SMTP id q13-20020a056512210d00b004f9596dc803mr1684216lfr.53.1693587480815; Fri, 01 Sep 2023 09:58:00 -0700 (PDT) Received: from [192.168.1.10] (80-42-66-93.dynamic.dsl.as9105.com. [80.42.66.93]) by smtp.gmail.com with ESMTPSA id w26-20020a50fa9a000000b0052a401d8ef6sm2287219edr.71.2023.09.01.09.57.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 01 Sep 2023 09:57:59 -0700 (PDT) Message-ID: Date: Fri, 1 Sep 2023 17:57:56 +0100 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Content-Language: en-US To: FreeBSD CURRENT , kde@freebsd.org From: Graham Perrin Subject: Unicode input regression Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.993]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; MIME_GOOD(-0.10)[text/plain]; FREEFALL_USER(0.00)[grahamperrin]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::134:from]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4Rckk456Sbz3X5t Following my first pkg upgrade with 15.0-CURRENT, I no longer get the required character after input. In applications such as Dolphin, Konsole, Firefox, and Thunderbird: the visible input (e.g. code 2013 for an en dash) is followed by disappearance. In Code - OSS (editors/vscode): input is followed by visibility of the code (e.g. 2013), as if I typed it normally. The version of IBus did not change. Does anyone else have this regression? From nobody Fri Sep 1 20:20:09 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RcqCL47T5z4rRX1; Fri, 1 Sep 2023 20:20:14 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RcqCL3qBpz4XVb; Fri, 1 Sep 2023 20:20:14 +0000 (UTC) (envelope-from gjb@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693599614; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=WcleygI/CAN2iN/YgR3+TEYmlzo1K3NglkR0Of1HKiU=; b=s1PrQRIs3E6yruXneTWDWH9oJ+QERUcNzBzwGK6mty/99OyJYoKUoE578AL3COmk+2qcL7 3wmwE2+eatN20aJghzZlTQahhY8xGv1i2r3Y0PUSGsXAxOzmrhbkzx049BwJDTz+vv4YvQ DuU8/B9N24o3usIC+mzDxDLzeXZ25DdBPA+3pQX+EEiR2Jg3Bz+W12tyJaGBrqu5ETVn5G kspom3txUs4qCbDfrvV+86tLxgXl0BbcnTxQ+TJjTR9tCsALR1ISyHopUwXu8EOvPf0jqT B/bnWX5jHqLsS9cBP3UjWQxv9bv/MD45DK0O14vlL5SVSIyzrPkqUGh1VThFgA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693599614; a=rsa-sha256; cv=none; b=iM3anHoaeiFATDoW40JBjZM9t3PZd+4KL+LhfcdEWF0UhJ+e1TE0R6iFUJNCvOxiz1Zt/A 0wKVzwjHgEA2RmgCA+9BjyH4Df9l1kbJPCKJogQ4SCvOJxIL6r4XIHJJ1ipPFNtHw2Q5oG +myr7gJXCVfgeduZU2J1HRLVMHFIdno91DCZq/Ip4EbQRG2eufM25t87Ozw4tApKQ5bdLk Sc9x/taajyIQTsYPFFhsPg4dFnMRyQJIfiCd4O4vK7VbKy4SDxJCPvAZaEbH6GfOc9UxIL 2Pdvk84hK/qzL0KvEoh13okiT7uWfmKF8iSK3jnlwqSme0jJEFWKmxWGHh3A1Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693599614; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=WcleygI/CAN2iN/YgR3+TEYmlzo1K3NglkR0Of1HKiU=; b=EktznpXvx/Ylioubu/iOetKBPny1hYlhZ/X6S0V1q7EnnkfVV6KljAqlT5fAERWslCOljJ I2Bs1xGuqNYi6eSV+lQ4aAyV74B8xtnvfReV7lLf0j/9NC9E41uMRReXR8muetfwawyuo9 DMutAwKnHDusVVSmOxvaVTX+Ux4rjNVREZZ+uShJpD87WoPodNYTv4IjBGOxUihsKVtixq 3RaUDyiO2n0S8Pil+cNJr9mkZ0LuoPqO66PVSXSwqmvrvHYZtjAy/ntvTnBBpsjbLW7oJm DOpNHC6q4zv20fSLjnulq0DlxEp/fAVG0uF2AwyVH8ldnG+1vh2zhLT7cO1bAw== Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 28F7E16D6; Fri, 1 Sep 2023 20:20:14 +0000 (UTC) (envelope-from gjb@freebsd.org) Date: Fri, 1 Sep 2023 20:20:09 +0000 From: Glen Barber To: freebsd-snapshots@freebsd.org, freebsd-current@freebsd.org, freebsd-stable@freebsd.org Cc: FreeBSD Release Engineering Team Subject: New FreeBSD snapshots available: stable/14 (ALPHA4) (20230901 4c3f144478d4) Message-ID: <20230901202009.GV4090@FreeBSD.org> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 New FreeBSD development branch installation ISOs and virtual machine disk images have been uploaded to the FreeBSD Project mirrors. As with any development branch, the installation snapshots are not intended for use on production systems. We do, however, encourage testing on non-production systems as much as possible. Please also consider installing the sysutils/panicmail port, which can help in providing FreeBSD developers the necessary information regarding system crashes. Checksums for the installation ISOs and the VM disk images follow at the end of this email. === Installation ISOs === Installation images are available for: o 14.0-ALPHA4 amd64 GENERIC o 14.0-ALPHA4 i386 GENERIC o 14.0-ALPHA4 powerpc GENERIC o 14.0-ALPHA4 powerpc64 GENERIC64 o 14.0-ALPHA4 powerpc64le GENERIC64LE o 14.0-ALPHA4 powerpcspe MPC85XXSPE o 14.0-ALPHA4 armv7 GENERICSD o 14.0-ALPHA4 aarch64 GENERIC o 14.0-ALPHA4 aarch64 RPI o 14.0-ALPHA4 aarch64 PINE64 o 14.0-ALPHA4 aarch64 PINE64-LTS o 14.0-ALPHA4 aarch64 PINEBOOK o 14.0-ALPHA4 aarch64 ROCK64 o 14.0-ALPHA4 aarch64 ROCKPRO64 o 14.0-ALPHA4 riscv64 GENERIC o 14.0-ALPHA4 riscv64 GENERICSD Note regarding arm/armv{6,7} images: For convenience for those without console access to the system, a freebsd user with a password of freebsd is available by default for ssh(1) access. Additionally, the root user password is set to root, which it is strongly recommended to change the password for both users after gaining access to the system. Snapshots may be downloaded from the corresponding architecture directory from: https://download.freebsd.org/snapshots/ISO-IMAGES/ Please be patient if your local mirror has not yet caught up with the changes. Problems, bug reports, or regression reports should be reported through the Bugzilla PR system or the appropriate mailing list such as -current@ or -stable@ . === Virtual Machine Disk Images === VM disk images are available for the following architectures: o 14.0-ALPHA4 amd64 o 14.0-ALPHA4 i386 o 14.0-ALPHA4 aarch64 o 14.0-ALPHA4 riscv64 o 14.0-ALPHA4 amd64 BASIC-CI Disk images may be downloaded from the following URL (or any of the FreeBSD Project mirrors): https://download.freebsd.org/snapshots/VM-IMAGES/ Images are available in the following disk image formats: ~ RAW ~ QCOW2 (qemu) ~ VMDK (qemu, VirtualBox, VMWare) ~ VHD (qemu, xen) The partition layout for UFS images is: ~ 512k - freebsd-boot GPT partition type (bootfs GPT label) ~ 1GB - freebsd-swap GPT partition type (swapfs GPT label) ~ 24GB - freebsd-ufs GPT partition type (rootfs GPT label) Note regarding arm64/aarch64 virtual machine images: a modified QEMU EFI loader file is needed for qemu-system-aarch64 to be able to boot the virtual machine images. This is provided by the emulators/qemu port. To boot the VM image, run: % qemu-system-aarch64 -m 4096M -cpu cortex-a57 -M virt -bios /usr/local/share/qemu/edk2-aarch64-code.fd -serial telnet::4444,server -nographic -drive if=none,file=VMDISK,id=hd0 -device virtio-blk-device,drive=hd0 -device virtio-net-device,netdev=net0 -netdev user,id=net0 Be sure to replace "VMDISK" with the path to the virtual machine image. BASIC-CI images can be found at: https://download.freebsd.org/snapshots/CI-IMAGES/ === Amazon EC2 AMI Images === Amazon EC2 AMI images available for FreeBSD/amd64. These AMI IDs can be retrieved from the Systems Manager Parameter Store in each region using the keys: /aws/service/freebsd/amd64/base/ufs/14.0/ALPHA4 /aws/service/freebsd/amd64/base/zfs/14.0/ALPHA4 Amazon EC2 aarch64 AMI images are not available for this snapshot. === Vagrant Images === FreeBSD/amd64 images are available on the Hashicorp Atlas site for the VMWare Desktop and VirtualBox providers, and can be installed by running: % vagrant init freebsd/FreeBSD-14.0-ALPHA4 % vagrant up == ISO CHECKSUMS == o 14.0-ALPHA4 amd64 GENERIC: SHA512 (FreeBSD-14.0-ALPHA4-amd64-20230901-4c3f144478d4-265026-bootonly.iso) = be2a357b798b3a455da597bde4f89592eb73248cae7c61d613b523856c5f21b4e8607e9bb7f79eea74abab47cc0bb6007d6e207ef7fed558ad267c8162b6c8fe SHA512 (FreeBSD-14.0-ALPHA4-amd64-20230901-4c3f144478d4-265026-bootonly.iso.xz) = 750595e6f51553b468eb47b2ab0003a326903edc80b793da84fef827ec67532a9abdecc406d117762fa638b0bc8f3d9105f8bbda566d9410444c474281414180 SHA512 (FreeBSD-14.0-ALPHA4-amd64-20230901-4c3f144478d4-265026-disc1.iso) = 5546879f2af755060905aa78e8f573e20ff3e318c42f56595a7db816f19a219f0cd1e8cbf72da2761757ae21278e507f8e17221a30c83b805e944d4ac5ee4aae SHA512 (FreeBSD-14.0-ALPHA4-amd64-20230901-4c3f144478d4-265026-disc1.iso.xz) = 5168322946ed1a0a4ec69229eb51e798c037635aa849805d458a818d9930ece03a1d28b46c33987219074212c8ded60ba8ecbe3f5c06ed90718730b86351b7f1 SHA512 (FreeBSD-14.0-ALPHA4-amd64-20230901-4c3f144478d4-265026-memstick.img) = 0d026c7e14eb64ea65ffc590cf9038d01d3c2b88149a6589cf0b4d3a7c2ea449f8535a3896c8e59e7ee0034016745e5a9cac0c7281f5948809092906d1fa4ef0 SHA512 (FreeBSD-14.0-ALPHA4-amd64-20230901-4c3f144478d4-265026-memstick.img.xz) = 26da8b38e6a585cf0c7f66f1536f92fc0dda7f80ee94299d149bd6dc53eccb174c7f9889bfd8ab6d03893423a97f51ba0e3824f1918c6d5d4b71ab1112433a57 SHA512 (FreeBSD-14.0-ALPHA4-amd64-20230901-4c3f144478d4-265026-mini-memstick.img) = d9dfe04ff295d5988d04093eb8e741b1d46bcbb2200ea4eb145f174d0dbbe5299d7fb79e5371f3d29c552c19d05a882998b425d74b221f2ca08f40ec458db368 SHA512 (FreeBSD-14.0-ALPHA4-amd64-20230901-4c3f144478d4-265026-mini-memstick.img.xz) = 6a999025c56369995cfc30b51cb914ca2269916d52538fc05c6ce7a127e75df81e10fd4afcc7323d6c9c5d4dfc5074eaea0da2650db681ba0fb960673ed577a2 SHA256 (FreeBSD-14.0-ALPHA4-amd64-20230901-4c3f144478d4-265026-bootonly.iso) = 893f30da20cab22c7e6bce940bff0bacca8455adf38a60e8b6bf72643ea30a82 SHA256 (FreeBSD-14.0-ALPHA4-amd64-20230901-4c3f144478d4-265026-bootonly.iso.xz) = 3b92a2a82fd094726e630fc83da43f29e303c97592df1ee69d8f1e3bba57fcd1 SHA256 (FreeBSD-14.0-ALPHA4-amd64-20230901-4c3f144478d4-265026-disc1.iso) = 627a42108f85272b5f1401cbba70bc4f4a9de81bf7517720ad6935433bac5183 SHA256 (FreeBSD-14.0-ALPHA4-amd64-20230901-4c3f144478d4-265026-disc1.iso.xz) = 3a83f43f21fb35a842461bd824514a5c30b43fbcc30e2f5a317a328d1a7ccca6 SHA256 (FreeBSD-14.0-ALPHA4-amd64-20230901-4c3f144478d4-265026-memstick.img) = 3edfed9c720a066bad431e28dbfbc18315d2d6e3434dc0ea5a4355669f6bff5d SHA256 (FreeBSD-14.0-ALPHA4-amd64-20230901-4c3f144478d4-265026-memstick.img.xz) = e50954d709c30b4d99dd162ce78faedc148b81df7ce88bd516731afd51bd741b SHA256 (FreeBSD-14.0-ALPHA4-amd64-20230901-4c3f144478d4-265026-mini-memstick.img) = e5ce221e54b19f00594d4dc7c9074bd5dbdfb9821b4d5343804f752ff42c97b7 SHA256 (FreeBSD-14.0-ALPHA4-amd64-20230901-4c3f144478d4-265026-mini-memstick.img.xz) = fb8930266559f704e993f6dfb9ee406a4c9e289efc4109f6141aa7b664e883ea o 14.0-ALPHA4 i386 GENERIC: SHA512 (FreeBSD-14.0-ALPHA4-i386-20230901-4c3f144478d4-265026-bootonly.iso) = 181717d4a06f6f60bc91beb5016f8870d2b60b0f36b59f4b3c10a932f3376d2180d145ea6cbd24b03053e412a2ec1c32ce1d184c297566fc504352025bb19ef6 SHA512 (FreeBSD-14.0-ALPHA4-i386-20230901-4c3f144478d4-265026-bootonly.iso.xz) = 93c745b2f0831ef578a9b5629f4f4d97f337860e4569a79af690c4d98c8ac94a9007e118423f8e7ef5e21d152169fcf165ccdfd39c95aa7daa7fde5bbe99526b SHA512 (FreeBSD-14.0-ALPHA4-i386-20230901-4c3f144478d4-265026-disc1.iso) = 8954ef66d404d0754b16418537f63b1d2301c2868c79c75a294adc2f8adc8362f981e08476e1916cab987a9dc246153d4c6242daeae1d46218f953633d3958f9 SHA512 (FreeBSD-14.0-ALPHA4-i386-20230901-4c3f144478d4-265026-disc1.iso.xz) = 56361e74043bb85c8acc13715133f7aab71fa729033cd46ae099a5f941a6d819bb90f1f91f28c161a8b8db52344cbde28c0e518c1a6bffaa5045caff06153cb3 SHA512 (FreeBSD-14.0-ALPHA4-i386-20230901-4c3f144478d4-265026-memstick.img) = 9c282f293e118f35f2f052ae82730b50571b2213573eb42f72adf212d4c601eee8c3dae6c34b0ad05273c1ebbfd81051c59444acd34c0c573eb8fd6ae5228fb3 SHA512 (FreeBSD-14.0-ALPHA4-i386-20230901-4c3f144478d4-265026-memstick.img.xz) = 2c569775c6b66d7c8d73a607f952e422e7fbfab5c1484a70d699441873dd63ac29b9a72c29ce4362f27bb708f884acb8c81aa891d1dbb2dd1d367b27fb137528 SHA512 (FreeBSD-14.0-ALPHA4-i386-20230901-4c3f144478d4-265026-mini-memstick.img) = da07abb2b8ede1e572bfc92db6b1e96220bc3ac16213ea8508eb56a946a5b3d21950c519c3ca7602dd824f4358840c45459991b25d3c45037f2bf510b3dc73f9 SHA512 (FreeBSD-14.0-ALPHA4-i386-20230901-4c3f144478d4-265026-mini-memstick.img.xz) = 8ae742c136ca7f4324592e13c771da3bb6cf6e817924e14a586bd94a02156079ceaff02183cf4d2ef30b3f04583307da851c6d493f3da964d9e9f51922149c9d SHA256 (FreeBSD-14.0-ALPHA4-i386-20230901-4c3f144478d4-265026-bootonly.iso) = 8c5e17fdb98ef71c88a4060103d23f1029d03d7fef2d16794945fef53e6c54ba SHA256 (FreeBSD-14.0-ALPHA4-i386-20230901-4c3f144478d4-265026-bootonly.iso.xz) = be123216f8e9d5c0be3c6498fa9d55ee8357d81d5832510871888de6576da0c9 SHA256 (FreeBSD-14.0-ALPHA4-i386-20230901-4c3f144478d4-265026-disc1.iso) = db818c7336ed768d43d962c2c219f0eb86e3c58265ffb3a76345e36129415e0a SHA256 (FreeBSD-14.0-ALPHA4-i386-20230901-4c3f144478d4-265026-disc1.iso.xz) = 094eaca34fee47ffba1113ccfdbdc916b3e2906fe808cb83a8e0d73b025e9b72 SHA256 (FreeBSD-14.0-ALPHA4-i386-20230901-4c3f144478d4-265026-memstick.img) = 7cccc55574a715f8bf6b0940dd585b9036e3838d814061494040271a33da4a3e SHA256 (FreeBSD-14.0-ALPHA4-i386-20230901-4c3f144478d4-265026-memstick.img.xz) = a52ad1e6a880e60f1d8911c4054761e4e9a7a302400d4c2ed7dc109cc95d52d9 SHA256 (FreeBSD-14.0-ALPHA4-i386-20230901-4c3f144478d4-265026-mini-memstick.img) = 5078e7ad5907321d6820da43edba3f62bafa599bc9677d8ee3deb550ae4c2fb7 SHA256 (FreeBSD-14.0-ALPHA4-i386-20230901-4c3f144478d4-265026-mini-memstick.img.xz) = 9152e35ef677cb89be3739ebfc84e2c17bf0c447db308015339d460b36778429 o 14.0-ALPHA4 powerpc GENERIC: SHA512 (FreeBSD-14.0-ALPHA4-powerpc-20230901-4c3f144478d4-265026-bootonly.iso) = a4def6ec9ef35f6d8c96502cf0324529e424d1f3a26b1fe402f1b7f2afa12b03ab107cca7206728aa5fba8473c9aee4cef3f12f0cee10f359c70a4ced489fe11 SHA512 (FreeBSD-14.0-ALPHA4-powerpc-20230901-4c3f144478d4-265026-bootonly.iso.xz) = 7336a907ddb69608aac9cf231d49e2556904f19ed7890bb6d95b94c687b23188c49d4e3054982f848cddcd606eb04f97e4eebd87e455bbd9159fb61960abbc78 SHA512 (FreeBSD-14.0-ALPHA4-powerpc-20230901-4c3f144478d4-265026-disc1.iso) = 7d52dfec26df70af8cad28e5792bf609514ecca1732b6dbd112f765b70503f7e880169c907f40893f89460a31b52b7484aa4d444ee4606cacb82963a26e9693e SHA512 (FreeBSD-14.0-ALPHA4-powerpc-20230901-4c3f144478d4-265026-disc1.iso.xz) = ce760550e5584b958def145ee26f96d57da27581a7f704982a11b8b73cc26ea8fe13945555c268d79c016f018f9b1e44a47537c1ca1d0c0999d23e9ae2378e22 SHA256 (FreeBSD-14.0-ALPHA4-powerpc-20230901-4c3f144478d4-265026-bootonly.iso) = 4fcbc4b3cd285dd1f81ca0c08774c0942f84e5284bedc32e6d2e00677ef7ec48 SHA256 (FreeBSD-14.0-ALPHA4-powerpc-20230901-4c3f144478d4-265026-bootonly.iso.xz) = 05c5e449b63c199709e9420355c799ad7ee5fa46651ba28279fa5c28a568b66e SHA256 (FreeBSD-14.0-ALPHA4-powerpc-20230901-4c3f144478d4-265026-disc1.iso) = 0597ca7913f6278d7d3f54ee639f0d05cd213a06281f8c84b3bfdea191a741b6 SHA256 (FreeBSD-14.0-ALPHA4-powerpc-20230901-4c3f144478d4-265026-disc1.iso.xz) = cfd9b735f6b40b5afb4584ba26f2e6cb1d36b89de733a4ac5ed73ee0001c51e5 o 14.0-ALPHA4 powerpc64 GENERIC64: SHA512 (FreeBSD-14.0-ALPHA4-powerpc-powerpc64-20230901-4c3f144478d4-265026-bootonly.iso) = 6e289f5352bc72aeb787dea0f5dc222b6e58dcf29e45f26914a1cdbe970518343f7f1592962ae8406620f7c15dafc718d0df78bbc25562908355b66518db7253 SHA512 (FreeBSD-14.0-ALPHA4-powerpc-powerpc64-20230901-4c3f144478d4-265026-bootonly.iso.xz) = 454de22d5ea65f930cd76f630fbe0172e0d119190f607f5080981b631ab5d6267cdbc55aa499e46c09662b60988921b2326a4ed880646f3e551cd08c8daa56ff SHA512 (FreeBSD-14.0-ALPHA4-powerpc-powerpc64-20230901-4c3f144478d4-265026-disc1.iso) = 40c6b9515556c0417acfb3bc209f2549342580e811d753fba5cb5da207616bba0661bf846477f5df220c2a5ba15fa9260b12e989712227e7352e2b2a630107c6 SHA512 (FreeBSD-14.0-ALPHA4-powerpc-powerpc64-20230901-4c3f144478d4-265026-disc1.iso.xz) = 1caa3834361d50298606878066f79e3e0fe19db6b43f80686b9d32dd0605470a474e091bde439316ca4b070f32629f5b484dacc9ffb79ab0060fa5828189be72 SHA256 (FreeBSD-14.0-ALPHA4-powerpc-powerpc64-20230901-4c3f144478d4-265026-bootonly.iso) = d69a4192b89ddb1a89fc384f8b716f6a923499a53507b6366dcc3d65a3d90497 SHA256 (FreeBSD-14.0-ALPHA4-powerpc-powerpc64-20230901-4c3f144478d4-265026-bootonly.iso.xz) = 00947dd3be74ce466314f5d4d5edd1e8550db1a4e755cc5f32116ef693597e83 SHA256 (FreeBSD-14.0-ALPHA4-powerpc-powerpc64-20230901-4c3f144478d4-265026-disc1.iso) = 7fe58eb07ca6056c6403faf7e2543035a66fb47882c6c72750cbcd08618e2d77 SHA256 (FreeBSD-14.0-ALPHA4-powerpc-powerpc64-20230901-4c3f144478d4-265026-disc1.iso.xz) = c39fb3ed9b7dae4a8403c3decc415629b64dc190ce73ecc0170b5647a98a924c o 14.0-ALPHA4 powerpc64le GENERIC64LE: SHA512 (FreeBSD-14.0-ALPHA4-powerpc-powerpc64le-20230901-4c3f144478d4-265026-bootonly.iso) = 3de1fbdd01f212db00094ecabe8e5e53f9b7bde951615ad9bfeb4847f23644e2e32e7558678a47e06e0aa557ee22c9d3875ae38b1fc99e6c5ee088caa61e7273 SHA512 (FreeBSD-14.0-ALPHA4-powerpc-powerpc64le-20230901-4c3f144478d4-265026-bootonly.iso.xz) = aee3a58abd82d8b64ce66a93251931812f0b24cdd312959ae8f8a5ca13b2f40f6bd69e3e72c4083aae5d8a8319daf0ec0130e6030f3786af8fc49538401c0864 SHA512 (FreeBSD-14.0-ALPHA4-powerpc-powerpc64le-20230901-4c3f144478d4-265026-disc1.iso) = 3f4295bc3555d3cb050de74b662dab2b0d7ac16a5ed00d989c199c22d4daee0e0cbae6053da66381eddab3b2666a47662f0d6a023ee2deb7405e00f020e1b981 SHA512 (FreeBSD-14.0-ALPHA4-powerpc-powerpc64le-20230901-4c3f144478d4-265026-disc1.iso.xz) = ea1223d2b0f02e498da6bb9c942d63d04cea80237a152c1d678da2bed99dd5fe3297043c1806a4d80c56568117a09c5b2d38b367371e539c071b5080bdc902d6 SHA256 (FreeBSD-14.0-ALPHA4-powerpc-powerpc64le-20230901-4c3f144478d4-265026-bootonly.iso) = 4a669bca5523edf69db148fded118c795bdf50676dadb33ff965bf8a903631cf SHA256 (FreeBSD-14.0-ALPHA4-powerpc-powerpc64le-20230901-4c3f144478d4-265026-bootonly.iso.xz) = 923b70cdf539277ea32fa8da4a2d8cb39a34fcdf7bfcfdefba3d3abd73e78d8e SHA256 (FreeBSD-14.0-ALPHA4-powerpc-powerpc64le-20230901-4c3f144478d4-265026-disc1.iso) = d4bee0ea1c5ec84702fb1aaef380d810a5c0cba61816297e6e2d5ca8b31bbd06 SHA256 (FreeBSD-14.0-ALPHA4-powerpc-powerpc64le-20230901-4c3f144478d4-265026-disc1.iso.xz) = 1368ce3f04436fdb7699457ba9b477ba4662b5dfbb67e5a7397da75e74bc9310 o 14.0-ALPHA4 powerpcspe MPC85XXSPE: SHA512 (FreeBSD-14.0-ALPHA4-powerpc-powerpcspe-20230901-4c3f144478d4-265026-bootonly.iso) = 3f6a4ebc912f094d47b83af9b3ba2e0c09232525ab5d7cdac97871ce23462125437f7df9decd3e9f4ee49d260319b45859127a8687dabfb121f71b93b590dea6 SHA512 (FreeBSD-14.0-ALPHA4-powerpc-powerpcspe-20230901-4c3f144478d4-265026-bootonly.iso.xz) = b336920717bc2e542ae0c63d12949ac0abab027bc0affcd8c041f660791f46ee6714014a7a77fee0e235987f4134ce6c3066f0bfbafc15b45d65b9b732af1a11 SHA512 (FreeBSD-14.0-ALPHA4-powerpc-powerpcspe-20230901-4c3f144478d4-265026-disc1.iso) = b47162294900d89c09b9af97b92c6708679de4d8299395e204205a25e5d9f88f7bc739bc8633d646c92f494d9fc358af39ec9cd5ad24768329fe28e9c641b4c8 SHA512 (FreeBSD-14.0-ALPHA4-powerpc-powerpcspe-20230901-4c3f144478d4-265026-disc1.iso.xz) = f15b82d48fcedf637c7fb62091dbdb369250c87c1547852bd89b1112603f5be605388d7e973c265ed7799316b3d08d7debcd47ea3cc7a1b3c45c4b6b581186ec SHA256 (FreeBSD-14.0-ALPHA4-powerpc-powerpcspe-20230901-4c3f144478d4-265026-bootonly.iso) = d67858380b89f564f873de936166adb234e05c4d9b37dc29adaa9bb3dbda2d53 SHA256 (FreeBSD-14.0-ALPHA4-powerpc-powerpcspe-20230901-4c3f144478d4-265026-bootonly.iso.xz) = 722c1d95580d4ec8134392f658b619de548de85c624a3dc0b5af26f07022f794 SHA256 (FreeBSD-14.0-ALPHA4-powerpc-powerpcspe-20230901-4c3f144478d4-265026-disc1.iso) = 9e653abd637ff0f49f5d2c86226e8e5d7cf46d107ac3d5342b47358022228154 SHA256 (FreeBSD-14.0-ALPHA4-powerpc-powerpcspe-20230901-4c3f144478d4-265026-disc1.iso.xz) = 7f2426e415f506cf653d1bd4c15dfa954fc4b1df57f14838179153eac90c609c o 14.0-ALPHA4 armv7 GENERICSD: SHA512 (FreeBSD-14.0-ALPHA4-arm-armv7-GENERICSD-20230901-4c3f144478d4-265026.img.xz) = 57277f277256e8ff14a8f0a861f41fa5061b667856431b46ebf7a36aa528788e3364b66d1a52b4b465d8226e3f87b81fc8f455376d0dbe285ecc0520512699d1 SHA256 (FreeBSD-14.0-ALPHA4-arm-armv7-GENERICSD-20230901-4c3f144478d4-265026.img.xz) = 964036cc468b680bf7899038e5582682878a2542b5bcd99bb2d4fde378305ef2 o 14.0-ALPHA4 aarch64 GENERIC: SHA512 (FreeBSD-14.0-ALPHA4-arm64-aarch64-20230901-4c3f144478d4-265026-bootonly.iso) = b565d46aa88da9c2d9d9906605ee4b5befc665fb066ca36408caa4cb8b2fc0cfa22908395df28c1a581d133001cc9d67e50d48d1059df6c00b3c8436be829599 SHA512 (FreeBSD-14.0-ALPHA4-arm64-aarch64-20230901-4c3f144478d4-265026-bootonly.iso.xz) = b5bac104b89a2efa3d8830ba757f5b6812ab320b322370d99e6c1ee65656c8508b485d40665e06cb1e43227d3b792e704d3c632597a6477ae7415d8d4bff59fb SHA512 (FreeBSD-14.0-ALPHA4-arm64-aarch64-20230901-4c3f144478d4-265026-disc1.iso) = 1531d566887518f6bf23f79aa00548442c04f063b9b402f88cb7c1d524232fbe11d8886f636c06498a4f25044b456e2d4d2b4fb99f2878e68f8f97353d182bca SHA512 (FreeBSD-14.0-ALPHA4-arm64-aarch64-20230901-4c3f144478d4-265026-disc1.iso.xz) = 8e413a275215c599eb85547a3be2b044084b3775e82b72e17b380f906dbcbb9f5eeae8ba74e832b9a36c154082e57a14d429a766985405e3187a424e319049db SHA512 (FreeBSD-14.0-ALPHA4-arm64-aarch64-20230901-4c3f144478d4-265026-memstick.img) = 9d16899be3231c963f33b4f61c9996a2c58329a76a6ba6a45bd955d525c435da2a7d991be6214db3f798aa8fda028dd44921ca14dce4d1017c51d13b68441f34 SHA512 (FreeBSD-14.0-ALPHA4-arm64-aarch64-20230901-4c3f144478d4-265026-memstick.img.xz) = ab40d207f611ddae816180503d3880730ae5bb58b4d8c495e756640e24d9edc75df44eae9136ac54f57fe692640e65ae506abfcd21c9ff24c891825c309796de SHA512 (FreeBSD-14.0-ALPHA4-arm64-aarch64-20230901-4c3f144478d4-265026-mini-memstick.img) = a36e3f0cd09bfb10bba2b8457321aea5ebe44cc89bc54da8f4c7209ee0723a1119759a0a1bdcca28de77e0a4bcb495f02ba788e0c48167ca8b1e7797e58f1a2e SHA512 (FreeBSD-14.0-ALPHA4-arm64-aarch64-20230901-4c3f144478d4-265026-mini-memstick.img.xz) = 12ca224ee51437c1c5212b5c333a84b65924f493c044c01c17eb70d2a716d3be160e182d21ee7419e23b195513dcb25461743ce584f666a236506636ec6f3999 SHA256 (FreeBSD-14.0-ALPHA4-arm64-aarch64-20230901-4c3f144478d4-265026-bootonly.iso) = 898eb51c1121c941d9701afd93e1cc7282607787a3c4287eece9b7aa0140ca5d SHA256 (FreeBSD-14.0-ALPHA4-arm64-aarch64-20230901-4c3f144478d4-265026-bootonly.iso.xz) = ad9f9bd72e58de050be4464f95c0ee504bcc686088e65abba01d8513fd8230da SHA256 (FreeBSD-14.0-ALPHA4-arm64-aarch64-20230901-4c3f144478d4-265026-disc1.iso) = 1ab54cb7e097c3c2056afc94ed054427d370dfed6f175740143d0c7167eb09e9 SHA256 (FreeBSD-14.0-ALPHA4-arm64-aarch64-20230901-4c3f144478d4-265026-disc1.iso.xz) = 8815152b1c4f4b40633bab43cd60dce4564ffa59f6855cdc076edc276086d7b6 SHA256 (FreeBSD-14.0-ALPHA4-arm64-aarch64-20230901-4c3f144478d4-265026-memstick.img) = 8a4f32193cad0da8d76071b1bb16adda2cbb7d9e4f24b29e2c3c503bdac66afd SHA256 (FreeBSD-14.0-ALPHA4-arm64-aarch64-20230901-4c3f144478d4-265026-memstick.img.xz) = e615e832f8db1a466f68d9c644f19afe3c28d4193c6374bde345573963733e03 SHA256 (FreeBSD-14.0-ALPHA4-arm64-aarch64-20230901-4c3f144478d4-265026-mini-memstick.img) = 0325e7b21b713164fe36a3e226bd8c3fd89ed154498f14da692ad16075d88c58 SHA256 (FreeBSD-14.0-ALPHA4-arm64-aarch64-20230901-4c3f144478d4-265026-mini-memstick.img.xz) = 77f233466ea85036a77000b570e54181eb2685952b5a26a275078314b57159f4 o 14.0-ALPHA4 aarch64 RPI: SHA512 (FreeBSD-14.0-ALPHA4-arm64-aarch64-RPI-20230901-4c3f144478d4-265026.img.xz) = 2b296cad43a4aa3e5bc03b4a21d19bb7d8b239d91c14fb8cbe4161dd68cb0f72189c345f1c0dee0c9a18bd09f8ec7f2fce91709d8497b24c6ecdf47456128f70 SHA256 (FreeBSD-14.0-ALPHA4-arm64-aarch64-RPI-20230901-4c3f144478d4-265026.img.xz) = f9273c174939e631e82f2e6feeaf4ffb6de62c8dccf768394614991827ea0f32 o 14.0-ALPHA4 aarch64 PINE64: SHA512 (FreeBSD-14.0-ALPHA4-arm64-aarch64-PINE64-20230901-4c3f144478d4-265026.img.xz) = cd0e1c98bfd4dcca522b59af678109b0968c5d0c22bbf58c2add7f36357b6ae6cc5472e150766776f0757025008cac1aa431943230251634956f552635c8843c SHA256 (FreeBSD-14.0-ALPHA4-arm64-aarch64-PINE64-20230901-4c3f144478d4-265026.img.xz) = 98147a36bce1380bd3303decd89c13ebd9daa06805c5ba7cf3008514881d052b o 14.0-ALPHA4 aarch64 PINE64-LTS: SHA512 (FreeBSD-14.0-ALPHA4-arm64-aarch64-PINE64-LTS-20230901-4c3f144478d4-265026.img.xz) = 07260fd88e410632c29f4dd774cac252bff533ef02af4315588330d251436c9527c712bcfa42f227e1c88637240866f53770ee4f7b4a78390bd69a64a453329f SHA256 (FreeBSD-14.0-ALPHA4-arm64-aarch64-PINE64-LTS-20230901-4c3f144478d4-265026.img.xz) = 4fc05352faa6662ebacdcafebbe0ce3598887bae4b9ab1894882d5a67ac6915f o 14.0-ALPHA4 aarch64 PINEBOOK: SHA512 (FreeBSD-14.0-ALPHA4-arm64-aarch64-PINEBOOK-20230901-4c3f144478d4-265026.img.xz) = fd14fb9a44f9bafda3d5654b0941ec9190c53a6fc395f4602500de0c6c1a4ab87b188defc50f98f89b7a8216a7dc0a2aa89a1637d3cf5ea409c41286e31f18b8 SHA256 (FreeBSD-14.0-ALPHA4-arm64-aarch64-PINEBOOK-20230901-4c3f144478d4-265026.img.xz) = 782a547d9df1c0189bbf5b5b0abc3f90530c7a6755c9a01f50ad377a494e094b o 14.0-ALPHA4 aarch64 ROCK64: SHA512 (FreeBSD-14.0-ALPHA4-arm64-aarch64-ROCK64-20230901-4c3f144478d4-265026.img.xz) = c6b10516c901e84ab661f29bda1fcf90669f981736e1bbf1b68c0d6cfe63cbcdf2f0156afefc2c8ed1448a799520fe2da04f780c07f94b6c2e526faeef7e2d9d SHA256 (FreeBSD-14.0-ALPHA4-arm64-aarch64-ROCK64-20230901-4c3f144478d4-265026.img.xz) = a342ab54a726682defb3c8b58d2d27ed9bf2ea1a02da11effc78822810210a90 o 14.0-ALPHA4 aarch64 ROCKPRO64: SHA512 (FreeBSD-14.0-ALPHA4-arm64-aarch64-ROCKPRO64-20230901-4c3f144478d4-265026.img.xz) = e4f1a6d4543db3f4eeba2fa0472d496d7e2c6a4feb9ee4d4455d568c3c27d1a1609896bbf0674cbdfd12849b9532122be41a483be43288eb1e3fda664071050f SHA256 (FreeBSD-14.0-ALPHA4-arm64-aarch64-ROCKPRO64-20230901-4c3f144478d4-265026.img.xz) = 520d484a5c98ab343265ecadd2673905bcec9851e7eb43f953b3ffd1b4ebfbb5 o 14.0-ALPHA4 riscv64 GENERIC: SHA512 (FreeBSD-14.0-ALPHA4-riscv-riscv64-20230901-4c3f144478d4-265026-bootonly.iso) = a8ebb78e426e3b5a443b796d103ba30c62ee31ad4f78e918fdf486c2e288b625c50a911ee0ec42317b0d83346e8f817338f12e03b80382cd87b48863fa039b9a SHA512 (FreeBSD-14.0-ALPHA4-riscv-riscv64-20230901-4c3f144478d4-265026-bootonly.iso.xz) = 14193ccd4eb10a6d7a2ce1c973685b4f4b0acd565a2dfaaed4b6ea943d88090e66a69505e20a2c965097f33552972b4d5d78cdae3d6614efe7a6dacf9533710f SHA512 (FreeBSD-14.0-ALPHA4-riscv-riscv64-20230901-4c3f144478d4-265026-disc1.iso) = f93b4f87aa98d349e2d99212105a8374ae359e6f81bfba1017b407faf19630606420f0a40734c23956d75ea4dee66112cd0a6c388b8d20468bf2630857c010ed SHA512 (FreeBSD-14.0-ALPHA4-riscv-riscv64-20230901-4c3f144478d4-265026-disc1.iso.xz) = 93ddfa23c820cc4ef05b3978836a081643eb78fc15c2571c41ad5ad341cadd5cc858229461d3725e07a6b1914a092258dd33fccb4bab2c513a1e6078cd8046a2 SHA512 (FreeBSD-14.0-ALPHA4-riscv-riscv64-20230901-4c3f144478d4-265026-memstick.img) = c0fee85d1cf7bcb9c7473d6b2f94cfdc4d6c1c060f27ba5df6cd0065677eae718e238f13fdc06176d3c827ede027ca056f88c3679c4a884cbc9acc2b71719c01 SHA512 (FreeBSD-14.0-ALPHA4-riscv-riscv64-20230901-4c3f144478d4-265026-memstick.img.xz) = facfa627fd07bf2622bb10fd3db4922828e1076566ad3c82fb5f5786b006cada07dcdcdd1d6e23f3e00bd5d86b4523e1de29620314f3a04ce41b9c0922931dde SHA512 (FreeBSD-14.0-ALPHA4-riscv-riscv64-20230901-4c3f144478d4-265026-mini-memstick.img) = 6a8e48f6f9bcf9033f1d2ba9881335ec0c2b717f8f28808008f912fc82eac155d5ca0a4f8ecc5890b7ea2489548089aa0b0a093d50201e22801f4a0d62d5e0bd SHA512 (FreeBSD-14.0-ALPHA4-riscv-riscv64-20230901-4c3f144478d4-265026-mini-memstick.img.xz) = f1e81297863d237be202ae4d4b3e488152e9441b09e0ecca501f6327b66e480238cbccd6f766ba5119a3a8616c3c7f02bfec9378b713a2c754656bf55441e5ee SHA256 (FreeBSD-14.0-ALPHA4-riscv-riscv64-20230901-4c3f144478d4-265026-bootonly.iso) = 4a2f49136caa218a7a9889c9b0315047089aec975af622ce9c0d59b9383925b3 SHA256 (FreeBSD-14.0-ALPHA4-riscv-riscv64-20230901-4c3f144478d4-265026-bootonly.iso.xz) = 91315af994fa9503b9e960b5f797128c6b5d8b8f050a0537009fe1f30792ae32 SHA256 (FreeBSD-14.0-ALPHA4-riscv-riscv64-20230901-4c3f144478d4-265026-disc1.iso) = 604170fe6ccc3e563a2389c6921cbb821c93b9486aae7c16a5ea056bcc76ab6f SHA256 (FreeBSD-14.0-ALPHA4-riscv-riscv64-20230901-4c3f144478d4-265026-disc1.iso.xz) = c532881f7b70fbeefb3018baaa309effdc9557b18fcb8290f74cb952b2052659 SHA256 (FreeBSD-14.0-ALPHA4-riscv-riscv64-20230901-4c3f144478d4-265026-memstick.img) = b928653bcea6a673657587110eac9c1f43e528c4633bece72248da7aa8d5a25e SHA256 (FreeBSD-14.0-ALPHA4-riscv-riscv64-20230901-4c3f144478d4-265026-memstick.img.xz) = 231d740b7679ed0eed5b4db924bbfd67365234a4f1532aebaf1fdcc653e60cfc SHA256 (FreeBSD-14.0-ALPHA4-riscv-riscv64-20230901-4c3f144478d4-265026-mini-memstick.img) = 30a8086ea1d2a5c29792f15b26ae18920314a14a8c65aef551bb8d5da20adf16 SHA256 (FreeBSD-14.0-ALPHA4-riscv-riscv64-20230901-4c3f144478d4-265026-mini-memstick.img.xz) = c841e5d80e6b9ec5dd8942cf24c36a89f4c2bb416351238708e76d5bd3eb3e46 o 14.0-ALPHA4 riscv64 GENERICSD: SHA512 (FreeBSD-14.0-ALPHA4-riscv-riscv64-GENERICSD-20230901-4c3f144478d4-265026.img.xz) = 98c954578ecb1ccf0f14fbbb881c57894175ec64eaa56107ad472da23b4ddc0e101208ecd0d2de392428bad1dc261685b42e2e4d95e11b14b868567864559366 SHA256 (FreeBSD-14.0-ALPHA4-riscv-riscv64-GENERICSD-20230901-4c3f144478d4-265026.img.xz) = 25c97ba1aad450eb4e0639702be75a81dd5a3ac3c38af788a76bab1aa875d429 == VM IMAGE CHECKSUMS == o 14.0-ALPHA4 amd64: SHA512 (FreeBSD-14.0-ALPHA4-amd64-20230901-4c3f144478d4-265026.qcow2.xz) = d220e976ddcd9f5b2585226eba55ef553c3ff9aaf604e8a30e100f07e5b4d50250a3cac58220fc51bab2c520be12dde109b2a832f822c0c9809413fdc337ebb8 SHA512 (FreeBSD-14.0-ALPHA4-amd64-20230901-4c3f144478d4-265026.raw.xz) = 8c97e76ae7f06ade44ae1076e77f40f02f7f550cb58bb7dfbbd9e18e4987ec2900e1b4ada32010d6444dfb0edf210f845c2f4ea5548489bfc87b6f5ba44a2e68 SHA512 (FreeBSD-14.0-ALPHA4-amd64-20230901-4c3f144478d4-265026.vhd.xz) = 8767cf925e352d7abb11bcc772f154e172d0e4a21a8f0ea1d97bc825d44917e1ee4eaefb1589b174d32cf4f099de01bb6ff515d1dc3519ce7e57415e5675a65c SHA512 (FreeBSD-14.0-ALPHA4-amd64-20230901-4c3f144478d4-265026.vmdk.xz) = b48e11a787c274cd28a5910c3be6aef723c256621db7cc7d69efbaee31d6e037eef13ac385645a715944f9a210a247b8dd3fad81fba7453ccb47e78d6a4dcbbe SHA512 (FreeBSD-14.0-ALPHA4-amd64-ufs.qcow2.xz) = d220e976ddcd9f5b2585226eba55ef553c3ff9aaf604e8a30e100f07e5b4d50250a3cac58220fc51bab2c520be12dde109b2a832f822c0c9809413fdc337ebb8 SHA512 (FreeBSD-14.0-ALPHA4-amd64-ufs.raw.xz) = 8c97e76ae7f06ade44ae1076e77f40f02f7f550cb58bb7dfbbd9e18e4987ec2900e1b4ada32010d6444dfb0edf210f845c2f4ea5548489bfc87b6f5ba44a2e68 SHA512 (FreeBSD-14.0-ALPHA4-amd64-ufs.vhd.xz) = 8767cf925e352d7abb11bcc772f154e172d0e4a21a8f0ea1d97bc825d44917e1ee4eaefb1589b174d32cf4f099de01bb6ff515d1dc3519ce7e57415e5675a65c SHA512 (FreeBSD-14.0-ALPHA4-amd64-ufs.vmdk.xz) = b48e11a787c274cd28a5910c3be6aef723c256621db7cc7d69efbaee31d6e037eef13ac385645a715944f9a210a247b8dd3fad81fba7453ccb47e78d6a4dcbbe SHA512 (FreeBSD-14.0-ALPHA4-amd64-zfs.qcow2.xz) = 243ac5a5f73b822404f5494b4d4032b4183bac9b7624f02c6b0a29f15a4f3513d8606f34b60b2bd8ed40fc7b48a46c118b0874e32ffbf9f8c5ddb8998fe4c93e SHA512 (FreeBSD-14.0-ALPHA4-amd64-zfs.raw.xz) = 236d54ad2af38b1c79746c174aa5ae0f6a231d1115bc1c8ffc1248c362c7b6021479fc63e0a62553b4b32c0da311dd03b2528712481bd3e8e7564daab8ab74f9 SHA512 (FreeBSD-14.0-ALPHA4-amd64-zfs.vhd.xz) = 8674e3c0d35aad56f5a36d002bc52e227b49869d3cbaad6fdd4997901120c39e748a336bd668890f4c4f207f943056c8b7697278d830e9ed18c496fb69536826 SHA512 (FreeBSD-14.0-ALPHA4-amd64-zfs.vmdk.xz) = 42af47c4fdc7cd59e43b322926997bf0c6606bcf1d8940280aab33199b3a9a41f1bdc9a5fc4adf468012eff60f352976bb4017cb8e1f01fb79421b0855b3fa96 SHA256 (FreeBSD-14.0-ALPHA4-amd64-20230901-4c3f144478d4-265026.qcow2.xz) = 16bf514f095879a4569200c4ae20c93698363cb098a188967ae59baabd640f6e SHA256 (FreeBSD-14.0-ALPHA4-amd64-20230901-4c3f144478d4-265026.raw.xz) = 448d6590cfe2389b448ddf5230bc1e3403e6ad317de1921f0f57ed8238935d5e SHA256 (FreeBSD-14.0-ALPHA4-amd64-20230901-4c3f144478d4-265026.vhd.xz) = e733f571f421e72cfdcffbe8f1f16d22dae88a2994beb9983f841854c0752c17 SHA256 (FreeBSD-14.0-ALPHA4-amd64-20230901-4c3f144478d4-265026.vmdk.xz) = 75cc763f986fe847308eb6a54e210174cbecaaa3cba50c0d5ea80b6597e608d4 SHA256 (FreeBSD-14.0-ALPHA4-amd64-ufs.qcow2.xz) = 16bf514f095879a4569200c4ae20c93698363cb098a188967ae59baabd640f6e SHA256 (FreeBSD-14.0-ALPHA4-amd64-ufs.raw.xz) = 448d6590cfe2389b448ddf5230bc1e3403e6ad317de1921f0f57ed8238935d5e SHA256 (FreeBSD-14.0-ALPHA4-amd64-ufs.vhd.xz) = e733f571f421e72cfdcffbe8f1f16d22dae88a2994beb9983f841854c0752c17 SHA256 (FreeBSD-14.0-ALPHA4-amd64-ufs.vmdk.xz) = 75cc763f986fe847308eb6a54e210174cbecaaa3cba50c0d5ea80b6597e608d4 SHA256 (FreeBSD-14.0-ALPHA4-amd64-zfs.qcow2.xz) = 1d49e83be5bdab81512283b2bb4f19d744c3cf152809df1caecfd76893d685f6 SHA256 (FreeBSD-14.0-ALPHA4-amd64-zfs.raw.xz) = b7eca75d21063659033142e627ef3bfe43f5ff56a4cc91aa357d656719c1f584 SHA256 (FreeBSD-14.0-ALPHA4-amd64-zfs.vhd.xz) = 2e291a7b6a4563846c3c003714264c5c33d7b647bbc6608f2b4130fd35776840 SHA256 (FreeBSD-14.0-ALPHA4-amd64-zfs.vmdk.xz) = 80b85e426f695dc46479762cd9f5429b3b88a42b66351b227081ccbcbea013d2 o 14.0-ALPHA4 i386: SHA512 (FreeBSD-14.0-ALPHA4-i386-20230901-4c3f144478d4-265026.qcow2.xz) = a193776ae3c2d92838140cb84dc211d4ed4e5f5ea5ff97ce2a924aeecf85ebb18e929aca9820c03336a6f82a45c634159c0d20c17834951edcb78714aa9a0103 SHA512 (FreeBSD-14.0-ALPHA4-i386-20230901-4c3f144478d4-265026.raw.xz) = 26689913e93acc8ee56c87574d38559aa678577579fb9da25629ccf19dfd812ca42c99959bde9190483a1bc69d50fa3378ba4b4fa5aec3b1da4a3fe207aea0ae SHA512 (FreeBSD-14.0-ALPHA4-i386-20230901-4c3f144478d4-265026.vhd.xz) = 1c42eeaa17ed8415f2273a74e939bb6d81aaae7f42bcf9054816402d86825356c666a6ffdb51c1842eb91f27b4e193fd229a0200732f6d54b89de46e64b9d566 SHA512 (FreeBSD-14.0-ALPHA4-i386-20230901-4c3f144478d4-265026.vmdk.xz) = 6caf7b37981d69f803074fb08a069fd9f3ee4e371c541eb1aee7649295f2b8633acdbd89d1d6fe7bf6cd05ba8eaf5c57dd35116553104dbc7e322f22b3ad5139 SHA512 (FreeBSD-14.0-ALPHA4-i386-ufs.qcow2.xz) = a193776ae3c2d92838140cb84dc211d4ed4e5f5ea5ff97ce2a924aeecf85ebb18e929aca9820c03336a6f82a45c634159c0d20c17834951edcb78714aa9a0103 SHA512 (FreeBSD-14.0-ALPHA4-i386-ufs.raw.xz) = 26689913e93acc8ee56c87574d38559aa678577579fb9da25629ccf19dfd812ca42c99959bde9190483a1bc69d50fa3378ba4b4fa5aec3b1da4a3fe207aea0ae SHA512 (FreeBSD-14.0-ALPHA4-i386-ufs.vhd.xz) = 1c42eeaa17ed8415f2273a74e939bb6d81aaae7f42bcf9054816402d86825356c666a6ffdb51c1842eb91f27b4e193fd229a0200732f6d54b89de46e64b9d566 SHA512 (FreeBSD-14.0-ALPHA4-i386-ufs.vmdk.xz) = 6caf7b37981d69f803074fb08a069fd9f3ee4e371c541eb1aee7649295f2b8633acdbd89d1d6fe7bf6cd05ba8eaf5c57dd35116553104dbc7e322f22b3ad5139 SHA512 (FreeBSD-14.0-ALPHA4-i386-zfs.qcow2.xz) = 361e99d63cff4f70ff48a230b0784d86afbe463566e20ce71e06ecc405e588762dc60b7a2f5841caaa9699b29ce6bc89268b816832a7e82236b7c1450a73b38b SHA512 (FreeBSD-14.0-ALPHA4-i386-zfs.raw.xz) = dd77c4adde77ef2cf4cbbf6236c0d03894373103641e7ca2616127bbbaa7fc4ae29b4dc9c09b986a283aa5f5e04cdeb18bc1fc70692519e5c244d96b9e504d78 SHA512 (FreeBSD-14.0-ALPHA4-i386-zfs.vhd.xz) = 335e7c64747af792f93656ad5f7b445ba4c2ace746d962f6cd589737032e546d6d8b0dd849d943cd6127e458b4d3839277a13ad1878bc7e80873ace3e212d952 SHA512 (FreeBSD-14.0-ALPHA4-i386-zfs.vmdk.xz) = 5a13469cb89af58d13e7d7163451faaff61a3d0283a8941002628385caaa7ed06246a8ddb5238fa795749d4a879c804473092ed252f076116e47847d09f80983 SHA256 (FreeBSD-14.0-ALPHA4-i386-20230901-4c3f144478d4-265026.qcow2.xz) = 50e6225305cc802342e068ba00bca0c921ac891074ef7ffbb14b7c8dc0e6babe SHA256 (FreeBSD-14.0-ALPHA4-i386-20230901-4c3f144478d4-265026.raw.xz) = bed7717ef1caeafb4647e870c5df0d50f0d483dafec0417ada57db2eefb9e007 SHA256 (FreeBSD-14.0-ALPHA4-i386-20230901-4c3f144478d4-265026.vhd.xz) = 5fa0aa64b62b8edf305c419ffcfeb4e5c68a16fac1e204b114cca5947913943e SHA256 (FreeBSD-14.0-ALPHA4-i386-20230901-4c3f144478d4-265026.vmdk.xz) = a670849103f14f14cb4a5c568671f93bcb2b59e614a0a3dbab3c23ae230ddb15 SHA256 (FreeBSD-14.0-ALPHA4-i386-ufs.qcow2.xz) = 50e6225305cc802342e068ba00bca0c921ac891074ef7ffbb14b7c8dc0e6babe SHA256 (FreeBSD-14.0-ALPHA4-i386-ufs.raw.xz) = bed7717ef1caeafb4647e870c5df0d50f0d483dafec0417ada57db2eefb9e007 SHA256 (FreeBSD-14.0-ALPHA4-i386-ufs.vhd.xz) = 5fa0aa64b62b8edf305c419ffcfeb4e5c68a16fac1e204b114cca5947913943e SHA256 (FreeBSD-14.0-ALPHA4-i386-ufs.vmdk.xz) = a670849103f14f14cb4a5c568671f93bcb2b59e614a0a3dbab3c23ae230ddb15 SHA256 (FreeBSD-14.0-ALPHA4-i386-zfs.qcow2.xz) = edcc6e5f272019dc56a7d84213c14570c83a091d1f0abc216b8a1e50383bfb88 SHA256 (FreeBSD-14.0-ALPHA4-i386-zfs.raw.xz) = 46892222b6abfdff7255ac19cde1880b50b19f89dcc896effea085aa419d5940 SHA256 (FreeBSD-14.0-ALPHA4-i386-zfs.vhd.xz) = 7826dfbe872416f2f51be8937c126d6c7b1ebae7cd4624b1be3894ea5a73807c SHA256 (FreeBSD-14.0-ALPHA4-i386-zfs.vmdk.xz) = 781916c275d4904028b958327427bcf77727d62cbf09a9b17c8703d6bef33a5b o 14.0-ALPHA4 aarch64: SHA512 (FreeBSD-14.0-ALPHA4-arm64-aarch64-20230901-4c3f144478d4-265026.qcow2.xz) = 86f981ab0a853bf1059b8ddcb0f786be5583d9b2db486e2eb1ba55155a166c2aa4788bd012213872e0bf58d5dbe66154c613a6ff8496e6f109ee84339cc1d58e SHA512 (FreeBSD-14.0-ALPHA4-arm64-aarch64-20230901-4c3f144478d4-265026.raw.xz) = 6a077726a4073761113f3293324e138328376ce7f29f21244d4b96f58c126975702575d4f2c1eefc1e05d596d0e5d273ff9abcd8e178667379cbe7ece9e25a8f SHA512 (FreeBSD-14.0-ALPHA4-arm64-aarch64-20230901-4c3f144478d4-265026.vhd.xz) = 5617fd9d4d477867c13472a886282111ead3cf1a101d244c5faeff4cf5b9fd27a2741c87e62797ccacb8bf412250e1ca772e55db15028a873f98f1afc942f9cb SHA512 (FreeBSD-14.0-ALPHA4-arm64-aarch64-20230901-4c3f144478d4-265026.vmdk.xz) = 5fb1481c45f0bc88ac32d0a6f65d9773b972c45e50f6cf47ac8327b9018c81fe701aecaf0088a33e0b92d03cf76c540f8e6131f4e649c6c34ee94e4a27d230a0 SHA512 (FreeBSD-14.0-ALPHA4-arm64-aarch64-ufs.qcow2.xz) = 86f981ab0a853bf1059b8ddcb0f786be5583d9b2db486e2eb1ba55155a166c2aa4788bd012213872e0bf58d5dbe66154c613a6ff8496e6f109ee84339cc1d58e SHA512 (FreeBSD-14.0-ALPHA4-arm64-aarch64-ufs.raw.xz) = 6a077726a4073761113f3293324e138328376ce7f29f21244d4b96f58c126975702575d4f2c1eefc1e05d596d0e5d273ff9abcd8e178667379cbe7ece9e25a8f SHA512 (FreeBSD-14.0-ALPHA4-arm64-aarch64-ufs.vhd.xz) = 5617fd9d4d477867c13472a886282111ead3cf1a101d244c5faeff4cf5b9fd27a2741c87e62797ccacb8bf412250e1ca772e55db15028a873f98f1afc942f9cb SHA512 (FreeBSD-14.0-ALPHA4-arm64-aarch64-ufs.vmdk.xz) = 5fb1481c45f0bc88ac32d0a6f65d9773b972c45e50f6cf47ac8327b9018c81fe701aecaf0088a33e0b92d03cf76c540f8e6131f4e649c6c34ee94e4a27d230a0 SHA512 (FreeBSD-14.0-ALPHA4-arm64-aarch64-zfs.qcow2.xz) = 5c40fa1a1d34d29c402dba2f19304dc2d845d1184410cf1c235c8bcf67262d8daffcd0ade73378a53f81fe2bbd6f8a83e979b9c7790d70e0e89d9656092538a0 SHA512 (FreeBSD-14.0-ALPHA4-arm64-aarch64-zfs.raw.xz) = 8527cb666287ae9106f9f080ac70d9a93b9a18e3aa9ce2273aab5a848b0df0ee603ed3d8359b3cd8e89002b6d24662b76ff4af1539ba39cb2a2c5ad9adea8f0d SHA512 (FreeBSD-14.0-ALPHA4-arm64-aarch64-zfs.vhd.xz) = 88106a550825f54950f32125578a26247b0a82b620b38ef210151f641e3487b5dd5df351c926c343caeb16da5392f7565fb3dece19c92f20c5c02a83d6a1b6ac SHA512 (FreeBSD-14.0-ALPHA4-arm64-aarch64-zfs.vmdk.xz) = 89dd20528090bf85fbb2a3d14ed798586944555c38aea72e479929a4d9c384addd09036fc66b8df83900520b5903787a12825ecc8d1e7cc42c590d1f255f213d SHA256 (FreeBSD-14.0-ALPHA4-arm64-aarch64-20230901-4c3f144478d4-265026.qcow2.xz) = 0b5c4cc41f8d241f091d4dfc320ab83106a778d2795ff75cb034e5754db39c17 SHA256 (FreeBSD-14.0-ALPHA4-arm64-aarch64-20230901-4c3f144478d4-265026.raw.xz) = 517111b3864c8894eedca1a3d3189baeef316faca0785918872df8738a1f5d02 SHA256 (FreeBSD-14.0-ALPHA4-arm64-aarch64-20230901-4c3f144478d4-265026.vhd.xz) = bf243017afe29c94e37c32c906af72df29cc3ea6d058dbba558d43722500a04e SHA256 (FreeBSD-14.0-ALPHA4-arm64-aarch64-20230901-4c3f144478d4-265026.vmdk.xz) = 4e1e4cb8fe61b8adfec4a9dc1b4df375e979fa0d60be5fa55316d49f3263691a SHA256 (FreeBSD-14.0-ALPHA4-arm64-aarch64-ufs.qcow2.xz) = 0b5c4cc41f8d241f091d4dfc320ab83106a778d2795ff75cb034e5754db39c17 SHA256 (FreeBSD-14.0-ALPHA4-arm64-aarch64-ufs.raw.xz) = 517111b3864c8894eedca1a3d3189baeef316faca0785918872df8738a1f5d02 SHA256 (FreeBSD-14.0-ALPHA4-arm64-aarch64-ufs.vhd.xz) = bf243017afe29c94e37c32c906af72df29cc3ea6d058dbba558d43722500a04e SHA256 (FreeBSD-14.0-ALPHA4-arm64-aarch64-ufs.vmdk.xz) = 4e1e4cb8fe61b8adfec4a9dc1b4df375e979fa0d60be5fa55316d49f3263691a SHA256 (FreeBSD-14.0-ALPHA4-arm64-aarch64-zfs.qcow2.xz) = 90afa6c2323933d3ccfdd6f0b4584daccb1b1ff2a66da8faeffcee929753f9f3 SHA256 (FreeBSD-14.0-ALPHA4-arm64-aarch64-zfs.raw.xz) = aa86b41da01e14b620e2e47310761f0134e8e97f6189744a7d03ed6194084b24 SHA256 (FreeBSD-14.0-ALPHA4-arm64-aarch64-zfs.vhd.xz) = 08094e9dde0be8df901ad3332cefabd97caadd352eb199b8805651f376346f40 SHA256 (FreeBSD-14.0-ALPHA4-arm64-aarch64-zfs.vmdk.xz) = 27c04cc1cf8df6003a3b65b6ad95c4de61c981da3083b4663f2b20aee0e1cac2 o 14.0-ALPHA4 riscv64: SHA512 (FreeBSD-14.0-ALPHA4-riscv-riscv64-20230901-4c3f144478d4-265026.qcow2.xz) = 2f71c32b43a6cda90e8ae73016be466a803fa97841fafd0aaebec80d49d0c6d3d7569f38edcdc1768e5563dce188aec811eb765acdf7333bc5083ff094616c34 SHA512 (FreeBSD-14.0-ALPHA4-riscv-riscv64-20230901-4c3f144478d4-265026.raw.xz) = 53d8685e997e615d17900db18b0c8eb72256799845ddde075de5915b2c22dd5ea5e569e4aaf1cf5ffa587b8a4d07fce2063d0a42e07c099ccb7b78b732d8a1bf SHA512 (FreeBSD-14.0-ALPHA4-riscv-riscv64-20230901-4c3f144478d4-265026.vhd.xz) = df4b477af41c70364bf350c8b4501ca269523ed4a1120649eb0c12ece5e4dfbb8cc8b6f34b19d1c67c4c746176d308dcf77ad4b8eb0bfc8748f402bfc531c5a8 SHA512 (FreeBSD-14.0-ALPHA4-riscv-riscv64-20230901-4c3f144478d4-265026.vmdk.xz) = 5f6ddfaa884cf1cbeb2398bbd7ada7c0efd012907d79e751a36feb673ee9ddb44a6b9f562dd0cd552eb13450bd82b6e7d0dac6e20f096dccc1c6b4ff9edc70e3 SHA512 (FreeBSD-14.0-ALPHA4-riscv-riscv64-ufs.qcow2.xz) = 2f71c32b43a6cda90e8ae73016be466a803fa97841fafd0aaebec80d49d0c6d3d7569f38edcdc1768e5563dce188aec811eb765acdf7333bc5083ff094616c34 SHA512 (FreeBSD-14.0-ALPHA4-riscv-riscv64-ufs.raw.xz) = 53d8685e997e615d17900db18b0c8eb72256799845ddde075de5915b2c22dd5ea5e569e4aaf1cf5ffa587b8a4d07fce2063d0a42e07c099ccb7b78b732d8a1bf SHA512 (FreeBSD-14.0-ALPHA4-riscv-riscv64-ufs.vhd.xz) = df4b477af41c70364bf350c8b4501ca269523ed4a1120649eb0c12ece5e4dfbb8cc8b6f34b19d1c67c4c746176d308dcf77ad4b8eb0bfc8748f402bfc531c5a8 SHA512 (FreeBSD-14.0-ALPHA4-riscv-riscv64-ufs.vmdk.xz) = 5f6ddfaa884cf1cbeb2398bbd7ada7c0efd012907d79e751a36feb673ee9ddb44a6b9f562dd0cd552eb13450bd82b6e7d0dac6e20f096dccc1c6b4ff9edc70e3 SHA512 (FreeBSD-14.0-ALPHA4-riscv-riscv64-zfs.qcow2.xz) = 683eaaedd0dc2480b6975d988ed1ffb216e57a43a71fc5c5d4315a5fb619e6211fcba8d1a747b037564f0cbbbb815e386b195d849d16ed1817f3c8412fd76fca SHA512 (FreeBSD-14.0-ALPHA4-riscv-riscv64-zfs.raw.xz) = 1cda7de5fee63574b058b452e9f5c665f84c509dd1e31efabb809f39fc0f9d5c67a30be9ce6d0c46a0e882bbab4b73e5ed94c9872c97f922397465a46c70d058 SHA512 (FreeBSD-14.0-ALPHA4-riscv-riscv64-zfs.vhd.xz) = e25bb9da4dcd42e6116d20f1b60cc54007ea63c17841e3f99c22f8edcd05802533728a5ae40b1ad4dac9773defd775b7ac12b953ff79f450c4f44cc0b0c7c8ee SHA512 (FreeBSD-14.0-ALPHA4-riscv-riscv64-zfs.vmdk.xz) = 41c7cfdd6f40983b9bcf10afa1ba55890408e5fff0fb45671f7f8309a97740a753fd98dda4d131540d47c943b3e767520d77486daf8c4016f110fbe1e8726f47 SHA256 (FreeBSD-14.0-ALPHA4-riscv-riscv64-20230901-4c3f144478d4-265026.qcow2.xz) = b88449a38fcff3083f9867ba29f62081d69fb5d9842c80c10f39618cdb87a7f9 SHA256 (FreeBSD-14.0-ALPHA4-riscv-riscv64-20230901-4c3f144478d4-265026.raw.xz) = 011a35e91f1a195cbea7405cc97b6c0a3959f3a39d71f0db4bcdacb01477bd27 SHA256 (FreeBSD-14.0-ALPHA4-riscv-riscv64-20230901-4c3f144478d4-265026.vhd.xz) = 782dd14f14770fbff700dda274b3946c3f05158c9a84a42d311f3d53be958a20 SHA256 (FreeBSD-14.0-ALPHA4-riscv-riscv64-20230901-4c3f144478d4-265026.vmdk.xz) = 22ccf430b70289013ef94f0b0a59cbe97215f02852e59e863be474f7cda77b28 SHA256 (FreeBSD-14.0-ALPHA4-riscv-riscv64-ufs.qcow2.xz) = b88449a38fcff3083f9867ba29f62081d69fb5d9842c80c10f39618cdb87a7f9 SHA256 (FreeBSD-14.0-ALPHA4-riscv-riscv64-ufs.raw.xz) = 011a35e91f1a195cbea7405cc97b6c0a3959f3a39d71f0db4bcdacb01477bd27 SHA256 (FreeBSD-14.0-ALPHA4-riscv-riscv64-ufs.vhd.xz) = 782dd14f14770fbff700dda274b3946c3f05158c9a84a42d311f3d53be958a20 SHA256 (FreeBSD-14.0-ALPHA4-riscv-riscv64-ufs.vmdk.xz) = 22ccf430b70289013ef94f0b0a59cbe97215f02852e59e863be474f7cda77b28 SHA256 (FreeBSD-14.0-ALPHA4-riscv-riscv64-zfs.qcow2.xz) = 6fe6a33d5db947813498091cb74b99aab8e3fbbf42fb9800462b7eec2d991ddd SHA256 (FreeBSD-14.0-ALPHA4-riscv-riscv64-zfs.raw.xz) = 5cc60552056e95fd7198cf1bce56fad54993dd2783af2e006b42058377660739 SHA256 (FreeBSD-14.0-ALPHA4-riscv-riscv64-zfs.vhd.xz) = 4802f9183fdd00fa5e0cf1063543c4a3e6ae26347179706ba5f0af0435014f3d SHA256 (FreeBSD-14.0-ALPHA4-riscv-riscv64-zfs.vmdk.xz) = 0a75e3c55bc35d82a4b792d6321b4dac51ba223a8afbdb8df60a29d1dd22f36b o 14.0-ALPHA4 amd64 BASIC-CI: SHA512 (FreeBSD-14.0-ALPHA4-amd64-BASIC-CI-20230901-4c3f144478d4-265026.raw.xz) = 224e0cb625c5a15d4c7beb8bdd116f224c6d29d7177f01e0dd0e460eeaed19616246cd182b9549a749d43b3cc3e7ca53ca4e781df651c00abcce76766233d075 SHA256 (FreeBSD-14.0-ALPHA4-amd64-BASIC-CI-20230901-4c3f144478d4-265026.raw.xz) = bccdb1aea7e2858838ce1b07c4002e5052f85cf062cc27f61e69e0bc1c50df26 Regards, Glen Please consider donating to help support my FreeBSD work: https://www.gofundme.com/f/gjbbsd https://paypal.me/gjbbsd Love FreeBSD? Support this and future releases with a donation to the FreeBSD Foundation! https://www.freebsdfoundation.org/donate/ -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAmTyR3kACgkQAxRYpUeP 4pPZ0A/8Dfng9st7TgBvOBR5tSLHkXL1Advf8qbf8d7i8ZC6aa+FN4j7TNRFv6t/ c2kHB33v6YrsJLky1H+83qghefMrtFtLkHhoS6oRxFbgmPwgCKNXQtOojX4suZZH wyj8sZm855vSucJ2lTzjzicyPjELXdKA11vsXnGjFvd4KqT4RGsAJWc1OUk3d1/J FJ/8EigPU3MTiotAW84JgzbtWycBgbmKNv2Cok9kjZI3Rxw7Q95jwvo+7FNwQRnM FEvR2502Y49WqllyvYtUrVLBz/XjT+0UjiFHGLlXYLcU2bVZGBBSaY4qr++WoeQw mJhoLhdFyjV3DznmSY1RRXV5lHqytz9Jp5XLOjoIyPTArWRM+5LkTLySOT3d65qP GOI8Eelq+ImdJFmOGMMGH+ADKHufDPAWi6cI13k0gq2LlniygLcj2skqDavKycEv VIz+Wu576iARylc2xyZ/xV8LbxKdYFsAhdPRxvaoIchEgVxGfcS3G4MjowLKvZVf MlAGB52Es+/vkDJgYDkUS2vBR3nJE/kOOj+JEQolj4BFyZNw4p5gQ2AYVGZU4AI2 P8+wchj5qTg1LQ53o2iIdodbsO2vcsSQSxzy/JWzfuC2C6IIt0IjT2c+tpjFYnCa eSZey5Zquc+Kma04gcvwR+H7GTU2swFc7e58nCLFdcX7lHmKys8= =T64A -----END PGP SIGNATURE----- From nobody Fri Sep 1 22:00:03 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RcsQq6qTZz4rngx for ; Fri, 1 Sep 2023 22:00:19 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) 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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RcsQq4jfBz4p21 for ; Fri, 1 Sep 2023 22:00:19 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-2b9c907bc68so41984921fa.2 for ; Fri, 01 Sep 2023 15:00:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1693605616; x=1694210416; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=K70ykC4hB4GIkHijSszz/UCI7rmr0fx3bk6vEt1d8QE=; b=MheMzSjiH9TJVSR4mhH41geTn1jDiuzbmhZwH3qqwUwL0ciOB/qPcFz7micg2QuFps V2IYZTkjQLDr0brcZwyHx5UAPWuiJN2JuhscJmSL/ThNnWsj2sdWAbW8aG77+cbOEez2 fqjD3Fpj+2hOVnwFQdAU0Rtb1OTMjJZ+frxaC9GZ0iK+KW5Tz55TaBceM0PbhBy7IQ8A UtuoiqtAAp9CuIElcsdH0Rc8ZpRGhDNECosm6wNcYNh5KiKCJ1Cmw8M04L9NU4gObHig MaAs6TxGaLYCgeEdQCyMEF7KynezjC2OAx/eldv+LShzAZtbZaqNb9ANSdQItHozsxrk emEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693605616; x=1694210416; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=K70ykC4hB4GIkHijSszz/UCI7rmr0fx3bk6vEt1d8QE=; b=P1wqIIcFpVPTlmaKHXRY5tZAPj3xOHZHhdP8NBty7G2sAzVmegWAF/Vyab2Meo/GaT RqpW5ToRXSEDinEewe/7FPq9rKqh2u59ernnwb58gX1cYN7Rn98m7qeimALZzKKXBEYs OvnxmgSVYWDf0AnmvSmV1OTxancAeAO9MOqSRQ7+oBK709CdAFn+sCd/S3Dj3YzX5G5n 2MRiMDj4V8vK0hf6Tz7S3kOcgxe50iQGODqqnZhesWsrImwin6voJqTtywfo4lBvtndw UmwpQiSrcT09501OEvUhA9YJMoUlcYUPnUfmCN3mpoDTCp/zXTqEMavTBoBwcgtH9BtI x9dA== X-Gm-Message-State: AOJu0Yyl9WdSD+tdTesqnPqtzA7+yxwYLVSqGYl6OmxA9EhR+GCJOun3 TplLErL3pCqwvHpG+PbI+DdV/UMCCUgMvWOswpUd+siRXOTA+rTG X-Google-Smtp-Source: AGHT+IGhofgHEE6qCcnuBqEFRKh2Fk2+ug5kGta2nW8kT032pEJ4qPteOOMGf/JD3/GNbc/lGGizcs+nXniuGROHQkY= X-Received: by 2002:a2e:8388:0:b0:2bc:bcc6:d4ad with SMTP id x8-20020a2e8388000000b002bcbcc6d4admr2518766ljg.21.1693605615114; Fri, 01 Sep 2023 15:00:15 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <20230901130314.460f91bf@ernst.home> <87edjixf6v.wl-herbert@gojira.at> <20230901160441.038539cd@ernst.home> <87cyz2x6x1.wl-herbert@gojira.at> <20230901182134.23b8d5f3@ernst.home> In-Reply-To: <20230901182134.23b8d5f3@ernst.home> From: Warner Losh Date: Fri, 1 Sep 2023 16:00:03 -0600 Message-ID: Subject: Re: FreeBSD-15 kernel panic when the amdtemp device is in the kernel To: garyj@gmx.de Cc: freebsd-current@freebsd.org Content-Type: multipart/alternative; boundary="000000000000143aca06045349c9" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4RcsQq4jfBz4p21 --000000000000143aca06045349c9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I think that the problem is that admsmn has probed, but not attached (or failed to attach for some reason), so we find the device, but it's not initialized yet, so when we call amdsmn_read, it tries to lock a mutex that's not yet initialized. Not sure why this is happening, or why loading it as modules fixes it... But since I don't have the hardware, I can't help more. Sorry. Warner On Fri, Sep 1, 2023 at 10:21=E2=80=AFAM Gary Jennejohn wrote= : > On Fri, 01 Sep 2023 17:14:02 +0200 > "Herbert J. Skuhra" wrote: > > > On Fri, 01 Sep 2023 16:04:41 +0200, Gary Jennejohn wrote: > > > > > > On Fri, 01 Sep 2023 14:15:20 +0200 > > > "Herbert J. Skuhra" wrote: > > > > > > > On Fri, 01 Sep 2023 13:03:14 +0200, Gary Jennejohn wrote: > > > > > > > > > > I have a laptop wioth a AMD Ryzen 5 and a tower with a AMD Ryzen = 7 > 3700X. > > > > > > > > > > These are respectively Zen 1 and Zen 2 CPUs. > > > > > > > > > > I built a kernel on both computers using the FreeBSD-15 source > tree. > > > > > > > > > > If I include the amdtemp device in my kernel file BOTH computers > end up > > > > > with a kernel panic while trying to attach the amdtemp device. > > > > > > > > > > If I remove amdtemp both computers boot without any issues. > > > > > > > > > > I suspect that this commit is the cause: > > > > > > > > > > commit 323a94afb6236bcec3a07721566aec6f2ea2b209 > > > > > Author: Akio Morita > > > > > Date: Tue Aug 1 22:32:12 2023 +0200 > > > > > > > > > > amdsmn(4), amdtemp(4): add support for Zen 4 > > > > > > > > > > Zen 4 support, tested on Ryzen 9 7900 > > > > > > > > > > Reviewed by: imp (previous version), mhorne > > > > > Approved by: mhorne > > > > > Obtained from: > http://jyurai.ddo.jp/~amorita/diary/?date=3D20221102#p01 > > > > > Differential Revision: https://reviews.freebsd.org/D41049 > > > > > > > > Thanks for sharing your findings. > > > > > > > > Now I probably know why my old kernel from stable/13 no longer boot= ed > > > > after updating to stable/14. I've create a new kernel config and > > > > forgot to add "device amdtemp" & "device amdsmn" and forgot about t= he > > > > issue. After removing only "device amdtemp" from my old kernel conf= ig > > > > it boots again. > > > > > > > > Unfortunately reverting this commit (git revert -n 323a94afb623) > > > > doesn't resolve this issue. Old kernel does not boot if "device > > > > amdtemp" is enabled. Probably wrong commit or I am doing somethig > > > > wrong!? > > > > > > > > > > Strange. My FreeBSD-14 kernel boots with device amdtemp (which > automatically > > > results in amdsmn being included). It's FreeBSD-15 which fails for m= e. > > > > 1. 'kload amdtemp' works: > > 12 1 0xffffffff81e7c000 3160 amdtemp.ko > > 13 1 0xffffffff81e80000 2138 amdsmn.ko > > > > amdsmn0: on hostb0 > > amdtemp0: on hostb0 > > > > 2. GENERIC boots fine. The following kernel does not: > > > > include GENERIC > > > > ident TEST > > device amdtemp > > > > 3. Unfortunately this is a remote server without a serial console. I > > don't get a crashdump and I can't find anything in /var/log/messages. > > > > 4. I have no good revision for stable/14 and main. On main I always > > use GENERIC-NODEBUG. :-( > > > > Thanks, Herbert! kldload'ing amdsmn and amdtemp really does work! > > Now I can run FBSD-15 :) > > -- > Gary Jennejohn > > --000000000000143aca06045349c9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I think that the problem is that admsmn has probed, but no= t attached (or failed to attach for some reason), so we find the device, bu= t it's not initialized yet, so when we call amdsmn_read, it tries to lo= ck a mutex that's not yet initialized.

Not sure why = this=C2=A0is happening, or why loading it as modules fixes it...
=
But since I don't have the hardware, I can't help mo= re. Sorry.

Warner

On Fri, Sep 1, 2023 at 10:2= 1=E2=80=AFAM Gary Jennejohn <garyj@gmx.d= e> wrote:
On Fri, 01 Sep 2023 17:14:02 +0200
"Herbert J. Skuhra" <herbert@gojira.at> wrote:

> On Fri, 01 Sep 2023 16:04:41 +0200, Gary Jennejohn wrote:
> >
> > On Fri, 01 Sep 2023 14:15:20 +0200
> > "Herbert J. Skuhra" <herbert@gojira.at> wrote:
> >
> > > On Fri, 01 Sep 2023 13:03:14 +0200, Gary Jennejohn wrote: > > > >
> > > > I have a laptop wioth a AMD Ryzen 5 and a tower with a = AMD Ryzen 7 3700X.
> > > >
> > > > These are respectively Zen 1 and Zen 2 CPUs.
> > > >
> > > > I built a kernel on both computers using the FreeBSD-15= source tree.
> > > >
> > > > If I include the amdtemp device in my kernel file BOTH = computers end up
> > > > with a kernel panic while trying to attach the amdtemp = device.
> > > >
> > > > If I remove amdtemp both computers boot without any iss= ues.
> > > >
> > > > I suspect that this commit is the cause:
> > > >
> > > > commit 323a94afb6236bcec3a07721566aec6f2ea2b209
> > > > Author: Akio Morita <akio.morita@kek.jp>
> > > > Date:=C2=A0 =C2=A0Tue Aug 1 22:32:12 2023 +0200
> > > >
> > > >=C2=A0 =C2=A0 =C2=A0amdsmn(4), amdtemp(4): add support f= or Zen 4
> > > >
> > > >=C2=A0 =C2=A0 =C2=A0Zen 4 support, tested on Ryzen 9 790= 0
> > > >
> > > >=C2=A0 =C2=A0 =C2=A0Reviewed by:=C2=A0 =C2=A0 imp (previ= ous version), mhorne
> > > >=C2=A0 =C2=A0 =C2=A0Approved by:=C2=A0 =C2=A0 mhorne
> > > >=C2=A0 =C2=A0 =C2=A0Obtained from:=C2=A0 http://jyurai.ddo.jp/~amorita/diary/?date=3D20221102#p01
> > > >=C2=A0 =C2=A0 =C2=A0Differential Revision:=C2=A0
https://reviews.freebsd.org/D41049
> > >
> > > Thanks for sharing your findings.
> > >
> > > Now I probably know why my old kernel from stable/13 no long= er booted
> > > after updating to stable/14. I've create a new kernel co= nfig and
> > > forgot to add "device amdtemp" & "device = amdsmn" and forgot about the
> > > issue. After removing only "device amdtemp" from m= y old kernel config
> > > it boots again.
> > >
> > > Unfortunately reverting this commit (git revert -n 323a94afb= 623)
> > > doesn't resolve this issue. Old kernel does not boot if = "device
> > > amdtemp" is enabled. Probably wrong commit or I am doin= g somethig
> > > wrong!?
> > >
> >
> > Strange.=C2=A0 My FreeBSD-14 kernel boots with device amdtemp (wh= ich automatically
> > results in amdsmn being included).=C2=A0 It's FreeBSD-15 whic= h fails for me.
>
> 1. 'kload amdtemp' works:
>=C2=A0 =C2=A0 12=C2=A0 =C2=A0 1 0xffffffff81e7c000=C2=A0 =C2=A0 =C2=A03= 160 amdtemp.ko
>=C2=A0 =C2=A0 13=C2=A0 =C2=A0 1 0xffffffff81e80000=C2=A0 =C2=A0 =C2=A02= 138 amdsmn.ko
>
>=C2=A0 =C2=A0 amdsmn0: <AMD Family 17h System Management Network>= on hostb0
>=C2=A0 =C2=A0 amdtemp0: <AMD CPU On-Die Thermal Sensors> on hostb= 0
>
> 2. GENERIC boots fine. The following kernel does not:
>
>=C2=A0 =C2=A0 include GENERIC
>
>=C2=A0 =C2=A0 ident=C2=A0 =C2=A0 =C2=A0 TEST
>=C2=A0 =C2=A0 device=C2=A0 =C2=A0 =C2=A0amdtemp
>
> 3. Unfortunately this is a remote server without a serial console. I > don't get a crashdump and I can't find anything in /var/log/me= ssages.
>
> 4. I have no good revision for stable/14 and main. On main I always > use GENERIC-NODEBUG. :-(
>

Thanks, Herbert!=C2=A0 kldload'ing amdsmn and amdtemp really does work!=

Now I can run FBSD-15 :)

--
Gary Jennejohn

--000000000000143aca06045349c9-- From nobody Fri Sep 1 22:06:51 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RcsZc3KBkz4rpTt; Fri, 1 Sep 2023 22:07:04 +0000 (UTC) (envelope-from eduardo@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RcsZc2zM7z4qLW; Fri, 1 Sep 2023 22:07:04 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693606024; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=FXGHF57mvN5887mSHRfLS05ItHH2w+jJbvbhbYJPfFA=; b=oN/kJA/g7HFtBVukY2Fk4NKi2xsS231HYV0ASOu+NBkn3Ru5CHpalSwlJBWr8H3MBy64up q9Ppqfane+i5fjrnxiZiLerC5I+1aDFGwaAbTBDfUx+aGvSKZ/1Ruh6zODlTF3X714KnKV paY8T6OKjo3IbJcrNfJjOfBS2p9ySCJvqZiLWhUf+kf1+M4Xq6dc37PFcdjyPgYK5fQP7M E+HYIm14ef0du3ExYTbU8jHnTWpVTMIkL3mhEJ5hCXnpg90KvPLdFlReOmUF1zYapUxtGK 3Sk0dCxHYHF7q+UueQ/i0jhmPGqwYCZlWJLKh5Bh4Cob74JoyOjFudDiCkk51g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693606024; a=rsa-sha256; cv=none; b=sTFO0GMY2Q2lxIG2FjwI3oIqgIzIhf2rtBPblHZRk4T9Cn/fu7BKhls/WPnv8/O1Wk1NkF nxRVjcY49zZE6DxpLyV8Sriejwo317kDyG4pv+OJSDbahi5lDrihIkG1WkchjT3X61mk2U K14B1CiGcmzvA3aWuix7svh96yx6zNNU1YlrV8t2LACLJGKfLGJBiyRsivrOP5RaE69UtK P94OESYaFUeG83ib17yQo7WCfl14gZa1ioOc5uL1ZNySSfzKRYhh49GkFlfl/BPxvuc0Z4 80ccM7ZYw7xzVhHhNoORMzkSUuyNrfFwahLZboJzuflqMJzj76qHBM+NoE3dfw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693606024; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=FXGHF57mvN5887mSHRfLS05ItHH2w+jJbvbhbYJPfFA=; b=hTI+JYFoDFXgwM30fFxlFwDaI4nq0iCJ722pW22DlAZWi5HM+Ya1XhpIg+vkRrOPnifVqU Cwuu9laKe+edt1rQE3/s3uQjsrUMc36kT7nRSOWZ4k0WIgrFzd9cyACSY/3A8sysw01/U0 8us3jXZ7v3j+WdIeGPWszHhMdsRdsJx2iZMpv9hZG7G2ls8m0iUkhp6ptejZsR338po1df BVkIEN9HbotSA5Mtwm4dP9FbtdaWIqi/YoL705lzPCQpGN9kEVdw8w22BOdyavlcwy1VzQ ENDSwZLFwUAmJQ0quZ+5FF1kCp1HOScEUDQSwekvJqzqr3NhNNJd3sVA7yiyMA== Received: from mail-ot1-f51.google.com (mail-ot1-f51.google.com [209.85.210.51]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) 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 1D4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4RcsZc1lyNz4sY; Fri, 1 Sep 2023 22:07:04 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-ot1-f51.google.com with SMTP id 46e09a7af769-6bb07d274feso1851749a34.0; Fri, 01 Sep 2023 15:07:04 -0700 (PDT) X-Gm-Message-State: AOJu0YwVAwN4WgSbdJmIczgAe5hxC8hJgMvEoJJTsrjP+K5iDgtgc7ap 7ehrm/UwaORjiqzmtPXib0XYllknqbLSpaef+Gw= X-Google-Smtp-Source: AGHT+IGOsP/5OcYTW1SvhGDFc2ncJi5gzxwXrgOLzWr/WStmtL+4mk6lgQnWfwcoqw7Whovhn4IZo9wEgfQNj2jaDXA= X-Received: by 2002:a05:6830:10c4:b0:6b7:518a:1672 with SMTP id z4-20020a05683010c400b006b7518a1672mr3888163oto.34.1693606023234; Fri, 01 Sep 2023 15:07:03 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <20220813202027.2mhq7cyuqpntk6h5@mutt-hbsd> <20220813205406.lat5e6aryzliw3op@mutt-hbsd> In-Reply-To: <20220813205406.lat5e6aryzliw3op@mutt-hbsd> From: Nuno Teixeira Date: Fri, 1 Sep 2023 23:06:51 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [iwlwifi] ipv6 connection problem To: Shawn Webb Cc: freebsd-wireless@freebsd.org, FreeBSD CURRENT Content-Type: multipart/alternative; boundary="000000000000678bb40604536106" --000000000000678bb40604536106 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello all! After one year I was in need to use ipv6 on wireless and everything is working ok. I'm running 15-CURRENT: --- wlans_iwlwifi0=3D"wlan0" create_args_wlan0=3D"wlanmode sta regdomain ETSI country PT" ifconfig_wlan0_ipv6=3D"inet6 accept_rtadv" ifconfig_wlan0=3D"WPA SYNCDHCP" rtsold_enable=3D"YES" --- wlan0: flags=3D8843 metric 0 mtu 15= 00 options=3D0 ether 6c:6a:77:df:09:21 inet 192.168.1.68 netmask 0xffffff00 broadcast 192.168.1.255 inet6 fe80::6e6a:77ff:fedf:921%wlan0 prefixlen 64 scopeid 0x3 inet6 2001:8a0:de5b:8300:6e6a:77ff:fedf:921 prefixlen 64 autoconf pltime 90000 vltime 90000 groups: wlan ssid MEO-787FB0 channel 11 (2462 MHz 11g) bssid 00:06:91:78:7f:b0 regdomain ETSI country PT authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid 60 protmode CTS wme roaming MANUAL parent interface: iwlwifi0 media: IEEE 802.11 Wireless Ethernet OFDM/18Mbps mode 11g status: associated nd6 options=3D23 --- Thanks all, Shawn Webb escreveu no dia s=C3=A1bado, 13/08/= 2022 =C3=A0(s) 21:55: > I should have mentioned that my wireless AP isn't your typical AP. > It's running HardenedBSD 13-STABLE on a PC-Engines APU2 with an > Atheros WNIC. > > Here's the relevant configs on the WAP: > > =3D=3D=3D=3D begin rc.conf =3D=3D=3D=3D > ifconfig_igb0=3D"DHCP" > ifconfig_igb0_ipv6=3D"inet6 accept_rtadv" > > wlans_ath0=3D"wlan0" > create_args_wlan0=3D"wlanmode hostap mode 11a up" > ifconfig_wlan0=3D"HOSTAP" > > cloned_interfaces=3D"bridge0" > ifconfig_bridge0=3D"addm igb0 addm wlan0 span igb1 up" > =3D=3D=3D=3D end rc.conf =3D=3D=3D=3D > > =3D=3D=3D=3D begin hostapd-wlan0.conf =3D=3D=3D=3D > interface=3Dwlan0 > ctrl_interface=3D/var/run/hostapd-wlan0 > ctrl_interface_group=3Dwheel > ssid=3D[redacted] > wpa=3D2 > wpa_passphrase=3D[redacted] > wpa_key_mgmt=3DWPA-PSK > wpa_pairwise=3DCCMP > =3D=3D=3D=3D end hostapd-wlan0.conf =3D=3D=3D=3D > > On Sat, Aug 13, 2022 at 09:49:34PM +0100, Nuno Teixeira wrote: > > Hello Shawn! > > > > I've tested your config: > > --- > > wlans_iwlwifi0=3D"wlan0" > > create_args_wlan0=3D"wlanmode sta regdomain ETSI country PT" > > ifconfig_wlan0_ipv6=3D"inet6 accept_rtadv" > > ifconfig_wlan0=3D"WPA DHCP" > > rtsold_enable=3D"YES" > > --- > > and no carrier. > > > > Think we have to wait a little more and see if people that use ifwwifi > > driver do some tests on ipv6. > > > > Thanks, > > > > Shawn Webb escreveu no dia s=C3=A1bado, > 13/08/2022 > > =C3=A0(s) 21:21: > > > > > On Sun, Aug 07, 2022 at 06:16:20PM +0100, Nuno Teixeira wrote: > > > > Hello, > > > > > > > > Due to ISP changes I was forced to use ipv6 on my re0 ethernet so I > can > > > > have a funcional internet. > > > > > > > > Now I'm trying to get ipv6 on iwlwifi (AX201) with /etc/rc.conf: > > > > --- > > > > wlans_iwlwifi0=3D"wlan0" > > > > create_args_wlan0=3D"wlanmode sta regdomain ETSI country PT" > > > > ifconfig_wlan0_ipv6=3D"inet6 accept_rtadv" > > > > ifconfig_wlan0=3D"WPA SYNCDHCP" > > > > rtsold_enable=3D"YES" > > > > --- > > > > but wpa_supplicant doesn't connect after trying for some seconds. > > > > > > > > How do I obtain more details to help showing my problem? > > > > I've tried "wpa_supplicant_flags=3D"-f /var/log/wpa.log" without > success. > > > > > > Caveat: the last time I used the iwlwifi driver was somewhere between > > > one and two months ago, during which time there have been several > > > changes in src related to wifi/linuxkpi stuff. > > > > > > Hardware: Dell Precision 7550, BIOS revision 1.13.0 > > > > > > Dual stack IPv4+IPv6 worked for me that last time I used iwlwifi. > > > Here's my relevant configs: > > > > > > =3D=3D=3D=3D begin rc.conf =3D=3D=3D=3D > > > ifconfig_em0_ipv6=3D"inet6 accept_rtadv" > > > ifconfig_em0=3D"DHCP" > > > > > > #wlans_iwlwifi0=3D"wlan0" > > > create_args_wlan0=3D"wlanmode sta" > > > wlandebug_wlan0=3D"+state +crypto +node +auth +assoc +dot1xsm +wpa" > > > ifconfig_wlan0=3D"WPA DHCP" > > > ifconfig_wlan0_ipv6=3D"inet6 accept_rtadv" > > > =3D=3D=3D=3D end rc.conf =3D=3D=3D=3D > > > > > > =3D=3D=3D=3D begin `pciconf -lv` =3D=3D=3D=3D > > > iwlwifi0@pci0:0:20:3: class=3D0x028000 rev=3D0x00 hdr=3D0x00 vendor= =3D0x8086 > > > device=3D0x06f0 subvendor=3D0x8086 subdevice=3D0x4070 > > > vendor =3D 'Intel Corporation' > > > device =3D 'Comet Lake PCH CNVi WiFi' > > > =3D=3D=3D=3D end `pciconf -lv` =3D=3D=3D=3D > > > > > > =3D=3D=3D=3D begin dmesg.boot =3D=3D=3D=3D > > > 27] iwlwifi0: successfully loaded firmware image > > > 'iwlwifi-QuZ-a0-hr-b0-71.ucode' > > > [27] iwlwifi0: api flags index 2 larger than supported by driver > > > [27] iwlwifi0: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.37 > > > [27] iwlwifi0: loaded firmware version 71.058653f6.0 > QuZ-a0-hr-b0-71.ucode > > > op_mode iwlmvm > > > [27] iwlwifi0: Detected Intel(R) Wi-Fi 6 AX201 160MHz, REV=3D0x351 > > > [28] iwlwifi0: Detected RF HR B3, rfid=3D0x10a100 > > > [28] iwlwifi0: base HW address: [redacted] > > > =3D=3D=3D=3D end dmesg.boot =3D=3D=3D=3D > > > > > > Hopefully this helps. But this is all the info I've got. Please let m= e > > > know if you have any questions or comments. > > > > > > Thanks, > > > > > > -- > > > Shawn Webb > > > Cofounder / Security Engineer > > > HardenedBSD > > > > > > > > > > https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/0= 3A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc > > > > > > > > > -- > > Nuno Teixeira > > FreeBSD Committer (ports) > > -- > Shawn Webb > Cofounder / Security Engineer > HardenedBSD > > > https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/0= 3A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc > --=20 Nuno Teixeira FreeBSD Committer (ports) --000000000000678bb40604536106 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello all!

After one year I = was in need to use ipv6 on wireless and everything is working ok.
I'm running 15-CURRENT:

---
wla= ns_iwlwifi0=3D"wlan0"
create_args_wlan0=3D"wlanmode sta r= egdomain ETSI country PT"
ifconfig_wlan0_ipv6=3D"inet6 accept_= rtadv"
ifconfig_wlan0=3D"WPA SYNCDHCP"
rtsold_enable= =3D"YES"
---
wlan0: flags=3D8843<UP,BROADC= AST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
=C2=A0 =C2=A0 =C2=A0= =C2=A0 options=3D0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ether 6c:6a:77:df:09:21<= br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 inet 192.168.1.68 netmask 0xffffff00 broadca= st 192.168.1.255
=C2=A0 =C2=A0 =C2=A0 =C2=A0 inet6 fe80::6e6a:77ff:fedf:= 921%wlan0 prefixlen 64 scopeid 0x3
=C2=A0 =C2=A0 =C2=A0 =C2=A0 inet6 200= 1:8a0:de5b:8300:6e6a:77ff:fedf:921 prefixlen 64 autoconf pltime 90000 vltim= e 90000
=C2=A0 =C2=A0 =C2=A0 =C2=A0 groups: wlan
=C2=A0 =C2=A0 =C2=A0= =C2=A0 ssid MEO-787FB0 channel 11 (2462 MHz 11g) bssid 00:06:91:78:7f:b0=C2=A0 =C2=A0 =C2=A0 =C2=A0 regdomain ETSI country PT authmode WPA2/802.1= 1i privacy ON
=C2=A0 =C2=A0 =C2=A0 =C2=A0 deftxkey UNDEF AES-CCM 2:128-b= it txpower 30 bmiss 7 scanvalid 60
=C2=A0 =C2=A0 =C2=A0 =C2=A0 protmode = CTS wme roaming MANUAL
=C2=A0 =C2=A0 =C2=A0 =C2=A0 parent interface: iwl= wifi0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 media: IEEE 802.11 Wireless Ethernet O= FDM/18Mbps mode 11g
=C2=A0 =C2=A0 =C2=A0 =C2=A0 status: associated
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 nd6 options=3D23<PERFORMNUD,ACCEPT_RTADV,AUT= O_LINKLOCAL>
---

Thanks all,

Shawn Webb <shawn.webb@ha= rdenedbsd.org> escreveu no dia s=C3=A1bado, 13/08/2022 =C3=A0(s) 21:= 55:
I should hav= e mentioned that my wireless AP isn't your typical AP.
It's running HardenedBSD 13-STABLE on a PC-Engines APU2 with an
Atheros WNIC.

Here's the relevant configs on the WAP:

=3D=3D=3D=3D begin rc.conf =3D=3D=3D=3D
ifconfig_igb0=3D"DHCP"
ifconfig_igb0_ipv6=3D"inet6 accept_rtadv"

wlans_ath0=3D"wlan0"
create_args_wlan0=3D"wlanmode hostap mode 11a up"
ifconfig_wlan0=3D"HOSTAP"

cloned_interfaces=3D"bridge0"
ifconfig_bridge0=3D"addm igb0 addm wlan0 span igb1 up"
=3D=3D=3D=3D end rc.conf =3D=3D=3D=3D

=3D=3D=3D=3D begin hostapd-wlan0.conf =3D=3D=3D=3D
interface=3Dwlan0
ctrl_interface=3D/var/run/hostapd-wlan0
ctrl_interface_group=3Dwheel
ssid=3D[redacted]
wpa=3D2
wpa_passphrase=3D[redacted]
wpa_key_mgmt=3DWPA-PSK
wpa_pairwise=3DCCMP
=3D=3D=3D=3D end hostapd-wlan0.conf =3D=3D=3D=3D

On Sat, Aug 13, 2022 at 09:49:34PM +0100, Nuno Teixeira wrote:
> Hello Shawn!
>
> I've tested your config:
> ---
> wlans_iwlwifi0=3D"wlan0"
> create_args_wlan0=3D"wlanmode sta regdomain ETSI country PT"=
> ifconfig_wlan0_ipv6=3D"inet6 accept_rtadv"
> ifconfig_wlan0=3D"WPA DHCP"
> rtsold_enable=3D"YES"
> ---
> and no carrier.
>
> Think we have to wait a little more and see if people that use ifwwifi=
> driver do some tests on ipv6.
>
> Thanks,
>
> Shawn Webb <shawn.webb@hardenedbsd.org> escreveu no dia s=C3=A1bado, 13= /08/2022
> =C3=A0(s) 21:21:
>
> > On Sun, Aug 07, 2022 at 06:16:20PM +0100, Nuno Teixeira wrote: > > > Hello,
> > >
> > > Due to ISP changes I was forced to use ipv6 on my re0 ethern= et so I can
> > > have a funcional internet.
> > >
> > > Now I'm trying to get ipv6 on iwlwifi (AX201) with /etc/= rc.conf:
> > > ---
> > > wlans_iwlwifi0=3D"wlan0"
> > > create_args_wlan0=3D"wlanmode sta regdomain ETSI countr= y PT"
> > > ifconfig_wlan0_ipv6=3D"inet6 accept_rtadv"
> > > ifconfig_wlan0=3D"WPA SYNCDHCP"
> > > rtsold_enable=3D"YES"
> > > ---
> > > but wpa_supplicant doesn't connect after trying for some= seconds.
> > >
> > > How do I obtain more details to help showing my problem?
> > > I've tried "wpa_supplicant_flags=3D"-f /var/lo= g/wpa.log" without success.
> >
> > Caveat: the last time I used the iwlwifi driver was somewhere bet= ween
> > one and two months ago, during which time there have been several=
> > changes in src related to wifi/linuxkpi stuff.
> >
> > Hardware: Dell Precision 7550, BIOS revision 1.13.0
> >
> > Dual stack IPv4+IPv6 worked for me that last time I used iwlwifi.=
> > Here's my relevant configs:
> >
> > =3D=3D=3D=3D begin rc.conf =3D=3D=3D=3D
> > ifconfig_em0_ipv6=3D"inet6 accept_rtadv"
> > ifconfig_em0=3D"DHCP"
> >
> > #wlans_iwlwifi0=3D"wlan0"
> > create_args_wlan0=3D"wlanmode sta"
> > wlandebug_wlan0=3D"+state +crypto +node +auth +assoc +dot1xs= m +wpa"
> > ifconfig_wlan0=3D"WPA DHCP"
> > ifconfig_wlan0_ipv6=3D"inet6 accept_rtadv"
> > =3D=3D=3D=3D end rc.conf =3D=3D=3D=3D
> >
> > =3D=3D=3D=3D begin `pciconf -lv` =3D=3D=3D=3D
> > iwlwifi0@pci0:0:20:3:=C2=A0 =C2=A0class=3D0x028000 rev=3D0x00 hdr= =3D0x00 vendor=3D0x8086
> > device=3D0x06f0 subvendor=3D0x8086 subdevice=3D0x4070
> >=C2=A0 =C2=A0 =C2=A0vendor=C2=A0 =C2=A0 =C2=A0=3D 'Intel Corpo= ration'
> >=C2=A0 =C2=A0 =C2=A0device=C2=A0 =C2=A0 =C2=A0=3D 'Comet Lake = PCH CNVi WiFi'
> > =3D=3D=3D=3D end `pciconf -lv` =3D=3D=3D=3D
> >
> > =3D=3D=3D=3D begin dmesg.boot =3D=3D=3D=3D
> > 27] iwlwifi0: successfully loaded firmware image
> > 'iwlwifi-QuZ-a0-hr-b0-71.ucode'
> > [27] iwlwifi0: api flags index 2 larger than supported by driver<= br> > > [27] iwlwifi0: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.37
> > [27] iwlwifi0: loaded firmware version 71.058653f6.0 QuZ-a0-hr-b0= -71.ucode
> > op_mode iwlmvm
> > [27] iwlwifi0: Detected Intel(R) Wi-Fi 6 AX201 160MHz, REV=3D0x35= 1
> > [28] iwlwifi0: Detected RF HR B3, rfid=3D0x10a100
> > [28] iwlwifi0: base HW address: [redacted]
> > =3D=3D=3D=3D end dmesg.boot =3D=3D=3D=3D
> >
> > Hopefully this helps. But this is all the info I've got. Plea= se let me
> > know if you have any questions or comments.
> >
> > Thanks,
> >
> > --
> > Shawn Webb
> > Cofounder / Security Engineer
> > HardenedBSD
> >
> >
> > https://git.hardenedbsd.org/hardenedbsd/pubke= ys/-/raw/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc=
> >
>
>
> --
> Nuno Teixeira
> FreeBSD Committer (ports)

--
Shawn Webb
Cofounder / Security Engineer
HardenedBSD

https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/m= aster/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc


--
Nuno Teixeira
FreeBSD Committ= er (ports)
--000000000000678bb40604536106-- From nobody Sat Sep 2 06:25:35 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Rd4f413Czz4s0xD; Sat, 2 Sep 2023 06:25:48 +0000 (UTC) (envelope-from kiri@truefc.org) Received: from kx.truefc.org (1.212.52.36.ap.yournet.ne.jp [36.52.212.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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp", Issuer "smtp" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rd4f14kzyz4fBj; Sat, 2 Sep 2023 06:25:45 +0000 (UTC) (envelope-from kiri@truefc.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of kiri@truefc.org designates 36.52.212.1 as permitted sender) smtp.mailfrom=kiri@truefc.org; dmarc=none Received: from kx.truefc.org (kx.truefc.org [36.52.212.1]) by kx.truefc.org (8.17.1/8.17.1) with ESMTP id 3826PaNR066435; Sat, 2 Sep 2023 15:25:36 +0900 (JST) (envelope-from kiri@kx.truefc.org) Message-Id: <202309020625.3826PaNR066435@kx.truefc.org> Date: Sat, 02 Sep 2023 15:25:35 +0900 From: KIRIYAMA Kazuhiko To: current@freebsd.org Cc: freebsd-rc@freebsd.org Subject: Re: Announce /etc/rc.d/sendmail does not work in default should be made at use time. In-Reply-To: References: <202308210638.37L6c9PJ074335@kx.truefc.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 MULE XEmacs/21.4 (patch 24) (Standard C) (amd64--freebsd) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Spamd-Bar: - X-Spamd-Result: default: False [-1.30 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_LONG(-0.99)[-0.995]; NEURAL_SPAM_SHORT(0.80)[0.795]; R_SPF_ALLOW(-0.20)[+ip4:36.52.212.0/29]; MIME_GOOD(-0.10)[text/plain]; RCVD_NO_TLS_LAST(0.10)[]; ONCE_RECEIVED(0.10)[]; TO_DN_NONE(0.00)[]; FREEFALL_USER(0.00)[kiri]; RCVD_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-rc@freebsd.org,current@freebsd.org]; BLOCKLISTDE_FAIL(0.00)[36.52.212.1:server fail]; DMARC_NA(0.00)[truefc.org]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; ASN(0.00)[asn:10013, ipnet:36.52.208.0/21, country:JP]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4Rd4f14kzyz4fBj Hi, lists On Mon, 21 Aug 2023 20:25:22 +0900, Christoph Moench-Tegeder wrote: > > ## KIRIYAMA Kazuhiko (kiri@truefc.org): > > > But there are nothing pointers to be changed default MTA > > changed to dma from sendmail ;-( > > There is: UPDATING 20221205. To aware default MTA is dma, I added required_vars_defin_files variable used by check_required_before function in /etc/rc.subr. For example in this sendmail case, required_vars_defin_files defines in /etc/rc.d/sendmail like this: required_vars_defin_files="sendmail:/usr/libexec/sendmail/sendmail /etc/mail/mailer.conf" This means "If sendmail -> /usr/libexec/sendmail/sendmail does not define in /etc/mail/mailer.conf, warn this". diff --git a/libexec/rc/rc.d/sendmail b/libexec/rc/rc.d/sendmail index 68803a957952..f14da832d8f2 100755 --- a/libexec/rc/rc.d/sendmail +++ b/libexec/rc/rc.d/sendmail @@ -17,6 +17,7 @@ name="sendmail" desc="Electronic mail transport agent" rcvar="sendmail_enable" required_files="/etc/mail/${name}.cf" +required_vars_defin_files="${name}:/usr/libexec/${name}/${name} /etc/mail/mailer.conf" start_precmd="sendmail_precmd" load_rc_config $name diff --git a/libexec/rc/rc.subr b/libexec/rc/rc.subr index 17ca904ff1e7..1816df26ef67 100644 --- a/libexec/rc/rc.subr +++ b/libexec/rc/rc.subr @@ -2140,7 +2140,7 @@ find_system_scripts() { # check_required_before() { - local _f + local _f _vars case "$1" in start) @@ -2170,6 +2170,60 @@ check_required_before() fi fi done + + IFS=$'\n' + for _f in $required_vars_defin_files; do + _vars=${_f% *} + _f=${_f##* } + if [ ! -f "${_f}" ]; then + warn "${_f} is not found." + return 1 + fi + _vars=$(awk -v vars="$_vars" -v file=$_f ' + BEGIN { + n = split(vars, v, /[[:space:]]+/) + for (i = 1; i <= n; i++) { + split(v[i], w, /:/) + var[w[1]] = w[2] + } + s = "" + found = 0 + } + { + for (i in var) { + if (match($0, "^" i "[[:space:]]+")) { + t = substr($0, RSTART + RLENGTH) + if (var[i] == t) { + delete var[i] + n-- + break + } + } + } + if (n <= 0) { + found = 1 + exit + } + } + END { + if (! found) { + for (i in var) { s = s ? s " " i "->" var[i] : i "->" var[i] } + if (n == 1) { + print "\"" s "\" is" + } else { + print "\"" s "\" are" + } + } + exit ! found + }' $_f) + if [ $? -ne 0 ]; then + warn "${_vars} not defined in ${_f}." + if [ -z "$rc_force" ]; then + return 1 + fi + fi + done + unset IFS ;; esac Regards --- Kazuhiko Kiriyama From nobody Sat Sep 2 07:06:12 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Rd5Xn5gMJz4s7MX for ; Sat, 2 Sep 2023 07:06:17 +0000 (UTC) (envelope-from garyj@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rd5Xm37nnz3HfW for ; Sat, 2 Sep 2023 07:06:16 +0000 (UTC) (envelope-from garyj@gmx.de) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1693638373; x=1694243173; i=garyj@gmx.de; bh=EF0FWhBehbg2mS3p9TSkPZBifsXLQqHwyQnIpLV+Bjs=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:In-Reply-To:References:Reply- To; b=NJTNmsu+de4PbYw8DwgxE4w2foagr0Ucr2UDZ7PphIJpN3Y4ni3x5cqIhSOOtTbY7L/q3No zj4ku8U/9CmWZ7jGpitozkbbZw3c9yK5k48JcgqbyKazO8Kr+MJrfgVHj+UvrdoYuyjhw15Cl 7KnSY1Z+U0WQM++OMMLqm63BjmgEfwKsVaiJ4AsDnNR7oWYmeuMBAHjsofeSV/sraoE1akuYh qGibTjbbWtD1oR3R0DY/FWgkLNWc8fbJOB9xj1O61VLMBhSyCT5BbTdmpzy5/4P4UMhw1flaL YcgcUSVA+OfiVIhZJ2HXuYip+Yin29gmN2yY6//PqQc0VFS3nc5Q== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from ernst.home ([91.59.229.79]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N5VHG-1pZmpD0eDq-016taf; Sat, 02 Sep 2023 09:06:13 +0200 Date: Sat, 2 Sep 2023 07:06:12 +0000 From: Gary Jennejohn To: Warner Losh Cc: freebsd-current@freebsd.org Subject: Re: FreeBSD-15 kernel panic when the amdtemp device is in the kernel Message-ID: <20230902090612.6e25fbdc@ernst.home> In-Reply-To: References: <20230901130314.460f91bf@ernst.home> <87edjixf6v.wl-herbert@gojira.at> <20230901160441.038539cd@ernst.home> <87cyz2x6x1.wl-herbert@gojira.at> <20230901182134.23b8d5f3@ernst.home> Reply-To: garyj@gmx.de X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:Iktp79pPUCOeGuymNPEOpGclsXmFwTbd3ZtQ+h9ZbGoOlOIepb2 NvkJNcDp5JcFTwl+ht4kUZJzEW1lG8xKGJnwVA/Rb1ft2P8lbUWB0DpiCKLtDTYfge+AYtI dUXk1twsrJ+c7ND8xKZKWuql8eHk4xkEgVvpoUDOQwpsJQkCd6KwUum+39MrrHzS49Xgcfe zoYXsxJO6jaWyMIXUSE1w== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:F11TiPT1wcU=;5albiTwM7NUKVANiQnjbxGjEYfd ZTOIbbEjVEjChOUhcCIULb5k2hjroxO2oaVU6qcKVvOEdz56COLQCTq+qw9kBmhi8KfaSMb59 7AcIJ27ij2EofvSeBEnFyFqhDkEdxtgeU7GDH4/foKGiL7hyeR9IthzwjnxnfNdJHvFdVyVPN WnP0qHfKHd+JIwklLPk4fpgjqZYFezBeR0M0vgnhCmy8dNSVNscZ2twzkunnEqXUPK/FKsSZx 0CF9/Sq7Df9lOxlfIfaMFpYm1ntYSvV9YPhQwBkNSHFIFmB86idUGkZppasnSYVpiZpRUY0x+ fKm9+DcN8ga0c44nGFqlNCrYHvo43SSZVNdS8n+z6r5UJ7HC9nuWi5A9nFLEIkCit07q1/IDe /4/nwBuroEfLq8sOEdvX3yTQ3HcasI6/Nib9IPhU9+ngem9+cFZIOVnaASoxjum49j+dh2G78 3d0IIky+6np4l1tlLAlb3+E+iw+YoWHnhe/0L23Xg9MrPwm2HyTxQQ8t/Nm4BA88neAWLD/VQ VNjt2bn/jYbQajyI4eXt9U1pfDztDNNoxdO9/e5XQO9UJnhlgtbbCH5mies+shWIsyqr8I240 I8pFRj3pH4vr9y5v8Ia58058EBUi42AcrftAJl5LsEOkD9UJvkDnp1zidPNEp3IZcQPD9R3pk SE/1gweRN0EG5eSeuIYcMrNlXWFIPALutaR/88hrC6Te+mmzrI4LJOAkVprOKkDXVYtv2OpaA gJGG3JmPXxeg9eymOSk6tRXMbnbhIaesCmv+dhIX7lMDjIx/emiVKfNrRDmOvO499ZlJnt6Xx RMwkanUQYhoCSU5XHpnQ5W85Z4qDdSlGIcWziN1PvZNosSU9Y8f/3NvmjfkhNHpX70WBjvsf2 9KIz4KtlKMljk2esxUHyV2gEojsWIlqBWR8G2T9Dw9a7qvZ7L+9OlM56ad8g5YQufwjzVt//9 I71Mpw== X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE] X-Rspamd-Queue-Id: 4Rd5Xm37nnz3HfW On Fri, 1 Sep 2023 16:00:03 -0600 Warner Losh wrote: > I think that the problem is that admsmn has probed, but not attached (or > failed to attach for some reason), so we find the device, but it's not > initialized yet, so when we call amdsmn_read, it tries to lock a mutex > that's not yet initialized. > > Not sure why this is happening, or why loading it as modules fixes it... > > But since I don't have the hardware, I can't help more. Sorry. > Might it be worth adding an entry to /usr/src/UPDATING for users with older Zen versions like mine (Zen 1 and Zen 2), recommending kldload'ing of amdsmn and amdtemp? =2D- Gary Jennejohn From nobody Sat Sep 2 07:35:34 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Rd6Bx0yFdz4sDLY for ; Sat, 2 Sep 2023 07:35:53 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic316-8.consmr.mail.gq1.yahoo.com (sonic316-8.consmr.mail.gq1.yahoo.com [98.137.69.32]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rd6Bv3qqdz3N5n for ; Sat, 2 Sep 2023 07:35:51 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=glU3I4QK; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.32 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1693640149; bh=S3Qv4Gp3857TDYmrib4zshfMlQm27pjoLxB1DEjW0wM=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=glU3I4QKWs3r62Wga95bc1zgHY/VoSESDi65L2Mq9OmO4ibhyonZRGVz1BOorqbR8Fn28kbn8Mn78xzzOfjCa0r7yj/sDFAeQkndvN45wZmInaQSj2A2zXoojwjJYBI2V++0hJJ8TTSnVtQ3CWAFuSibXxvtun/AeftsJy2umKlL3IJ7bXWsas0a9G0HaANUY2i8P+GQypgVxlfDq5qfDhbnjILRHAneU3I5BYSGH0wF3xjpDbjr1dzzHByFulEE/J/FNnW+2n3+uz5sCOHQqs9LB1hGcuV1eM3uAMbnclcaauZQxkXShTYHFgN6mEfyL5NEEuo8IKMM8e012sn6gw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1693640149; bh=PcUSVpUq7rR6BcEVpDm3vnqMJ4BxBifM6O+Oth6hMHW=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=syVBb0fjsMtwmYSEk9niTcNcuxZf6JzbPJoBLlZnvnED0LN7jHsuZhAjJQ9FUVxAqD8alx6n9lhtiRv9c6oucRw9DDV3cE7Ok1cCkWkx60sfXHWP+0yMgxwOqAGULxStxMubY4PCaavxiZosw6T7q4Eqys8vKM0VR8om9PjMcek/+ZEqbpUVNUuB8sPop31Of+sBR0HfM0QbwsX9eJv1q0qjjfs2sTUqrKReOw3fbrjJHMe3nMDOTy/l+eJW76lF896nxXqAYrKv/Sfj3mXzrZvMeRIO/9VzfHP0DbacKzAiQIq/le+6wAGmhmgJw7usl9Ff11y1e4eE1MFM42MR4w== X-YMail-OSG: _6IIQKgVM1nRssxlj15OYQEUgORQxopNG9X0d3nQCeVxr9TwezrEV.IE1Ll3MBz vbfxdODbgjfQk3.Bl3zzxBfYGyzZ2ulVv3wkWe755bQ.obtj5kDryJilRPNAaq4XsA4xSR_ymcx3 KVB54Ye81j_YyYSB_Hj.6HbpDNQpyV02EdM0AOP.kNInXhYgDEw86Gg6sC8iv4ItF8uuP9jjzTrC UanCIlF5AeZ4wzid91gcMBkKsr2Xf3DaPo6Xsw0fa4Fi5tG0J3MJT_JH6I5qGwx9CLJivOxjAB7W 6pYRTALJSdqL45OOfJj2jiALyaHdx1dOdoI..PTD0uFrN2LjUN.VgFaR.AEHmk2n0ZZg1C83BfZg uGDZdaYln8si.miLIKsejj1zc6yfYkFANCdLM5btaMDUDKZ7XUexcxUU9m2qZpGWR58lorWkIWVN 2Q3zHPI3g7kuApstGq1yipBQiW45IKyqATWNpvXJuTf9IuF.Z5W9fE.rOGYe8mduXdJLEqMpu7_J 0NBlL6PU94S2DEEf_r1mEjnwp_KR1yOSyj2aUVMBYr62.1NqQgnttIankJkgVvkoqVunI5E8kuQ7 YLGzLKCfyCy1YE7oX7y5pFJLZCOZzsB.aevG27PpCIQWtpb1Ax_3QEMVcYhH9FNTExFCJZFTSZXH OUv3fMrMAEaMi_fiZ5v.t5z9_dw3f9dJ5.RBSznCiWeVasKgg.Mfd40.tXiIgvHaJssjm5ejj31m XyII575825ZvpQE8T_S5Ik7EAjt54Fg_uExqPDeOamyyKqcvedrYssMHN30EUo2tASdlRwK9UBjs x3BNXbmtewUExZiDGLNEB_GWbxLeI_WKsgp5kMm2va_j9xTh2WBj6KrAXwMikEpgPDM5JNMXmGDp Pj1s1fi.j8jUg77pa48OTAw8clQQoWBRuIk9gi8QRh3njJeJgTCNiMNbIm.Fa31OJYaU.epHoogc QB5gw3i5CSgboxRA3pHosTZdP9lJNDQHpCN27Mjki4JCWRCOgZ4R_CqPwlpIgh8ddVqSaE8BkJ83 VVTLxoVJbjw2uPlgQwqeWvkWuOVgDtdUbM8AvE4pkkcXgvBGexYGXqEWWZAs0nZ3vcJt8vtvMuEo Hb52FEu9CNK8NQBIqMed3PqPr4nTGJ_HSWSAFq4WwUmxWECp_eNwCzDxpToxhL_166ZiqeRrgOBd o.SL.CYowv0ZNfJAR8IAG3k1F7vyVB_jB9Tjk_9iSZD009qHpsXo8l8pN6weNS0HoxcodbI33iyo 8hHYCFiFWwYd1OkzLuZQIe5XhPRokRP44u9P1dp2BeMUxDs6loY_9Zp.5Tte3kHd0jFQ3KfrSTpv xhb4l43OfrkI.F4U4eswMIyjl9y_yzPUv1LHOOO8U1u.wAg5q1StPW691xtl_SxgLIL2hPx.L4yL zwaDYI4INBLzVMSh8uHZPSkvgAB3wU82tRDCRRksvs7nwAnJXoN98Zg0n0pyVl3kB6g60HEPcUPx ngvctP_MeukqlnL4_XdXk9m5TWUl.aIBQK._kXyfF8qjW6GIj8ii9hoiAYu4ILiwixQAz5pScVFb MpesAHwkpsvyIAhuDOwjMNjS.BTA.h1YgPvMF1mNuhXBOWJlFtlHKV.v5fUrr9hKv4GYzHGyiO8s Hi6JktGpP2D0EZBJohsyaNQu4nA0azHCtZOlxVhmKgngCj40PQpm6RWYoZsx7zyuFSdO6UQjxvD8 R4rTIBMkOpyCKsu3GURX5ciI8w4wfY4fn9CsOwCWp.VdRiNWJgqFHxypR3u0tntLTfU.oXxo38Kf 1On5yucZsAKOK0OHdyDfGjgnmCyMJmbl3g3zxPFceYlPwwq9j84HaNIVBugRI3xZ3UBii0fJpPrr bWBIDyVrxU05MR6vXK1H5jCJbo7_ryFfLzxT5kiGKWw2Un174viHn4GWe5abOZslrPVDFbWYwzxr KdEIL2lOHFfgj3PnjBo8jkxwtGgsD.LGSHql7DUZ9uPrjxrzRr6CDd31ZWmuOUfiZYbE5f7VWdwd gKBh.ah7r0xd.xt3HI9SrvG6ej7iiHjNdcuuSOZ1ydSKW9G1cQb_EiYlWyYdZ__CT6o8VAPp5hMu nP7xTArTLzAedt.jmj.i3.9h_U_mcALxUG2Cb5W1N06CIE5B_k4VlyZLRxyKX5gtLy7ghVrWnz13 v1YWB6yPimuRZAOL5Dw7rnRhSnksHwwJ_ua4U352UNB7rpnPyLyTg2ncWhOxkfS0JaxpC0kIhWOZ 5VYoGpHglJU0FJhVUhDg__k5YqMtO9x.nIHr9iwYVGs2gBHADGepkflsS1R0j1FH5Lfj0XS7Rztg VFQ-- X-Sonic-MF: X-Sonic-ID: e78b60a2-457e-40b5-9f72-97877068adad Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.gq1.yahoo.com with HTTP; Sat, 2 Sep 2023 07:35:49 +0000 Received: by hermes--production-ne1-7b767b77cc-7tm2h (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID f95c54d2324d6e249caeb9cbb4718d9b; Sat, 02 Sep 2023 07:35:46 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: [Bug 273506] main [so: 15] aarch64 kyua python use fails with: . . . and dlerror is reporting "/usr/lib/ossl-modules/legacy.so: Undefined symbol \"MD4_Update\"", '\000' Message-Id: <721EBF15-6905-437E-9B23-A4E3D1129658@yahoo.com> Date: Sat, 2 Sep 2023 00:35:34 -0700 To: freebsd-arm , Current FreeBSD X-Mailer: Apple Mail (2.3731.700.6) References: <721EBF15-6905-437E-9B23-A4E3D1129658.ref@yahoo.com> X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.32:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.32:from]; DKIM_TRACE(0.00)[yahoo.com:+]; TO_DN_ALL(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4Rd6Bv3qqdz3N5n For: > Date: Sat, 02 Sep 2023 00:58:29 UTC=20 > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273506 >=20 > Bug ID: 273506 > Summary: main [so: 15] aarch64 kyua python use fails with: > "RuntimeError: OpenSSL 3.0's legacy provider failed to > load" > Product: Base System > Version: CURRENT > Hardware: Any > OS: Any > Status: New > Severity: Affects Only Me > Priority: --- > Component: arm > Assignee: freebsd-arm@FreeBSD.org > Reporter: marklmi26-fbsd@yahoo.com Turns out that internally dlerror is reporting: "/usr/lib/ossl-modules/legacy.so: Undefined symbol \"MD4_Update\"", = '\000' (as shown via a gdb session printing the string). See: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273506#c3 where I finally got to that information. =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Sat Sep 2 08:53:38 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Rd7wp0hsXz4sS4l for ; Sat, 2 Sep 2023 08:53:46 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rd7wm3Frmz3bHx for ; Sat, 2 Sep 2023 08:53:44 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=OCNlK6Du; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::531 as permitted sender) smtp.mailfrom=grahamperrin@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-52a5c0d949eso3441717a12.0 for ; Sat, 02 Sep 2023 01:53:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693644821; x=1694249621; darn=freebsd.org; h=content-transfer-encoding:subject:from:content-language:to :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=u1CZKxURF2pTIkRUTQ5YdjdA+dO5C1nbPaloed4pwuE=; b=OCNlK6DuLQIWIpHHx1hWQb7m+zjgsOJBThxZmxYZmP8VrILdHmLXE23s0WG76WHBk3 pSs0xfiEI74OFOSQMURxarKLouG30GjKJPP936/DXM/SLxtt3B8mQs+NLt1R64lPm0XU ZIL31VTXJ8ZIUKtsCGIeXqNKMScYYrMG8fd10tkG0CPbHq6541pIFNSUulN8l6lJt3Si zF+qMSB3FH7SFNRUQfnPPFYoRlqZDwRKBCdJFxBUSug8lvSysrhXHy3Jj4qWSUOjMGXl XMTMoMUxvOgoXMDUh62HgY3nbQBMjK3dElgyOW31NUmmZZnoGe+RvZ6lk69TjtWfXN8q ABKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693644821; x=1694249621; h=content-transfer-encoding:subject:from:content-language:to :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=u1CZKxURF2pTIkRUTQ5YdjdA+dO5C1nbPaloed4pwuE=; b=dJcIQhiryg7osvrNJ9Vj1zB1Egre5YYWhL5/eMfuYo79z5g/W/zEUteg9t3Ni8Az7S NZCV1R88q7WlQsBA/6nmtg8gkMv3ndNPO9tv51+G/nLorpH4fj1GF98h+myXxlM3+qdX vK8VECUboYoVhICjuP54GH4swZrMp0qqREP247QMddwzKx7FepHtFSj8X4X+i2YmLQSg 5DDdNyjA0dQoKDfJLMfRGDev8cZlMtP80NVLrbgejW4n+peg4joc7SC4I5xGQogddE86 sGDwys4gxzmh1aSc1jKdFdFMapJNXJD1G7RMi4kePO0RRQFvZRUhepzFd4X4NF5IFLV5 g5KA== X-Gm-Message-State: AOJu0YylzLwqaHA8vZXY9INyafQsqYwuo2LMOrVxK/EdVk0o1wvxSU6/ h0NMIdye2QyoUV42U/Mk/k/8upsUIew= X-Google-Smtp-Source: AGHT+IHTLVrO1pMynYm0C+MNht6ijD8lS2KYocqh+8HCUsuMZZz6I2fepmNJ47WY9CyitcfOvr7tiQ== X-Received: by 2002:aa7:c3d4:0:b0:523:19f0:b113 with SMTP id l20-20020aa7c3d4000000b0052319f0b113mr3474722edr.31.1693644820585; Sat, 02 Sep 2023 01:53:40 -0700 (PDT) Received: from [192.168.1.10] (80-42-66-93.dynamic.dsl.as9105.com. [80.42.66.93]) by smtp.gmail.com with ESMTPSA id g24-20020a056402321800b0052c4dacf54csm2217497eda.44.2023.09.02.01.53.39 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 02 Sep 2023 01:53:39 -0700 (PDT) Message-ID: <95e9f65b-58c4-ef3a-a5d1-b794179e4252@gmail.com> Date: Sat, 2 Sep 2023 09:53:38 +0100 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 To: FreeBSD-CURRENT Content-Language: en-US From: Graham Perrin Subject: kernel 100% CPU, and ports-mgmt/poudriere-devel 'Inspecting ports tree for modifications to git checkout...' for an extraordinarily long time Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.95 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.95)[-0.946]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; MIME_GOOD(-0.10)[text/plain]; FREEFALL_USER(0.00)[grahamperrin]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; BLOCKLISTDE_FAIL(0.00)[80.42.66.93:server fail,2a00:1450:4864:20::531:server fail]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::531:from]; RCVD_VIA_SMTP_AUTH(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4Rd7wm3Frmz3bHx Some inspections are extraordinarily time-consuming. Others complete very quickly, as they should. One recent inspection took more than half an hour. Anyone else? A screenshot: % pkg iinfo poudriere-devel poudriere-devel-3.3.99.20220831 % uname -aKU FreeBSD mowa219-gjp4-8570p-freebsd 15.0-CURRENT FreeBSD 15.0-CURRENT amd64 1500000 #10 main-n265053-315ee00fa961-dirty: Mon Aug 28 06:22:31 BST 2023 grahamperrin@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64 1500000 1500000 % From nobody Sat Sep 2 09:17:48 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Rd8Sb5d0Jz4rJ6V for ; Sat, 2 Sep 2023 09:17:51 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mail-oo1-xc35.google.com (mail-oo1-xc35.google.com [IPv6:2607:f8b0:4864:20::c35]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rd8SZ6JJ6z3gLh for ; Sat, 2 Sep 2023 09:17:50 +0000 (UTC) (envelope-from mjguzik@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-oo1-xc35.google.com with SMTP id 006d021491bc7-573429f5874so1610734eaf.0 for ; Sat, 02 Sep 2023 02:17:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693646269; x=1694251069; darn=freebsd.org; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=iPilrNMnTEkKe1La2okUdVmWT7kIEoNQQXhW3YVrB+o=; b=EfkBP8P3AYJVYSdqjywNsfwpngN0ZEgfG7dwuFwKs7glZL7YW7d8SEJgnSHTNT9C1Q VEfvL0tSfGP4m1bUKyKoZZErFud2Xp4jQOZDWKrR46HG8TtS9Sx5lWw5Z3T3TVkkVhJd ZzBvthvrxb+rtFieSWMvawgxBrVuorYBx3kNoy1V+y+QRciqFnSPLQYscONay/8mXN6w RThpg2vrcOgW27HeaAsijQsQDmCceEtrqpCr3p3aoFHv/qmah2stcc6jrEP/KtnJXfvs SDGWrzYKqXluzoKYrcy5lpr1xN4Dk5niQdAVyEES57QSvtroiJVzWJAxJkFT6kEVSe/q 8bIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693646269; x=1694251069; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=iPilrNMnTEkKe1La2okUdVmWT7kIEoNQQXhW3YVrB+o=; b=ek5/frYTHYcjibt4PXC6/cNqOIlk8g0U+zGK9zEFUXdT38gPXxIOv749wFD/rCBT9o tMv1b7/gEpapFbDPtNyEAytEdO224QQTAI0JpmSlji8+56agUEV+rgAKTPAh9JyICPD3 Nvjn+I2KtMFg9X+QkVqm5G6AJp/MCdRwlZYtasscc7TeJwG7s6LDqgn930LamHmDDt5S ULfyw4ArZI/xckvWJF3H9c3roBcU7SmYUzeEK6SEfFIDd5UCnEZnJ/ivvbhK+Gyh3SQy COxsi4v+3TDYmLAIiivgMhVXIK4YUscYvOLi81T41jf75DPZhokOpQJPQSSbTue/blY/ uKLA== X-Gm-Message-State: AOJu0YyPFlRNs1eMLX9fUfs4f3OTOQ0cFkA5LgOIRT7ir1HwTJyyPm75 H7ktMBriH197CB/CVqmsbmlv5Bibudd29N/XNXA= X-Google-Smtp-Source: AGHT+IFR6FrqVEojIR5NdPq7B3GvlAuYlvYaqFxFVlkKp/LhdmPWDNACJc1GQFkdrNs9FajSagg26GtZoOmPEdEPTP8= X-Received: by 2002:a4a:db93:0:b0:571:2c9c:12ec with SMTP id s19-20020a4adb93000000b005712c9c12ecmr3636746oou.2.1693646268944; Sat, 02 Sep 2023 02:17:48 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Received: by 2002:a8a:60c:0:b0:4f0:1250:dd51 with HTTP; Sat, 2 Sep 2023 02:17:48 -0700 (PDT) In-Reply-To: <95e9f65b-58c4-ef3a-a5d1-b794179e4252@gmail.com> References: <95e9f65b-58c4-ef3a-a5d1-b794179e4252@gmail.com> From: Mateusz Guzik Date: Sat, 2 Sep 2023 11:17:48 +0200 Message-ID: Subject: Re: kernel 100% CPU, and ports-mgmt/poudriere-devel 'Inspecting ports tree for modifications to git checkout...' for an extraordinarily long time To: Graham Perrin Cc: FreeBSD-CURRENT Content-Type: text/plain; charset="UTF-8" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4Rd8SZ6JJ6z3gLh On 9/2/23, Graham Perrin wrote: > Some inspections are extraordinarily time-consuming. Others complete > very quickly, as they should. > > One recent inspection took more than half an hour. > > Anyone else? > > A screenshot: > > % pkg iinfo poudriere-devel > poudriere-devel-3.3.99.20220831 > % uname -aKU > FreeBSD mowa219-gjp4-8570p-freebsd 15.0-CURRENT FreeBSD 15.0-CURRENT > amd64 1500000 #10 main-n265053-315ee00fa961-dirty: Mon Aug 28 06:22:31 > BST 2023 > grahamperrin@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG > > amd64 1500000 1500000 > % > > > get a flamegraph with dtrace https://github.com/brendangregg/FlameGraph -- Mateusz Guzik From nobody Sat Sep 2 13:32:32 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RdG6b3Xvbz4sDSH for ; Sat, 2 Sep 2023 13:32:39 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RdG6Z75kWz3Lqw for ; Sat, 2 Sep 2023 13:32:38 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-99c1d03e124so2094966b.2 for ; Sat, 02 Sep 2023 06:32:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693661555; x=1694266355; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=RVLlkYU68a/L+bfk7Ryd+hPf5O8tfkqOyLdz9gn6Kes=; b=P0HhlbNqMVHhZxFwgLGT3u8bxLwLKg17O079Jypc+2cLpGS//M/Wkscvwik4JVLm7S yJG4/UHuOo9dLcKszvJXnuDQWZBW9697JTjC2TMqqo+40XXsWxfG0bQ55iVSYWH9T2dx jMsoWnqx6vL5OcW3EAOFzm0HUkXoD9czXjCszXyD/vZJscXSbvBmiIB/iXCvLGGr1zQt kkwrkYrGcbv7xaZT0tTZe8911gSg4uqfxvMp+F1tcENgdKFvFUDddHFCtaZfPvuX2KNh hxwiNFkeX3dOLI1WKbRIpXFSMiriz+CpUeLdWsXD5RLNJcMpWKtiaoJf3taL4SPwSg1r 0iiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693661555; x=1694266355; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=RVLlkYU68a/L+bfk7Ryd+hPf5O8tfkqOyLdz9gn6Kes=; b=KRa5tArhloQnnTnWC9t+Ww6QAIRIv7BRo6VfP+xmI+77AYh1AcOdDx1FU+Qblcn1fr C3yF8CzkzqDgIutcE+Ee+gCFpbyxrh0GafWtLh2L7nVJk8SvN+rzsQLiMQNj2aRHT0aC hIHpoaWpuZPVlNilWtE5yBwJl06sCm06mxs84LpPWqHIKPxgx5hFjmWx94vxlrNfMKHw 85L23ylGjXWPgAK+eWbLiwL8ORsXGndhvMlji7FPQbyAgMfEFit8eUVlT2KqqsxEMJMw pcgib9UGaZvyUAVHmiiRw6YR/skQHjivUerAeu1+2N+zKpmoNJRK+jRFuVbRsTkZatQi q/Fw== X-Gm-Message-State: AOJu0YzsY+vXtIeKGL5vsyQ+L/kfLJsSKiXLlxeGTN0BrS+MdenPrAj/ enMeE+eXK6oSHvefi15NFiK+ZPYE8LE= X-Google-Smtp-Source: AGHT+IFYEWDuqiu94YpQsIhBmvICtJl6kD4I5vKVFmxfQkYTq4v/6KVqJDpOE1ResOrqoYMenaG3ag== X-Received: by 2002:a17:907:a07c:b0:99d:fab5:e888 with SMTP id ia28-20020a170907a07c00b0099dfab5e888mr3581426ejc.34.1693661554706; Sat, 02 Sep 2023 06:32:34 -0700 (PDT) Received: from [192.168.1.10] (80-42-66-93.dynamic.dsl.as9105.com. [80.42.66.93]) by smtp.gmail.com with ESMTPSA id f8-20020a1709067f8800b009a1a5a7ebacsm3344546ejr.201.2023.09.02.06.32.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 02 Sep 2023 06:32:34 -0700 (PDT) Message-ID: <173a8519-a5e4-09f7-b315-c3e706ef1598@gmail.com> Date: Sat, 2 Sep 2023 14:32:32 +0100 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Re: kernel 100% CPU, and ports-mgmt/poudriere-devel 'Inspecting ports tree for modifications to git checkout...' for an extraordinarily long time Content-Language: en-US To: FreeBSD-CURRENT Cc: Mateusz Guzik References: <95e9f65b-58c4-ef3a-a5d1-b794179e4252@gmail.com> From: Graham Perrin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4RdG6Z75kWz3Lqw On 02/09/2023 10:17, Mateusz Guzik wrote: > On 9/2/23, Graham Perrin wrote: >> Some inspections are extraordinarily time-consuming. Others complete >> very quickly, as they should. >> >> One recent inspection took more than half an hour. >> >> Anyone else? >> >> A screenshot: >> >> % pkg iinfo poudriere-devel >> poudriere-devel-3.3.99.20220831 >> % uname -aKU >> FreeBSD mowa219-gjp4-8570p-freebsd 15.0-CURRENT FreeBSD 15.0-CURRENT >> amd64 1500000 #10 main-n265053-315ee00fa961-dirty: Mon Aug 28 06:22:31 >> BST 2023 >> grahamperrin@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG >> >> amd64 1500000 1500000 >> % >> >> >> > get a flamegraph with dtrace > > https://github.com/brendangregg/FlameGraph > Thanks! See for a PDF of a reply that probably did not reach the list. From nobody Sat Sep 2 13:36:36 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RdGCP61CYz4rFqf for ; Sat, 2 Sep 2023 13:36:49 +0000 (UTC) (envelope-from herbert@gojira.at) Received: from mail.bsd4all.net (mail.bsd4all.net [94.130.200.20]) (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 ECDSA (P-384) client-digest SHA384) (Client CN "mail.bsd4all.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RdGCP2pzbz3N78 for ; Sat, 2 Sep 2023 13:36:49 +0000 (UTC) (envelope-from herbert@gojira.at) Authentication-Results: mx1.freebsd.org; none Date: Sat, 02 Sep 2023 15:36:36 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gojira.at; s=mail202005; t=1693661802; bh=FeIxeaIqU4QAj8BHnRQv1oKKJVoOJXB0XHzKl1j984g=; h=Date:Message-ID:From:To:Cc:Subject:MIME-Version:Content-Type; b=H5v8dNzMOVDG9wemRE/y6AFq4rxfzfNYdGT/ZImdjPtIGpxtydRG4Vj2V/spjAkKf uN080MWF07Nsi0cZTrouK2YYvpSQpwfTvzfVYG7Fiwdv3U4MsXbA2uKMbBq/x31aKv 24B3dfZw/sfEZvxwQp1/3y4zigrtuW9kLnpWu0p0VDWrqFi5pKjOC5mN+AdimmvQpQ JRN7J7sUQ3/v9mLmgEfNsBBw74u23qeFJUvAmSdEM0Jn7vkJ3sdv/JpP1ON74MTigX vxPdLDP6QiiPsJZ/Ra60pgOjv1RpVFc8+H7qi2u4L3nphc2KmetudAT/R99p+X+6MZ KXK7LFTXa4iXA== Message-ID: <87v8cshf2z.wl-herbert@gojira.at> From: "Herbert J. Skuhra" To: current@freebsd.org Cc: garyj@gmx.de Subject: Re: FreeBSD-15 kernel panic when the amdtemp device is in the kernel In-Reply-To: <20230901180534.0f3f3f6b@ernst.home> References: <20230901130314.460f91bf@ernst.home> <20230901162336.542a1b91@ernst.home> <20230901164321.3259afd9@ernst.home> <20230901180534.0f3f3f6b@ernst.home> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/30.0 Mule/6.0 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:24940, ipnet:94.130.0.0/16, country:DE] X-Rspamd-Queue-Id: 4RdGCP2pzbz3N78 On Fri, 01 Sep 2023 18:05:34 +0200, Gary Jennejohn wrote: > > On Fri, 1 Sep 2023 14:43:21 +0000 > Gary Jennejohn wrote: > > > A git-bisect is probably required. > > > > I did a bisect and the result was commit > 9a7add6d01f3c5f7eba811e794cf860d2bce131d. > > However, that can't be correct because this commit was made on > Mon Jul 17 19:29:20 2023 and my FBSD-14 kernel from August 13th > boots successfully :( Commit date is August 19th, 2023(!): commit 9a7add6d01f3c5f7eba811e794cf860d2bce131d Author: Colin Percival AuthorDate: Mon Jul 17 19:29:20 2023 -0700 Commit: Colin Percival CommitDate: Sat Aug 19 22:04:56 2023 -0700 Reverting this commit seems to resolve the issue for me: FreeBSD 15.0-CURRENT amd64 1500000 #0 main-n265137-2ad756a6bbb3 $ git status On branch main Your branch is up to date with 'freebsd/main'. You are currently reverting commit 9a7add6d01f3. (all conflicts fixed: run "git revert --continue") (use "git revert --skip" to skip this patch) (use "git revert --abort" to cancel the revert operation) Changes to be committed: (use "git restore --staged ..." to unstage) modified: sys/kern/init_main.c # dmesg |egrep "(amdsmn|amdtemp)" amdsmn0: on hostb0 amdtemp0: on hostb0 $ sysctl kern.conftxt |grep amdt device amdtemp -- Herbert From nobody Sat Sep 2 14:11:04 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RdGzG0PqSz4rQG7 for ; Sat, 2 Sep 2023 14:11:22 +0000 (UTC) (envelope-from dim@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RdGzF75R1z3TXM; Sat, 2 Sep 2023 14:11:21 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693663882; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=onaET3NMJD9RMYWiohwuOIrc9hv81k0qPhOrRJuxY+0=; b=ftZ5oeKIVrP/fxdAFQGAx13bGdvgchWihacTdoHW4+sYLoywoC7ckYb8msxyXCXXfXYYUW Dfk28KjbeWs49sykk6ixaLTKCHof8mA9UmHtBceYuAlsoGoqRI6ztwBi2lR6yhH7x1y/Mv cKvMJTfGl9xl/RgY1K2hKXryApvPSLFnIYTyCBrvZ1KUiEOaalgV6On+VzAc1psZX4ZTCk Id3rq7+3Pkl1nMCiuySMUZhkvyIbVskJCClfjNt8r79sAUsZXHV/vfJkfA8xVLxHmPqbRC dXA4RwQG5eorJen9NlEjZ+sK+inrlXW0FKI5A9U0O/tLisrd5/574EweZVEaFA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693663882; a=rsa-sha256; cv=none; b=DeLgFGHzwsqN47UqgTrZPYTo3kh6zhG37WTeNwq6G1XaYi9d8cWyDtRz2NPhCYg5vglH5N glya3IzHH5v0EMKR9h3gT/5x/5UITcHynikbry+85M+C6fm0OlgjsW6OGCD3EQUlUBKXP5 LL2hmdyjYjp1F97IcwW0f7aEHmKWmr+CF94DT9zKkTtX7pHXmArg8R9myEw55aB7YENP+y 7zJBlA+ggoxQjhN8lag/c2FBQseEntNNsw+q2wsIijMO2TIMMR+5AE3JTOsgu5Wl2fnM48 nS18R/a0G6AKK82KSGLMNXfLQoHJPsah140FxyMWWxH8NA+9Fwoen2pqZgNG7Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693663882; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=onaET3NMJD9RMYWiohwuOIrc9hv81k0qPhOrRJuxY+0=; b=lD27kTis7LJj4mpvVWHpG3vhEhvGxT+1YMpHVrUgKGZ34ixfynpH7x9e0Yr7RtuxTLvG8z iAGb6f8WPz5BXndkWbPMk7Da381f9kotUaWOuJnSrY8rYrwVro6gt6T2Jg21v5KnMcndwR KIj5L/peNTNhPPFCm4Cn8Is9TGUEx/YAtLt3TIkH6caJ2kuyiDdMAENGi841y4QMeQcBey LWDtVVfw1RbEMa2p1ezQEgu6ORLoOPTnQ54tORhuZYyeuZPA0/dZuMwZbfPpV1a4GUvO7+ KpOTeE40z3jYndU+3nUbcAJFmg7EQmJos4eaUQlUIor61nk1SMbVcntI2RskRQ== Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (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 "tensor.andric.com", Issuer "R3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 4RdGzF5JG2zvNl; Sat, 2 Sep 2023 14:11:21 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (longrow.home.andric.com [192.168.0.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id C9F0965DA5; Sat, 2 Sep 2023 16:11:19 +0200 (CEST) Content-Type: multipart/signed; boundary="Apple-Mail=_D8920F38-DD76-4DA7-B6F1-03324CC36EE2"; protocol="application/pgp-signature"; micalg=pgp-sha1 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: user problems when upgrading to v15 From: Dimitry Andric In-Reply-To: Date: Sat, 2 Sep 2023 16:11:04 +0200 Cc: freebsd-current@freebsd.org Message-Id: <7CDB341A-F9E1-4816-8443-E4C349A86C84@FreeBSD.org> References: <5c5c3ea5-5b14-d969-f55f-b894e4983359@sonicboom.org> <46ee9e3b-adeb-4cd1-5fcc-43547c5c7231@gmail.com> <222e96ba-70b6-e976-8e32-d3726dde18b1@sonicboom.org> To: brian whalen X-Mailer: Apple Mail (2.3731.700.6) --Apple-Mail=_D8920F38-DD76-4DA7-B6F1-03324CC36EE2 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 1 Sep 2023, at 03:42, brian whalen wrote: >=20 > Repeating the entire process: >=20 > I created a 13.2 vm with 6 cores and 8GB of ram. >=20 > Ran freebsd-update fetch and install. >=20 > Ran pkg install git bash ccache open-vm-tools-nox11 >=20 > Used git clone to get current and ports source files. >=20 > Edited /etc/make.conf to use ccache >=20 > Ran make -j6 buildworld && make -j6 kernel >=20 > I then rebooted in single user mode and did the next steps saving = output to a file with > filename. >=20 > etcupdate -p was pretty uneventful. It did show the below and did not = prompt to edit. >=20 > root@f15:~ # less etcupdatep > C /etc/group > C /etc/master.passwd This is a problem: the "C" characters mean there were conflicts, and = it's indeed very unfortunate that etcupdate does not immediately force = you to resolve them. Because now you basically have mangled group and = master.passwd files, with conflict markers in them! Immediately after this, you should run "etcupdate resolve", and fix any = conflicts that it has found. Note that recently there was a lot of churn due to the removal of = $FreeBSD$ keywords, and this almost always creates conflicts in the = group and passwd files. For lots of other files in /etc, the conflicts = are resolved automatically, but unfortunately not for the files that are = essential to log in! > make installworld seemed mostly error free though I did see a nonzero = status for a man page failed inn the man4 directory. >=20 > etcupdate -B only showed the below. This was my first build after = install. >=20 > root@f15:~ # less etcupdateB > Conflicts remain from previous update, aborting. Yes, that is indeed the problem. You must first resolve conflicts from = any previous etcupdate run, before doing anything else. As to why it = does not immediately forces you to do so, and delegates this to a = separate step, which can easily be forgotten, I have no idea. >=20 > If I type exit in single user mode to go multi user mode, the local = user still works. After a reboot the local user still works. This local = user can also sudo as expected. This wasn't the case for the previous = build when I first reported this. However, if I run etcupdate resolve it = is still presenting /etc/group and /etc/master/passwd as problems. >=20 > If this is is expected behavior for current then no big deal. I just = wasn't sure. The conflicts themselves are expected, alas. But you _must_ resolve = them, otherwise you can end up with a mostly-bricked system. -Dimitry --Apple-Mail=_D8920F38-DD76-4DA7-B6F1-03324CC36EE2 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCZPNCeAAKCRCwXqMKLiCW oxKVAJ9AZue/5lyC9boIuNQ/E0CAOL1K/gCg4wfzwmYahtROcaL7n6hdZ3szBiQ= =bRNx -----END PGP SIGNATURE----- --Apple-Mail=_D8920F38-DD76-4DA7-B6F1-03324CC36EE2-- From nobody Sat Sep 2 14:56:12 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RdHz31ZwZz4rg4y for ; Sat, 2 Sep 2023 14:56:15 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mail-oa1-x2a.google.com (mail-oa1-x2a.google.com [IPv6:2001:4860:4864:20::2a]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RdHz24QVGz3ccJ for ; Sat, 2 Sep 2023 14:56:14 +0000 (UTC) (envelope-from mjguzik@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=Pfr2VoNs; spf=pass (mx1.freebsd.org: domain of mjguzik@gmail.com designates 2001:4860:4864:20::2a as permitted sender) smtp.mailfrom=mjguzik@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-oa1-x2a.google.com with SMTP id 586e51a60fabf-1c4c6717e61so2137176fac.1 for ; Sat, 02 Sep 2023 07:56:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693666572; x=1694271372; darn=freebsd.org; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=WkyfyEj8CcYRojkmVpFdDKaa8nN52LzYVB3HLzxRKGA=; b=Pfr2VoNs/GUi4c2FyQy2Vput20nDY3TU3cpm1DiIp1FXDzlshvnkjFJV3hm9IUt2Xz jKPMII1KMEsTWu8uyjbk5PdlRHBsWVLwsT6q0tcJu0XbceAQ78gDLydw5x20LCUnWIIj AX4RyZY/HrU6szC5SmtlHUNq0c48itPSkrBTOlUUrYKugMsYGLM530nQqfmYdJM1vz7X 12658k8YvgvSYZvPL+AZ7U4/jngJ3whLv98UNpL/Wjj4tMG/apCnPa1HhazmEc3cRcC+ B9KeAZW0h6PIVTddlGIf4U92kUF0zi68pmM3X+H2M6bgeGzArejZkm63yQPcn4X/yTx8 YaUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693666572; x=1694271372; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WkyfyEj8CcYRojkmVpFdDKaa8nN52LzYVB3HLzxRKGA=; b=EESeqSG9wKBpGEEzTWk0RlPZdPScYLmUt7kF3EeutWMAsE2d054yLewX1qndnAQxDk IoB8Aog02DLe0Y8/9EXUQDgtEpnbjKcQp9btGS69P/SH8Cv9vWpoe23XXSumzOEvX1Z8 bLRkBrkQ3rTUjraS8Qf3O44telT8o+Y294alGCS22ZiAxBut4kV5yoOxfjN6H3WGMcvD XP3IGYxD1BwB0l2plfgnR++iR4bmXi5HthcdilOFbmJYBsRUzE7KGiyYRXBjJPW/U5n7 dbwipBpqwYx+/R+l5aZo7jy/ROTbgvCSwm4RyVbESs2w2IjvFiXgV7AqyArLlbhzj0EV IBAg== X-Gm-Message-State: AOJu0YwC3j1xgKXiwTXzxUTVLILXNXWIG5iyw9w79OZZIyElms9k/HGX ETkWwt7X75Ox4jAeAQJvidM//qlfoZTcOvWhyRPAgMyp X-Google-Smtp-Source: AGHT+IGaXNI2qnWqnNB1FVpdBsdxSxBmx7B+Tu8yi9plilXgmCWJbx47jJmnUur3o1n4skq2QvVx8yPt0tRF/8RRgeE= X-Received: by 2002:a05:6870:f5a3:b0:1be:d3a1:fd9 with SMTP id eh35-20020a056870f5a300b001bed3a10fd9mr6054121oab.9.1693666572578; Sat, 02 Sep 2023 07:56:12 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Received: by 2002:a8a:60c:0:b0:4f0:1250:dd51 with HTTP; Sat, 2 Sep 2023 07:56:12 -0700 (PDT) In-Reply-To: <67616bb5b074851832053a0286c3c2fa@Leidinger.net> References: <67616bb5b074851832053a0286c3c2fa@Leidinger.net> From: Mateusz Guzik Date: Sat, 2 Sep 2023 16:56:12 +0200 Message-ID: Subject: Re: 100% CPU time for sysctl command, not killable To: Alexander Leidinger Cc: current@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; R_SPF_ALLOW(-0.20)[+ip6:2001:4860:4000::/36:c]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2001:4860:4864:20::2a:from]; BLOCKLISTDE_FAIL(0.00)[2001:4860:4864:20::2a:server fail]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2001:4860:4864::/48, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4RdHz24QVGz3ccJ On 8/20/23, Alexander Leidinger wrote: > Hi, > > sysctl kern.maxvnodes=1048576000 results in 100% CPU and a non-killable > sysctl program. This is somewhat unexpected... > fixed here https://cgit.freebsd.org/src/commit/?id=32988c1499f8698b41e15ed40a46d271e757bba3 employing basic profiling tooling immediately shows the issue, in this case for example: pmcstat -S inst_retired.any_p -TI > Bye, > Alexander. > > -- > http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF > http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF > > -- Mateusz Guzik From nobody Sat Sep 2 15:23:47 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RdJZv2zDHz4rpVd for ; Sat, 2 Sep 2023 15:23:51 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-yw1-x1136.google.com (mail-yw1-x1136.google.com [IPv6:2607:f8b0:4864:20::1136]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RdJZt75NDz4Fm8 for ; Sat, 2 Sep 2023 15:23:50 +0000 (UTC) (envelope-from mavbsd@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-x1136.google.com with SMTP id 00721157ae682-58cd9d9dbf5so621697b3.0 for ; Sat, 02 Sep 2023 08:23:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693668230; x=1694273030; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=9E96pCyxWoUurlucwu3tjZeufGsvPtmGpI6G7+Zp5xI=; b=YeHUOCeAjFos1BPT36dppI7axQJ56pWopprDASCgIVqQqf+Ihl8PSf428HpY1Imqt3 EUbY6VLPht8+Qqj4iCxk8zSG/rZI4fHv6/C/FyDUDk0rCIC/oUvUEQb70v/JrmekKaQa RiEJYYraXn49m0nAUvp17pStRdm1/T0RTQbia0bR5mSkK3dN1CnNRLeOc9zBrG9H0EPY uq4TizI86P1/qHuW6WcyRIjVxmaxAST5PvZsg0PqD1OePuxTr2J/sMk+Tna/8nzAa6ik 88n/6KVx6i+0EtPah50XpvnBAbtpGzCjPCe46Z4FHgAkKDz52VgTWIFZayEkMvN86W2j DLRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693668230; x=1694273030; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9E96pCyxWoUurlucwu3tjZeufGsvPtmGpI6G7+Zp5xI=; b=YmCXCpXGnubWv4glIHEgJRRHBLiOrFITx2qeT9wz8g+9lbq/6YyoB+FM6i9a9Nc9c/ sRn00ZJi6RggAUQwMK0JDy1sJFEKvTVJ+pw0fUwbJcLhkmsSfpoiA0rJagL8+oslrBWn aQXLX8jtBkuBy3Yx3nh8w8ynOglFN/vaTCsWDoHJ97Ty1r3LjODmiS0OuIu/MNXsmgS4 fcVCmbcjLnvX3iErtr6u67OPlBBAQJ0RUCXw0AF+bGhKMVhWXcuNvDpDWPTueVZ9HUwO vVcIndp7IZalLNwcHVIt331rJuzf/dQbMoZ5SlZuNkvD1HiY50YCAif7Mg6MmDYgDZZd 3ylw== X-Gm-Message-State: AOJu0YwzT9dmyZH90BQmDO/pUUi+UovO2MneUpLo71RanQcvwcDjwGQk BcnY1N7TZXQl40+8fqfZE8JR9+CznKxO/g== X-Google-Smtp-Source: AGHT+IHuIeh4oiUT/Nj0WgRzAiFuUgTZxhDU4jyyPWvFtCAhEd9WWrbSNtPM2MKIZa6hPAkzT3CamQ== X-Received: by 2002:a0d:d451:0:b0:594:fc45:b4c4 with SMTP id w78-20020a0dd451000000b00594fc45b4c4mr7377150ywd.19.1693668229741; Sat, 02 Sep 2023 08:23:49 -0700 (PDT) Received: from [192.168.1.66] (104-55-12-234.lightspeed.knvltn.sbcglobal.net. [104.55.12.234]) by smtp.gmail.com with ESMTPSA id b11-20020a0dd90b000000b0058419c57c66sm1679459ywe.4.2023.09.02.08.23.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 02 Sep 2023 08:23:49 -0700 (PDT) Message-ID: Date: Sat, 2 Sep 2023 11:23:47 -0400 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: kernel 100% CPU, and ports-mgmt/poudriere-devel 'Inspecting ports tree for modifications to git checkout...' for an extraordinarily long time Content-Language: en-US To: Graham Perrin , FreeBSD-CURRENT Cc: Mateusz Guzik References: <95e9f65b-58c4-ef3a-a5d1-b794179e4252@gmail.com> <173a8519-a5e4-09f7-b315-c3e706ef1598@gmail.com> From: Alexander Motin In-Reply-To: <173a8519-a5e4-09f7-b315-c3e706ef1598@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4RdJZt75NDz4Fm8 On 02.09.2023 09:32, Graham Perrin wrote: > On 02/09/2023 10:17, Mateusz Guzik wrote: >> get a flamegraph with dtrace >> >> https://github.com/brendangregg/FlameGraph >> > See for a > PDF of a reply that probably did not reach the list. Graham, the original SVG was scalable and searchable in browser. Your PNG inside PDF is not. -- Alexander Motin From nobody Sat Sep 2 16:02:03 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RdKRG08JJz4s0gR for ; Sat, 2 Sep 2023 16:02:18 +0000 (UTC) (envelope-from garyj@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RdKRD6Spzz4McR for ; Sat, 2 Sep 2023 16:02:16 +0000 (UTC) (envelope-from garyj@gmx.de) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1693670523; x=1694275323; i=garyj@gmx.de; bh=7JGjOfaRYoLl1aGNOnqorRXsBjAKkdlVShw3MAquVTI=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:In-Reply-To:References:Reply- To; b=Q8khlJsamiokJKVm1RGBSJLRon3LsgpiBWHZ0r/L204GUTC/eKRBfFND+lViHDdEBlDuUna z3a3V0PjLXJJ8LL8XXKqSeecaBqtkWNGoulJhYHECfCLqFhchVUNxu4VfSWCgg3XMUpWhlbyc EQiwo0nSMZWzn35BUzF5/qkpYr1Bm/QorbJIiAJqDEP+uAALmmpa8QqT4s5ZqerJ3QC2t81tS lIJzcT3n+OiYSb7J7WRubpa5WX8B3buaMuGNO7zSEj4ih8WmpjStP6NM3sKWRYYkxUqiQ4ck4 9SauUnA3omqLXQ8rUf4cywZxl9asPmmCkh7G1rtCcHTUvrd6kxDg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from ernst.home ([91.59.229.79]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mg6Zq-1q1jL32gjW-00hdzl; Sat, 02 Sep 2023 18:02:03 +0200 Date: Sat, 2 Sep 2023 16:02:03 +0000 From: Gary Jennejohn To: "Herbert J. Skuhra" Cc: current@freebsd.org Subject: Re: FreeBSD-15 kernel panic when the amdtemp device is in the kernel Message-ID: <20230902180203.58f1a729@ernst.home> In-Reply-To: <87v8cshf2z.wl-herbert@gojira.at> References: <20230901130314.460f91bf@ernst.home> <20230901162336.542a1b91@ernst.home> <20230901164321.3259afd9@ernst.home> <20230901180534.0f3f3f6b@ernst.home> <87v8cshf2z.wl-herbert@gojira.at> Reply-To: garyj@gmx.de X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:CQRisQz0cje/1Vt4nupGAD/r6z6d9azT2Y4zgSB5h5E3Eotj/g9 qxBF1qrjRYH0Z8nZoHuki+qqBSk0lnuuQIuIdsmNOP9yNfqAMk/9Erf0FVb9eCRIhEOgnxe HSt+hn3OnmFb6Nq6AHgd5z6VfnHPVwCKf3YyYhbHYmOF2O72z0MQVUyJhokjSbr89/QRUQR hUR0y8gs1b1HVWUf1Ty7g== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:K2OWPQX8Tzk=;GA75vRzgzgld8GasVTTl0vITksg rESBydTxOLDwanyMLDfOQMcRRrw3WfCfY74IRUrEWUEhU0qefk9GAbR8LWAjLSmERgC1cv1eD dYrnnpgmwN3X4F3OALQg+mWcdp9A2fir+fIzLGMo/iUHacJ2caZsiUT+GxYUAaOocMWFRhsgI ugQHwSvy+iWImPKx4zgwkX7JVmN9eEgzZUD+cCM7s5eD3jHuTMllg943FonaTKov8ww6ygl96 VISe4dKOQgk2NIs8JDObaYkCNEh+Wmsf5pTl81kJL59xTDnkFUF1hts+zD4rI5ozCHxxHHOcL Yb7pfb3IllHLzf5Hy58DGRL7O7G6lhIshXulWZiliZwhp3gPQ16RuQ9LjBzUD5p74w39DR77R tDu+CFPt6PXOVcSzHycmOYtRdFNYBvOzjugyHWIcoz6NpcX4Je1UrlQ3GRbUnwGjmvx4hlXXz DkZwZo74tvBnhpEokjdIRj+TMgb9VITcT2qOqwX0otazRTuSq1E0m3dctE2CVzklLCw8Z0nDm KjmV7RbIoCOOM80msQSPa5FKFSWXAMLDqHEGZeFaw5Fjd5+0IwvXuNac+AkbtcnhmCdo1alVr HhzlW9tXwQEBSXhEXgu6ImXtEI1FD618A8kkRB9FGLDzz8yZA5J4qLLgi7DghfJINX+0afqb4 nIB1KDyrZa4QYw5pLkmD6Ket0LCPuNoZIQ4orYdsYgYd9xwUqkqaHQ6rSXGDUHymog2AIgDkY Ee7pjYAgUiJPKSrXsfpRSA/36B1z/VSPmXVZUivHIyGWgRV/rUrYwfml7+Ju2SQ9EruRPdeNe KZHCugiGQb1GEe4LvsjdV8UDjZAIjKnSbZWA13PvbSMGlU+tZbH9WN9ogC+UtmZEHzqNHiN72 DQmvIy42aU3o4+V0sGBX1E4ZJojGDJAgSCbU80NFFF2B+NOoHGCi7s05lBLqUteMoYp+XNE6x zfGXvFUgscv+nSSa7gGjqMkJLvk= X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE] X-Rspamd-Queue-Id: 4RdKRD6Spzz4McR On Sat, 02 Sep 2023 15:36:36 +0200 "Herbert J. Skuhra" wrote: > On Fri, 01 Sep 2023 18:05:34 +0200, Gary Jennejohn wrote: > > > > On Fri, 1 Sep 2023 14:43:21 +0000 > > Gary Jennejohn wrote: > > > > > A git-bisect is probably required. > > > > > > > I did a bisect and the result was commit > > 9a7add6d01f3c5f7eba811e794cf860d2bce131d. > > > > However, that can't be correct because this commit was made on > > Mon Jul 17 19:29:20 2023 and my FBSD-14 kernel from August 13th > > boots successfully :( > > Commit date is August 19th, 2023(!): > > commit 9a7add6d01f3c5f7eba811e794cf860d2bce131d > Author: Colin Percival > AuthorDate: Mon Jul 17 19:29:20 2023 -0700 > Commit: Colin Percival > CommitDate: Sat Aug 19 22:04:56 2023 -0700 > > > Reverting this commit seems to resolve the issue for me: > > FreeBSD 15.0-CURRENT amd64 1500000 #0 main-n265137-2ad756a6bbb3 > > $ git status > On branch main > Your branch is up to date with 'freebsd/main'. > > You are currently reverting commit 9a7add6d01f3. > (all conflicts fixed: run "git revert --continue") > (use "git revert --skip" to skip this patch) > (use "git revert --abort" to cancel the revert operation) > > Changes to be committed: > (use "git restore --staged ..." to unstage) > modified: sys/kern/init_main.c > > # dmesg |egrep "(amdsmn|amdtemp)" > amdsmn0: on hostb0 > amdtemp0: on hostb0 > > $ sysctl kern.conftxt |grep amdt > device amdtemp > Really? I did a git log and July 17 is what pops out for this commit. Ah, I see that git log doesn't show the commit date. So I guess that the git bisect really did find the commit which caused all our problems. If reverting it fixes things then this requires some action from Colin Percival. This would also explain why my FBSD-14 kernel from August 13 was OK. =2D- Gary Jennejohn From nobody Sat Sep 2 16:37:18 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RdLD35L4Gz4s9N1 for ; Sat, 2 Sep 2023 16:37:39 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-21.consmr.mail.gq1.yahoo.com (sonic309-21.consmr.mail.gq1.yahoo.com [98.137.65.147]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 4RdLD171wrz4T38 for ; Sat, 2 Sep 2023 16:37:37 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=KWPvwVCn; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.147 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1693672655; bh=BtOIp9lD3RPfat4sWwOUQxrnxps09ESRKSLYeD+IUYs=; h=From:Subject:Date:References:To:In-Reply-To:From:Subject:Reply-To; b=KWPvwVCnfzSt36M0prPG2WmwjG3dFWFazIJNJ1YLEtzTt5GYUOpfbw/WKLiWxQubWbydmEsK/DPNkNWkybQQBcwfY5whgyif1SDWjT9xOPgt9CWfMsWyriuU985KUuwwGJaIXtP0sGHZMmJcj6aeBhK8VTX3sLiVrM5ipvKqFVItRejpifOV/Pr+6T8mrkuNAuOlUnxx0yJOm07a8kFIgBYUQO0XEAwgbMMaaxjgdzSn3p+FM+F0qT1Q+wb+lFMWaW66RSHvN3s9m2fTNNHymQLAOxDoQtK8FXvsQhe0rVY+wWojcYzOyppX+E0VyfyikucvsHaYatIWQViAzBhWnQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1693672655; bh=cOHWzC3OocTc7zn1fkhTOrWILfzTIEPAOjpXGam2MtO=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=SemVU/Sc9g5X0TXHVBAsUixDbPkWTMNFdiF+SyKayx40akP9CwjUbdG3juTVhpUHjDcBJqsSJLBiP7j/B7iBLg8EG8Erhi9J/DNtTt6vm+wIS7jXInTgTrHTJi4GhrYNjrWu7qYBg8aA7S2R72TpUaDvD6GELI/iiz3+OATNlzKgmgcLiuChGHP9WGDJCkmo8icps7D68Rhmi1QV2bMWtRJLrs67H0hulUc12pq77+xVvdNc/zx3Fbk0zr33Z0DeJ8OI9z9A969a1jRNxBFnoBtFJQi6OEWCm9PJ1XlirXSlvMKnzn6NPhvCg1fMLgWTPX1bwfV0rh/AUxLakaMGtA== X-YMail-OSG: DzDjCKgVM1n9Ill_unoQzgbW_gm0Dq.9gPgSCEw_tuU1qVoWVMGzyimx66IEcQl mGQBxNOOFvZK9OIAFrkDOeQxhXRwJ5Qyv29W_xkgVnPcPObn4WcXTWQomZyQiVJWebI59VlR0602 oi8iEC0TXcMZyUvaYL1OlZiL61CMqgm0Xevv09iu6cz9rGCnOAEH1ZLB3o0r_sftiq1teUsDD7XV jh6kiXcuwAU6TeWjHRcwHamvAPI92PnJtHEOGsRFoRVncrsZ2TEh8SfPD2g_rKBtiwSQDf4d2gXk E67EiUtUc7NknxgqcPsQxpE94jV2Vb65zzDl5UZyVuiF3_N3Tj.fzfOSwdVvKYlaJJu_532rWMoI p9FPopU9mEmDK4vRcpusg53r6gW3SIZEK.DJTMcRGPKsTwDAarcWPYoYUlrWK8g5vIAI9WXzsYP4 VG86a23ilHli_PuwtGkvGbVjmizkEFFykuNiAUSo8wfKKUKltmPiLCiy06YKelc38jh_MK2_.Dh. zFgsSoETYn_d6ica8JVSlXSwYSjZR.tNwFOHnCA72tjbPVyNAoO17lgxd6HTFcwcH_1nRroWnAW0 yK3ZxKha0dMTrVhBuMchWccPRZLyHsMugq1_NGpEF2kBimOhoGLpPO3yN0rprXNxYNkZxJwD7o55 lBUF1q2DmFHg7y5u31E5CdKMTrygzk4W.mfj87oO1Bd.c6HizRQciVuZH9_tIoZKi9BmlajDKLer yJ0PhWq798hUqDoDZcK99FpGrhz0lLozMxi7pfks_394FJIq7agaXiEddaZaWJjYvwxgNOEEujbz 5Lv0_kCfAyF1hiNSFnqGpHtg4IVGTR8kuA6MdZBE.fl.aMuFMKuDN5q2cwbCpEWIbm7.q5TX.EJj M7JL6JXgwNbJAnj2GZGhehGlNrPliX.oav0gq_8EvKezU3ddL4SCm2VJpML0HvhMrz46rlt7MCnL A.51_EkvRITM_9hV3Rne8oyteqWallTml1L3oyng0Rqf6wQR0eMn1vGUC4dGgV0cIenWIMmdYyLu ZtWypI1TfyoEig9O35Hf6mwLCrIHF7oLoUmvRnDg0YJnO6O4Kz0e9O_7vLIoi8zSpDFSGx1B1c6O Jd07Ms7ENCzOQO29FpTniF_r9KLWxXcNqQjylnv.hBHVlueYHJHn_YtgqcNlpegT.HApJ_kV5CD1 qwcK9FdBuOp0DZWMxj1JSGEkRLivt8V6zV42Af1yUqggzy6ubobJCmdYOJi8O6JZuh45kdGMgoEg qXZ4rnWG5mCZbgsFq2kVZBEX10d6Jsziij.MvTRm1ocNMxcgikpaTb.FkJhqo7oCiHRD18CSRlQA 2sbFvqduvjK2cmZAw2YyLgglxAvTsAxcK_j8c9GQFLz0cZph_Taf.0AuzCimP1HugfVjhzhOCktT H98fshFDBNA9KsP2yFGZPEbm07CurEFcFL03q_X1vf6Fo1fa_O8r.rOXn_9GKls8v6vk69I96z8Z oMR06reZAYjSjOc_7J9fEXHWDPyuRR4HceFt63OrI3Q0vC7jsF2MIw.tAkqnooZMkudxeEc1srom BB8gPcAxn0HhLARfJEBtz0UvItEHLWfALRHIq4Xtf3Vxgj531PNH20a9zbwY56RXYAou8cGe0Gxz DO.tVpRf.izZOKo9dAKhcYrwl09Ea5VJ1LFjgbbPZT32E__wet3ebV6hSYv0XqDWYAKyfIvb_Kqo u0ROsNNBxK8KGbjkqWlP9Kpxh8_T9Sh28rEe08cEY3dO.AkW4qFVHpxOF8MpN58Qq.gKJHoSHb9X 5Z4ua3d348dVjld8D2fd7YRKGIFkIh7U0gXdr_o1L3UCtilyXTs2_Iw8zLNFdW6505nCCvY_ZhCr Ibd4vb7RSKnl7CAGNBjpUIz8sh4bI0CWOIzW1wsPw4gzQwR7RdFmqNPmLyxC_DIPdQRXUeFhVDQW dkVqgYA7FXUsFZX1LcDQfEGCjLa55I742LOzF5GEp3PKurmDBahaPovwhJsdd_QRVyvffkSFmsxd 1xQ04wFMD7mz6jF3jvYhJ1j8V8kmarmhnD6E3SkIiely_2yvJRK22qYHagzerQ6Fv03M0T.LT_N1 SzlmmyuL0CN5t3oY1XUcJPiA87_q2VPQ0afK69e4aHXyw2Cl01F6oAzxr.p16Fdhvs4p0TRHZLEq 2wLFUjL5_3pAMLxNw63y6Y.n1S8X9huAX_LCjDui1_NSjIR5M82BKg505V7nS.jc1iygfDnsVz88 clnQefTQNz0R86602Gp2hQdk5k1AQNLAMqPQCTBps5Ue261zcQAIT3PTa1EynD_1.ao3WNEqhog- - X-Sonic-MF: X-Sonic-ID: dfb6154f-005b-4781-8013-aa83514faf5b Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.gq1.yahoo.com with HTTP; Sat, 2 Sep 2023 16:37:35 +0000 Received: by hermes--production-bf1-865889d799-7vf9r (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 6366b33b268ead65dcced2b414d2ca9b; Sat, 02 Sep 2023 16:37:31 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: [Bug 273506] main [so: 15] aarch64 kyua python use fails with: . . . and dlerror is reporting "/usr/lib/ossl-modules/legacy.so: Undefined symbol \"MD4_Update\"", '\000' Date: Sat, 2 Sep 2023 09:37:18 -0700 References: <721EBF15-6905-437E-9B23-A4E3D1129658@yahoo.com> To: freebsd-arm , Current FreeBSD In-Reply-To: <721EBF15-6905-437E-9B23-A4E3D1129658@yahoo.com> Message-Id: X-Mailer: Apple Mail (2.3731.700.6) X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.147:from]; BLOCKLISTDE_FAIL(0.00)[98.137.65.147:server fail]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.147:from]; DKIM_TRACE(0.00)[yahoo.com:+]; TO_DN_ALL(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4RdLD171wrz4T38 On Sep 2, 2023, at 00:35, Mark Millard wrote: > For: >=20 >> Date: Sat, 02 Sep 2023 00:58:29 UTC=20 >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273506 >>=20 >> Bug ID: 273506 >> Summary: main [so: 15] aarch64 kyua python use fails with: >> "RuntimeError: OpenSSL 3.0's legacy provider failed to >> load" >> Product: Base System >> Version: CURRENT >> Hardware: Any >> OS: Any >> Status: New >> Severity: Affects Only Me >> Priority: --- >> Component: arm >> Assignee: freebsd-arm@FreeBSD.org >> Reporter: marklmi26-fbsd@yahoo.com >=20 > Turns out that internally dlerror is reporting: >=20 > "/usr/lib/ossl-modules/legacy.so: Undefined symbol \"MD4_Update\"", = '\000' >=20 > (as shown via a gdb session printing the string). >=20 > See: >=20 > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273506#c3 >=20 > where I finally got to that information. amd64 did not have: devel/py-pytest-twisted devel/py-twisted net/py-dpkt security/nist-kat security/openvpn installed and so was not doing the same sequence of dlopen calls. After adding those, the amd64 run fails like aarch64: It then starts to = try to use .../cryptography/hazmat/bindings/_rust.abi3.so leads to the = problem. [Detaching after fork from child process 98729] Breakpoint 1.1, dlopen (name=3Dname@entry=3D0x803239710 "libc.so.7", = mode=3D2) at /usr/main-src/libexec/rtld-elf/rtld.c:3662 3662 return (rtld_dlopen(name, -1, mode)); (gdb) c Continuing. Breakpoint 1.1, dlopen (name=3Dname@entry=3D0x8032c80d0 = "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/_rust= .abi3.so", mode=3D2) at /usr/main-src/libexec/rtld-elf/rtld.c:3662 3662 return (rtld_dlopen(name, -1, mode)); (gdb) c Continuing. Breakpoint 1.1, dlopen (name=3Dname@entry=3D0x8032c7440 = "/usr/local/lib/python3.9/site-packages/_cffi_backend.cpython-39.so", = mode=3D2) at /usr/main-src/libexec/rtld-elf/rtld.c:3662 3662 return (rtld_dlopen(name, -1, mode)); (gdb) c Continuing. Breakpoint 1.1, dlopen (name=3Dname@entry=3D0x80219d080 = "/usr/lib/ossl-modules/legacy.so", mode=3D2) at = /usr/main-src/libexec/rtld-elf/rtld.c:3662 3662 return (rtld_dlopen(name, -1, mode)); (gdb) c Continuing. INTERNALERROR> Traceback (most recent call last): . . . This appears to be tied to devel/py-twisted and/or = devel/py-pytest-twisted but like anything leading to loading .../cryptography/hazmat/bindings/_rust.abi3.so is going to get the problem. =3D=3D=3D Mark Millard marklmi at yahoo.com