From owner-freebsd-stable@freebsd.org Wed Jan 6 12:45:51 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 7C2BEA649D4 for ; Wed, 6 Jan 2016 12:45:51 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id F079D1FB0 for ; Wed, 6 Jan 2016 12:45:50 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.15.2/8.15.2) with ESMTPS id u06Cjd4X067874 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 6 Jan 2016 13:45:39 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.15.2/8.15.2/Submit) with ESMTP id u06CjdxH067871 for ; Wed, 6 Jan 2016 13:45:39 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Wed, 6 Jan 2016 13:45:39 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: FreeBSD stable Subject: Multiple kernels installed when KERNCONF lists more than one kernel configuration file Message-ID: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.fig.ol.no Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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 12:45:51 -0000 Hi, I'm running stable/10, amd64, r293231, and KERNCONF in /etc/src.conf lists three kernel configuration files, E5530, GENERIC, and ZFS, in that order. The former is the preferred kernel, while the other two simply exists to verify GENERIC and GENERIC + ZFS. /boot is a symlink to /bootpool/boot, and /bootpool is a 4 GiB UFS, yes, that's UFS, not ZFS. This system uses EFI, and uses the EFI/UFS boot1.efi bootstrap loader to load the kernel and its modules from the UFS partition, while loader.conf redirects the rootfs to a dataset on the ZFS pool. Consequently, I have: /boot/kernel <-- E5530 /boot/kernel.GENERIC <-- GENERIC /boot/kernel.ZFS <-- ZFS UPDATING has nothing on the subject, but maybe I'm blind after all. Is there a way to prevent installing the other kernels, i.e. GENERIC and ZFS? Maybe it's simply a matter of overriding KERNCONF at the command line while running make installkernel. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-stable@freebsd.org Wed Jan 6 13:28:35 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 6886EA6369B for ; Wed, 6 Jan 2016 13:28:35 +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 598161283; Wed, 6 Jan 2016 13:28:35 +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 DC0901361; Wed, 6 Jan 2016 13:28:34 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Date: Wed, 6 Jan 2016 13:28:33 +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: <20160106132833.GD26378@FreeBSD.org> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="rqzD5py0kzyFAOWN" Content-Disposition: inline In-Reply-To: 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:28:35 -0000 --rqzD5py0kzyFAOWN Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 You should be able to set INSTALLKERNEL in make.conf, however something appears to have been broken, since this should not be required. Glen --rqzD5py0kzyFAOWN Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWjRaBAAoJEAMUWKVHj+KTO7wQAIKsuE6iVmH0yp2iOqFNFr3i Tdk09LhOKfNDHqCPplKy9t3vLPTMIP7Alasicz8o+Yv/LOBWHu/k/nJG07WtipdK 70AcQWMIsvvkWMfXw7T1MZR0pfxkJPWZ6+kZS8FJwQdeyd2aw2iXtorRFOo1yT2r 8pjfwAyp89sfp55ipfKDdMA3aTxxXpnVMUOZVC/ksnPltxpiuyNEIgnlW8VvcXsJ FmPXdFiuh14pmguE2id0HjmrXWY8FzL6e6ufiMx2uXC39U5KuS3y6GE2JevT1a9d b9VrIHjCEQ0kkZkNGoxuUVeSxJjLx32NrHO0n1yhh6RYdule21r5lBB/kjGPNgVj kD3zWQhvMyfcmbnkP7bi3diNQgVHdYneVIWFBHXoE1MxXYN0N4g+iCVF4+CQUIgo HIFEI9Ky78hCxw/+//YBA6gyWAMemY8oDtQpr7MpyORN1Unvg/Tk4c13epVY6Czw 3THF0ilYxDdCi/SyVZLIi0wpNB7mw/au2d2ch7Nt+oURmnqcgBQJLohZdqnLSnob CIPSdoy1Rr2VyAA3hp3ohbZbF+SyEC87Kuiwb0zO7wjMSvEaL4btGQEoTctVCagC ty8JRTK5TK1tKvFpG26ZLpfxM73aWyFDsg7SfGKUXOP1j7qrDGySQT6ape9brClG xVWMzSocnEXP/LdHRRlM =tfF8 -----END PGP SIGNATURE----- --rqzD5py0kzyFAOWN--