From owner-svn-src-all@freebsd.org Thu Mar 22 04:47:29 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 104D1F67C21 for ; Thu, 22 Mar 2018 04:47:29 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x229.google.com (mail-io0-x229.google.com [IPv6:2607:f8b0:4001:c06::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8760B7DECD for ; Thu, 22 Mar 2018 04:47:28 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x229.google.com with SMTP id g14so9314633iob.13 for ; Wed, 21 Mar 2018 21:47:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=Z3a1PchPwkMULU8w7rskpw+pYwlgQxSea6Ik2tyGvA0=; b=b9/SU114asXYNGbJbZ3ymp4Fh6ww3kFkAp2vBBUch56FtMgkI8GkQRbJka6T647LDF TArkJ8v48BUiyGwW1HQTwcohu4pc2uCoAGIy0DosazmdSAaeaRgk63K0vSdvLxd1/8wd PhIcHUd2aGVucmpDnLC/nbBPOPJu7o3I9DNesXazWnC+QLWNHrGSEi5Bc93nE1e1+2Ac xwEHA5dwJM28jS9zrbnQD4+sRTdyrAR9zhNhudSga9vGK9fEtR0XvsEaGEq9zhWI63un cgP1QamLEwXCdC17Psc/0K+2DePsvH0g+pB0cN/SQwsWQh5JchYKu+z+WHC5Vxv7rawj DM7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=Z3a1PchPwkMULU8w7rskpw+pYwlgQxSea6Ik2tyGvA0=; b=MsnC8MUDkBW5kr1Rn98trFljzZcvCX/1I7TM/droGhWmCFlriDJ74IC0650rsb7szg ajwZ2KTH+SLl6Dm4ndAMAC4Ag5ZnVC90oPJiwzjkettWp58XIODjwZfMmFqzlw97h2N4 b6fg2KSZJuEYkDaLeWc+88p0Ii6Oqf/+MM/TBxz8qRSSLkHbZfUKwzn/rX6t6MBgCWfi V9UnLRbxpZA6lnvz9HdXrqRu12/H1Px39B7suK0ZLhb0Lr1alJqYzvBRa1+wJDIqKt54 TA2p20oa4EkiL/kTw7mr6xwmSqcF1x31+ZDLGVkMboigjZO7NxrtNLu5eab47VN3uR6z GVBw== X-Gm-Message-State: AElRT7GAXXPs1WXNPtc7M94V67HidhHpyy2Pgn5pMpeJqiiz5F5g43mD LopBhVZW/JyM/QtPETXMh+Bxn6YSyjl13ZKRmqkzmA== X-Google-Smtp-Source: AG47ELvs8IGV83BQKkVkUrR7Zpqlmzvd2KC67TPHQ92uMaxzTrsLQbdiZlcEWnpEgvxlRxpInw1WMjKNohF3RTGgnBg= X-Received: by 10.107.12.230 with SMTP id 99mr23334850iom.117.1521694047734; Wed, 21 Mar 2018 21:47:27 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.203.196 with HTTP; Wed, 21 Mar 2018 21:47:27 -0700 (PDT) X-Originating-IP: [2603:300b:6:5100:1052:acc7:f9de:2b6d] In-Reply-To: <20180322043938.GA8311@FreeBSD.org> References: <201803191527.w2JFRr7B058668@repo.freebsd.org> <4168709.idJmbTaMPK@ralph.baldwin.cx> <20180322040316.GB49350@FreeBSD.org> <20180322043938.GA8311@FreeBSD.org> From: Warner Losh Date: Wed, 21 Mar 2018 22:47:27 -0600 X-Google-Sender-Auth: pvKHAmlqxfARE5ZouoMT3xuaV3I Message-ID: Subject: Re: svn commit: r331209 - head To: Alexey Dokuchaev Cc: John Baldwin , Kyle Evans , svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Mar 2018 04:47:29 -0000 On Wed, Mar 21, 2018 at 10:39 PM, Alexey Dokuchaev wrote: > On Wed, Mar 21, 2018 at 10:34:15PM -0600, Warner Losh wrote: > > On Wed, Mar 21, 2018 at 10:03 PM, Alexey Dokuchaev > > wrote: > > > On Mon, Mar 19, 2018 at 09:20:40AM -0700, John Baldwin wrote: > > > > ... > > > > How does this fit with the recommended installation steps of doing > > > > 'make installkernel' and rebooting before doing a 'make > installworld'? > > > > > > Rebooting? I vaguely recall recommended procedure was to switch to > single > > > user mode prior to `installworld', but personally I've never bothered > and > > > installed kernel, [mm -p,] world, mm -Fi, reboot. Am I missing > something? > > > > Old advice was to do the installworld in single user, as that's the > safest > > (and also ensures you have a new kernel and don't install before > rebooting). > > However, we've had enough experience to see that usually an installworld > + > > reboot is sufficient. > > Right, but John had mentioned extra reboot *between* installkernel and > installworld, which I've never heard of before. > We've done what we can to make it so you don't brick your system if you don't do that, but the pedantic way is build everything, install a new kernel, reboot single user, install world and bring it up multi-user, though that leaves a copy of the old sh around that doesn't hurt anything. The alternate way is to install kernel, reboot installworld, reboot, but usually people skip the reboot after install kernel. You can usually get away with it, but the ino64 showed that's not always possible (the forward compat code wasn't committed for weeks and even then there's no guarantee that it would). Warner