[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 #28 from Tomoaki AOKI <[email protected]> ---
(In reply to Tomoaki AOKI from comment #27)
Updated patch at Bug277365 to adapt with current ports tree.
(Beware! Not here, to avoid confusion.)

Note that the patch introduces an OPTION "SYSCONS", ON by default.

Users who want to strip out sc driver needs to turn it OFF.
The patch handles graphics/nvidia-drm-*-kmod[-devel], too. It indirectly pulls
in opt_syscons.h, so removes it.

Why I've chosen OPTIONS is because even MINIMAL kernel on main (aka 16-Current)
has syscons by default and anyone who don't have sc driver in-kernel should
have compiled custom kernel, thus, absense of official pkg without sc support
cannot be a problem.

Not tested on kernels without syscons / sc, but tested both SYSCONS=ON and OFF
on stable/15, amd64 at commit 6f0d113e7ed804a59ef3e9ff1040ea86882a8391.

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