Panic after updating from source

Michael Sierchio kudzu at
Tue Mar 2 02:31:25 UTC 2021

Anyone can repeat what's in the handbook.  It may not be applicable in all
circumstances, as I noted before – 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 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)

   git clone -b stable/13 --depth 1 /usr/src

   cp ~/GRAVITON /usr/src/sys/arm64/conf # my kernconf, mentioned in

   cd /usr/src

   ( make -j8 buildworld && make -j8 kernel && make installworld && reboot
   ) >& make.out &

   [ time passes ]

   ssh <machine>

   uname -a

FreeBSD 13.0-STABLE FreeBSD 13.0-STABLE #0
stable/13-05e4a34e4 GRAVITON  arm64


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

- The Mahābhārata

More information about the freebsd-questions mailing list