From nobody Thu Aug 01 15:43:11 2024 X-Original-To: dev-commits-src-all@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 4WZYCK3bRYz5SxVH 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 4WZYCK1WVJz4YDF 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-1ff3d5c6e9eso25840105ad.1 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=d1mh9bwJI6+1Y0wd+lw3XPo8mFqXt8N5yfpQTOfxxy7h4WUWrSUywqpa5+DYa0dd3D 7M0wspkTmgDlJ2gB0n91oYY1UEMASBur89BJXA39ktMI+64Kc5Faf64QeWFPuQzk/jeo nuJQFpYPnDPUl2282JdDdNFH90OKvunPijRQIN3uWNr5GgSemeWKtJLZJoSX5MbME7gk vVvd+lXl4072I29uX3WG8rP1vzn45rPyLMOv0ixvw33GYIBUMRhoyJer1YX61JLikSPQ GBLM24FC7iB8QgPRA+gWFS1NHMAlLk9pTVXlnFbutftmNdTescU+mZAoEznwvX3mZTWR MIEg== X-Forwarded-Encrypted: i=1; AJvYcCVS29HTt1fN8mDW+MWyEGRsZy53gkqGFhCrK2atX63hlZ1cA/oXA2TgaU8O6fOKnLpkTEEBa7LazgXod6tZ0xSzYR7YNw/g/7KPjZZYD9An X-Gm-Message-State: AOJu0Yw0XcCqjEJrP8ba8qQpa21lEQ2OW++ORSMYQMFyB6bqWE3f4rCC /qX8kCIzySobJxRCw0Ot3Q31mStlOkeGL/dAIiSDHYgZ4L9dDE9Yrvm2ru6geaXSOPj/5u+V9KU MkKx7zlI6RNd0lQMFZ7MxCOT5DN2v125IBawmZA== 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: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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: 4WZYCK1WVJz4YDF --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--