svn commit: r364435 - head/usr.sbin/kldxref

Matteo Riondato matteo at FreeBSD.org
Sat Oct 31 14:27:14 UTC 2020


> On Aug 20, 2020, at 2:50 PM, Dimitry Andric <dim at 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



More information about the svn-src-head mailing list