Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jun 2017 07:09:38 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        Boris Samorodov <bsam@passap.ru>, current@freebsd.org
Subject:   Re: Insta-panic for amd64 on reboot after upgrade from r320307 -> r320324
Message-ID:  <20170625140938.GW1241@albert.catwhisker.org>
In-Reply-To: <20170625132116.GY3437@kib.kiev.ua>
References:  <20170625120731.GE1241@albert.catwhisker.org> <20170625123226.GV3437@kib.kiev.ua> <20170625124748.GT1241@albert.catwhisker.org> <20170625125223.GX3437@kib.kiev.ua> <20170625130521.GU1241@albert.catwhisker.org> <20170625132116.GY3437@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

--3wyj3Xt2kUWLNC5K
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Jun 25, 2017 at 04:21:16PM +0300, Konstantin Belousov wrote:
> ...
> > #cat /etc/src-env.conf=20
> > WITH_META_MODE=3Dyes
>=20
> 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  r3=
20324M/320326:1200035: Sun Jun 25 06:36:19 PDT 2017     root@freebeast.catw=
hisker.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
=66rom 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@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

--=20
David H. Wolfskill				david@catwhisker.org
Trump (et al.): Hiding information doesn't prove its falsity.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--3wyj3Xt2kUWLNC5K
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQF8BAEBCgBmBQJZT8QiXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDQ0I3Q0VGOTE3QTgwMUY0MzA2NEQ3N0Ix
NTM5Q0M0MEEwNDlFRTE3AAoJEBU5zECgSe4XVQsIALqUQPHVpJ0tWjQmVBB94bgD
TE+y/7WOEawsLBLzEox/XnyCDQShK2YcaJWs5L4GoRBaCepzwmGFskK6Zi9sZWmV
+mkiGInnuwqgDBEv9JGSGhk/KvdtJz3n+9PMcoHNS7Fg1u99L77f8EPS9WR/QHxm
Lb+rUqTxDHskgJFR6Zk031+OQDB0C8QER5mMFwc657vXhKccCVYQfZsAGB8DZJZG
IlYdwHvi3ViA2gvBEzKhcMMMEpK9GFIRNrTlsCMCgzWXZwpUFqP7Su5MQXY11cfD
E5DnVtlM4P7AsJUDHhxfOhoOU9Iqk7Xpdol98tQeFQOOtBfzM0tXH/MJW6UlKBs=
=TRDW
-----END PGP SIGNATURE-----

--3wyj3Xt2kUWLNC5K--



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