kldxref: /boot/kernel/kernel: too many sections

Damien Fleuriot ml at my.gd
Sun May 27 03:31:21 UTC 2012

On 26 May 2012, at 13:41, Martin Laabs <mailinglists at martinlaabs.de> wrote:

> Hello,
> while updating my system I got the following error message while make installworld:
> ===> syscons/green (install)
> install -o root -g wheel -m 555   green_saver.ko /boot/kernel
> install -o root -g wheel -m 555   green_saver.ko.symbols /boot/kernel
> kldxref /boot/kernel
> kldxref: /boot/kernel/kernel: too many sections
> kldxref: error while reading /boot/kernel/kernel: Bad address
> su:/usr/src$

Hold on a sec you run install*world* and it tries to install a kernel ?
Looks fishy to me.

Also, try with a generic kernel, just to  check if that fails as well.

> I tried to remove the /usr/obj and remake the kernel by make buildkernel again but the error remains.
> I use 8.2-STABLE with a freshly updated RELENG_8 src.
> I do not build all kernel modules so I have the following in my make.conf
> MODULES_OVERRIDE = nfsserver linux linprocfs geom/geom_bde syscons/green
> However - I don't think this explains the misbehavior of kldxref.
> Can anybody give me a hint where to search for the bug?
> Best regards,
> Martin Laabs
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

More information about the freebsd-questions mailing list