From nobody Mon Sep 16 03:48:28 2024 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 4X6W9R1CTZz5WTPK for ; Mon, 16 Sep 2024 03:48:43 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-8.consmr.mail.gq1.yahoo.com (sonic315-8.consmr.mail.gq1.yahoo.com [98.137.65.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 4X6W9Q02vFz4vLr for ; Mon, 16 Sep 2024 03:48:41 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=LP4ySHCA; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.32 as permitted sender) smtp.mailfrom=marklmi@yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1726458520; bh=qQ4/WS5ESfBjUxELObb8x0S3ct1rTKgoP5p+kSwVlU8=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=LP4ySHCAM9dlG9JtDWyrTUax3dppiVA0E0t/8Ywp+R0zeCvP5Y943cMnlfIz6TQ92LO92/8LUH6AHCYSLVbElzny9HS1AqLYv5NYsNDNgZbz9fl9uoGI3xVFUGcWyU5YLAeUraWrq/m6baEb7giAzKep0HsHf+sJpGmBJX8n1x+N48Y3lrkZ4Tm0XMOx3V3Ysm1W9urCc1yPz/fxQmolWzZlpxr/xc18D+2UKWZWNo2fa4tdB8vUbQtLASpY/Bj4viWqmF8aTXYprqgubNtt8VFz6Ta5ruG0zhcGI630UkxnlTyrmI5WrnKtXvBMuu8wjfCIdbK60l0J5rxyai949Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1726458520; bh=fS4eiTuIMh65vyVLmRDCbp6b/eywZ+a1eCq3KQdOyy+=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=U7g3JoXNN/u8DZqDxbvskn8yy6jl7V8O315uIq2jCFRPvvkrSTq2l4bBuRnLhBIbKgK3zaBh+vEXlORbnC4igJk0GmewHxzmoBWh7LlHne//yFnWQs51eOGQmM6F/qBV8umN8z3V1+dMIF2PS12keTu4zn+3B2jXfHPT3Pl9qhu22kLB/7OD71/519a4va9oj83K2bh+lBtN/iiqo/Cm58hwCyRNI+Tijc5mvjdpNXMR1IfvHdGlct5T37T4syvQXYBMWKktOuFq0qESruQnwww1EFIbygvoQ0AjNIiEFvMxtx34r46sI2A5Xq5Cp3DAVJsro37JlaS8h+cCPJyJug== X-YMail-OSG: S6sqwlcVM1kgVZtDfDo92nIbFSWZDD0OeOxNicro7EbE_abaS6I5KmMoFICUJRU 3zr5WLFpK9DKMiE6_gC4gwAk.wtyZSi4IvjTomn8KYgINx8Pvk4S2jRUNwTm4zmKMggpUZqNbM94 TlAGWeONZEkUuohVAQspJF5ZrqLvhNTzox1aYSGp7JOQlAVIa8bEEZ6FE2n6LvXC2Fxgx0Uzi9wR izP7MxVtBrVUrROIgOto1lifjT5PtvJ_hZazVVb0jNiiz5odjmzZGq53zmT3lQUVmy7JBBr7e0yG 2W0CmAhuwvtQb2SZHMC4fJY_tko9XDGtbhHhQ4t3qCs1YVC433VIRSV30T.gpzTyLEY.KcwZkrvF DR.xu0swfZ_2ya2Je2D5C4FrsPe_v8WhTmFtcgy79.BZBRyTNpIamKFnjHdPD6IO8P1OA5VBoWgv 5GOsU_LRYSbHoNUnA4hLctzoR4Hl1IUNC39kPxYAS5P0MtGd0vzZUHqk6VsP3vzn3byNMuZ5IPr_ bJNI__s1sCELelz5UTQfZkGeajoyqkymSBvk9livGGMetgBWxtskW1UUsIKik6HNSyiyqT6l_aFZ TMlfUjCbPiG0hTGVshBiJ.tY1_eS1u7mChrBUyyfzkY7_ATTGoFIrFn_orxu6y_Wf2JPjAc_3QFK ZfJaTkc03oRdjldu4ofwhTVpBjYq_SeEk1cwCvkBVitpP23BGVijrcRh0oUGKLZS4M6yv_BrteAf asEAVWZ4Fk33kQou8cD_2SFyDTBZUW1gdcXCTah9FBYK3QsIS.8GIc.DUv5cYhUrTrXoXyZ7X4iu JnZrJORTWrSA6OL.5aFUUwiCnqLXUdIbIMGUXdZaOvmXzDdNsNVPmVKAXj0jUjuhAyoWIYE_6Asu F49p8yDcctYHGQfDMeKIymEIHENsTpCEjZUCHY91b..6_.7HnmCP1y8iENDMgUc_T07TmBoZjl7O ZBWpEffksQHHfVAeJG1_z8y8_H5thJs60OBERKy1EZS_ojbKbGnMl32RN6u37jKDJlXQFVQ8vGkb jqOFMqjfGYeR6EW5LUNxsiqc4RynNu8phtFMEM39oC9C0odZS_y63bIbqox.k7UmNyGOls6nl3mE O6crqE.Qff3aRgoWsv1lxpoI2RCnuMpbZTlp1L0Dv2SWHQgCJWvRWyJYYyJ4odxf2ZlHMYtLH6PI TrJdeillnbgb9AOCkCvE0z5iX1zGPprSnM5U32JydhYaao0e7uKBiO.tVJaUXNkHhIAWgTILPa8O InYZagIpwa6UUf7Deahwp6aQUHzzDGRQjok71wpyLN.2uFZfwq2IyR6BAbmhymLZoZodfPRPgfpo PJJboue6.Hy9id8TE7tjurBzDVbp8nZLrUq8ZxoCLu.lh9Zeg2o0gdIXkmUV1.1oLQwucHdHfL9c 1KUsaHDkLh5Dih1RmfxPkhVGXre7pscpj3Rl6T.lObDMvxEOdZILq4Fww_8bcZTvKwunZMhXBIG3 _7NzusT17eSZ9i_1bqBmfVlZQT8.Zx5AJXtt4VWCTi7GaefCihJwIA89q4SbpkiStL6Z92n4pDr5 qKBU.DonOpcKwy2GjVBq1VX6uHpVHVzdRnkDs7jDYpJOXUV2LT7uiqp6lVM0aFDi97_nxTTbTVJa cT7wqj3j6hmv7j0nD_.EsFsE4FTYGDvLDxxlLWGpSolx3j2VXZvpq_JKsOG7saM2jsDwJBAZYqWz sTxXuaIFt1MxLBnJV3hQg0p4SkVFxVGn5jyjiH1aEKN6LZwfBmu.MVYQ8YI2GVfoYwMTjS8TXQPL R_2ZPdlkqOQRwf20PrTOwPCN84wAgvfUxmUux4kKV80Wch3pvygqRcNPVh6F3HT5OroBx6Tv6Oem OvAxRSF5q1_IfH61i2Qhlox9ys_O75bPjCF.jnhaVTHnoAdpr68e47byeONAMG1TpjVUEUajs9bV Kkuzk.mdOwIdwHHoaABcwzff1RkDk1rXnMY8g1lPJtOH484xcMs1A1f7n2i3WzMvTKvF4.XzIiEN npp96lEcC8eUiGWyr.u.eSKc3f1_I3Glo0ZXYAKCDI4pWeFGvRsAhxacgoSDOMgP.UEEP_.qoHu6 TUWURokI2tWIXsp0IZTTfskz2plLd6WHJoMO5i4aQmDWVQWNYPzt2PuBPlbN.lGeGjbMWOSmPwR8 ofFEYQEStZAb094nY7cWZNROltwGvYzgA7F1DI3v939nCFiEpXduENbJdy3eV_h9QP6kmcVNZLfL u62Kiy7cmscWJ7IRoCpD982XMk22mlSc9WqjkFF3lu7YFpXPHxaaM.eIjF1GQVXGiZRbmUIlJWLa 3eNv62kplNF0lUlE- X-Sonic-MF: X-Sonic-ID: fef70bcb-04f1-47d1-b8a7-ffa26e16a757 Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.gq1.yahoo.com with HTTP; Mon, 16 Sep 2024 03:48:40 +0000 Received: by hermes--production-gq1-5d95dc458-dxlpk (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 7b221e8d30da2930347e9c65de68cb53; Mon, 16 Sep 2024 03:48:39 +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 \(3776.700.51\)) Subject: =?utf-8?Q?RE=3A_Chromium_with_Widevine=3A_kernel_panic=3A_conditi?= =?utf-8?Q?on_vp-=3E_v=5Ftype_=3D=3D_VDIR_=7C=7C_VN=5FIS=5FDOOMED=28vp=29_?= =?utf-8?Q?not_met_=E2=8B=AFvfs=5Fcache=2Ec=3A34_52_=28vn=5Ffullpath=5Fdir?= =?utf-8?Q?=29?= Message-Id: <63DE0143-2113-419A-9DBC-516940859206@yahoo.com> Date: Sun, 15 Sep 2024 20:48:28 -0700 To: Graham Perrin , Current FreeBSD X-Mailer: Apple Mail (2.3776.700.51) References: <63DE0143-2113-419A-9DBC-516940859206.ref@yahoo.com> X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.993]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_FROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; APPLE_MAILER_COMMON(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.32:from]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.32:from] X-Rspamd-Queue-Id: 4X6W9Q02vFz4vLr Graham Perrin wrote on Date: Wed, 22 May 2024 20:32:42 UTC : > Reproducible at . >=20 > This is a list message that is directly explicit about various things in the report instead of being indirect. The GENERIC panics are at the VNPASS indicated below in sys/kern/vfs_cache.c : /* * Resolve a directory to a pathname. *=20 * The name of the directory can always be found in the namecache or = fetched * from the filesystem. There is also guaranteed to be only one parent, = meaning * we can just follow vnodes up until we find the root. *=20 * The vnode must be referenced. */ static int vn_fullpath_dir(struct vnode *vp, struct vnode *rdir, char *buf, char = **retbuf, size_t *len, size_t addend) { #ifdef KDTRACE_HOOKS struct vnode *startvp =3D vp; #endif struct vnode *vp1; size_t buflen; int error; bool slash_prefixed; VNPASS(vp->v_type =3D=3D VDIR || VN_IS_DOOMED(vp), vp); . . . For reference: /usr/main-src/sys/sys/vnode.h:#define VN_IS_DOOMED(vp) = __predict_false((vn_irflag_read(vp) & VIRF_DOOMED) !=3D 0) I'll note for the below that vn_fullpath_hardlink frames show the likes of: #15 0xffffffff80c1b27a in vn_fullpath_hardlink (vp=3D0xfffff80004fd4380,=20= vp@entry=3D0xfffff804fc0c5c40, dvp=3Ddvp@entry=3D0xfffff80004fd4380,=20 hrdl_name=3Dhrdl_name@entry=3D0xfffff806f69b0800 "worker", . . . so it had vp different than vp@entry .=20 An interesting property is there is a: type =3D atomic_load_8(&vp->v_type); but mostly just references to vp->v_type . It leaves me wondering if it is all correct. There are gdb based kernel backtraces at that codeberg.org = web page that are interesting. Note the hrdl_name and binname being: "worker" Tracing command "htop", '\000' pid 31057 tid 101242 = (CPU 4) . . . #15 0xffffffff80c1b27a in vn_fullpath_hardlink (. . .,=20 hrdl_name=3Dhrdl_name@entry=3D0xfffff806f69b0800 "worker",=20 . . .) at /home/pkgbuild/worktrees/main/sys/kern/vfs_cache.c:3795 . . . #16 0xffffffff80b25975 in proc_get_binpath (. . .,=20 binname=3Dbinname@entry=3D0xfffff806f69b0800 "worker", . . .) at /home/pkgbuild/worktrees/main/sys/kern/kern_proc.c:2299 . . . #17 0xffffffff80b27e6f in sysctl_kern_proc_pathname (. . .) at /home/pkgbuild/worktrees/main/sys/kern/kern_proc.c:2353 . . . binname =3D 0xfffff806f69b0800 "worker" . . . "worker" seems to be uniformly in the failures reported with this kind of backtrace. For reference from that web page there was an example showing: Tracing command "worker", '\000' pid 56422 tid 150635 = (CPU 6) #0 cpustop_handler () at /home/pkgbuild/worktrees/main/sys/x86/x86/mp_x86.c:1527 #1 0xffffffff81025f18 in ipi_nmi_handler () at /home/pkgbuild/worktrees/main/sys/x86/x86/mp_x86.c:1484 #2 0xffffffff8105dfb6 in trap (frame=3D0xfffffe003cd1ff30) at /home/pkgbuild/worktrees/main/sys/amd64/amd64/trap.c:235 #3 #4 0x0000000103257cf6 in ?? () Backtrace stopped: Cannot access memory at address 0x100a359f0 a non-gdb backtrace provided looks like, for example: . . . fpcurthread =3D 0xfffff801083aa000: pid 5562 "htop" idlethread =3D 0xfffff80001c7c740: tid 100007 "idle: cpu4" . . . Tracing pid 5562 tid 100937 td 0xfffff801083aa000 kdb_enter() at kdb_enter+0x33/frame 0xfffffe014d885970 panic() at panic+0x43/frame 0xfffffe014d8859d0 vn_fullpath_dir() at vn_fullpath_dir+0x3bc/frame 0xfffffe014d885a30 vn_fullpath_hardlink() at vn_fullpath_hardlink+0x1ba/frame = 0xfffffe014d885a80 proc_get_binpath() at proc_get_binpath+0xf5/frame 0xfffffe014d885ba0 sysctl_kern_proc_pathname() at sysctl_kern_proc_pathname+0x9f/frame = 0xfffffe014d885be0 sysctl_root_handler_locked() at sysctl_root_handler_locked+0x9c/frame = 0xfffffe014d885c30 sysctl_root() at sysctl_root+0x21e/frame 0xfffffe014d885cb0 userland_sysctl() at userland_sysctl+0x17a/frame 0xfffffe014d885d50 sys___sysctl() at sys___sysctl+0x60/frame 0xfffffe014d885e00 amd64_syscall() at amd64_syscall+0x158/frame 0xfffffe014d885f30 fast_syscall_common() at fast_syscall_common+0xf8/frame = 0xfffffe014d885f30 --- syscall (202, FreeBSD ELF64, __sysctl), rip =3D 0x82889e19a, rsp =3D = 0x82142b978, rbp =3D 0x82142b9c0 --- May FreeBSD system access are not nearly configured to replicate the type of context (headless or simple console, for example). As far as I can see, htop touches the problem area but itself is not the problem. The handling of the "worker" related context for the type of kernel call seems to be what is at issue, likely no matter what process happens to make the same basic kernel call that ends up with "worker" in the context. =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Mon Sep 16 14:13:30 2024 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 4X6n2R5ydPz5W65X for ; Mon, 16 Sep 2024 14:13:35 +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 4X6n2Q1TCGz41xj for ; Mon, 16 Sep 2024 14:13:34 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=quarantine) header.from=cschubert.com; spf=pass (mx1.freebsd.org: domain of cy.schubert@cschubert.com designates 3.97.99.32 as permitted sender) smtp.mailfrom=cy.schubert@cschubert.com Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTPS id q6nUsduDA9TOUqCTts3WTZ; Mon, 16 Sep 2024 14:13:33 +0000 Received: from spqr.komquats.com ([70.66.152.170]) by cmsmtp with ESMTPSA id qCTrsjnxSGvSVqCTssZhEK; Mon, 16 Sep 2024 14:13:33 +0000 X-Auth-User: cschuber X-Authority-Analysis: v=2.4 cv=FpSm/Hrq c=1 sm=1 tr=0 ts=66e83d0d a=y8EK/9tc/U6QY+pUhnbtgQ==:117 a=y8EK/9tc/U6QY+pUhnbtgQ==:17 a=kj9zAlcOel0A:10 a=EaEq8P2WXUwA:10 a=l4imHnecAAAA:8 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=EkcXrb_YAAAA:8 a=2OJ_YJKkji78tvjLqEQA:9 a=CjuIK1q_8ugA:10 a=7rubtdGElOUA:10 a=-FEs8UIgK8oA:10 a=6ChPCWoJjFK9ZelAJ1Ia: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 0D2BF31F5 for ; Mon, 16 Sep 2024 07:13:31 -0700 (PDT) Received: by slippy.cwsent.com (Postfix, from userid 1000) id 995C554A; Mon, 16 Sep 2024 07:13:30 -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: Re: change in /usr/bin/bc with CTRL-d no longer exit In-reply-to: References: <1e614684-1cba-ef01-34dc-d9300db2d927@macktronics.com> Comments: In-reply-to void message dated "Mon, 16 Sep 2024 00:08:48 +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 Content-Type: text/plain; charset=us-ascii Date: Mon, 16 Sep 2024 07:13:30 -0700 Message-Id: <20240916141330.995C554A@slippy.cwsent.com> X-CMAE-Envelope: MS4xfDcgyx5pRhU6LOZm5HAlzKZwWGGTsr1hbFRei7AHRWWUo+fr52xlWUGwMgFI3akDUVD8Oh66B/xSbKhBm+MgrX1/ObRE78MFI1AcEFyULH7zgpwzsAzl WKsfA4NDqJj7iVrFEZKsvoi5YIgKI7FyVsDPuhVnJ4fPWbWZXmJlgSqVbiCwrZgU1RVKrsQY0LRvSwcwAruib6PmIKogLW4bT+o= X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.27 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.67)[-0.674]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[cschubert.com,quarantine]; R_SPF_ALLOW(-0.20)[+ip4:3.97.99.32/31]; RWL_MAILSPIKE_VERYGOOD(-0.20)[3.97.99.32:from]; RCVD_IN_DNSWL_LOW(-0.10)[3.97.99.32:from]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; HAS_REPLYTO(0.00)[Cy.Schubert@cschubert.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCVD_COUNT_THREE(0.00)[4]; REPLYTO_EQ_FROM(0.00)[] X-Rspamd-Queue-Id: 4X6n2Q1TCGz41xj In message , void writes: > On Sun, Sep 15, 2024 at 03:16:46PM -0500, Dan Mack wrote: > >On 14.1 and prior, a CTRL-d will exit a bc session. > > > >Today I noticed that on 3 different 15-CURRENT systems, it appears to > >be ignored. Works fine otherwise and I can exit the bc session with > >the 'quit' command okay. > > > >I re-tested this on the system console on fresh login just to rule out > >any terminal madness. > > > >Here's a paste of what I see: > > > >https://tpaste.us/VYya > > > >I did a fresh install of 14.1 and it works as it did previously. > > > >No biggie, just wondering if anyone else on -CURRENT can confirm/deny > >this change on their system. > > [void@vm5 ~ ] uname -KU > 1400504 1400504 > [void@vm5 ~ ] echo 2+2 | bc -l > 4 > > [void@vm3 ~ ] uname -KU > 1500023 1500023 > [void@vm3 ~ ] echo 2+2 | bc -l > 4 Of course the above works because the regression only affects tty users. bc(1) now ignores EOF on the terminal while the above still works. You can circumvent this by putting "export BC_TTY_MODE=0" into your .profile. The side effect is that line editing will no longer work. -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e^(i*pi)+1=0 From nobody Mon Sep 16 14:53:03 2024 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 4X6nwD6wlFz5WC9t for ; Mon, 16 Sep 2024 14:53:16 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X6nwD5HMnz48mK for ; Mon, 16 Sep 2024 14:53:16 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pg1-x530.google.com with SMTP id 41be03b00d2f7-7db54269325so1142934a12.2 for ; Mon, 16 Sep 2024 07:53:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1726498395; x=1727103195; 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=XP+ZQ7ZrnG91g/tjh95zbvMJHVe7nNKkiGIzguMTv6A=; b=EeHedjdfYqfb5oDLVq8A5KERKHTIROCGFqdsrI6zGGsO/MB+4KtMtIWZK4R4f+jo+t AvQYJnAmQsOSibmjswOZeoojolxhYG/rQDt9Yq3pxBVUXKR1e5MsphaSR/DiZq5L4L1+ MTq3Ei6SBAypNDRkcoGwrS9MNqEr8+iGtis71BmGw2Mhjazwqgjr5oNSmgqWejRFnyzA OWnsFtrMbMFd3b0WBP+cjqj+FjoG/fpjqHRswdABdDVcokmLHzrwDRqm7yueqX+lXqzL 4Ftx61Ph48L4eLC7h+w7q3Vlg8gMOmG9xVhDFdwgT0JB1CE2Pb0nEQ41eV4BH+9euKrb 35og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726498395; x=1727103195; 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=XP+ZQ7ZrnG91g/tjh95zbvMJHVe7nNKkiGIzguMTv6A=; b=tlW4xeNYVy1deC7ht0w3ipBRXlLgi5xpBQq7IF+2zggw3zN5B7+wAJ75oz3Cu20xSN wKkFZQP4zw9TOjfEetzqeP9DsO7TxTtOLapKFgsCRe8GqmejEbmh3rcgHlgdqi+nigNn d2yPWy3cNwMAvY8Y7p0MD9gI4j/eLry1/XnZ8SpfZEFAaYAcl0gaGVep3J6yeaCdJ2TM oTTS3HDPS25tYXQYWRE+250Cp1TQqGkT599VesBKLla1/9cncAg8bOt6Hpq6MQ5Htn/o nebRaSd7T5bA5s+ElZEMEt85BcnhQQzhEWhQcy5jW4t0CIyjkTxzv10JYM8qEBytY8MB Xu8w== X-Gm-Message-State: AOJu0Yx4z6zNULnH7Wi/bOaxWbM528yA42R4CWul2aiHl1czQ3Zue1tZ 90PQojJStf4WGWVlzIbzlua69q7omi1h8vU2BidAasNE5buHICaR3UWLWZTYmh6TX8xfZbaAYZf flc4gm7I15oVf7esG+Lk2atTNpXo8+PTnsvBszgumTyxs3mmXtLc= X-Google-Smtp-Source: AGHT+IGi0buY32BHZtlJNPRVdzKRmkJu3LUmEH0MvR5/r7TayQvCcicjK8yUdkCXjuaPFjueMW9ZX1BOSRYlxoBT+pk= X-Received: by 2002:a05:6a20:d80f:b0:1c1:92f8:d3c6 with SMTP id adf61e73a8af0-1d112db24a8mr17396710637.27.1726498395198; Mon, 16 Sep 2024 07:53: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: <1e614684-1cba-ef01-34dc-d9300db2d927@macktronics.com> <20240916141330.995C554A@slippy.cwsent.com> In-Reply-To: <20240916141330.995C554A@slippy.cwsent.com> From: Warner Losh Date: Mon, 16 Sep 2024 15:53:03 +0100 Message-ID: Subject: Re: change in /usr/bin/bc with CTRL-d no longer exit To: Cy Schubert Cc: FreeBSD Current Content-Type: multipart/alternative; boundary="0000000000008d472706223dbb34" 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: 4X6nwD5HMnz48mK --0000000000008d472706223dbb34 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Sep 16, 2024, 3:13=E2=80=AFPM Cy Schubert wrote: > In message , void writes: > > On Sun, Sep 15, 2024 at 03:16:46PM -0500, Dan Mack wrote: > > >On 14.1 and prior, a CTRL-d will exit a bc session. > > > > > >Today I noticed that on 3 different 15-CURRENT systems, it appears to > > >be ignored. Works fine otherwise and I can exit the bc session with > > >the 'quit' command okay. > > > > > >I re-tested this on the system console on fresh login just to rule out > > >any terminal madness. > > > > > >Here's a paste of what I see: > > > > > >https://tpaste.us/VYya > > > > > >I did a fresh install of 14.1 and it works as it did previously. > > > > > >No biggie, just wondering if anyone else on -CURRENT can confirm/deny > > >this change on their system. > > > > [void@vm5 ~ ] uname -KU > > 1400504 1400504 > > [void@vm5 ~ ] echo 2+2 | bc -l > > 4 > > > > [void@vm3 ~ ] uname -KU > > 1500023 1500023 > > [void@vm3 ~ ] echo 2+2 | bc -l > > 4 > > Of course the above works because the regression only affects tty users. > bc(1) now ignores EOF on the terminal while the above still works. You ca= n > circumvent this by putting "export BC_TTY_MODE=3D0" into your .profile. T= he > side effect is that line editing will no longer work. > The irony here is that i fixed thus very bug 2 or 3 years ago. Warner > -- > Cheers, > Cy Schubert > FreeBSD UNIX: Web: https://FreeBSD.org > NTP: Web: https://nwtime.org > > e^(i*pi)+1=3D0 > > > > --0000000000008d472706223dbb34 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Mon, Sep 16, 2024, 3:13=E2=80=AFPM Cy Schubert <= Cy.Schubert@cschubert.com&= gt; wrote:
In message <ZudpAKZS7= JgS9ZZ_@int21h>, void writes:
> On Sun, Sep 15, 2024 at 03:16:46PM -0500, Dan Mack wrote:
> >On 14.1 and prior, a CTRL-d will exit a bc session.
> >
> >Today I noticed that on 3 different 15-CURRENT systems, it appears= to
> >be ignored.=C2=A0 Works fine otherwise and I can exit the bc sessi= on with
> >the 'quit' command okay.
> >
> >I re-tested this on the system console on fresh login just to rule= out
> >any terminal madness.
> >
> >Here's a paste of what I see:
> >
> >https://tpaste.us/VYya
> >
> >I did a fresh install of 14.1 and it works as it did previously. > >
> >No biggie, just wondering if anyone else on -CURRENT can confirm/d= eny
> >this change on their system.
>
> [void@vm5 ~ ] uname -KU
> 1400504 1400504
> [void@vm5 ~ ] echo 2+2 | bc -l
> 4
>
> [void@vm3 ~ ] uname -KU
> 1500023 1500023
> [void@vm3 ~ ] echo 2+2 | bc -l
> 4

Of course the above works because the regression only affects tty users. bc(1) now ignores EOF on the terminal while the above still works. You can =
circumvent this by putting "export BC_TTY_MODE=3D0" into your .pr= ofile. The
side effect is that line editing will no longer work.

The irony here is that= i fixed thus very bug 2 or 3 years ago.

<= div dir=3D"auto">Warner=C2=A0
--
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:=C2=A0 <cy@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0 ht= tps://FreeBSD.org
NTP:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<cy@nwtime.org>=C2=A0 =C2= =A0 Web:=C2=A0 https://nwtime.org

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 e^(i*pi)+1=3D0



--0000000000008d472706223dbb34-- From nobody Mon Sep 16 15:01:38 2024 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 4X6p5x3Hxqz5WDP7 for ; Mon, 16 Sep 2024 15:01:41 +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 4X6p5x2kjRz4DXZ for ; Mon, 16 Sep 2024 15:01:41 +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 ESMTPS id qBDJse32A9TOUqDESs3fT1; Mon, 16 Sep 2024 15:01:40 +0000 Received: from spqr.komquats.com ([70.66.152.170]) by cmsmtp with ESMTPSA id qDERsPOcP2M9qqDESsKEKu; Mon, 16 Sep 2024 15:01:40 +0000 X-Auth-User: cschuber X-Authority-Analysis: v=2.4 cv=ce5xrWDM c=1 sm=1 tr=0 ts=66e84854 a=y8EK/9tc/U6QY+pUhnbtgQ==:117 a=y8EK/9tc/U6QY+pUhnbtgQ==:17 a=kj9zAlcOel0A:10 a=EaEq8P2WXUwA:10 a=l4imHnecAAAA:8 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=EkcXrb_YAAAA:8 a=eLhjS8NOXSWKliKtggIA:9 a=CjuIK1q_8ugA:10 a=7rubtdGElOUA:10 a=-FEs8UIgK8oA:10 a=6ChPCWoJjFK9ZelAJ1Ia: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 0AC77B9; Mon, 16 Sep 2024 08:01:39 -0700 (PDT) Received: by slippy.cwsent.com (Postfix, from userid 1000) id F12CF10E; Mon, 16 Sep 2024 08:01:38 -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: Warner Losh cc: Cy Schubert , FreeBSD Current Subject: Re: change in /usr/bin/bc with CTRL-d no longer exit In-reply-to: References: <1e614684-1cba-ef01-34dc-d9300db2d927@macktronics.com> <20240916141330.995C554A@slippy.cwsent.com> Comments: In-reply-to Warner Losh message dated "Mon, 16 Sep 2024 15:53:03 +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 Content-Type: text/plain; charset=us-ascii Date: Mon, 16 Sep 2024 08:01:38 -0700 Message-Id: <20240916150138.F12CF10E@slippy.cwsent.com> X-CMAE-Envelope: MS4xfHOkE/kZxnSFBxugtH2v39LLxWI8Ha74UCWRsAat1N20jpsYHmujjQ1XXdjJc867vyyy8PyesoJ0mWLLSipBxWbg1Y9fDLWcX4ivA4Dweu1A139wf2Eq Vi9aBB9vp309f2Gw85EKe16xnGQnSqFafHECWSVsW0vEqtt6rkkP5DVB5atrCGTem5LTtd2KGpYobWNo2qLr6otAr5tmCzQQc855Ev5HHJc+t4f2ds2+i6Y7 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: 4X6p5x2kjRz4DXZ In message , Warner Losh writes: > --0000000000008d472706223dbb34 > Content-Type: text/plain; charset="UTF-8" > Content-Transfer-Encoding: quoted-printable > > On Mon, Sep 16, 2024, 3:13=E2=80=AFPM Cy Schubert m> wrote: > > > In message , void writes: > > > On Sun, Sep 15, 2024 at 03:16:46PM -0500, Dan Mack wrote: > > > >On 14.1 and prior, a CTRL-d will exit a bc session. > > > > > > > >Today I noticed that on 3 different 15-CURRENT systems, it appears to > > > >be ignored. Works fine otherwise and I can exit the bc session with > > > >the 'quit' command okay. > > > > > > > >I re-tested this on the system console on fresh login just to rule out > > > >any terminal madness. > > > > > > > >Here's a paste of what I see: > > > > > > > >https://tpaste.us/VYya > > > > > > > >I did a fresh install of 14.1 and it works as it did previously. > > > > > > > >No biggie, just wondering if anyone else on -CURRENT can confirm/deny > > > >this change on their system. > > > > > > [void@vm5 ~ ] uname -KU > > > 1400504 1400504 > > > [void@vm5 ~ ] echo 2+2 | bc -l > > > 4 > > > > > > [void@vm3 ~ ] uname -KU > > > 1500023 1500023 > > > [void@vm3 ~ ] echo 2+2 | bc -l > > > 4 > > > > Of course the above works because the regression only affects tty users. > > bc(1) now ignores EOF on the terminal while the above still works. You ca= > n > > circumvent this by putting "export BC_TTY_MODE=3D0" into your .profile. T= > he > > side effect is that line editing will no longer work. > > > > The irony here is that i fixed thus very bug 2 or 3 years ago. > > Warner > It's curious (or maybe not) how some bugs keep returning with a time and time again. -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e^(i*pi)+1=0 From nobody Mon Sep 16 20:17:19 2024 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 4X6x6F36sPz5WsD3 for ; Mon, 16 Sep 2024 20:17:25 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from mail.oetec.com (mail.oetec.com [108.160.241.186]) (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 "mail.oetec.com", Issuer "E5" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X6x6D3KVPz3wmd for ; Mon, 16 Sep 2024 20:17:24 +0000 (UTC) (envelope-from dclarke@blastwave.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=blastwave.org header.s=default header.b=OnREncCj; dmarc=pass (policy=quarantine) header.from=blastwave.org; spf=pass (mx1.freebsd.org: domain of dclarke@blastwave.org designates 108.160.241.186 as permitted sender) smtp.mailfrom=dclarke@blastwave.org Received: from [172.16.35.3] (pool-99-253-118-250.cpe.net.cable.rogers.com [99.253.118.250]) (authenticated bits=0) by mail.oetec.com (8.17.1/8.17.1) with ESMTPSA id 48GKHJAu069171 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 16 Sep 2024 16:17:21 -0400 (EDT) (envelope-from dclarke@blastwave.org) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=blastwave.org; s=default; t=1726517841; bh=WHieNW1FHD884kwVj/URPW590D4OajxHKfqWOvd3Jsk=; h=Date:Subject:To:References:From:In-Reply-To; b=OnREncCjyK0t9mda+f/gQKeQt6LntlJ4b43K7NosNUFa0Se8UkZ5+L2lPBbObLha5 43HhI7K4UwGxrQ9xDzBj/kd1h94Hm/2ZS2jFcP+MfsoCXpp7ZGiMUh+tmyGQ8nICIA mJjoBqFWXLPTCwqxgc+8bSSsDOvyOFk6BWaiyosEzN9T3KvnaG79KDVT1jwKmRdFnz vA7VDASfjOuR6hyB+FV38O1wBYGlPDRQbXiZWx+SPRLeT7Qw7wDOwEj90AjgkC7Rpd CvTQy92LmeGtmkBYzYgLSUArPX7aOeQP28SQAJa9I37rxCqkC2wOZj+l14i2NdHPxg //e7Jq1nA08og== Message-ID: Date: Mon, 16 Sep 2024 16:17:19 -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 Thunderbird Subject: Re: change in /usr/bin/bc with CTRL-d no longer exit Content-Language: en-CA To: freebsd-current@freebsd.org References: <1e614684-1cba-ef01-34dc-d9300db2d927@macktronics.com> <20240916141330.995C554A@slippy.cwsent.com> From: Dennis Clarke Organization: GENUNIX In-Reply-To: <20240916141330.995C554A@slippy.cwsent.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-oetec-MailScanner-Information: Please contact the ISP for more information X-oetec-MailScanner-ID: 48GKHJAu069171 X-oetec-MailScanner: Found to be clean X-oetec-MailScanner-From: dclarke@blastwave.org X-Spam-Status: No X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.69 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; DMARC_POLICY_ALLOW(-0.50)[blastwave.org,quarantine]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; RCVD_IN_DNSWL_MED(-0.20)[108.160.241.186:from]; R_DKIM_ALLOW(-0.20)[blastwave.org:s=default]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_ORG_HEADER(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[blastwave.org:+]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:812, ipnet:108.160.240.0/20, country:CA]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4X6x6D3KVPz3wmd On 9/16/24 10:13, Cy Schubert wrote: > In message , void writes: >> On Sun, Sep 15, 2024 at 03:16:46PM -0500, Dan Mack wrote: >>> On 14.1 and prior, a CTRL-d will exit a bc session. >>> >>> Today I noticed that on 3 different 15-CURRENT systems, it appears to >>> be ignored. Works fine otherwise and I can exit the bc session with >>> the 'quit' command okay. >>> >>> I re-tested this on the system console on fresh login just to rule out >>> any terminal madness. >>> >>> Here's a paste of what I see: >>> >>> https://tpaste.us/VYya >>> >>> I did a fresh install of 14.1 and it works as it did previously. >>> >>> No biggie, just wondering if anyone else on -CURRENT can confirm/deny >>> this change on their system. >> >> [void@vm5 ~ ] uname -KU >> 1400504 1400504 >> [void@vm5 ~ ] echo 2+2 | bc -l >> 4 >> >> [void@vm3 ~ ] uname -KU >> 1500023 1500023 >> [void@vm3 ~ ] echo 2+2 | bc -l >> 4 > > Of course the above works because the regression only affects tty users. Here is some paint on the bikeshed : enceladus# uname -apKU FreeBSD enceladus 15.0-CURRENT FreeBSD 15.0-CURRENT #0 main-n271918-d7c87526b1c3-dirty: Mon Sep 2 09:55:54 UTC 2024 root@enceladus:/usr/obj/usr/src/riscv.riscv64/sys/GENERIC riscv riscv64 1500023 1500023 enceladus# enceladus# bc -lq scale=36 a(1)*4 3.141592653589793238462643383279502884 ^D ^C interrupt (type "quit" to exit) ready for more input quit enceladus# Yep. That is borked. > bc(1) now ignores EOF on the terminal while the above still works. You can > circumvent this by putting "export BC_TTY_MODE=0" into your .profile. The > side effect is that line editing will no longer work. > > I will have to try that. However why would bc change at all? -- -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken From nobody Mon Sep 16 20:59:06 2024 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 4X6y2P0RzNz5X0X2 for ; Mon, 16 Sep 2024 20:59:09 +0000 (UTC) (envelope-from se@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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X6y2N74RKz483T; Mon, 16 Sep 2024 20:59:08 +0000 (UTC) (envelope-from se@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726520349; 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:autocrypt:autocrypt; bh=PHh19PW2QCsa4xhxyrItz6QLxwTvEdX3fBxF68Q5NF4=; b=cvM9BTMq3nf/4Xm5Rfezc37a7r2LCwkFMfA6xjTZ8ANaYuUTniLCQWE1k+Ool8DRPTlMZN pcQzcTDsth9OA7JQIbjCJlyXMA/A7NbS32y2K8ByrQ4BFaB7GtaIb2jyF+MiNpXrUsuwVt ZYLlk7T1mlvTWvB6nqNAVPc0Wt+NMuwolqd8DSZIy/T7+wdFcF4KVa8vsNi/SeyqFIcdkK MhtdQvDg3nXPmBrjO5jevhh6EzHclIETQxITGksgVf0B21uBrKaYjHPLGQrpQO0u9H08kJ J/LAZo3OoI/mr6Mpf4bPXr4HMUF6xW8BlFAQ2w4IObiwV5ZpECHtV07mbN4g6g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726520349; a=rsa-sha256; cv=none; b=nLvjgrmhddoWa6MgUgBaDUpxqMRfZH2VsGX1KfHeiqdZSNWIWWu7gB4v8e4TJgw/uzz9/X x6XJ6BiXD2Lvrpgi3pKN/Y6TkE6NzVGEvCtEZyCVKznSF6de77NpsJfYMLlOdGYTsZR7UL a1HY2SBb2BdlIwiUCZT8aaSIE+fBY2MTctjZyNVaZ0UAwWS+YozJnCtl4R7BRmJ5GMXF0w u3COTB0g/DdH4u8IBxubIg9SWkKz6xWc7ODfKUoBiTlAYigZw9klRF/D2TS9cvHKtXBcVb Reiudx5TDtxGWALENn/Uk7ILV2WlnLt0yQYl7byOqetgEiS3wjdqJS40y98g5g== 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=1726520349; 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:autocrypt:autocrypt; bh=PHh19PW2QCsa4xhxyrItz6QLxwTvEdX3fBxF68Q5NF4=; b=UndwfaOQmzOtsE2QQ2zW4L26v0SmBlo1e1SWtlFv9+fyWuA5Des86wPx8vKB5ebIjwkaeF aNKmHjWCIoiOiYKkS6T18h+De+vjNJpwSum3bNLhVp5o5YVvhtdu/snqVPxTodNJCxefGN cvBr8F+EiMvypED1DSjpzLuZxsooUOkwXlrRwI73piKC5Wdw97KhAAiDTPLAscgFnVPRNX pozBtwNuEOLGbUGmLWsBjdqvM2ZfKDmvFf0GG2nSJ1XCHtdm/mTP0SXRdzL5DuaslpOkaN Eyt8kNFIFl45JOlvr8YV7Wssvc/eiYUcnzdu3y0cHXq8BeGa2O7TSjzGBQFbmA== Received: from [192.168.119.155] (p508066ae.dip0.t-ipconnect.de [80.128.102.174]) (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: se/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4X6y2N19t7zNrP; Mon, 16 Sep 2024 20:59:08 +0000 (UTC) (envelope-from se@FreeBSD.org) Message-ID: Date: Mon, 16 Sep 2024 22:59:06 +0200 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 Thunderbird From: =?UTF-8?Q?Stefan_E=C3=9Fer?= Subject: Re: change in /usr/bin/bc with CTRL-d no longer exit To: Dan Mack , Dimitry Andric Cc: "Herbert J. Skuhra" , current@freebsd.org, "Gavin D. Howard" References: <1e614684-1cba-ef01-34dc-d9300db2d927@macktronics.com> <8E4FBA6E-6F1B-4705-B215-93857132D737@FreeBSD.org> <19467e16-caf3-17f3-15db-32b6d3fdd1a8@macktronics.com> Content-Language: de-DE Autocrypt: addr=se@FreeBSD.org; keydata= xsBNBFVxiRIBCADOLNOZBsqlplHUQ3tG782FNtVT33rQli9EjNt2fhFERHIo4NxHlWBpHLnU b0s4L/eItx7au0i7Gegv01A9LUMwOnAc9EFAm4EW3Wmoa6MYrcP7xDClohg/Y69f7SNpEs3x YATBy+L6NzWZbJjZXD4vqPgZSDuMcLU7BEdJf0f+6h1BJPnGuwHpsSdnnMrZeIM8xQ8PPUVQ L0GZkVojHgNUngJH6e21qDrud0BkdiBcij0M3TCP4GQrJ/YMdurfc8mhueLpwGR2U1W8TYB7 4UY+NLw0McThOCLCxXflIeF/Y7jSB0zxzvb/H3LWkodUTkV57yX9IbUAGA5RKRg9zsUtABEB AAHNJ1N0ZWZhbiBFw59lciAoRnJlZUJTRCkgPHNlQGZyZWVic2Qub3JnPsLAlAQTAQoAPgIb AwULCQgHAwUVCgkICwUWAwIBAAIeAQIXgBYhBKNx6mWcC+zIK3FTE0frte9a/fVEBQJmvl9B BQkTLNNOAAoJEEfrte9a/fVEV1oH/jt+SjRqTHci6d1LiFDfbY0E2rfobZw5BhcQuCqxahS7 pcE1oLpUaoqWYPHslxhGTl7QSD2twMWcHLonZ1lgTJluMZqgTX9uvqEYDUtiH6G+IF7Qacat eUsAvwdycItPOr3p7WBt8U54GbnQdxpSUQ0OpD4twy7KAt/MPNLofVQSEea5DNQOH2dXILrf iRsNfFPsfTASOUXOTRyTYwm6Ys76LIdL9GA2iR5qw8G43FB02fiX76WQSjg+yKN9iP9racGg Pc8qkSPwHJr0s3OwJC4ndbCuSiaXddDbgOvdrqfSO0XCjo3ylyEBhmMVMpwkj8pLCKVGS73n Ncs6OujZXAzOwE0EVXGJEgEIALEj9qCXMZVucjpcd3QxM/TlUr98m5viEd1z4tCnPUyRWcIC EVtj2h5xMH+2iB0q1+KWhq+NsWtvScmEmfHnsr7dJ1K677OdpDhKVaJk61eeRulFY1R4yb6C 1MMxK+WgYB+vvpG0UeyR0M4uBewcPvRsq4yGUHFQKtLAbMdoPTSryJA+ElnmK1vdY+rPcHgi OIMBZM7ahsPXC0C9K4e5SP9clGyIoMpbfHXdx9q+Rp3zVtlbhyk3BS/xccu/+9pk9ICXL6GR js2sNnJ0wxdU1DsAlC59a5MnSruwiZFwRnkQhr3x6wk97Lg7sLS9jjTnCN7LGlVmSmpOEMy6 uq1AWfUAEQEAAcLAhgQYAQoAJgIbDBYhBKNx6mWcC+zIK3FTE0frte9a/fVEBQJmvl9BBQkT LNNOABQJEEfrte9a/fVECRBH67XvWv31RCrvCACY7fjahcGj/57peFu0oIb4X9X78H6mgrAZ D5HCCCb2vWdNtSDTYQoYnKP2Fz9RUG8ETT9a6CtymYqQc72/dzjJmakRTlbYhliKJDZXGAYU g34VirGXCjYgWH7l+0CupOtt55R/ASnrnXX9R/7PLO+akObn9Cz/bNBnIbYnTjLNs7GMMQL4 uNSyqIByQ3LVsVDaCq3408fYKC0dtlv2VNQQzcXXwOgecwpS2UeqMflrSA7UfPh15WgkpnrN AnKCtS66eU1w2kTCsVEjGQEgLI5pP1HMNRHjnHncAFSpOfs1EZn0MfhiyB+4T+lrccGI8EZu ay791Tx4QdDKkdZGaV9A In-Reply-To: <19467e16-caf3-17f3-15db-32b6d3fdd1a8@macktronics.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Am 15.09.24 um 23:40 schrieb Dan Mack: > On Sun, 15 Sep 2024, Dimitry Andric wrote: > >> On 15 Sep 2024, at 22:35, Herbert J. Skuhra wrote: >>> >>> On Sun, Sep 15, 2024 at 03:16:46PM -0500, Dan Mack wrote: >>>> On 14.1 and prior, a CTRL-d will exit a bc session. >>>> >>>> Today I noticed that on 3 different 15-CURRENT systems, it appears to be >>>> ignored.  Works fine otherwise and I can exit the bc session with the 'quit' >>>> command okay. >>>> >>>> I re-tested this on the system console on fresh login just to rule out any >>>> terminal madness. >>>> >>>> Here's a paste of what I see: >>>> >>>> https://tpaste.us/VYya >>>> >>>> I did a fresh install of 14.1 and it works as it did previously. >>>> >>>> No biggie, just wondering if anyone else on -CURRENT can confirm/deny this >>>> change on their system. >>> >>> Known issue: >>> >>> >> September/045187.html> >> >> FWIW, this was broken by: >> >> https://git.gavinhoward.com/gavin/bc/ >> commit/56bb18255a24b60f785560ab882447d9c959bd93 >> >> -Dimitry > > ack. > > I hot fixed my source and it works for me (tm).  assuming someone can report it > upstream.  thanks, The author of bc asks to not apply local patches. I'm waiting for a fix that can be imported from his official source repository. Regards, STefan From nobody Mon Sep 16 23:11:50 2024 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 4X70zc5Phtz5WMqm for ; Mon, 16 Sep 2024 23:11:56 +0000 (UTC) (envelope-from mack@macktronics.com) Received: from mail.macktronics.com (coco.macktronics.com [209.181.253.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4X70zc3Mt3z4W2Y for ; Mon, 16 Sep 2024 23:11:56 +0000 (UTC) (envelope-from mack@macktronics.com) Authentication-Results: mx1.freebsd.org; none Received: from olive.macktronics.com (unknown [209.181.253.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.macktronics.com (Postfix) with ESMTPS id 9EA33F77; Mon, 16 Sep 2024 18:11:50 -0500 (CDT) Date: Mon, 16 Sep 2024 18:11:50 -0500 (CDT) From: Dan Mack To: Dennis Clarke cc: freebsd-current@freebsd.org Subject: Re: change in /usr/bin/bc with CTRL-d no longer exit In-Reply-To: Message-ID: <972cc399-2cf9-ada9-44c0-63816352ed86@macktronics.com> References: <1e614684-1cba-ef01-34dc-d9300db2d927@macktronics.com> <20240916141330.995C554A@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; format=flowed 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:209, ipnet:209.181.252.0/23, country:US] X-Rspamd-Queue-Id: 4X70zc3Mt3z4W2Y On Mon, 16 Sep 2024, Dennis Clarke wrote: > On 9/16/24 10:13, Cy Schubert wrote: >> In message , void writes: >>> On Sun, Sep 15, 2024 at 03:16:46PM -0500, Dan Mack wrote: >>>> On 14.1 and prior, a CTRL-d will exit a bc session. >>>> >>>> Today I noticed that on 3 different 15-CURRENT systems, it appears to >>>> be ignored. Works fine otherwise and I can exit the bc session with >>>> the 'quit' command okay. >>>> >>>> I re-tested this on the system console on fresh login just to rule out >>>> any terminal madness. >>>> >>>> Here's a paste of what I see: >>>> >>>> https://tpaste.us/VYya >>>> >>>> I did a fresh install of 14.1 and it works as it did previously. >>>> >>>> No biggie, just wondering if anyone else on -CURRENT can confirm/deny >>>> this change on their system. >>> >>> [void@vm5 ~ ] uname -KU >>> 1400504 1400504 >>> [void@vm5 ~ ] echo 2+2 | bc -l >>> 4 >>> >>> [void@vm3 ~ ] uname -KU >>> 1500023 1500023 >>> [void@vm3 ~ ] echo 2+2 | bc -l >>> 4 >> >> Of course the above works because the regression only affects tty users. > > Here is some paint on the bikeshed : > > enceladus# uname -apKU > FreeBSD enceladus 15.0-CURRENT FreeBSD 15.0-CURRENT #0 > main-n271918-d7c87526b1c3-dirty: Mon Sep 2 09:55:54 UTC 2024 > root@enceladus:/usr/obj/usr/src/riscv.riscv64/sys/GENERIC riscv riscv64 > 1500023 1500023 > enceladus# > enceladus# bc -lq > scale=36 > a(1)*4 > 3.141592653589793238462643383279502884 > ^ D > ^ C > interrupt (type "quit" to exit) > ready for more input > quit > enceladus# > > Yep. That is borked. Hehe, 4*a(1) is one of my gotos as well for pi :-) Dan From nobody Tue Sep 17 07:06:00 2024 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 4X7CVl0M5Rz5WbjN for ; Tue, 17 Sep 2024 07:06:07 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X7CVj48bVz4d3v for ; Tue, 17 Sep 2024 07:06:05 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=aVdmCNgd; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::329 as permitted sender) smtp.mailfrom=grahamperrin@gmail.com Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-42cae102702so33340185e9.0 for ; Tue, 17 Sep 2024 00:06:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726556763; x=1727161563; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:cc:autocrypt:content-language :from:references:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=CnjSCFCZsJoEC60QEgeu94ecMZ562HillL4a61vT7hc=; b=aVdmCNgdyzB4I91AFn0XkhdqTX7LK075aFD2aA9K+vpYZj74EIjIpLmyv16HBqK1C0 bvrV4P1EJj/jkqO8y60eexaPOIqMbEizC99XhCjYqKs9Wbabk8ruaFvGcfUC06/C0ZbG laWmLC49XdfHMj9B/Hwib6TgPXoQdFvJ9Iy69W32sQTLh3fAuJH7Z2GAK31LOrx7QZMc Q5zWR7luxU1+SMYmij19xPnIBvOk9Fpkzs7v8HlTjEntC/Mq5v+20+NBqpGX7xj1YMba iodYbcsqJGIIdqFRgS/97THUuRnhhAyhO49xlkYwpRs6FKxMlhji/BtPLIM6mEupwzaP 6p3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726556763; x=1727161563; h=content-transfer-encoding:in-reply-to:cc:autocrypt:content-language :from:references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=CnjSCFCZsJoEC60QEgeu94ecMZ562HillL4a61vT7hc=; b=Kzvanx56yfo31Z9rOsIlLYppFEmtvmDfxaWRYPsokGg1JpO+jAOP4Fje0akVAbnRxI iD5H41gL9oDpC/1URQ9rYlEKhuiXXTcFOPgTaUq3rQP7c/enmP4NX9axVwHb641fd8Es xXO4xn1vud4ZxktAeEURoL4OSVPRaF6/cl6pZqofWwF2+4ZLLCMa7Th1rTyt3p4hyvyo 18oWczbf/aBctTm7y5Hd/p3sXQLGsAFT3hBMDj+CAH1cx8ZRz3boUtR785pCG2hP1LB+ cEDpwiBVT6Qs8wCHeLeDZlMM/selF6VRFTkKqIPru8ZzNncA0vgJMBHB8mc/9BFrqrdQ zQLg== X-Gm-Message-State: AOJu0YxV6aob3KXxhNR1W1ilICFPCvxfWPIJVAhm+ktltv/OuJ3Nbv+F J9oftB5xvqTsXoG5Zu6LppHCZHa5he/Dhwa9VM5BYST9RafQ2q/BoO1Gl7R/ X-Google-Smtp-Source: AGHT+IFDlqvquxx8297hJO9ShP7xwL+WBE8i/4KPwOhK4BcroDMFC5my9LG4d4/yji3vLBUMGPD4nQ== X-Received: by 2002:a05:600c:4e44:b0:426:6379:3b4f with SMTP id 5b1f17b1804b1-42d964e10bbmr80353325e9.31.1726556762544; Tue, 17 Sep 2024 00:06:02 -0700 (PDT) Received: from [192.168.1.10] (host-83-67-210-170.as13285.net. [83.67.210.170]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-378e7800072sm8752374f8f.76.2024.09.17.00.06.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 17 Sep 2024 00:06:01 -0700 (PDT) Message-ID: <381c3f52-7e38-49e3-aa20-bacbf23117bc@gmail.com> Date: Tue, 17 Sep 2024 08:06:00 +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 Thunderbird Subject: Kernel panics with Widevine and htop: VNPASS in sys/kern/vfs_cache.c To: FreeBSD-CURRENT References: <63DE0143-2113-419A-9DBC-516940859206.ref@yahoo.com> <63DE0143-2113-419A-9DBC-516940859206@yahoo.com> From: Graham Perrin Content-Language: en-GB Autocrypt: addr=grahamperrin@gmail.com; keydata= xsFNBGKYt7ABEAClu83dJ3ZKfVgPOk9YKRv0Z+dl2b88+k9R4vwAmElgguYdKE7yhnQNhhWM v9vi6AFrBMc2oJdVHJ2OrXfwpELBFIgiSMEWNsC4e+Z3HtSajcl+pFZsP7ciiSoycj/w3wIV kAZoVGbhyIbNG7fbCEJ8q81TbfsGypV3bRmbZVvGNecBguYiooBtz2Qht1p3itXMkIA6P9pS YDl+6QddZLyUUAjAnFv2QDoYSHLnaDUWw4oONZsB0SKVu8jMIBh4uJZoYEOvdvc9jQQdOpA2 CAgA6ulfm42Ikr9lKBUUCtjqiWAhJ7iXOTyHAIdR4Mf8alCE6tdTq6dHdIt+GktTY7oYNyL2 3aD3C7I5waU0SFXvJcOMG10QLfwYQMOQoYQ9XJ0U5A28WYiDcylDdUWT7SappP1e1ZMeJWWO y14mxxNzHaJSI4rK8P/p5tp3Q7SSC4k5gMh9zKba3K2ApCWNbVLGvXsJeQkZZNvu70tE81ey AHI5iZcB6D7WaHysBUmsKaEpbcmm1ZThTnGL0SHEl5to5Jab5Fg6O+Cnly5sVz5lX/v8Aosx kKNei7SCVqXOVtteQeGxWbXWbhPgbMyc0Gi3DuxBI/yvJ43k/rJysQlLGLWfJx/UXprwLluC PDK9EvKEB+fD1Z349uzp1sKr3ihpySbyKI8fpudftnAz4EsoCwARAQABzSZHcmFoYW0gUGVy cmluIDxncmFoYW1wZXJyaW5AZ21haWwuY29tPsLBlAQTAQoAPhYhBFk/5bLDBwftvJcvCrdn SG9KGNQLBQJimMMBAhsDBQkFo5qABQsJCAcDBRUKCQgLBRYDAgEAAh4FAheAAAoJELdnSG9K GNQLbHAQAJi998y42bEbq5HmABYovmAEtQj33YSUWyc9QRmAHpN8Er3lTKsgmZcVChB5Fu/d go2oYynDjlVpA7+wiSmg4AG78mOYbg/e19XMhrH0keDKqZXFkU+G7agR0mF09qvpQZ9MTJYZ 2u7FtytZK665UfipOdV8eGn2hFC/WynjUwEzKyryBgbbLAEbfOPeZNry4h2ZPWbtTvx/PE/V X3Vh2oGqYx69DCGz+0xEhy62ZKbkX5SL8LUf/1WViyCVzsHasFxmFxYPWIfBy8ayQ7xapz7M cSXSQyu4oDT4qh9eZiGP9/aAcZKHcV6t9y77JGhUJ/5O1sANKMa3YhgimE+Z86LHYa1IH774 PHj1nAXBwS+Cj/1l/NQoQcyjvOj8zuCsMJVaLMb6B46YsReP4+3yBLpyeBC//t6zWPbgAkWW VjROC0dXUAMTFpnA6NZe3UghG+Nc4fnCLGOhc2nyWFYHIaYV6Hv1ITFSem9DdeNnR1CFm1VM TJ7i7TuqYM+WZTkoUsTf4c46hS/ZNJZSCxh0s9yYr+BYk3XBbd+ElaZ1dJE6cuSVdw15+P2h DnprurxC4byl4YFkn+UAVvQsOgeq6aSHLOHX0weYu1OLoiPYsTdyGhne72+kDhEEdFD5aHdQ PFrbQIrqWLV0a04++0ZwGpNvXtgnWhDdAQJDwGsSSwbLzsFNBGKYt7ABEADRb1tZuh7DPYET 0wK6fe7owbYgM+RfKhmcrGgR2HI9M2q6+0WKF/ITnggWdIW2Ecc4z2boLz/cwvPGCS7/YxZM 61KklGCwuS7q1s04XnHDWHuFxfXQPzAdVmNO3bYoMZbJjHXs6sB2u5ksiwPwaMAWWaGkviSj c5pwvHCiTmX5vH5CBj/Vi+5ESyX38vK4JM5S/m4ouI/6M9biyFgimV+v3vVyCxJCT1gI9g4o GIh1qq5S433b1fihn4yHPf8XOKyBpA/QcwLONViBqJL5nnOxpsh344rNxn2R7CcRzzicOV+e 2IbMem4lwNWQlZKoRotKXZi9LqN5mynSBYqAUdoZum0QinWT9F22B0Qex5PH1zAt9i2W91Vd kcPB3LwkRXj07ycRtsSzpgPA6fLc6AsoWFslHl8kVOO5eJIA4xhjlPa+W8lguQHZ0iX+5uAv 2eAgXR2swADuHPuENNFStmsgAMl8OOOgtq75yA5TpyIzxMuXV9Nmp0VfIaUM/IdLdmxhc1pC c320l5fYMHVLFAReWEbSj2QH8YzWfpXHIegutWWYEbH9SiDXgS9KoKmCJV/Qa+x6/b8y3pOZ vnIbCDaynC2Yr50s8gRa9kb54JE8Z+p8r16U3SEsK3PtUi0RF0e51danCVHrrE6/Hat2XUO/ 6nnYgVgFOrLao6Gh/VMs8wARAQABwsF8BBgBCgAmFiEEWT/lssMHB+28ly8Kt2dIb0oY1AsF AmKYt7ACGwwFCQWjmoAACgkQt2dIb0oY1Av7qg//YjCZg8VXyMzXssgIQpROKKqh5V0UBSQl rM3tq4tWhyg0HVMugQj0Om+iNPsEEOGHkm6tyhHMzlKGpAc/l0iAM+8twIyg44Yo5+DcfFXr OMTbTw9T9jDsWOkOBksxy29iYhgpqpWdDBnhXvrJp/FNAiX8CfzrIOZeFPydDoEiKBEXAxfe a9o5J/JeVnZiUeoiFe7i68nZGsb4JxhPczNfqW12t0Ll5/ibjszg5BgjXiLao0KqbWNh4bS5 CVwH90Or+5qqWgzWPeBiuz+rN2QXE/V/fL44GEj1YKASCqmaiYRgjoRFubz1aq1wCXMXY3Iq d4525rscUgS7HBxbblnyTodUPaamN/2nSzcmE/Pkx8MApDSgZCIhs0RTAg+/AoX4HULV1rSE TQwMrBEQt84Tw5W5rHsvXKr4ZEsJUpbPLWYTISsp23nHR+vZtL/Ug+OWCmHC7X7D21xk/xVJ 4sA1RLJBKdCHtnyA4Unv/kNS1KVGxHnITVyw1a71QJADu4qsdtM5u6CyYUhqhM1oseWtV6j+ Qi8KC/G4C3AgZf06fe2fVl42z2grTabL4bC6FQXMwTX2dsm5NakWjUCmUL8uwsQE7ZA4zKxo EYI1YV9q1birpzncYRupr1qnMoggMUHWq0IBYshFQrEO8PeVUZBw7/GfAeh3argdw2Qu748T Cyw= Cc: Mark Millard In-Reply-To: <63DE0143-2113-419A-9DBC-516940859206@yahoo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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(-1.00)[-0.997]; 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=20230601]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; TO_DN_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; ARC_NA(0.00)[]; FREEMAIL_CC(0.00)[yahoo.com]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FREEFALL_USER(0.00)[grahamperrin]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::329:from] X-Rspamd-Queue-Id: 4X7CVj48bVz4d3v On 16/09/2024 04:48, Mark Millard wrote: > Graham Perrin wrote on > Date: Wed, 22 May 2024 20:32:42 UTC : > >> Reproducible at . >> >> > This is a list message that is directly explicit about > various things in the report instead of being indirect. > > The GENERIC panics are at the VNPASS indicated below in > sys/kern/vfs_cache.c : > > /* > * Resolve a directory to a pathname. > * > * The name of the directory can always be found in the namecache or fetched > * from the filesystem. There is also guaranteed to be only one parent, meaning > * we can just follow vnodes up until we find the root. > * > * The vnode must be referenced. > */ > static int > vn_fullpath_dir(struct vnode *vp, struct vnode *rdir, char *buf, char **retbuf, > size_t *len, size_t addend) > { > #ifdef KDTRACE_HOOKS > struct vnode *startvp = vp; > #endif > struct vnode *vp1; > size_t buflen; > int error; > bool slash_prefixed; > > VNPASS(vp->v_type == VDIR || VN_IS_DOOMED(vp), vp); > . . . > > For reference: > > /usr/main-src/sys/sys/vnode.h:#define VN_IS_DOOMED(vp) __predict_false((vn_irflag_read(vp) & VIRF_DOOMED) != 0) > > … Big thanks to Mark for investigating. When I first wrote here, in May, I had no idea that htop could trigger the panics. I knew little more than, a panic occurring with every (-CURRENT GENERIC) attempt to use Widevine in www/chromium. > … As far as I can see, htop touches the problem area but > itself is not the problem. The handling of the "worker" > related context for the type of kernel call seems to be > what is at issue, likely no matter what process happens > to make the same basic kernel call that ends up with > "worker" in the context. > > === > Mark Millard > marklmi at yahoo.com Built as shown at , it's now possible for Chromium to detect (and play) Widevine content, with GENERIC, whilst htop runs. For myself, I have set aside a copy of FreeBSD Project-packaged htop-3.3.0_4.pkg Regards Graham From nobody Tue Sep 17 08:27:38 2024 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 4X7FKh6nd3z5WpMQ for ; Tue, 17 Sep 2024 08:28:24 +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 "E5" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X7FKh3zhhz4rGG; Tue, 17 Sep 2024 08:28:24 +0000 (UTC) (envelope-from herbert@gojira.at) Authentication-Results: mx1.freebsd.org; none Date: Tue, 17 Sep 2024 10:27:38 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gojira.at; s=mail202005; t=1726561696; bh=HrAedRmuz+CMFnqFrtU8UQ4YeRvApeDmTxfSLwn+KrQ=; h=Date:Message-ID:From:To:Cc:Subject:MIME-Version:Content-Type; b=ie0pXKS1Q5rUuBB3H9Z7CuHmEWy7B3hnwPST16c9yocGmLvI++4mGBWSoylVD9rJ3 /lkOKU1gT/3DrZTjll8qFHDMvUqukuD12RjcJqvA6KaL3ij5HvdsMatnylB3aPx/0l zStHC7H3xneisGmQu6poLqonB7Oh6cSvo7g03Y8uZn/jy24kD/FPUaLZ1Uce4PAh3A MezzbXMgYS7Eh22c1jqRgWJvwb/gv8WsFqMbvnaXB+eOKoUouzx8BbvpV8cU6tXvJ/ dBtlSB/pUN4+7lQ8YBT+J0YkAX7rdaQqvtVqHSzJ/iFKob6ujgypHOwJw/f5YAI6Kj 4Yyy3Q/KW7Jog== Message-ID: <87wmja3csl.wl-herbert@gojira.at> From: "Herbert J. Skuhra" To: Kristof Provost Cc: current@freebsd.org Subject: Re: git: 80eb861dc2a7 - main - pfctl: lex <=, >=, and != into a single token In-Reply-To: <202409161305.48GD5SMG020938@gitrepo.freebsd.org> References: <202409161305.48GD5SMG020938@gitrepo.freebsd.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/31.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: 4X7FKh3zhhz4rGG On Mon, 16 Sep 2024 15:05:28 +0200, Kristof Provost wrote: > > The branch main has been updated by kp: > > URL: https://cgit.FreeBSD.org/src/commit/?id=80eb861dc2a7960e1acc74796cf0c937472a5dba > > commit 80eb861dc2a7960e1acc74796cf0c937472a5dba > Author: Kristof Provost > AuthorDate: 2024-08-29 10:08:32 +0000 > Commit: Kristof Provost > CommitDate: 2024-09-16 11:48:58 +0000 > > pfctl: lex <=, >=, and != into a single token > > lex <=, >=, and != into a single token for correctness and to reduce the > lookahead in the parser > ok henning otto > > Reviewed by: zlei > Obtained from: OpenBSD, deraadt , e6e3ecf338 > Sponsored by: Rubicon Communications, LLC ("Netgate") > Differential Revision: https://reviews.freebsd.org/D46582 > --- > sbin/pfctl/parse.y | 20 ++++++++++++++------ > 1 file changed, 14 insertions(+), 6 deletions(-) Does this commit break pf on arm64? # pfctl -f /etc/pf.conf pfctl: failed to add host: Invalid argument Simple pf.conf loads but # pfctl -s rules pass in all flags S/SA keep state pass out all flags S/SA keep state Abort trap (core dumped) -- Herbert From nobody Tue Sep 17 09:07:56 2024 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 4X7GCX1MGnz5X20S for ; Tue, 17 Sep 2024 09:08: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 "E5" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X7GCV4Wf9z3xrl; Tue, 17 Sep 2024 09:08:06 +0000 (UTC) (envelope-from herbert@gojira.at) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gojira.at header.s=mail202005 header.b=i8GM5dYA; dmarc=none; spf=pass (mx1.freebsd.org: domain of herbert@gojira.at designates 2a01:4f8:13b:240c::25 as permitted sender) smtp.mailfrom=herbert@gojira.at Date: Tue, 17 Sep 2024 11:07:56 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gojira.at; s=mail202005; t=1726564076; bh=2pLsehiLIbbQ4CSggZjRa9/Mm6z0achDu05oZ/V/k54=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=i8GM5dYACtgjxz2rSsXj9hvFdLGEeO88XlLebpzzxopjSdOotdAaWCNcQDsnzEFYD DfGasgqsRxGhXauI5EfTdumNS3uyYzAOX5VIZPee6ZhgTADtL6YC0LdyDfCqpNVXIl GT5caUCwFJRKJjWLv8CLfS+3IVq0s8DpusVst0shD/sghYUWXl9zawquXjoyr/sIIW UUW81CCfGjyhj6GSspdOPo16gWPZXrvltHRl83xilDgbQrR/3rp7OXA1uGBhp1uKji 4cHDPDoFWFq3tdapPbaSI8Fz/Ys3yfd8ah3L/uq//+B/CVQhk96JBezR49u/NyqPZ7 VZUPcKyb1f5TA== From: "Herbert J. Skuhra" To: Kristof Provost Cc: current@freebsd.org Subject: Re: git: 80eb861dc2a7 - main - pfctl: lex <=, >=, and != into a single token Message-ID: References: <202409161305.48GD5SMG020938@gitrepo.freebsd.org> <87wmja3csl.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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87wmja3csl.wl-herbert@gojira.at> 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.997]; 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]; MISSING_XM_UA(0.00)[]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DMARC_NA(0.00)[gojira.at]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; SUBJECT_HAS_EXCLAIM(0.00)[]; DKIM_TRACE(0.00)[gojira.at:+] X-Rspamd-Queue-Id: 4X7GCV4Wf9z3xrl On Tue, Sep 17, 2024 at 10:27:38AM +0200, Herbert J. Skuhra wrote: > On Mon, 16 Sep 2024 15:05:28 +0200, > Kristof Provost wrote: > > > > The branch main has been updated by kp: > > > > URL: https://cgit.FreeBSD.org/src/commit/?id=80eb861dc2a7960e1acc74796cf0c937472a5dba > > > > commit 80eb861dc2a7960e1acc74796cf0c937472a5dba > > Author: Kristof Provost > > AuthorDate: 2024-08-29 10:08:32 +0000 > > Commit: Kristof Provost > > CommitDate: 2024-09-16 11:48:58 +0000 > > > > pfctl: lex <=, >=, and != into a single token > > > > lex <=, >=, and != into a single token for correctness and to reduce the > > lookahead in the parser > > ok henning otto > > > > Reviewed by: zlei > > Obtained from: OpenBSD, deraadt , e6e3ecf338 > > Sponsored by: Rubicon Communications, LLC ("Netgate") > > Differential Revision: https://reviews.freebsd.org/D46582 > > --- > > sbin/pfctl/parse.y | 20 ++++++++++++++------ > > 1 file changed, 14 insertions(+), 6 deletions(-) > > Does this commit break pf on arm64? > > # pfctl -f /etc/pf.conf > pfctl: failed to add host: Invalid argument > > Simple pf.conf loads but > > # pfctl -s rules > pass in all flags S/SA keep state > pass out all flags S/SA keep state > Abort trap (core dumped) Sorry, please ignore (for now)! Probably a build issue (META_MODE?). I am trying a clean build now. -- Herbert From nobody Wed Sep 18 06:21:04 2024 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 4X7pSN1SMTz5W0cw for ; Wed, 18 Sep 2024 06:21:08 +0000 (UTC) (envelope-from se@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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X7pSM0dT8z4Khv; Wed, 18 Sep 2024 06:21:07 +0000 (UTC) (envelope-from se@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726640467; 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:autocrypt:autocrypt; bh=zYGKhRl4mZ3JgmfGpXh2WzHoUVQrqqjevSvn6ZpNq3Y=; b=PWsZdkJqRlrP4Zed/j7+R9vqbVcgX4SvvmeJ5RUEjwkiM8XSJeWjSOfkHkTDFSwhgn5aQ2 ouvZ8jnGal3z9UM5scaK+SgWqampU7JYYDQMziWaOD3b9OS6gofjvuGns46IHvCvHSosg2 5efbo0roWrhiiC+eZMA3BdgmnNeCXWlTAuoc3nfLvDi8HaMy0Zd30UEI8NpTNLa7uYQEqH bayOxJ0pPbsc+doAbheh5RyG+lbsw55xP5hCCAe5s+zK1s1ihV7zKlhV5zBovZ1AdiiKfF lusAWZfzKErCwBbqvtkdyMzRUMwYfp8o5HVdrm9xVn9dS6uKI2bdIMVKbhlLtQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726640467; a=rsa-sha256; cv=none; b=E5BNlAk82TaF9t2H2wuNS8EBNzPP1rfMXu950Rgw8+iKc076r2+wAE3whDVc6DVKWxkW// 4mHKXGUbjrQZ2iyeaFUUeaKY3rZ7Ylan7GViTd4BAt6hjaN1dw/vbf8TsWYrhDa2taZ2pZ BKqSnQxim1KxnvlfmqZ+71umwVTSxYGagvOb4mFwAKm9qikuYwfuBQfxVHhUbkPc4SKRQO RJr0XuCH6k8fVDc+FNht5Yfi7b1nfNzsdWM5BTvpGXEvweBzPygTLyUms0QjpKLipIcDcp VEqslOsQkv/VnqlK44anrs15IAEZ3mCZNHmHwu7GgzZSGhFWExQUuXiplktZtA== 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=1726640467; 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:autocrypt:autocrypt; bh=zYGKhRl4mZ3JgmfGpXh2WzHoUVQrqqjevSvn6ZpNq3Y=; b=MZ91jhY6IFDXBOArpzT2K6m4DcrKE9SdE9O4ER7EbPOeCsIoMrTEmvZg5Ky/c2SvZrQ9xW nbzykGYwVrgQ4Y0PD0t1TNb0C3pcjbV/3CdHGh6G5TQdElRj7QSRDPsb0DH8O8QPWZ9JCh CqgxgxIVTLQ0bA4MlRI7fy51poBoIsI/x0Ff8g5GwCIaGQbQf3CpMgh8xAL+Zw3e+6oiEe GKVajucG0QrIpg1C7V4c3+xrrPx280RqJjaZHaOUWWxg999ayv+PZThMfzm670DA2+E4sq 2uceBdWcJQfXckT37iRrhObaJPkawsJm/6NtW9S4z1QCkyuKOSBO6t0U01WlYQ== Received: from [192.168.119.155] (p508066ae.dip0.t-ipconnect.de [80.128.102.174]) (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: se/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4X7pSL4rg8z1LF5; Wed, 18 Sep 2024 06:21:06 +0000 (UTC) (envelope-from se@FreeBSD.org) Message-ID: <9de6f483-9051-4a52-b945-118368568d15@FreeBSD.org> Date: Wed, 18 Sep 2024 08:21:04 +0200 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 Thunderbird From: Stefan Esser Subject: Re: change in /usr/bin/bc with CTRL-d no longer exit [fixed in -CURRENT] To: freebsd-current@freebsd.org References: <1e614684-1cba-ef01-34dc-d9300db2d927@macktronics.com> <20240916141330.995C554A@slippy.cwsent.com> <20240916150138.F12CF10E@slippy.cwsent.com> Content-Language: de-DE, en-US Autocrypt: addr=se@FreeBSD.org; keydata= xsBNBFVxiRIBCADOLNOZBsqlplHUQ3tG782FNtVT33rQli9EjNt2fhFERHIo4NxHlWBpHLnU b0s4L/eItx7au0i7Gegv01A9LUMwOnAc9EFAm4EW3Wmoa6MYrcP7xDClohg/Y69f7SNpEs3x YATBy+L6NzWZbJjZXD4vqPgZSDuMcLU7BEdJf0f+6h1BJPnGuwHpsSdnnMrZeIM8xQ8PPUVQ L0GZkVojHgNUngJH6e21qDrud0BkdiBcij0M3TCP4GQrJ/YMdurfc8mhueLpwGR2U1W8TYB7 4UY+NLw0McThOCLCxXflIeF/Y7jSB0zxzvb/H3LWkodUTkV57yX9IbUAGA5RKRg9zsUtABEB AAHNJ1N0ZWZhbiBFw59lciAoRnJlZUJTRCkgPHNlQGZyZWVic2Qub3JnPsLAlAQTAQoAPgIb AwULCQgHAwUVCgkICwUWAwIBAAIeAQIXgBYhBKNx6mWcC+zIK3FTE0frte9a/fVEBQJmvl9B BQkTLNNOAAoJEEfrte9a/fVEV1oH/jt+SjRqTHci6d1LiFDfbY0E2rfobZw5BhcQuCqxahS7 pcE1oLpUaoqWYPHslxhGTl7QSD2twMWcHLonZ1lgTJluMZqgTX9uvqEYDUtiH6G+IF7Qacat eUsAvwdycItPOr3p7WBt8U54GbnQdxpSUQ0OpD4twy7KAt/MPNLofVQSEea5DNQOH2dXILrf iRsNfFPsfTASOUXOTRyTYwm6Ys76LIdL9GA2iR5qw8G43FB02fiX76WQSjg+yKN9iP9racGg Pc8qkSPwHJr0s3OwJC4ndbCuSiaXddDbgOvdrqfSO0XCjo3ylyEBhmMVMpwkj8pLCKVGS73n Ncs6OujZXAzOwE0EVXGJEgEIALEj9qCXMZVucjpcd3QxM/TlUr98m5viEd1z4tCnPUyRWcIC EVtj2h5xMH+2iB0q1+KWhq+NsWtvScmEmfHnsr7dJ1K677OdpDhKVaJk61eeRulFY1R4yb6C 1MMxK+WgYB+vvpG0UeyR0M4uBewcPvRsq4yGUHFQKtLAbMdoPTSryJA+ElnmK1vdY+rPcHgi OIMBZM7ahsPXC0C9K4e5SP9clGyIoMpbfHXdx9q+Rp3zVtlbhyk3BS/xccu/+9pk9ICXL6GR js2sNnJ0wxdU1DsAlC59a5MnSruwiZFwRnkQhr3x6wk97Lg7sLS9jjTnCN7LGlVmSmpOEMy6 uq1AWfUAEQEAAcLAhgQYAQoAJgIbDBYhBKNx6mWcC+zIK3FTE0frte9a/fVEBQJmvl9BBQkT LNNOABQJEEfrte9a/fVECRBH67XvWv31RCrvCACY7fjahcGj/57peFu0oIb4X9X78H6mgrAZ D5HCCCb2vWdNtSDTYQoYnKP2Fz9RUG8ETT9a6CtymYqQc72/dzjJmakRTlbYhliKJDZXGAYU g34VirGXCjYgWH7l+0CupOtt55R/ASnrnXX9R/7PLO+akObn9Cz/bNBnIbYnTjLNs7GMMQL4 uNSyqIByQ3LVsVDaCq3408fYKC0dtlv2VNQQzcXXwOgecwpS2UeqMflrSA7UfPh15WgkpnrN AnKCtS66eU1w2kTCsVEjGQEgLI5pP1HMNRHjnHncAFSpOfs1EZn0MfhiyB+4T+lrccGI8EZu ay791Tx4QdDKkdZGaV9A In-Reply-To: <20240916150138.F12CF10E@slippy.cwsent.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Am 16.09.24 um 17:01 schrieb Cy Schubert: > In message om> > , Warner Losh writes: [...] >> The irony here is that i fixed thus very bug 2 or 3 years ago. >> >> Warner >> > > It's curious (or maybe not) how some bugs keep returning with a time and > time again. Version 7.0.2 has just been committed to -CURRENT, the MFC is planned after 3 days. (Or is this a bug fix that might be committed without delay, since it reverts the code back to what it was in version 7.0.0?) The issue was caused by differences in behavior between editline on FreeBSD and Linux versus MacOS, and an attempt to fix ^D on the latter. Regards, STefan From nobody Wed Sep 18 13:19:49 2024 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 4X7zlY61Zxz5WMyy for ; Wed, 18 Sep 2024 13:19:53 +0000 (UTC) (envelope-from void@f-m.fm) Received: from fout4-smtp.messagingengine.com (fout4-smtp.messagingengine.com [103.168.172.147]) (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 4X7zlX4YF5z41QF for ; Wed, 18 Sep 2024 13:19:52 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm1 header.b=PWyk5FVQ; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=oKlSXreu; dmarc=pass (policy=none) header.from=f-m.fm; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 103.168.172.147 as permitted sender) smtp.mailfrom=void@f-m.fm Received: from phl-compute-07.internal (phl-compute-07.phl.internal [10.202.2.47]) by mailfout.phl.internal (Postfix) with ESMTP id 9F01D1380288 for ; Wed, 18 Sep 2024 09:19:51 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-07.internal (MEProxy); Wed, 18 Sep 2024 09:19:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm1; t=1726665591; x=1726751991; bh=cFbZL7Hee3YQQ2Jcf58Lk9ukYSYNvKEx X98jND70Vj0=; b=PWyk5FVQnXLwgUev0L1iPGO0nZC649wNQyOdoeHJWXkIJWu3 n0nnq/zEPl0az5ZPv7nKBoc/4eW98z5QBU4PnibXlQGVbiq7GJ3Z06CUjr0h1FwJ lLLNVgYElbK1zOedfCauzrJ0Zp48oUEztP93t1R4i2TeEuLklHhvCYfnxEGDQyHF 0+heTmLkAwl0Wq5LsmjtCV2DuGWLxDZdwD4+xOwGMQ1G3z6gFZurgiJdeLHBp8NI DXmgY5IQlZHLZYpjyAJhSixpZkV4XN8AK9dJTIE47kgsesOjuShfy0Apv0s2e5LH c+TkeeOteZvia+Qp4L9QThZthp7360o3D3lHgA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1726665591; x=1726751991; bh=cFbZL7Hee3YQQ2Jcf58Lk9ukYSYNvKExX98 jND70Vj0=; b=oKlSXreu2jneNLvRW1lnoNTKnCjUc7senaNG6mficz9J2cT0QbK wQlDtV7IRKq2Gq5eQfR44UWkUMx0puNBu0m8jXZvcy5Z+YOMZzdwUFSednqT4aFo S42sqnUVYivnNxKR1ytBc2/ZC3uRnNcj3cRzCMFCrGSHhvLKOj2gJbtj/4prQipo ivmuZKoP1LupGSzlhfATJbaGz3uD4/BFpcsntG2qFtsOyYBLmc3xf4UWn6LDuX7K vBE3b3ydq/XO9l2bhh/Q+fZe3VhYyqddIPuvNvpjJyIsbKi2A+JMgvNnflL/BPTZ rtfd6S2Ka6Xmx1CY72aMoT9yewKKiqvumnA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudekledgieefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuf fkgggtugesthdtrodttddtvdenucfhrhhomhepvhhoihguuceovhhoihgusehfqdhmrdhf mheqnecuggftrfgrthhtvghrnhepkeegiefhledvkeeljedvfeejvdekleeftdfgtdettd elteduudejueelhfetgfegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehm rghilhhfrhhomhepvhhoihgusehfqdhmrdhfmhdpnhgspghrtghpthhtohepuddpmhhoug gvpehsmhhtphhouhhtpdhrtghpthhtohepfhhrvggvsghsugdqtghurhhrvghnthesfhhr vggvsghsugdrohhrgh X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Wed, 18 Sep 2024 09:19:51 -0400 (EDT) Date: Wed, 18 Sep 2024 14:19:49 +0100 From: void To: freebsd-current@freebsd.org Subject: sccache-overlay and different major os versions Message-ID: Mail-Followup-To: freebsd-current@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; format=flowed Content-Disposition: inline X-Spamd-Result: default: False [-1.57 / 15.00]; NEURAL_HAM_SHORT(-0.97)[-0.971]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm1,messagingengine.com:s=fm1]; R_SPF_ALLOW(-0.20)[+ip4:103.168.172.128/27]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[103.168.172.147:from]; RCPT_COUNT_ONE(0.00)[1]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[f-m.fm]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:209242, ipnet:103.168.172.0/24, country:US]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+] X-Rspamd-Queue-Id: 4X7zlX4YF5z41QF X-Spamd-Bar: - Hello, am asking this here because I guess most of you will be familiar with building in poudriere. Is it expected that using sccache-overlay will work when the host is running current but the builder is for example a 14.1-p6 poudriere jail? errors like [00:00:03] ==> Starting sccache [00:00:03] ld-elf.so.1: Shared object "libsys.so.7" not found, required by "libthr.so.3" [00:00:03] ld-elf.so.1: Shared object "libsys.so.7" not found, required by "libthr.so.3" [00:00:03] *** Error code 1 [00:00:03] [00:00:03] Stop. [00:00:03] make[1]: stopped in /usr/ports/ports-mgmt/pkg The error doesn't happen if the poudriere host and the poudriere jail are both at -current. The workaround on my host has been not to use -O sccache with poudriere for builders of a less major version than the host. -- From nobody Fri Sep 20 09:59:20 2024 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 4X97D70lQwz5XYdn for ; Fri, 20 Sep 2024 10:00:07 +0000 (UTC) (envelope-from yasu@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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X97D65JdBz4PMV; Fri, 20 Sep 2024 10:00:06 +0000 (UTC) (envelope-from yasu@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726826406; 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; bh=xBIu97VJT0YMWZ38+Ba239bP6W9KQcoxOZMz63Ur42A=; b=vQiU5cqcjR1gRN1mnGe+mgwarZ/cadat7UHRXZ8R+jTfws7SZtoklw0BtJhMCqpUm3QPGf GLPbO9SDEb99DowoZCaiUF5gG7nKtH1emTzykcDOtCAoWmHuDyLgM5aGEivp3WRph71nC6 Dub/OlmQNmfaZ00pjbvY4gbPQMQFAKI7nicaLydvsoNCe9InC9GmAbtx9lNq3KUQSvArmU 9seeTrGKD3ezSZXQXGrnFPWxYvrV6Lj9TPtccLbt/ABFATPbU+B1jBM6fLzlx4St2NkN+8 oeIS+itqm5sVBnZ4/IBYGrSA3ol80liD5k2TBzW+W6i/gCXJoRttIHtDKsMSNA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726826406; a=rsa-sha256; cv=none; b=rvQKNSXUAWy+B0l4ChY8pHpxISG5ro17rnaFztO9KnFvfSxRSuvV3p7fDwXW4+8gXP7vFi Vn4R2qCYxgUlhe81/dhrqlH6LKuJ4ryCYNDFjVQd58RYCfGrRzL9dv62i4mKcrtUQBXy7N 1wzm3i+7xgbHN5Gfwc5+Gg91wE5SxdZGkUziNmyTf+Tchu4rvK78mCSu+5mVsuARZIH27R Gg0pKI2FNz4JOzPgQ67E4JPfoXnmavHlg1rBKHe27E4MyQcTfJLbSHd3ODp8CiJe0N5daN Dt6rc337ycV3yedcmUACzUsDTX1YXOXBsGLrnNCz8sJ73m8p+Ge+3QvfnasPpA== 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=1726826406; 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; bh=xBIu97VJT0YMWZ38+Ba239bP6W9KQcoxOZMz63Ur42A=; b=UXCzCJwxTLsNyXz6NvONvfIlv33GcnyHhoxLFXww7VFlnEMWTOrqNrEpJR8niOMmjHu6Zt uH+/7b8KHcqR4lku+d7arbwvllkiioxhhxhr0iX38MB+jTQ0GmfatcDfqC3pO6aCFY4r17 3vc6ZlmoN+NBug4PmierXmC5KyAqA3V511j9/yY+SFA1cZxVjJdmvO0Qsbm+Rc+JO8jhjn aVSJgDpia3qc6KdOnUL+Gs6LXj2wadOV8OJOp1pL6d7iz1capjqbwti7UxJKIMLO9x9j00 VSD8e4v3d6EwRMf8q3Yp96nhbeAQ0TJR2v0mT/iRmuJ0n7W+8LcBWITLSEE1xw== Received: from localhost (unknown [IPv6:240b:11:220:fe00::174:11]) (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) (Authenticated sender: yasu/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4X97D60ydSz1R10; Fri, 20 Sep 2024 10:00:05 +0000 (UTC) (envelope-from yasu@FreeBSD.org) Date: Fri, 20 Sep 2024 18:59:20 +0900 (JST) Message-Id: <20240920.185920.1538575456943179013.yasu@FreeBSD.org> To: freebsd-current@freebsd.org Subject: eval: Pipe call failed: Cannot allocate memory From: Yasuhiro Kimura X-Mailer: Mew version 6.9 on Emacs 31.0.50 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: 7bit % uname -a FreeBSD rolling-vm-freebsd1.home.utahime.org 15.0-CURRENT FreeBSD 15.0-CURRENT #0 main-n272349-267f223f622: Fri Sep 20 17:49:44 JST 2024 rootz@rolling-vm-freebsd1.home.utahime.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 Step 1: Boot system Step 2: Login as root Step 3: Run `poudriere bulk` Step 4; shutdown -h now Then error messages are displayed as following. ---------------------------------------------------------------------- eval: Pipe call failed: Cannot allocate memory (multiple times) eval: Pipe call failed: Cannot allocate memory writing entropy file: eval: Pipe call failed: Cannot allocate memory fsync: open: No such file or directory . writing early boot entropy file: eval: Pipe call failed: Cannot allocate memory fsync: open: No such file or directory . eval: Pipe call failed: Cannot allocate memory Terminated . ---------------------------------------------------------------------- --- Yasuhiro Kimura From nobody Fri Sep 20 11:37:09 2024 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 4X99NM5336z5WdlY for ; Fri, 20 Sep 2024 11:37:23 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4X99NM1npgz4kC6; Fri, 20 Sep 2024 11:37:23 +0000 (UTC) (envelope-from kostikbel@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: from tom.home (kib@localhost [127.0.0.1] (may be forged)) by kib.kiev.ua (8.18.1/8.18.1) with ESMTP id 48KBb9oD038001; Fri, 20 Sep 2024 14:37:12 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 48KBb9oD038001 Received: (from kostik@localhost) by tom.home (8.18.1/8.18.1/Submit) id 48KBb9EB038000; Fri, 20 Sep 2024 14:37:09 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 20 Sep 2024 14:37:09 +0300 From: Konstantin Belousov To: Yasuhiro Kimura Cc: freebsd-current@freebsd.org Subject: Re: eval: Pipe call failed: Cannot allocate memory Message-ID: References: <20240920.185920.1538575456943179013.yasu@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 Content-Disposition: inline In-Reply-To: <20240920.185920.1538575456943179013.yasu@FreeBSD.org> X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on tom.home X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US] X-Rspamd-Queue-Id: 4X99NM1npgz4kC6 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated On Fri, Sep 20, 2024 at 06:59:20PM +0900, Yasuhiro Kimura wrote: > % uname -a > FreeBSD rolling-vm-freebsd1.home.utahime.org 15.0-CURRENT FreeBSD 15.0-CURRENT #0 main-n272349-267f223f622: Fri Sep 20 17:49:44 JST 2024 rootz@rolling-vm-freebsd1.home.utahime.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 > > Step 1: Boot system > Step 2: Login as root > Step 3: Run `poudriere bulk` > Step 4; shutdown -h now > > Then error messages are displayed as following. > > ---------------------------------------------------------------------- > eval: Pipe call failed: Cannot allocate memory > (multiple times) > eval: Pipe call failed: Cannot allocate memory > writing entropy file: eval: Pipe call failed: Cannot allocate memory > fsync: open: No such file or directory > . > writing early boot entropy file: eval: Pipe call failed: Cannot allocate memory > fsync: open: No such file or directory > . > eval: Pipe call failed: Cannot allocate memory > Terminated > . > ---------------------------------------------------------------------- Did the poudriere run itself finished successfully? Can you show the output from 'sysctl kern.ipc | grep pipe' before and after the poudriere run? From nobody Fri Sep 20 16:44:33 2024 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 4X9JBq0ljWz5W5sn for ; Fri, 20 Sep 2024 16:44:35 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X9JBp6sCnz4nf7; Fri, 20 Sep 2024 16:44:34 +0000 (UTC) (envelope-from des@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726850675; 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=hyFy9MkGuyGjiBBKQLenPqIqqFudnLw3oRFqEXmfX6E=; b=Wn70PHW1KQ8HkOi/uAW2kBKkDOLU0na5eN8sBLGrX9qPAXOCNU1dVKqZEdZKUKovlmIvKP 3TvKm3D8fQQ9Y6oxGYbkIIzn7srDW7Am0OFahmHAFzr5oswR9w3ObNS5/dGfvzNZEe53ub d8mrxn1oyxVTyf7yn8/2tf1M6J588UG4rE9cmlRgcP5d8GgBnY1xUVt13+DMPsy99BLbTO 3POz3vROpKgvN9y6QnVlZP1GHhlSlwV/m85esFrztj3UoVd+O8Zlbi74/Bc/rjDl6fdPQ+ x2qC6o4XhRCIzypEjks3dv52Nsq6jWVUGuXPRXoISUk7v1ZE1Hn+XVTD+6q0dg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726850675; a=rsa-sha256; cv=none; b=KZgpzVn7uecP4toliRkaqnmMLLCPP8IxTe7R0SVWRteqPurVld4+V62NKoLC7sk3PIYORb gjHmu1rYzeCBj/dDA0WdLyP9neSrsobGoDRClaIM5mVpUBnTWfu6fKS2GNcCwEO2+6VnVL CQZPN7OAn5JcKO0lgEJYP2EHUWpoKq/AaRODrhBg+a13eY4CgHHfqS9vBVJUuj5qVGIgfN aEGdApPCYAQYO/V1ZObHpXEyqrU2EKBxaLnw+DvOQ48Xi6J4ZpeM8wFr8do3oFDMjj1sxw DWD6KAV7VQB3QZP4igaSXtGnIe1stE/dPzSpCMZRdzjx7pcvoOOZtOIKu/K9iw== 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=1726850675; 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=hyFy9MkGuyGjiBBKQLenPqIqqFudnLw3oRFqEXmfX6E=; b=X+ItN+o19UsUf/GwH91Pk+oi93LRr4opc7h2rX+Dkaotaz3uTkkJaxuDflLpBzeG3lmgz3 i+PRvyIg6H1MWXxLJgrHUrk3fg1VGb6tLnJDNTQLjH0tuk3t22hOe3Fj0cTLPej72vezWW E+VHMfTN6vig4H/Z7qKaRc3zRHj12r1jsmGUm1ljpxHpHuYQsXQgaJCN8nhKj88psIj25u Bw3afqTANKguLFx79JhX9i8nnXsZeWLqfK8x1ggEeZOKiEpIz3UszGERfPDKU6UgHxWk3h QshhEXLzrDmfzmnifVNlzKCdJtvAypobsohRu9Lnf7ki8CgjUL9aJU4v1kSreg== Received: from ltc.des.dev (unknown [IPv6:2a01:e0a:386:9c20:922e:16ff:fef1:acef]) (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 4X9JBp5lrqzKcQ; Fri, 20 Sep 2024 16:44:34 +0000 (UTC) (envelope-from des@freebsd.org) Received: by ltc.des.dev (Postfix, from userid 1001) id 55F73BF3A9; Fri, 20 Sep 2024 18:44:33 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Konstantin Belousov Cc: Yasuhiro Kimura , freebsd-current@freebsd.org Subject: Re: eval: Pipe call failed: Cannot allocate memory In-Reply-To: (Konstantin Belousov's message of "Fri, 20 Sep 2024 14:37:09 +0300") References: <20240920.185920.1538575456943179013.yasu@FreeBSD.org> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Fri, 20 Sep 2024 18:44:33 +0200 Message-ID: <86bk0iz34e.fsf@ltc.des.dev> 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 Konstantin Belousov writes: > Did the poudriere run itself finished successfully? > > Can you show the output from 'sysctl kern.ipc | grep pipe' before and > after the poudriere run? I have the same problem. The build did not finish successfully; it didn't even start. Simply running `poudriere ports -u` (basically a wrapper for `git pull --rebase`) was enough to render the system unusable. Apparently every pipe(2) call by a privileged process returns ENOMEM, which means no shell script more complex than hello world can run, and you can't ssh in because sshd fails to set up the pipe it uses to talk to the privsep child. % uname -a=20 FreeBSD pkg.des.dev 15.0-CURRENT FreeBSD 15.0-CURRENT #34 main-87fbd9fc7f: = Fri Sep 20 11:18:29 UTC 2024 root@pkg.des.dev:/usr/obj/poudriere/jails/= 15amd64/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64 % sysctl kern.ipc | grep pipe=20 kern.ipc.pipe_mindirect: 8192 kern.ipc.pipebuf_reserv: 2 kern.ipc.piperesizeallowed: 1 kern.ipc.piperesizefail: 0 kern.ipc.pipeallocfail: 0 kern.ipc.pipefragretry: 0 kern.ipc.pipekva: 40960 kern.ipc.maxpipekva: 3220561920 % sudo sh -c 'sysctl kern.ipc | grep pipe'=20 sh: Pipe call failed: Cannot allocate memory I also have a bunch of these on the console: negative pipecnt for uid =3D 0 DES --=20 Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org From nobody Fri Sep 20 19:01:29 2024 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 4X9MFn2VQLz5X6C5 for ; Fri, 20 Sep 2024 19:02:21 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from gate.home.utahime.org (gate.home.utahime.org [111.108.18.121]) (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 4X9MFm49hBz4MHc for ; Fri, 20 Sep 2024 19:02:20 +0000 (UTC) (envelope-from yasu@utahime.org) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=utahime.org; i=@utahime.org; q=dns/txt; s=maybe2024061701; t=1726858901; h=date : message-id : to : cc : subject : from : in-reply-to : references : mime-version : content-type : content-transfer-encoding : from; bh=Iwqsj7BSuIrtGt0hbt6Ifw8NC+x0k6FICDV8Wg6/PqA=; b=l5PYn069uk9LDbr0KhTv+uTj6gYWXx7TGH7obEcRto/E5s0/+x08PACGr9bTFuUKeRKtM 3IcGnlYMzRBsp889WbMLk4cCnc5AwPT7m7LTczUbt8wo1QsHRgZT1bLxJAhuwBqfm0mN3Ck uf2hJZNHp0zxZkgIEfYi1OdLH6na0p/B3SRHfHTmSz39uHJctLwUEg8x8ewOEMOtDBNW003 R0LIVIHDSehh+8Yq5kgye4yL6BenNQwdxNXsS5shWd8RdozdhCLiUPeivoq7RU5T0309GZb 3UrnQNdgB4uF9Mi8qErAPEtQKbxAgv26jpr3ivSrXR8YdAgvZ/TIV/kvv+MQ== Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by gate.home.utahime.org (Postfix) with ESMTPS id 22C788857; Sat, 21 Sep 2024 04:01:41 +0900 (JST) Received: from localhost (rolling.home.utahime.org [IPv6:240b:11:220:fe00::174:11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by eastasia.home.utahime.org (Postfix) with ESMTPSA id 901329026; Sat, 21 Sep 2024 04:01:40 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 1.4.1 at eastasia.home.utahime.org Date: Sat, 21 Sep 2024 04:01:29 +0900 (JST) Message-Id: <20240921.040129.1802547990896804154.yasu@utahime.org> To: kostikbel@gmail.com Cc: freebsd-current@freebsd.org Subject: Re: eval: Pipe call failed: Cannot allocate memory From: Yasuhiro Kimura In-Reply-To: References: <20240920.185920.1538575456943179013.yasu@FreeBSD.org> X-Mailer: Mew version 6.9 on Emacs 31.0.50 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: 7bit X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:2516, ipnet:111.108.0.0/16, country:JP] X-Rspamd-Queue-Id: 4X9MFm49hBz4MHc X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated From: Konstantin Belousov Subject: Re: eval: Pipe call failed: Cannot allocate memory Date: Fri, 20 Sep 2024 14:37:09 +0300 > Did the poudriere run itself finished successfully? Yes, it finished successfully. > Can you show the output from 'sysctl kern.ipc | grep pipe' before and > after the poudriere run? Before: # sysctl kern.ipc | grep pipe ~ kern.ipc.pipe_mindirect: 8192 kern.ipc.pipebuf_reserv: 2 kern.ipc.piperesizeallowed: 1 kern.ipc.piperesizefail: 0 kern.ipc.pipeallocfail: 0 kern.ipc.pipefragretry: 0 kern.ipc.pipekva: 778240 kern.ipc.maxpipekva: 535846912 After: # sysctl kern.ipc | grep pipe ~ kern.ipc.pipe_mindirect: 8192 kern.ipc.pipebuf_reserv: 2 kern.ipc.piperesizeallowed: 1 kern.ipc.piperesizefail: 0 kern.ipc.pipeallocfail: 0 kern.ipc.pipefragretry: 0 kern.ipc.pipekva: 778240 kern.ipc.maxpipekva: 535846912 --- Yasuhiro Kimura From nobody Fri Sep 20 19:34:34 2024 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 4X9Mz64462z5XGSP for ; Fri, 20 Sep 2024 19:34:42 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4X9Mz60mMnz4S7F for ; Fri, 20 Sep 2024 19:34:42 +0000 (UTC) (envelope-from kostikbel@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: from tom.home (kib@localhost [127.0.0.1] (may be forged)) by kib.kiev.ua (8.18.1/8.18.1) with ESMTP id 48KJYZHu052970; Fri, 20 Sep 2024 22:34:38 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 48KJYZHu052970 Received: (from kostik@localhost) by tom.home (8.18.1/8.18.1/Submit) id 48KJYYc2052969; Fri, 20 Sep 2024 22:34:34 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 20 Sep 2024 22:34:34 +0300 From: Konstantin Belousov To: Yasuhiro Kimura Cc: freebsd-current@freebsd.org Subject: Re: eval: Pipe call failed: Cannot allocate memory Message-ID: References: <20240920.185920.1538575456943179013.yasu@FreeBSD.org> <20240921.040129.1802547990896804154.yasu@utahime.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 Content-Disposition: inline In-Reply-To: <20240921.040129.1802547990896804154.yasu@utahime.org> X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on tom.home X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US] X-Rspamd-Queue-Id: 4X9Mz60mMnz4S7F X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated On Sat, Sep 21, 2024 at 04:01:29AM +0900, Yasuhiro Kimura wrote: > From: Konstantin Belousov > Subject: Re: eval: Pipe call failed: Cannot allocate memory > Date: Fri, 20 Sep 2024 14:37:09 +0300 > > > Did the poudriere run itself finished successfully? > > Yes, it finished successfully. > > > Can you show the output from 'sysctl kern.ipc | grep pipe' before and > > after the poudriere run? > > Before: > # sysctl kern.ipc | grep pipe ~ > kern.ipc.pipe_mindirect: 8192 > kern.ipc.pipebuf_reserv: 2 > kern.ipc.piperesizeallowed: 1 > kern.ipc.piperesizefail: 0 > kern.ipc.pipeallocfail: 0 > kern.ipc.pipefragretry: 0 > kern.ipc.pipekva: 778240 > kern.ipc.maxpipekva: 535846912 > > After: > # sysctl kern.ipc | grep pipe ~ > kern.ipc.pipe_mindirect: 8192 > kern.ipc.pipebuf_reserv: 2 > kern.ipc.piperesizeallowed: 1 > kern.ipc.piperesizefail: 0 > kern.ipc.pipeallocfail: 0 > kern.ipc.pipefragretry: 0 > kern.ipc.pipekva: 778240 > kern.ipc.maxpipekva: 535846912 Thanks. Can you please try the following on top of the latest kernel (there were 40769168a5ee227b96ea917 and d6074f73af5c813524022cf6) diff --git a/sys/kern/kern_resource.c b/sys/kern/kern_resource.c index d1a1d3ea3811..58723289af21 100644 --- a/sys/kern/kern_resource.c +++ b/sys/kern/kern_resource.c @@ -1510,6 +1510,18 @@ uifree(struct uidinfo *uip) if (uip->ui_vmsize != 0) printf("freeing uidinfo: uid = %d, swapuse = %lld\n", uip->ui_uid, (unsigned long long)uip->ui_vmsize); + if (uip->ui_ptscnt != 0) + printf("freeing uidinfo: uid = %d, ptscnt = %ld\n", + uip->ui_uid, uip->ui_ptscnt); + if (uip->ui_kqcnt != 0) + printf("freeing uidinfo: uid = %d, kqcnt = %ld\n", + uip->ui_uid, uip->ui_kqcnt); + if (uip->ui_umtxcnt != 0) + printf("freeing uidinfo: uid = %d, umtxcnt = %ld\n", + uip->ui_uid, uip->ui_umtxcnt); + if (uip->ui_pipecnt != 0) + printf("freeing uidinfo: uid = %d, pipecnt = %ld\n", + uip->ui_uid, uip->ui_pipecnt); free(uip, M_UIDINFO); } diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c index 2b81d08f7077..83d6f6cf48cf 100644 --- a/sys/kern/sys_pipe.c +++ b/sys/kern/sys_pipe.c @@ -581,7 +581,7 @@ pipespace_new(struct pipe *cpipe, int size) size = round_page(size); buffer = (caddr_t) vm_map_min(pipe_map); - if (!chgpipecnt(cpipe->pipe_pair->pp_owner->cr_ruidinfo, + if (!chgpipecnt(cpipe->pipe_pair->pp_owner->cr_uidinfo, size, lim_cur(curthread, RLIMIT_PIPEBUF))) { if (cpipe->pipe_buffer.buffer == NULL && size > SMALL_PIPE_SIZE) { @@ -595,7 +595,7 @@ pipespace_new(struct pipe *cpipe, int size) if (priv_check(curthread, PRIV_PIPEBUF) != 0 && maxpipekva / 100 * (100 - pipebuf_reserv) < amountpipekva + size) { vm_map_unlock(pipe_map); - chgpipecnt(cpipe->pipe_pair->pp_owner->cr_ruidinfo, -size, 0); + chgpipecnt(cpipe->pipe_pair->pp_owner->cr_uidinfo, -size, 0); if (cpipe->pipe_buffer.buffer == NULL && size > SMALL_PIPE_SIZE) { size = SMALL_PIPE_SIZE; @@ -608,7 +608,7 @@ pipespace_new(struct pipe *cpipe, int size) size, 0, VMFS_ANY_SPACE, VM_PROT_RW, VM_PROT_RW, 0); vm_map_unlock(pipe_map); if (error != KERN_SUCCESS) { - chgpipecnt(cpipe->pipe_pair->pp_owner->cr_ruidinfo, -size, 0); + chgpipecnt(cpipe->pipe_pair->pp_owner->cr_uidinfo, -size, 0); if (cpipe->pipe_buffer.buffer == NULL && size > SMALL_PIPE_SIZE) { size = SMALL_PIPE_SIZE; From nobody Fri Sep 20 19:57:10 2024 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 4X9NTV1R84z5XNQ5 for ; Fri, 20 Sep 2024 19:57:34 +0000 (UTC) (envelope-from yasu@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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X9NTT4LZSz4X4s; Fri, 20 Sep 2024 19:57:33 +0000 (UTC) (envelope-from yasu@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726862253; 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=EgcaVmlLfv7LN3sut3/UZC+PfM305V7XqXPXL2yLTp8=; b=McnSGygbKsfoHWqLAP9rP6pLLuKBfSSeU7g90UmfnaSu7RhBZ8YFNG3ku+L4PUMtIS7wTb ew5llYzLwrZ2LXtHlrYIFBZ56bKzXEe9hQL+hE3rjjQpyGSslUhHee8xm+GYFmWckFjkGK cBqkStbDMmEtTAEQFyLX1Fuiyku5ANqpIeecxrkC49JXX1XO2HXgmSfTH90aNFf7LXoML/ 2Ud90dIbnhYZDD9t9TdRfT7RyaFtgKvfYD9QG4ghQMS42IDIKRtuSpMLLhUgchLfc5PQgD Z6jiz9whgWvKILmBimkUZmPe4+Vn6t3LTYTbE+N0xzGPv4p9feptZ14KBVCiCA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726862253; a=rsa-sha256; cv=none; b=FXTveaVINGnztIyDiwKuV8w6km4eOYwfF8pdnGCx/GEM2I/YCaVudrfRvVmufREkB3Y+va yUDbWYyZrpPfz9PdiFy1MTZfxaIGl4qsAKB+E4ajzwV8QMTfsuHetI4juvevJvVZm5wXUl rKCzbFDD7/D1C4FdayRCkIWDmgk7wQrDIc0/u7k5jrBloEAYa5Ey6pCrL3VOCl7pNN/32x mwL6vHI8WOxrbOmdUEyc3vIDU+zxWGD+HXmwo99mAoWbCQckXSF2isJvkUDlb8t8FMwBn3 6v+u804zKmr1MZ02K5jRLgkkFy/DL3oROpW8JiKmxCSWCfcg5yWXuv/vtdUm5Q== 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=1726862253; 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=EgcaVmlLfv7LN3sut3/UZC+PfM305V7XqXPXL2yLTp8=; b=tpqtGoaNNWMecYOqVZwLuQxU5u3hBB6NDmCQX4sm3wcIdLfKwgG/g/QkEooCKRgY0Hig6b NtH33y/psQOGStrw8Zi7Y3KmfrJlmo+9wioHf8BHGy+DvYvENkrqg735QQXZ3Mpur8DDoM 6JnPGa2kUoT8AvDEVlSa4HDw0qhBo1dLb02oubuli/r7Ik/Pz/cLCagUFFpZS0MnI+VghY WrPL/YLdxbKvPTCV9VvQ85gLMu1XLMmmq6IiwzRNSTX4J2gsPsDzjKMaEnrSjElziJhUk7 jk3RvSM8XBjisFsAaKHvMYhh3IfOJnhyhQSH8hrWhW9imRg3BzcJYFhaRt4tcA== Received: from localhost (unknown [IPv6:240b:11:220:fe00::174:11]) (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: yasu/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4X9NTS4blWzPd7; Fri, 20 Sep 2024 19:57:32 +0000 (UTC) (envelope-from yasu@FreeBSD.org) Date: Sat, 21 Sep 2024 04:57:10 +0900 (JST) Message-Id: <20240921.045710.1057512412307853813.yasu@FreeBSD.org> To: kostikbel@gmail.com Cc: freebsd-current@freebsd.org Subject: Re: eval: Pipe call failed: Cannot allocate memory From: Yasuhiro Kimura In-Reply-To: References: <20240921.040129.1802547990896804154.yasu@utahime.org> X-Mailer: Mew version 6.9 on Emacs 31.0.50 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: 7bit From: Konstantin Belousov Subject: Re: eval: Pipe call failed: Cannot allocate memory Date: Fri, 20 Sep 2024 22:34:34 +0300 > Thanks. Can you please try the following on top of the latest kernel > (there were 40769168a5ee227b96ea917 and d6074f73af5c813524022cf6) I tried it with commit 401516dbc54 and now error messages aren't displayed. --- Yasuhiro Kimura From nobody Sun Sep 22 17:15:04 2024 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 4XBXnC2Z6Cz5WPPZ for ; Sun, 22 Sep 2024 17:15:11 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from mail.oetec.com (mail.oetec.com [108.160.241.186]) (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 "mail.oetec.com", Issuer "E5" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XBXnB00Lkz4JFq for ; Sun, 22 Sep 2024 17:15:09 +0000 (UTC) (envelope-from dclarke@blastwave.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=blastwave.org header.s=default header.b="qmrGP6/n"; dmarc=pass (policy=quarantine) header.from=blastwave.org; spf=pass (mx1.freebsd.org: domain of dclarke@blastwave.org designates 108.160.241.186 as permitted sender) smtp.mailfrom=dclarke@blastwave.org Received: from [172.16.35.3] (pool-99-253-118-250.cpe.net.cable.rogers.com [99.253.118.250]) (authenticated bits=0) by mail.oetec.com (8.17.1/8.17.1) with ESMTPSA id 48MHF5tw056447 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Sun, 22 Sep 2024 13:15:06 -0400 (EDT) (envelope-from dclarke@blastwave.org) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=blastwave.org; s=default; t=1727025306; bh=oqmTWitLgOd2KyDaBQOGLP1KvYZYrJ50hV03drCTDF4=; h=Date:To:From:Subject; b=qmrGP6/nq9emjp0yRcbue+ACBJAMzc/cpdsG5xoOze8QfQRZotR6bISBoo8lIWHKo rdNjW0vrIb1F3TC/ceky9U39vdpu80eIG0xrJpW7JuIkcjdGTTNak3teqNt9vsCM5x b4Y3GXuBJk0jjxMbyEwARvdcCv4Hk0s29eb1z9aRa0AGCXbGdVfZqkzh7Ln8+1vPBC JjxudfF+pR2jkqbW4Jx8QuodQLNaG+EDIXU1XgwikSdyQp5PCi2rsKSQdjbnpcyY7f b2Df5xAybcePd0Oqfpyiw5zGvonj/7sfnh4Vk9x9p0OUc2MNuRg5i8DkqJpw38lBP3 zoCIajxjluWlA== Message-ID: <2661b46d-b1bb-4731-acbd-75a7fb3c6233@blastwave.org> Date: Sun, 22 Sep 2024 13:15:04 -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 Thunderbird To: FreeBSD Current Content-Language: en-CA From: Dennis Clarke Subject: regarding that stack of newline chars expressed at boot Organization: GENUNIX Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-oetec-MailScanner-Information: Please contact the ISP for more information X-oetec-MailScanner-ID: 48MHF5tw056447 X-oetec-MailScanner: Found to be clean X-oetec-MailScanner-From: dclarke@blastwave.org X-Spam-Status: No X-Spamd-Result: default: False [-4.69 / 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)[blastwave.org,quarantine]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCVD_IN_DNSWL_MED(-0.20)[108.160.241.186:from]; R_DKIM_ALLOW(-0.20)[blastwave.org:s=default]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; TO_DN_ALL(0.00)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[current@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[blastwave.org:+]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:812, ipnet:108.160.240.0/20, country:CA]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4XBXnB00Lkz4JFq X-Spamd-Bar: ---- This is from the "better late than never" file. So yes, any machine I had with a serial console was kicking out a newline char on every one of the "autoboot_delay" countdown. Seems to be a default of 10 secs and so therefore I was seeing ten lines of stuff. Seems to be related to : https://cgit.freebsd.org/src/commit/?id=101afbc6ee2f06f77e6886f1f3ffe115c579967c The trivial solution is to NOT use and old fashioned 80x24 DEC VT100 type XTerm size for the session that connects to serial. The behavior vanishes at 80x25 now. I see that as the old DOS PC-Term size that some folks at Microsoft loved. Many years ago. Maybe it would be more elegant to just output the countdown secs number and then utter 010 BS chars and keep kicking out numbers that overwrite whatever was there before? Or do nothing. Hardly an issue really. Just seemed weird when I saw it. Thanks for letting me paint the bikeshed. -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken From nobody Sun Sep 22 19:46:29 2024 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 4XBc82758Jz5Xl42 for ; Sun, 22 Sep 2024 19:46:42 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XBc826ZFMz4scB for ; Sun, 22 Sep 2024 19:46:42 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pj1-x102b.google.com with SMTP id 98e67ed59e1d1-2d877e9054eso2554367a91.3 for ; Sun, 22 Sep 2024 12:46:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1727034402; x=1727639202; 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=/iKdOpzRpk7UOgvIkuCrQnWoIlVOz6olQN8nYaGZryw=; b=XmzAWcgx5alNDJPOj5+EpbBFG3L5FGwEvdRIeT6NOMhGEtHcPp1CJvPCIB+oLOmMyb oho8HpMdLeyCnODpufrkRZvuqpDpvgu9OtRczZoxIkAt9eci6q1vl0XkLiLghmuSrjrh PjnLkyNeaFb67WM6w0o/rSZNiYx8bXa4il9SzKnfa6CSEfu8qeaSjvwqhE9xUhfNZH1s TJcqZ53J9x0vdXRUAnZoZ+e31oaNyEHhDaTcLDmq/xfXJxEnIDlSG0by2+MVKg19lcgm VNbW3Ru6ShEVvsHf01FK08ud40NnIoQ4WI6RTVnycxPDfFU12TLCpA1QgqaQsJVS4Dfj nBgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727034402; x=1727639202; 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=/iKdOpzRpk7UOgvIkuCrQnWoIlVOz6olQN8nYaGZryw=; b=luGqQHT7oghpBBFaI7MYo3ttFbq+AWIkhtnazMJepTMxvw90cq2qGP8wp6cD8YHnDa YGHdSXajTOjJY2+d0KRqY9miPrIgUBenujf+k4/hRcsKtwaIWCfhQh7e5Gdag455O4Jg NZm+BDNaFzE3z5TOZicR0Y9ZjY3Wjya+dv/kaGbDlaRROTMepUVS5sidxEeeOmANVq77 PPlacQoA++ag3Wyye17B5yI3Xfzg01SVNwUoo8LHlbJrEftX4M6r4oMtqudnjnIsxSNO ygJWLy8xtJgoDE5NiCZ+VcZYxWSL4KMGmUckobZWfUpP5s4rea/mFeY6bHZfom9Q+4fk dSXw== X-Gm-Message-State: AOJu0Yzjji5po1sex0PqDLPYZbrjcA951RfXb4GLBHZ/kEZpQ6tb92Ep PU5sKUeDGrMDihZf7rsV7CSJVAcHJBh6fhbnu1jj8oy/FcuwgVhyMU0dcg/4nxvD2+hRDJ/ix/L hJpqK7bJR7SeI7RSwSytDjectJURw49k4wT6yFYBlphZaRP/awwG+rg== X-Google-Smtp-Source: AGHT+IHVppq4Kx3VmSARVPeMw5QSH+hXKZ9/1FjligW6pZ5DrkkXLuBa8tLzCn5eiEW07D+FrGYVo3odB2iGMR6Ee6U= X-Received: by 2002:a17:90a:b117:b0:2d8:7572:4bc1 with SMTP id 98e67ed59e1d1-2dd7f3806abmr12169051a91.1.1727034401752; Sun, 22 Sep 2024 12:46:41 -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: <2661b46d-b1bb-4731-acbd-75a7fb3c6233@blastwave.org> In-Reply-To: <2661b46d-b1bb-4731-acbd-75a7fb3c6233@blastwave.org> From: Warner Losh Date: Sun, 22 Sep 2024 20:46:29 +0100 Message-ID: Subject: Re: regarding that stack of newline chars expressed at boot To: Dennis Clarke Cc: FreeBSD Current Content-Type: multipart/alternative; boundary="0000000000000826e70622ba8879" 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: 4XBc826ZFMz4scB X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated --0000000000000826e70622ba8879 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Consider the following (cut and pasted, so you may need to tweak). Warner diff --git a/stand/lua/menu.lua b/stand/lua/menu.lua index ed84360d93b0..bab99b79c253 100644 --- a/stand/lua/menu.lua +++ b/stand/lua/menu.lua @@ -533,6 +533,14 @@ function menu.run() print("Exiting menu!") end +local function print_str(str) + local i + + for i =3D 1, str.len() do + printc(str[i]) + end +end + function menu.autoboot(delay) local x =3D loader.getenv("loader_menu_timeout_x") or 4 local y =3D loader.getenv("loader_menu_timeout_y") or 24 @@ -544,7 +552,7 @@ function menu.autoboot(delay) if last =3D=3D nil or last ~=3D time then last =3D time screen.setcursor(x, y) - print("Autoboot in " .. time .. + print_str("Autoboot in " .. time .. " seconds. [Space] to pause ") screen.defcursor() end On Sun, Sep 22, 2024 at 6:15=E2=80=AFPM Dennis Clarke wrote: > > > This is from the "better late than never" file. So yes, any machine I > had with a serial console was kicking out a newline char on every one > of the "autoboot_delay" countdown. Seems to be a default of 10 secs > and so therefore I was seeing ten lines of stuff. > > Seems to be related to : > > > > https://cgit.freebsd.org/src/commit/?id=3D101afbc6ee2f06f77e6886f1f3ffe11= 5c579967c > > The trivial solution is to NOT use and old fashioned 80x24 DEC VT100 > type XTerm size for the session that connects to serial. The behavior > vanishes at 80x25 now. I see that as the old DOS PC-Term size that some > folks at Microsoft loved. Many years ago. > > Maybe it would be more elegant to just output the countdown secs number > and then utter 010 BS chars and keep kicking out numbers that overwrite > whatever was there before? > > Or do nothing. > > Hardly an issue really. Just seemed weird when I saw it. > > Thanks for letting me paint the bikeshed. > > > -- > Dennis Clarke > RISC-V/SPARC/PPC/ARM/CISC > UNIX and Linux spoken > > --0000000000000826e70622ba8879 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Consider the following (cut and pasted, so you may ne= ed to tweak).

Warner

diff --gi= t a/stand/lua/menu.lua b/stand/lua/menu.lua
index ed84360d93b0..bab99b79= c253 100644
--- a/stand/lua/menu.lua
+++ b/stand/lua/menu.lua
@@ -= 533,6 +533,14 @@ function menu.run()
=C2=A0 =C2=A0 =C2=A0 =C2=A0 print(&= quot;Exiting menu!")
=C2=A0end

+local function print_str(str= )
+ local i
+
+ for i =3D 1, str.len() do
+ =C2=A0 =C2=A0 =C2= =A0 =C2=A0 printc(str[i])
+ end
+end
+
=C2=A0function menu.auto= boot(delay)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 local x =3D loader.getenv("= loader_menu_timeout_x") or 4
=C2=A0 =C2=A0 =C2=A0 =C2=A0 local y = =3D loader.getenv("loader_menu_timeout_y") or 24
@@ -544,7 +55= 2,7 @@ function menu.autoboot(delay)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 if last =3D=3D nil or last ~=3D time then
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 last =3D time
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 screen.setcursor(x, y)
- =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 print("Autoboot in &q= uot; .. time ..
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 print_str("Autoboot in " .. time ..
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 " seconds. [Space] to pause ")
=C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 screen.defcursor()=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 end
On Sun, = Sep 22, 2024 at 6:15=E2=80=AFPM Dennis Clarke <dclarke@blastwave.org> wrote:


This is from the "better late than never" file. So yes, any machi= ne I
had with a serial console was kicking out a newline char on every one
of the "autoboot_delay" countdown. Seems to be a default of 10 se= cs
and so therefore I was seeing ten lines of stuff.

Seems to be related to :


https://cgit.freeb= sd.org/src/commit/?id=3D101afbc6ee2f06f77e6886f1f3ffe115c579967c

The trivial solution is to NOT use and old fashioned 80x24 DEC VT100
type XTerm size for the session that connects to serial. The behavior
vanishes at 80x25 now. I see that as the old DOS PC-Term size that some
folks at Microsoft loved. Many years ago.

Maybe it would be more elegant to just output the countdown secs number
and then utter 010 BS chars and keep kicking out numbers that overwrite
whatever was there before?

Or do nothing.

Hardly an issue really. Just seemed weird when I saw it.

Thanks for letting=C2=A0 me paint the bikeshed.


--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken

--0000000000000826e70622ba8879--