Insta-panic for amd64 on reboot after upgrade from r320307 -> r320324
David Wolfskill
david at catwhisker.org
Sun Jun 25 14:09:41 UTC 2017
On Sun, Jun 25, 2017 at 04:21:16PM +0300, Konstantin Belousov wrote:
> ...
> > #cat /etc/src-env.conf
> > WITH_META_MODE=yes
>
> So can you _remove_ all kernel object files and rebuild anew with the
> clean build dir, please ?
OK; that seems to have resulted in a kernel that boots to multi-user
mode without incident:
FreeBSD freebeast.catwhisker.org 12.0-CURRENT FreeBSD 12.0-CURRENT #386 r320324M/320326:1200035: Sun Jun 25 06:36:19 PDT 2017 root at freebeast.catwhisker.org:/common/S4/obj/usr/src/sys/GENERIC amd64
To remove any possible ambiguity, here is what I did. (Note that
head is on slice 4; recent stable/11 is on slice 1; when booted
from slice 1, slice 4's / is mounted on /S4.)
* Rebooted from slice 1 (stable/11).
* cd /S4/usr/obj
* cp -p usr/src/sys/GENERIC/version /tmp
* rm -fr usr/src/sys/GENERIC
* mkdir !$
* mv /tmp/version !$/
* cd /S4/boot
* cp -pr kernel.old kernel.save
* mv kernel{,.panic}
* mv kernel{.old,}
* Rebooted from slice 4 (head at r320307)
* setenv TMPDIR /tmp &&\
id &&\
mount &&\
cd /usr/src &&\
uname -a &&\
date &&\
make -j16 buildkernel &&\
date &&\
rm -fr /boot/modules.old &&\
cp -pr /boot/modules{,.old} &&\
make installkernel &&\
date
* shutdown -r now
* Sent this message. :-)
Thanks!
Peace,
david
--
David H. Wolfskill david at catwhisker.org
Trump (et al.): Hiding information doesn't prove its falsity.
See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 603 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20170625/1d67e45d/attachment.sig>
More information about the freebsd-current
mailing list