[Bug 291212] x11/nvidia-driver: CURRENT fails to load kernel module due to commit 9562994a7aacee2baae6ddee1a7b558b48ae39ef
| Newsgroups | gmane.os.freebsd.devel.x11 |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291212 Tomoaki AOKI <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Tomoaki AOKI <[email protected]> --- (In reply to O. Hartmann from comment #0) On my stable/15 installation, % sysctl -a | grep link_elf_leak_locals debug.link_elf_leak_locals: 0 % sysctl -a | grep link_elf_obj_leak_locals debug.link_elf_obj_leak_locals: 1 So the former shouldn't be affecting (as the commit you mentioned defaults both, maybe presicely the latter, to be flipped to 0). Code itself seems to be in stable/13 and later (MFC'ed) bud the default were made safer side). Tracking the commit introduced the codes, distfile for x11/nvidia-kmod (common within graphics/nvidia-drm-*-kmod, x11/nvidia-driver and x11/nvidia-kmod) doesn't have symbols touched by the related commits, but the commits would affect the availabilities of SYSCTLs/TUNABLEs defined "prior to the kmod is loaded". Note that the code itself is committed at base 95c20faf11a1af6924f97ec4aafc32d899fea8b0 and sysctl is added at base ecd8245e0d7784bcd78dafce233f303eee765068. This affects nvidia driver kmods. And as these are handled as tunable on nvidia driver kmods, needed to be defined in /boot/loader.conf instead of /etc/sysctl.conf (even if it once works, could be in race condition). So the flipped tunable could be needed to be defined in /boot/loader.conf (the sysctl is defined as writable tunalbe [RWTUN]. But luckily, the commit you mentioned is (at least temporarily) reverted by commit base fad4c92b78a123f87195173ac118655fa8e325cd. -- You are receiving this mail because: You are the assignee for the bug.