Re: kldxref: /boot/kernel/kernel: too many segments

From: Matthias Apitz <guru_at_unixarea.de>
Date: Wed, 6 Jan 2021 08:14:29 +0100
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

	matthias


-- 
Matthias Apitz, ✉ guru_at_unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
¡Con Cuba no te metas!  «»  Don't mess with Cuba!  «»  Leg Dich nicht mit Kuba an!
http://www.cubadebate.cu/noticias/2020/12/25/en-video-con-cuba-no-te-metas/
Received on Wed Jan 06 2021 - 06:14:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:26 UTC