[Bug 291212] x11/nvidia-driver: CURRENT fails to load kernel module due to commit 9562994a7aacee2baae6ddee1a7b558b48ae39ef

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291212

--- Comment #10 from Tomoaki AOKI <[email protected]> ---
(In reply to Ed Maste from comment #8)
Turned out this PR to be better continueing.

On my ThinkPad P52, with tunalbes

% 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: 0

errors below appears in dmesg, which are not appear on working state.

Note that debug.link_elf_leak_locals was already 0
on working state.


---<<BOOT>>---
Copyright (c) 1992-2025 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 15.0-STABLE #28 stable/15-n281330-4004f9a70c10-dirty: Tue Nov 25
14:05:02 JST 2025
    root@********:/usr/obj/usr/src/amd64.amd64/sys/******** amd64
FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git
llvmorg-19.1.7-0-gcd708029e0b2)
VT(efifb): resolution 1024x768
link_elf_obj: symbol tcp_hpts_insert_diag undefined
KLD file tcp_rack.ko - could not finalize loading


(snip)


link_elf_obj: symbol kern_kmq_open undefined
linker_load_file: /boot/kernel/linux.ko - unsupported file type
KLD nvidia.ko: depends on linux - not available or version mismatch
linker_load_file: /boot/modules/nvidia.ko - unsupported file type
KLD nvidia-modeset.ko: depends on nvidia - not available or version mismatch
linker_load_file: /boot/modules/nvidia-modeset.ko - unsupported file type


(snip)


link_elf_obj: symbol kern_kmq_open undefined
linker_load_file: /boot/kernel/linux.ko - unsupported file type
KLD nvidia.ko: depends on linux - not available or version mismatch
linker_load_file: /boot/modules/nvidia.ko - unsupported file type
KLD nvidia-drm.ko: depends on nvidia - not available or version mismatch


(snip)


linker_load_file: /boot/modules/nvidia-drm.ko - unsupported file type
link_elf_obj: symbol kern_kmq_open undefined
linker_load_file: /boot/kernel/linux.ko - unsupported file type
link_elf_obj: symbol kern_kmq_open undefined
linker_load_file: /boot/kernel/linux64.ko - unsupported file type


(snip)


link_elf_obj: symbol kern_kmq_open undefined
linker_load_file: /boot/kernel/linux.ko - unsupported file type
link_elf_obj: symbol kern_kmq_open undefined
linker_load_file: /boot/kernel/linux64.ko - unsupported file type
link_elf_obj: symbol RTSpinlockAcquire undefined
linker_load_file: /boot/modules/vboxnetflt.ko - unsupported file type

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.