maintainer-approval requested: [Bug 291212] x11/nvidia-driver: CURRENT fails to load kernel module due to commit 9562994a7aacee2baae6ddee1a7b558b48ae39ef : [Attachment 265705] Patch to export required symbols
Date: Sat, 29 Nov 2025 15:12:42 UTC
Tomoaki AOKI <junchoon@dec.sakura.ne.jp> has asked freebsd-x11 (Nobody) <x11@FreeBSD.org> for maintainer-approval: Bug 291212: x11/nvidia-driver: CURRENT fails to load kernel module due to commit 9562994a7aacee2baae6ddee1a7b558b48ae39ef https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291212 Attachment 265705: Patch to export required symbols https://bugs.freebsd.org/bugzilla/attachment.cgi?id=265705&action=edit --- Comment #14 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> --- Created attachment 265705 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=265705&action=edit Patch to export required symbols Patch to export required symbols in nvidia.ko and nvidia-modeset.ko for their consumers. This would fix loading nvidia-drm.ko and nvidia-modeset.ko at least OPTION LINUX is disabled (non-default) on x11/nvidia-kmod[-devel]. As my main branch (of base) environment is quite outdated, tested on stable/15 by intentionally set "debug.link_elf_obj_leak_locals=0" in /boot/loader.conf. I think keeping OPTION LINUX enabled for main at commit base e00a781c216cb12603a0a71c9ca293dde3e06250 and later, but not tested.