Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Mar 2024 08:35:16 -0800
From:      Warner Losh <imp@bsdimp.com>
To:        "Patrick M. Hausen" <hausen@punkt.de>
Cc:        Alan Somers <asomers@freebsd.org>, Freebsd Stable <freebsd-stable@freebsd.org>
Subject:   Re: kqueuex() system call was MFC'ed to releng/13 and releng/13.3?
Message-ID:  <CANCZdfoJ84aMA8EU6yuvDdZSB0%2BgJyAkZcyoZdO6fPixZ7HFcQ@mail.gmail.com>
In-Reply-To: <ECC3003D-6CB1-4521-A4B0-EA50DE58EB60@punkt.de>
References:  <D6DE8A82-A75C-450C-91F2-3A0908D03772@punkt.de> <CAOtMX2g8pm3Otp=S%2B1F=7Q4AoJTeGCuqJorcK7usDmZivyQhMg@mail.gmail.com> <ECC3003D-6CB1-4521-A4B0-EA50DE58EB60@punkt.de>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000b3732a061314a968
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Thu, Mar 7, 2024, 8:30=E2=80=AFAM Patrick M. Hausen <hausen@punkt.de> wr=
ote:

> Hi!
>
> > Am 07.03.2024 um 16:44 schrieb Alan Somers <asomers@freebsd.org>:
> >> Isn't -stable implying there won't be incompatible ABI changes?
> >
> > Yes, there won't be any _incompatible_ ABI changes.  But the addition
> > of a new syscall is a _compatible_ change.  Similar changes have
> > happened before.
> >
> >>
> >> This creates a huge problem for everyone running jails on TrueNAS CORE
> when the packages for releng/13
> >> will switch from 13.2 to 13.3 ...
> >>
> >> Of course this is not the FreeBSD projects fault but that did come as
> an unpleasant surprise, nonetheless.
> >>
> >
> > Running jails that are newer than the host has never been supported.
> > It was just luck that your 13.2 jail worked on a 13.1 host.  The host
> > must always run a kernel at least as new as what the jail was built
> > for.
>
> Thanks for the explanation.
>

Yea. It's hard to know the future so old kernels can't know about new
system calls. Our support for forwards compatibility has typically been
confined to short periods in current when the issue affected bootstrapping.
New features in the kernel are often impossible to emulate on older kernels
which is why we generally don't support new binaries with old kernels.

Warner

>
> Kind regards,
> Patrick
> --
> punkt.de GmbH
> Patrick M. Hausen
> .infrastructure
>
> Sophienstr. 187
> 76185 Karlsruhe
>
> Tel. +49 721 9109500
>
> https://infrastructure.punkt.de
> info@punkt.de
>
> AG Mannheim 108285
> Gesch=C3=A4ftsf=C3=BChrer: Daniel Lienert, Fabian Stein
>
>

--000000000000b3732a061314a968
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Thu, Mar 7, 2024, 8:30=E2=80=AFAM Patrick M. Hausen=
 &lt;<a href=3D"mailto:hausen@punkt.de">hausen@punkt.de</a>&gt; wrote:<br><=
/div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-le=
ft:1px #ccc solid;padding-left:1ex">Hi!<br>
<br>
&gt; Am 07.03.2024 um 16:44 schrieb Alan Somers &lt;<a href=3D"mailto:asome=
rs@freebsd.org" target=3D"_blank" rel=3D"noreferrer">asomers@freebsd.org</a=
>&gt;:<br>
&gt;&gt; Isn&#39;t -stable implying there won&#39;t be incompatible ABI cha=
nges?<br>
&gt; <br>
&gt; Yes, there won&#39;t be any _incompatible_ ABI changes.=C2=A0 But the =
addition<br>
&gt; of a new syscall is a _compatible_ change.=C2=A0 Similar changes have<=
br>
&gt; happened before.<br>
&gt; <br>
&gt;&gt; <br>
&gt;&gt; This creates a huge problem for everyone running jails on TrueNAS =
CORE when the packages for releng/13<br>
&gt;&gt; will switch from 13.2 to 13.3 ...<br>
&gt;&gt; <br>
&gt;&gt; Of course this is not the FreeBSD projects fault but that did come=
 as an unpleasant surprise, nonetheless.<br>
&gt;&gt; <br>
&gt; <br>
&gt; Running jails that are newer than the host has never been supported.<b=
r>
&gt; It was just luck that your 13.2 jail worked on a 13.1 host.=C2=A0 The =
host<br>
&gt; must always run a kernel at least as new as what the jail was built<br=
>
&gt; for.<br>
<br>
Thanks for the explanation.<br></blockquote></div></div><div dir=3D"auto"><=
br></div><div dir=3D"auto">Yea. It&#39;s hard to know the future so old ker=
nels can&#39;t know about new system calls. Our support for forwards compat=
ibility has typically been confined to short periods in current when the is=
sue affected bootstrapping. New features in the kernel are often impossible=
 to emulate on older kernels which is why we generally don&#39;t support ne=
w binaries with old kernels.=C2=A0</div><div dir=3D"auto"><br></div><div di=
r=3D"auto">Warner</div><div dir=3D"auto"><div class=3D"gmail_quote"><blockq=
uote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc =
solid;padding-left:1ex">
<br>
Kind regards,<br>
Patrick<br>
-- <br>
<a href=3D"http://punkt.de" rel=3D"noreferrer noreferrer" target=3D"_blank"=
>punkt.de</a> GmbH<br>
Patrick M. Hausen<br>
.infrastructure<br>
<br>
Sophienstr. 187<br>
76185 Karlsruhe<br>
<br>
Tel. +49 721 9109500<br>
<br>
<a href=3D"https://infrastructure.punkt.de" rel=3D"noreferrer noreferrer" t=
arget=3D"_blank">https://infrastructure.punkt.de</a><br>;
<a href=3D"mailto:info@punkt.de" target=3D"_blank" rel=3D"noreferrer">info@=
punkt.de</a><br>
<br>
AG Mannheim 108285<br>
Gesch=C3=A4ftsf=C3=BChrer: Daniel Lienert, Fabian Stein<br>
<br>
</blockquote></div></div></div>

--000000000000b3732a061314a968--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfoJ84aMA8EU6yuvDdZSB0%2BgJyAkZcyoZdO6fPixZ7HFcQ>