Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Mar 2021 18:30:46 -0800
From:      Michael Sierchio <kudzu@tenebras.com>
To:        Janos Dohanics <web@3dresearch.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Panic after updating from source
Message-ID:  <CAHu1Y73cnWZij52c6_pKHZJiheHZE4wYsYf51sHZq7YGZuTYew@mail.gmail.com>
In-Reply-To: <20210301020830.5466d368867bdbc11b0b7648@3dresearch.com>
References:  <20210228023827.f68e6136d688c0a37206c883@3dresearch.com> <CAHu1Y73iJi=A9vwzOWM90zb2uD1pU9VZfwRJLdeZ6AhRF0nb9A@mail.gmail.com> <20210228120313.cdb53cab429a38fdf9817d0d@3dresearch.com> <CAHu1Y70DCR4z8D85ixc2z2GwwY%2BhsK263QsJuq--BQCmByA9GA@mail.gmail.com> <20210301020830.5466d368867bdbc11b0b7648@3dresearch.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Anyone can repeat what's in the handbook.  It may not be applicable in all
circumstances, as I noted before =E2=80=93 as when you don't have console a=
ccess.

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/sr=
c
   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 && reboot
   ) >& make.out &
   7.

   [ time passes ]
   8.

   ssh <machine>
   9.

   uname -a

FreeBSD test-1.dbm.q2w.spin.pm 13.0-STABLE FreeBSD 13.0-STABLE #0
stable/13-05e4a34e4 GRAVITON  arm64

--=20

"Well," Brahm=C4=81 said, "even after ten thousand explanations, a fool is =
no
wiser, but an intelligent person requires only two thousand five hundred."

- The Mah=C4=81bh=C4=81rata



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