Date: Wed, 6 Jan 2016 13:45:39 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no> To: FreeBSD stable <freebsd-stable@freebsd.org> Subject: Multiple kernels installed when KERNCONF lists more than one kernel configuration file Message-ID: <alpine.BSF.2.20.1601061322110.65744@mail.fig.ol.no>
next in thread | raw e-mail | index | archive | help
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: <owner-freebsd-stable@freebsd.org> 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 <freebsd-stable@mailman.ysv.freebsd.org>; 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 <gjb@FreeBSD.org> To: Trond =?iso-8859-1?Q?Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no> Cc: FreeBSD stable <freebsd-stable@freebsd.org> Subject: Re: Multiple kernels installed when KERNCONF lists more than one kernel configuration file Message-ID: <20160106132833.GD26378@FreeBSD.org> References: <alpine.BSF.2.20.1601061322110.65744@mail.fig.ol.no> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="rqzD5py0kzyFAOWN" Content-Disposition: inline In-Reply-To: <alpine.BSF.2.20.1601061322110.65744@mail.fig.ol.no> 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 <freebsd-stable.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-stable>, <mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable/> List-Post: <mailto:freebsd-stable@freebsd.org> List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-stable>, <mailto:freebsd-stable-request@freebsd.org?subject=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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1601061322110.65744>