Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Oct 2020 10:27:09 -0400
From:      Matteo Riondato <matteo@FreeBSD.org>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r364435 - head/usr.sbin/kldxref
Message-ID:  <91E4947E-61FF-4C17-B380-A4918814D8BB@FreeBSD.org>
In-Reply-To: <202008201850.07KIokXB063333@repo.freebsd.org>
References:  <202008201850.07KIokXB063333@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help


> On Aug 20, 2020, at 2:50 PM, Dimitry Andric <dim@FreeBSD.org> wrote:
> 
> Author: dim
> Date: Thu Aug 20 18:50:46 2020
> New Revision: 364435
> URL: https://svnweb.freebsd.org/changeset/base/364435
> 
> Log:
>  Bump kldxref's MAXSEGS to 16, to stop complaints about the kernel
>  supposedly having too many segments, when lld 11 links it. Such kernels
>  should load just fine.

Hi,

I was doing an upgrade from 12.2-R to HEAD today, and at the end of installkernel I got the warning  “kldxref: too many segments”. Still, the system seems to claim that installkernel succeded. I believe the message is caused by the fact that the system kldxref is used to kldxref the new kernel, rather than using the one from buildworld (I got this idea by looking at KLDXREF_CMD in sys/conf/kern.opts.mk). 

I don’t know if the message is innocuous or not (although I’d love to know), but I also wonder whether installkernel should pick the buildworld kldxref rather than the installed one.

Thanks,
Matteo




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?91E4947E-61FF-4C17-B380-A4918814D8BB>