From owner-svn-src-head@freebsd.org Mon Mar 19 18:09:59 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 5EA72F60952; Mon, 19 Mar 2018 18:09:59 +0000 (UTC) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AE1527CE95; Mon, 19 Mar 2018 18:09:58 +0000 (UTC) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id w2JI9tjo013234; Mon, 19 Mar 2018 11:09:55 -0700 (PDT) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id w2JI9tOP013233; Mon, 19 Mar 2018 11:09:55 -0700 (PDT) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <201803191809.w2JI9tOP013233@pdx.rh.CN85.dnsmgr.net> Subject: Re: svn commit: r331209 - head In-Reply-To: To: Warner Losh Date: Mon, 19 Mar 2018 11:09:55 -0700 (PDT) CC: Andriy Gapon , John Baldwin , Kyle Evans , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Reply-To: rgrimes@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII 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: Mon, 19 Mar 2018 18:09:59 -0000 > On Mon, Mar 19, 2018 at 11:51 AM, Andriy Gapon wrote: > > > On 19/03/2018 18:20, John Baldwin wrote: > > > On Monday, March 19, 2018 03:27:53 PM Kyle Evans wrote: > > >> Author: kevans > > >> Date: Mon Mar 19 15:27:53 2018 > > >> New Revision: 331209 > > >> URL: https://svnweb.freebsd.org/changeset/base/331209 > > >> > > >> Log: > > >> Add note to UPDATING about UEFI changes requiring loader(8) update > > >> > > >> These problems have only been observed with boards using U-Boot (e.g. > > ARM) > > >> where virtual addresses are already set in the memory map by the > > firmware > > >> and the firmware is expecting a call to SetVirtualAddressMap to be > > made. > > >> I refrain from mentioning this in the note because this could also be > > the > > >> case on some not-yet-tested firmware on amd64 and it's not a bad > > >> recommendation for the general case. > > > > > > How does this fit with the recommended installation steps of doing > > > 'make installkernel' and rebooting before doing a 'make installworld'? > > > > Installation of /boot/loader along with likes of cat and cut has always > > puzzled > > me very much. > > > > Historical reason. We've always installed /boot/loader with installworld. > We also install the other boot loaders, but don't deploy them (so there's a > new /boot/boot, but it isn't installed into /). More complete historical information. The "boot" code use to live in hidden places in the MBR, and the {disk,bsd}label, so installing it into the file system had 0 effect, as the actuall in use running code was hidden and had to be replaced using either fdisk or {disk,bsd}label. When "loader" was added this should of probably changed with preseverations of old code and ways to get back to it incase things went a foul, and ways to update it in a more controlled manner than installworld. And more approprate timing of installing it (should it now go with installkernel?). > To get around this issue, though, is trivial: > > make installkenrel > cd stand > make install > reboot > make installworld > > in this weird case. > > Warner -- Rod Grimes rgrimes@freebsd.org