From owner-freebsd-questions@freebsd.org Tue Mar 2 05:42:58 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 995DA55B625 for ; Tue, 2 Mar 2021 05:42:58 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ot1-x329.google.com (mail-ot1-x329.google.com [IPv6:2607:f8b0: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 "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DqQyV0dz3z4sCG for ; Tue, 2 Mar 2021 05:42:57 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-ot1-x329.google.com with SMTP id e45so18908078ote.9 for ; Mon, 01 Mar 2021 21:42:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0DVv+7oT/L6ckE428PrOk3YR5brEFrQvrGB6Z60kW48=; b=aR+wXoRKnCiCfZLEqjlz/2CEd7XGpkogz0k45io8ww6pHFyT3jv0LNNa+TTFkh3PPc LdznPT44JXs1FsBxUXXeLTJhsiL1Jo/eR1hhQTYccZ7JhagNMMqtD6hsm3kSM0sxYTyC sYRVAuyCxkfMoDRamBhewLjHTBmPxG10xJPOF1FG//7CmCeQ/uENUPz1Wv2FjSrurB+k ff9FOZFwlFOQgqGiDnXry39q7CBCaJZb4gQWV2gKB+0DXZ/MwIOaOUey7xST4NU/cjBT NCVNOpvZjc/tpQBFhl3zx1W8wErr768UzntpQF14k3//0wjkLglyr0LZYD0YTuZX6bbY vMfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0DVv+7oT/L6ckE428PrOk3YR5brEFrQvrGB6Z60kW48=; b=Nqxn+gIbK/chcvpPsPziiWTyjS2pV3+Gli//0II1SHx0n4wE2r//kFPzgeWnOVa8V/ 2gx6OpRlBJDZLS2X1d36TZyeO9bhV4UY8A5HqCEFhXV1uvZ0hzn5RkW/rPSIwTpxlnxI 6nL7XrrJ5JQ/OpAMNxo/YQ8vfKl6xOa+a8IUNZNgV7d0wJjcaZ5zvPWz6fng/e4C8dEP C02T1XJLTPLnZr1r+Q+jhxG7aR9YLuOmX85RZ5EOfjEuZ7LJU4CNXHheYK5ywUGwRy6Y HO2mzFLtz5V2KQ9chht8zD1f/6QJOUB+zljZ9OQqAlLbUJc8HUe26rrciZT6a1iT1R/J A93g== X-Gm-Message-State: AOAM532yrCXIlyJPrFK22SHkP7ZCACnj8qPlVr8LlAC4lA0UNtzYHNX4 /qE86DiljClfbaxP4MXcN50H0vZDBTa9fMq2IVUFdMuu3nv5Gw== X-Google-Smtp-Source: ABdhPJxU+7JOqfs5gBbltNqOGP/T4ell+BAIT5ownkkXzguOLo06MGpsEWSTfe9xp1X1fTm45OgktnOkKx840rE5Xco= X-Received: by 2002:a05:6830:1f3c:: with SMTP id e28mr16774514oth.93.1614663777048; Mon, 01 Mar 2021 21:42:57 -0800 (PST) MIME-Version: 1.0 References: <20210228023827.f68e6136d688c0a37206c883@3dresearch.com> <20210228120313.cdb53cab429a38fdf9817d0d@3dresearch.com> <20210301020830.5466d368867bdbc11b0b7648@3dresearch.com> In-Reply-To: From: Kevin Oberman Date: Mon, 1 Mar 2021 21:42:40 -0800 Message-ID: Subject: Re: Panic after updating from source To: Michael Sierchio Cc: Janos Dohanics , FreeBSD Questions X-Rspamd-Queue-Id: 4DqQyV0dz3z4sCG X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=aR+wXoRK; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::329 as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-3.70 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::329:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::329:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::329:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2021 05:42:58 -0000 On Mon, Mar 1, 2021 at 6:31 PM Michael Sierchio wrote: > Anyone can repeat what's in the handbook. It may not be applicable in al= l > circumstances, as I noted before =E2=80=93 as when you don't have console= access. > > It turns out that the formula I describe above works flawlessly for > 12-STABLE to 13-STABLE upgrade: > > > 1. userland and kernel are on > > FreeBSD test-1.dbm.q2w.spin.pm 12.2-STABLE FreeBSD 12.2-STABLE > stable/12-n232782-39e2c45679a GRAVITON arm64 > > > 1. Clear /usr/src and /usr/obj > 2. Make sure you have a working kernconf for the new OS (e.g., device > random disappears in 13) > 3. > > git clone -b stable/13 --depth 1 https://git.freebsd.org/src.git > /usr/src > 4. > > cp ~/GRAVITON /usr/src/sys/arm64/conf # my kernconf, mentioned in > /etc/make.conf > 5. > > cd /usr/src > 6. > > ( make -j8 buildworld && make -j8 kernel && make installworld && reboo= t > ) >& make.out & > 7. > > [ time passes ] > 8. > > ssh > 9. > > uname -a > > FreeBSD test-1.dbm.q2w.spin.pm 13.0-STABLE FreeBSD 13.0-STABLE #0 > stable/13-05e4a34e4 GRAVITON arm64 > > -- > > "Well," Brahm=C4=81 said, "even after ten thousand explanations, a fool i= s no > wiser, but an intelligent person requires only two thousand five hundred.= " > > - The Mah=C4=81bh=C4=81rata > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > You need to be aware that the shallow clone hash will not include the commit count which will be used in future security updates to make it easy to check whether your system needs to be updated or not. A full clone does require more space, but I was surprised at how little extra space it requires. Warner is updating his git mini-guide to point out this issue. If you run STABLE, it's a really significant concern. You can convert the shallow clone to a full one with "git fetch --unshallow". This will take some time to run. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683