From nobody Thu Aug 01 15:43:11 2024 X-Original-To: dev-commits-src-branches@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 4WZYCK3XWVz5SxVG for ; Thu, 01 Aug 2024 15:43:25 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) (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 4WZYCK1Yb9z4XtD for ; Thu, 1 Aug 2024 15:43:25 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1fc4fccdd78so53466175ad.2 for ; Thu, 01 Aug 2024 08:43:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1722527003; x=1723131803; 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=G/ILJNR2Iy43n0L188MPo0oewSepmp/JC4TJoVMSgLU=; b=wKQC+VVER0pGYtyLaS/NoOCt9PEA2Bx0s68QoMv2UNuuBiUxj5u/JMRlPx5s2AFZ9S 1CtRmdqYAPGH1lMHjfa+Fz2/9MiIfhaAqz2lMDyCkpd4jUDUqjb+3Z5ChBfPE8Pcv+ZG C+E5gP0swHVeMw3ulckf4nO28yEM9w7tjjbs2cF0219u2A4EoaaOtLz5jdnVR/kcpWoh hSqqPXQ97MuSX8R1LKmQcC0GJ0q3y1VvBogk3JtzQeeurDmsHRBj810En7ab3CCXju3n 4GGyJbRA184ZC1IyLNea7rjL8YCnTFlwoBSTRvdT9Z2yFfk4wgzVGE1Mv6KhRzGPIrWg Oosg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722527003; x=1723131803; 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=G/ILJNR2Iy43n0L188MPo0oewSepmp/JC4TJoVMSgLU=; b=RuvXI7iV112fDRgqJbI5EMVdOvZ6RYGqWWkHri8XinvZAxgklfJZhNIgsW1+MCCZcq SMCE1AH3PHvIYSgQaJ5iprEMorTJPeXRQ3Am74hz92PREJWIMOvXys22Gryd29WPRbha PEGa76ca3m5kVnZHGS3xlyh4UvtXGY4bmsMUo1Z/awNmmyYyY2gkhVi8VQhJLcURX/Pn r734GO2aGrkME1u8sCCin8NoHlXyte0woiKNiSgpADAGE3eMc4pS7NDsyYx7kaMjryhF QYITPlbquDzpth0fZsgVJIueMrabVi4pgvk9X5jrTymiMss0BjXx73Sto3c5+KY1LQAk N8gw== X-Forwarded-Encrypted: i=1; AJvYcCXjT9oxaM2e/E5dAGpyBke+Pxgz0LezCVGPD90beqAE21VMx/fjjUpwTNKZz67qb7unpzudIRKU0sly+Gm+JaWhUv8EVRtgqKwPXo1Wb+pBNPEV46Q= X-Gm-Message-State: AOJu0Yw7Zv1ORsTKWbVycl8hueEP3+3hQpH6+MDGAlqVHirwUCPncT+d xQ8+uMJ31YX//41BwX4DVWkqr6Nx4GrCWcAz6q11RE0do+QxTnUXknK1aVZemI9iptgUujUkAVt NDVU5ROIWIwTRCcESUxHgtZ7zAeG4stHYcSG7DFBzaefhGn+Y X-Google-Smtp-Source: AGHT+IHtmSRh8hv4GrM/RlXoOhpMShc43eMysi0iyFRCryWLFN2HFHlxpRDGgpTQKwvKh1ScTQvyX6Z7GDdRCeDEn30= X-Received: by 2002:a17:902:edd3:b0:1fc:4aff:5b46 with SMTP id d9443c01a7336-1ff574911a6mr5469785ad.47.1722527002907; Thu, 01 Aug 2024 08:43:22 -0700 (PDT) List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 References: <202408011457.471Evboq057700@gitrepo.freebsd.org> In-Reply-To: From: Warner Losh Date: Thu, 1 Aug 2024 09:43:11 -0600 Message-ID: Subject: Re: git: 6b0a2b19c845 - stable/13 - stand: Print a warning of the loader is too old To: Joe Clarke Cc: Warner Losh , src-committers , "" , dev-commits-src-branches@freebsd.org Content-Type: multipart/alternative; boundary="0000000000001ff157061ea112f6" 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: 4WZYCK1Yb9z4XtD --0000000000001ff157061ea112f6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Aug 1, 2024, 9:39=E2=80=AFAM Joe Clarke wro= te: > On 8/1/24 10:57, Warner Losh wrote: > > > +if core.loaderTooOld() then > > + > print("*****************************************************************= *****") > > + > print("*****************************************************************= *****") > > + print("***** > *****") > > + print("***** BOOT LOADER IS TOO OLD. PLEASE UPGRADE. > *****") > > + print("***** > *****") > > + > print("*****************************************************************= *****") > > + > print("*****************************************************************= *****") > > +end > > + > > Hey, Warner. I know this is an MFC, but could the message be updated > with a pointer on _how_ to do that upgrade? I always find myself > re-learning the process as FreeBSD has evolved, and a current man > pointer would always help. > We have a man page for this already, but it's not very good. I'd hoped to do something with release notes for this release. I was racing the freeze deadline with the actual change and was going to chase it with the new / improved docs. Warner > --0000000000001ff157061ea112f6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Thu, Aug 1, 2024, 9:39=E2=80=AFAM Joe Clarke <jclarke@marcuscom.com> wrote:=
On 8/1/24 10:57, Warner Losh wrote= :

> +if core.loaderTooOld() then
> +=C2=A0 =C2=A0 =C2=A0print("*************************************= *********************************")
> +=C2=A0 =C2=A0 =C2=A0print("*************************************= *********************************")
> +=C2=A0 =C2=A0 =C2=A0print("*****=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 *****")
> +=C2=A0 =C2=A0 =C2=A0print("*****=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0BOOT LOADER IS TOO OLD. PLEASE UPGRADE.=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 *****")
> +=C2=A0 =C2=A0 =C2=A0print("*****=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 *****")
> +=C2=A0 =C2=A0 =C2=A0print("*************************************= *********************************")
> +=C2=A0 =C2=A0 =C2=A0print("*************************************= *********************************")
> +end
> +

Hey, Warner.=C2=A0 I know this is an MFC, but could the message be updated =
with a pointer on _how_ to do that upgrade?=C2=A0 I always find myself
re-learning the process as FreeBSD has evolved, and a current man
pointer would always help.
We have a man page for this already, but it's= not very good. I'd hoped to do something with release notes for this r= elease. I was racing the freeze deadline with the actual change and was goi= ng to chase it with the new / improved docs.

Warner
--0000000000001ff157061ea112f6--