From owner-freebsd-stable@freebsd.org Wed Jan 6 13:32:13 2016 Return-Path: Delivered-To: freebsd-stable@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 E8218A63A42 for ; Wed, 6 Jan 2016 13:32:12 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id D6AEC1611; Wed, 6 Jan 2016 13:32:12 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by freefall.freebsd.org (Postfix) with ESMTP id 60EEC140B; Wed, 6 Jan 2016 13:32:12 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Date: Wed, 6 Jan 2016 13:32:10 +0000 From: Glen Barber To: Trond =?iso-8859-1?Q?Endrest=F8l?= Cc: FreeBSD stable Subject: Re: Multiple kernels installed when KERNCONF lists more than one kernel configuration file Message-ID: <20160106133210.GE26378@FreeBSD.org> References: <20160106132833.GD26378@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6Vw0j8UKbyX0bfpA" Content-Disposition: inline In-Reply-To: <20160106132833.GD26378@FreeBSD.org> X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event X-PEKBAC-Definition: Problem Exists, Keyboard Between Admin/Computer User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2016 13:32:13 -0000 --6Vw0j8UKbyX0bfpA Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 06, 2016 at 01:28:33PM +0000, Glen Barber wrote: > On Wed, Jan 06, 2016 at 01:45:39PM +0100, Trond Endrest=F8l wrote: > > Hi, > >=20 > > I'm running stable/10, amd64, r293231, and KERNCONF in /etc/src.conf=20 > > lists three kernel configuration files, E5530, GENERIC, and ZFS, in=20 > > that order. > >=20 > > The former is the preferred kernel, while the other two simply exists= =20 > > to verify GENERIC and GENERIC + ZFS. > >=20 > > /boot is a symlink to /bootpool/boot, and /bootpool is a 4 GiB UFS,=20 > > yes, that's UFS, not ZFS. > >=20 > > This system uses EFI, and uses the EFI/UFS boot1.efi bootstrap loader= =20 > > to load the kernel and its modules from the UFS partition, while=20 > > loader.conf redirects the rootfs to a dataset on the ZFS pool. > >=20 > > Consequently, I have: > >=20 > > /boot/kernel <-- E5530 > > /boot/kernel.GENERIC <-- GENERIC > > /boot/kernel.ZFS <-- ZFS > >=20 > > UPDATING has nothing on the subject, but maybe I'm blind after all. > >=20 > > Is there a way to prevent installing the other kernels, i.e. GENERIC=20 > > and ZFS? > >=20 > > Maybe it's simply a matter of overriding KERNCONF at the command line= =20 > > while running make installkernel. > >=20 >=20 > You should be able to set INSTALLKERNEL in make.conf, however something > appears to have been broken, since this should not be required. >=20 Sorry, I didn't see r293189 until just now, I was in the wrong directory when I updated my local sources. It seems we need a way to override this behavior, if the above suggestion does not work properly. Glen --6Vw0j8UKbyX0bfpA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWjRdaAAoJEAMUWKVHj+KTdt4QAJOULr6SCp1+AhKifGqppT8i fNbbaGLidPmMbyVfjb3EaaJujWaI/JurV6W5iQf2EM5PhdnjmbKMfU2tyE1muRc0 yYPVPPBOPuV+GHZb6+TAtCpUjqUe2i5CpbDAnF4WB8o35MNeYH92RC2QQt+9Mgk/ UBftdcQKfFcUxyabG2q19RL/PRVllP1PPmzd17f4hAokXwnPN7PdXWkW4LsRol79 v4kmo9Q2tCCJbiy7oniWDZ/aZR/hDjujUTKlSagk8YJoLBSAH9ZHxwVZk/qprf6t KyXwwBcfKd2Rn8SeF2p5DMbxD/007JRQbuEqcbkRVQzJfLAVWb/wgf6o89m7ACWn LEFYR9R2YTEgD2lcK3jADbCPBV8FMHkSlRkT7TlvnENCovOHxs87hnqsPPL/p3w/ IQmpb4AlDtmaTinoqulEg4fy9nMLEzuoyORdX1iJJeC23oraKEHJ3xTNyLkIHndS mE9SHHfNUWPflxdcdNhXksEh3IWrpSstf4Bn3UIM00EwmqOQ/rIClKD1UzpDG4PL aXRhheZXJ7wxVIfLyEJicYb7boeSCVeybs57n3XXH6saWUBugbBP63j4V8kmeQMT iwSZjxjUgud+jrXyw9SKcmkOuC6QXHTZWOvbEMkFoyumu1vk57H6wl+KdbqwWCuP 7SUUQweLETPIllZ5HrN2 =z2hn -----END PGP SIGNATURE----- --6Vw0j8UKbyX0bfpA--