Date: Wed, 6 Jan 2021 10:22:59 +0100 From: Dimitry Andric <dim@FreeBSD.org> To: Matthias Apitz <guru@unixarea.de> Cc: "Herbert J. Skuhra" <herbert@gojira.at>, freebsd-current@freebsd.org, emaste@freebsd.org Subject: Re: kldxref: /boot/kernel/kernel: too many segments Message-ID: <25475649-78B8-42D0-AFBB-0B698FB50D4E@FreeBSD.org> In-Reply-To: <X/VjVf3DW0dp6eOx@c720-r368166.fritz.box> References: <20210105120133.GA9@sh4-5.1blu.de> <X/RXYuKk%2BF%2BTWXJ5@mail.bsd4all.net> <X/VjVf3DW0dp6eOx@c720-r368166.fritz.box>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On 6 Jan 2021, at 08:14, Matthias Apitz <guru@unixarea.de> wrote: > > El día martes, enero 05, 2021 a las 01:11:14p. m. +0100, Herbert J. Skuhra escribió: > >> On Tue, Jan 05, 2021 at 01:01:33PM +0100, Matthias Apitz wrote: >>> >>> Hello, >>> >>> On an amd64 system r314251 a world and kernel built fine from SVN r368166 the >>> installation with >>> >>> # make installkernel KERNCONF=GENERIC >>> >>> endet with the following messages >>> >>> 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 >>> -------------------------------------------------------------- >>> >>> What should I do before rebooting to continue with the installation of >>> world? >> >> <https://lists.freebsd.org/pipermail/freebsd-current/2020-August/076754.html> >> >> Just to be on the safe side (test the kernel): >> >> 1. rm /boot/kernel and mv /boot/kernel.old /boot/kernel >> >> If you are using UFS: >> >> 2. make installkernel KODIR=/boot/testkernel >> 3. nextboot -k testkernel >> >> If you are using ZFS: >> >> Use bectl and zfsbootcfg. > > Thanks. The kernel booted fine. I filed a PR: > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252459 FWIW this was fixed in https://svnweb.freebsd.org/changeset/base/364435 (aka https://cgit.freebsd.org/src/commit/?id=05c312a339096ac54d404029ddfcd0114d452a4c). 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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCX/WBcwAKCRCwXqMKLiCW owbwAJwKbqYb5JhBYPL4dWfhOY4IdFMKfQCdGp+YN8ZO70J668NhVgJOj7wHqfw= =N1oX -----END PGP SIGNATURE-----help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?25475649-78B8-42D0-AFBB-0B698FB50D4E>
