Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Oct 2023 12:47:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 274306] The nlsysevent kernel module fails to load.
Message-ID:  <bug-274306-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274306

            Bug ID: 274306
           Summary: The nlsysevent kernel module fails to load.
           Product: Base System
           Version: 14.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: crest@rlwinm.de

I've compiled FreeBSD 14.0-BETA5/amd64 from sources (commit hash =3D
243550d32f4231d4407cd57220d36e42153d97f0) from sources, installed it and
rebooted into it. The running kernel, installed kernel, and userland are in
sync unless `make installkernel installworld` is broken.

I tried to load the Netlink system event kernel module using `kldload -v
nlsysevent.ko`. This failed to load.

The output from kldload is:

    kldload: an error occurred while loading module nlsysevent.ko. Please c=
heck
dmesg(8) for more details.

The details as logged by the kernel:

    link_elf_obj: symbol nlmsg_get_group_writer undefined
    linker_load_file: /boot/kernel/nlsysevent.ko - unsupported file type

The module can be loaded from /usr/obj by running `make load` in
/usr/src/sys/modules/nlsysevent which loads
/usr/obj/usr/src/amd64.amd64/sys/modules/nlsysevent/nlsysevent.ko instead. I
don't have problems loading other kernel modules. Is there something missin=
g in
either the nlsysevent or netlink kernel modules in how the=20
nlmsg_get_group_writer symbol is declared and referenced across module
boundries?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274306-227>