From owner-freebsd-current@freebsd.org Sun Jun 25 14:09:41 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2E91ED92297 for ; Sun, 25 Jun 2017 14:09:41 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 133246FC95 for ; Sun, 25 Jun 2017 14:09:41 +0000 (UTC) (envelope-from david@catwhisker.org) Received: by mailman.ysv.freebsd.org (Postfix) id 0F734D92296; Sun, 25 Jun 2017 14:09:41 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0EED4D92295 for ; Sun, 25 Jun 2017 14:09:41 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C39706FC94 for ; Sun, 25 Jun 2017 14:09:39 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.15.2/8.15.2) with ESMTP id v5PE9cTO004312; Sun, 25 Jun 2017 14:09:38 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id v5PE9ctC004311; Sun, 25 Jun 2017 07:09:38 -0700 (PDT) (envelope-from david) Date: Sun, 25 Jun 2017 07:09:38 -0700 From: David Wolfskill To: Konstantin Belousov Cc: Boris Samorodov , current@freebsd.org Subject: Re: Insta-panic for amd64 on reboot after upgrade from r320307 -> r320324 Message-ID: <20170625140938.GW1241@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , Konstantin Belousov , Boris Samorodov , current@freebsd.org 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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3wyj3Xt2kUWLNC5K" Content-Disposition: inline In-Reply-To: <20170625132116.GY3437@kib.kiev.ua> User-Agent: Mutt/1.8.3 (2017-05-23) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jun 2017 14:09:41 -0000 --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--