From owner-svn-src-head@freebsd.org Thu Mar 22 04:47:29 2018 Return-Path: Delivered-To: svn-src-head@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 10403F67C20 for ; Thu, 22 Mar 2018 04:47:29 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x234.google.com (mail-io0-x234.google.com [IPv6:2607:f8b0:4001:c06::234]) (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 81C537DECA for ; Thu, 22 Mar 2018 04:47:28 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x234.google.com with SMTP id v13so9318379iob.6 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=hIoPGce1tQvyu7f7zgQzNjExZ8XUO/EzrPMmDQnAENF4AH0q5MB1QKPUNt3V4WRl0K wtV7cCbqqoAPCNvYpXCkQVyrSQn+bzcjgOs/xHRfNBV93VU9sTh8U93SspFIyrqs7z8U XWmVorMrO+kF6McoZRGxeRJsFdumFMtIQJnaPX60bY1/9RCqCI+Un21dDOO1wnzv8BuG oRl1viM1hHHPZliPssjwZyIHinJsxi+w1hT5JJgITN24MdhdnP+tirQI/Mn8o80ccsKV 9VA7PhoeYa5C/NklLW3w8A0tHjf6TYbpoYot7lgmq80h/RXmVEtm4x9UCjSFVtPcTtLL d83w== X-Gm-Message-State: AElRT7FXk8Rie9oaogsVyI8PgjPJjjlZolJ4kfjbysveNArLNCAd/r50 NpFHtbFfaTqD8GyfIBusD0StX270832z76pfdj1Rhw== 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-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current 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