From owner-freebsd-current@freebsd.org Wed Jan 6 09:23:09 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3714C4CA0A9 for ; Wed, 6 Jan 2021 09:23:09 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D9kRx10c1z3FtN; Wed, 6 Jan 2021 09:23:09 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:470:7a58:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "R3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 0140D8B84; Wed, 6 Jan 2021 09:23:09 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:470:7a58::2910:275:c8df:443d] (unknown [IPv6:2001:470:7a58:0:2910:275:c8df:443d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 89C3E3C60E; Wed, 6 Jan 2021 10:23:07 +0100 (CET) From: Dimitry Andric Message-Id: <25475649-78B8-42D0-AFBB-0B698FB50D4E@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_F3832707-9C35-4AA3-AA7E-2275FAAD31BA"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\)) Subject: Re: kldxref: /boot/kernel/kernel: too many segments Date: Wed, 6 Jan 2021 10:22:59 +0100 In-Reply-To: Cc: "Herbert J. Skuhra" , freebsd-current@freebsd.org, emaste@freebsd.org To: Matthias Apitz References: <20210105120133.GA9@sh4-5.1blu.de> X-Mailer: Apple Mail (2.3445.104.17) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2021 09:23:09 -0000 --Apple-Mail=_F3832707-9C35-4AA3-AA7E-2275FAAD31BA Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On 6 Jan 2021, at 08:14, Matthias Apitz wrote: >=20 > El d=C3=ADa martes, enero 05, 2021 a las 01:11:14p. m. +0100, Herbert = J. Skuhra escribi=C3=B3: >=20 >> On Tue, Jan 05, 2021 at 01:01:33PM +0100, Matthias Apitz wrote: >>>=20 >>> Hello, >>>=20 >>> On an amd64 system r314251 a world and kernel built fine from SVN = r368166 the >>> installation with >>>=20 >>> # make installkernel KERNCONF=3DGENERIC >>>=20 >>> endet with the following messages >>>=20 >>> install -T release -o root -g wheel -m 555 zlib.ko /boot/kernel/ >>> install -T dbg -o root -g wheel -m 555 zlib.ko.debug = /usr/lib/debug/boot/kernel/ >>> kldxref /boot/kernel >>> kldxref: /boot/kernel/kernel: too many segments >>> -------------------------------------------------------------- >>>>>> Installing kernel GENERIC completed on Tue Jan 5 12:50:59 CET = 2021 >>> -------------------------------------------------------------- >>>=20 >>> What should I do before rebooting to continue with the installation = of >>> world? >>=20 >> = >>=20 >> Just to be on the safe side (test the kernel): >>=20 >> 1. rm /boot/kernel and mv /boot/kernel.old /boot/kernel >>=20 >> If you are using UFS: >>=20 >> 2. make installkernel KODIR=3D/boot/testkernel >> 3. nextboot -k testkernel >>=20 >> If you are using ZFS: >>=20 >> Use bectl and zfsbootcfg. >=20 > Thanks. The kernel booted fine. I filed a PR: >=20 > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252459 FWIW this was fixed in https://svnweb.freebsd.org/changeset/base/364435 (aka = https://cgit.freebsd.org/src/commit/?id=3D05c312a339096ac54d404029ddfcd011= 4d452a4c). However, since kldxref is (for some reason) run from the *host* system during an installkernel, it will give that warning message if you upgrade from an older tree. The warnings can safely be ignored, and will disappear the next time you upgrade. -Dimitry --Apple-Mail=_F3832707-9C35-4AA3-AA7E-2275FAAD31BA Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCX/WBcwAKCRCwXqMKLiCW owbwAJwKbqYb5JhBYPL4dWfhOY4IdFMKfQCdGp+YN8ZO70J668NhVgJOj7wHqfw= =N1oX -----END PGP SIGNATURE----- --Apple-Mail=_F3832707-9C35-4AA3-AA7E-2275FAAD31BA--