From nobody Sun Oct 06 07:40:44 2024 X-Original-To: dev-commits-src-main@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 4XLvNF1CZgz5YRp8 for ; Sun, 06 Oct 2024 07:41:01 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-25.consmr.mail.gq1.yahoo.com (sonic312-25.consmr.mail.gq1.yahoo.com [98.137.69.206]) (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 4XLvND6Ry9z4W3J for ; Sun, 6 Oct 2024 07:41:00 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1728200458; bh=jWGmQ/IIcZaNS6Q6UFGIhuXR3hn4/Efkk2i/GGGQrm4=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=CvnSFOBNMuwFyNrAt03Wa9Eerk4nA/hYvrnyXY7HRF+YmAZV7bIJWIKHOuhU59nmhuQtnLJjqQdAzVtSczuZY5x0pf7fDz8OJkcNULn5iQLJojuYnxSKxjgZNJNDYqZfOcURpJs+RVROSDztbQD8emCVjzsxxPTUMOOqHR/ll+8qB5NnsWXxrNjUbgDgVRnE/r+5QORSe9ikRFYU9SF63odqDTzrz8lb3M9aIrHusnbwQRHOBS0pBCwGh3Jg1ub/UIKOFSrYn8tLw81YA9ehyWZ4b3aB1AVNqCLNK0tcgxplYXBxE/XyD8WwbKCGUvR8lB3suSYc3X465rsMpUfaMQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1728200458; bh=fV6Zx1iPDLbDqoM5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heGpGu7Vct7alfsgoMgDn5h36qa91idVnj7iw7PAokqHT.FT1ygrYFsb4rOfg89iTns 2rUALNMm34e6C5EA8.KN4a5wDs4UTyvvKRH249xR.UwQa_oGokZ47w3LM8QtYifQ5QL6zk820Pzh SqjjWsNMW2pbTi1KE1jOGnrQPTd9M1.16HqfVLjwFNYL9vaTeGk4X93D9yQEVNsmMK6hzon_EPmM fn4T2nhieuOyNo0zYCN2928e.dg6FX16o7Tgq7twZd_ysPusoLdYdwIhGv3rohdRJhXTjPdXVbL1 mBLVLPdE6tGa2oIL4.JAyNVf7iCSx4UKZ3oTj_uQaJfJe2_D9KTc47WzPag7P10IcYanZ8DtjrNf ixMBiMMdQI1e3B0QnTuj372oR1OI1.sTbWzPb8aHYSJsDj.VyNlJcTUvpqkibglyxSEWOQEsNJqT 4zfuiW7eC4dm1GHHyKS6uwilBGYu4heAa8aQG6Abg5PtL5ebaugStNGPC7o6oMtapfDhrXMlJWkJ rM7XUic9J5rB1bssOLn4KgWVK1rBLAZhUrj_mOInQILXpIDIn6YNudzSXo2uVx9bWl3pO9a9sHwS 1ThjnYMfrvYVkQ1tbj0WWO27KoE5bCgn0mrY- X-Sonic-MF: X-Sonic-ID: 9c75c41c-d681-49b4-a272-fc4be9b95424 Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Sun, 6 Oct 2024 07:40:58 +0000 Received: by hermes--production-gq1-5d95dc458-4tw7n (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 4a3f2811d35b5fe682ba3fdaea989815; Sun, 06 Oct 2024 07:40:55 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\)) Subject: Re: git: 2c1963d46335 - main - procfs rlimit: handle pipebuf [and related] :pipebuf . . . Invalid argument From: Mark Millard In-Reply-To: Date: Sun, 6 Oct 2024 00:40:44 -0700 Cc: Current FreeBSD , dev-commits-src-main@freebsd.org, Konstantin Belousov Content-Transfer-Encoding: quoted-printable Message-Id: References: <34434D36-A751-477A-8596-72A564113FB8.ref@yahoo.com> <34434D36-A751-477A-8596-72A564113FB8@yahoo.com> To: Konstantin Belousov X-Mailer: Apple Mail (2.3776.700.51) 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:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Queue-Id: 4XLvND6Ry9z4W3J X-Spamd-Bar: ---- On Oct 5, 2024, at 23:30, Konstantin Belousov = wrote: > On Sat, Oct 05, 2024 at 06:14:40PM -0700, Mark Millard wrote: >> Konstantin Belousov wrote on >> Date: Fri, 20 Sep 2024 21:09:29 UTC : >>=20 >>> The branch main has been updated by kib: >>>=20 >>> URL: = https://cgit.FreeBSD.org/src/commit/?id=3D2c1963d46335576d29fe21a4e7b424c4= 7b711ef4 >>>=20 >>> commit 2c1963d46335576d29fe21a4e7b424c47b711ef4 >>> Author: Konstantin Belousov >>> AuthorDate: 2024-09-20 15:04:06 +0000 >>> Commit: Konstantin Belousov >>> CommitDate: 2024-09-20 21:08:51 +0000 >>>=20 >>> procfs rlimit: handle pipebuf >>>=20 >>> Sponsored by: The FreeBSD Foundation >>> MFC after: 1 week >>> --- >>> sys/sys/resource.h | 3 ++- >>> 1 file changed, 2 insertions(+), 1 deletion(-) >>>=20 >>> diff --git a/sys/sys/resource.h b/sys/sys/resource.h >>> index c18e45d50b30..81346028f1ed 100644 >>> --- a/sys/sys/resource.h >>> +++ b/sys/sys/resource.h >>> @@ -127,7 +127,7 @@ struct __wrusage { >>> */ >>>=20 >>> #ifdef _RLIMIT_IDENT >>> -static const char *rlimit_ident[RLIM_NLIMITS] =3D { >>> +static const char *rlimit_ident[] =3D { >>> "cpu", >>> "fsize", >>> "data", >>> @@ -143,6 +143,7 @@ static const char *rlimit_ident[RLIM_NLIMITS] =3D = { >>> "swap", >>> "kqueues", >>> "umtx", >>> + "pipebuf", >>> }; >>> #endif >>=20 >> As part of an experiment I just had 1500024 (somewhat after the >> libmd.so.{6 -> 7} update) boot with a 1500023 kernel that was >> somewhat before the fairly recent pipebuf related changes, such >> as the above. This produced a bunch of error messages, such as: >>=20 >>=20 >> . . . >> ugen0.7: at usbus0 (disconnected) >> Warning: no time-of-day clock registered, system time will not be set = accurately >> 2024-10-05T17:33:58.032649-07:00 - init 20 - - getting pipebuf = resource limit: Invalid argument >> . . . >> Starting devd. >> limits: setrlimit pipebuf: Invalid argument >> /etc/rc: WARNING: failed to start devd >> Waiting 30s for the default route interface: = ............................. >> . . . >> Starting syslogd. >> limits: setrlimit pipebuf: Invalid argument >> /etc/rc: WARNING: failed to start syslogd >> . . . >> Starting rpcbind. >> limits: setrlimit pipebuf: Invalid argument >> /etc/rc: WARNING: failed to start rpcbind >> NFS access cache time=3D60 >> Starting ntpd. >> limits: setrlimit pipebuf: Invalid argument >> /etc/rc: WARNING: failed to start ntpd >> . . . >> Starting rpcbind. >> limits: setrlimit pipebuf: Invalid argument >> /etc/rc.d/mountd: WARNING: Unable to force rpcbind. It may already be = running. >> Starting mountd. >> limits: setrlimit pipebuf: Invalid argument >> /etc/rc: WARNING: Unable to force mountd. It may already be running. >> /etc/rc: WARNING: failed precmd routine for nfsd >> . . . >> Starting sshd. >> limits: setrlimit pipebuf: Invalid argument >> /etc/rc: WARNING: failed to start sshd >> Starting cron. >> limits: setrlimit pipebuf: Invalid argument >> /etc/rc: WARNING: failed to start cron >> . . . >> 2024-10-06T00:34:50.800786-07:00 aarch64-main-pbase init 1014 - - = getting pipebuf resource limit: Invalid argument >> 2024-10-06T00:34:50.800858-07:00 aarch64-main-pbase init 1015 - - = getting pipebuf resource limit: Invalid argument >> 2024-10-06T00:34:50.800939-07:00 aarch64-main-pbase init 1016 - - = getting pipebuf resource limit: Invalid argument >> 2024-10-06T00:34:50.801101-07:00 aarch64-main-pbase init 1018 - - = getting pipebuf resource limit: Invalid argument >> 2024-10-06T00:34:50.801090-07:00 aarch64-main-pbase init 1017 - - = getting pipebuf resource limit: Invalid argument >> 2024-10-06T00:34:50.801240-07:00 aarch64-main-pbase init 1020 - - = getting pipebuf resource limit: Invalid argument >> 2024-10-06T00:34:50.801250-07:00 aarch64-main-pbase init 1019 - - = getting pipebuf resource limit: Invalid argument >> 2024-10-06T00:34:50.801406-07:00 aarch64-main-pbase init 1021 - - = getting pipebuf resource limit: Invalid argument >> ugen0.6: at usbus0 >> 2024-10-06T00:35:08.833554-07:00 aarch64-main-pbase login 1014 - - = login on ttyv0 as root >> 2024-10-06T00:35:08.833623-07:00 aarch64-main-pbase login 1014 - - = ROOT LOGIN (root) ON ttyv0 >> 2024-10-06T00:35:08.835269-07:00 aarch64-main-pbase login 1022 - - = getting pipebuf resource limit: Invalid argument >> . . . >>=20 >>=20 >> It seems related changes introducing incompatibility with even >> recent older kernels should have had a __FreeBSD_version update >> and might need to be documented for the now-existing >> incompatibility with most of the 1500023 and older history? >=20 > We do not provide forward compatibility between kernel and userspace. > User binaries must be newer than kernel. Well, the official port-packing builders frequently use combinations like: Host OSVERSION: 1500023 [So: kernel and world] Jail OSVERSION: 1500024 [So: Jail world, still 1500023 kernel] I temporarily had kernel: 1500023 (not very old) and world: 1500024, no jail or chroot involved in the activity. [This was by accident of timing, not a deliberate status.] I expect that a world from just before 1500024 would have had the same sort of results, with both then being 1500023, which is part of why I reported what I did. [The change to 1500024 is not tied to the pipebuf changes but to libmd updates.] Are you suggesting that I should not expect two 1500023's (one kernel, one world) to be compatible unless I also know the more detailed timing relationship within 1500023's span? I though the ordering principles were for across distinct values, not for the same value. If I was wrong, it would be good to know that explicitly. =3D=3D=3D Mark Millard marklmi at yahoo.com