[Bug 216050] x11/nvidia-driver: kernel module fails on vt() to load: link_elf_obj: symbol sc_get_softc undefined

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

--- Comment #32 from Tomoaki AOKI <[email protected]> ---
(In reply to Ivan Rozhuk from comment #29)
I've started trying to merge the 2 patches you mentioned to understand what you
mean precisely (not finished). And already have some findings.

Removing os_get_screen_info() completely could be overkill.
Binary only parts of the upsrream driver package seems to have the symbol.
So at least vt related parts would better kept to be safe.

src/nvidia/nvidia_os.c cannot be patched always, as newer branch of the driver
moved the sc related codes to src/nvidia/nvidia_subr.c.

Not all branch of the driver have os_get_screen_info() in
src/nvidia/os-interface.h.

So at least conditionals are mandatory if using patch approach.

I'll keep on investigating.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list 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.