[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 #30 from Tomoaki AOKI <[email protected]> ---
(In reply to Ivan Rozhuk from comment #29)
The final form should be to completely drop syscons / sc related codes.
But it's only for the time when ALL SUPPORTED BRANCHES DROPPED LEGACY SYSCONS.

I'm basically open how the fix is implemented, but mine would be the simplest.
What I should mandate is to allow admins to choose unsupporting sc or not, at
buildtime or boottime.

But allowing boottime selection would make things overly complicated.

I've once thought I should implement boottime selection using tunable, but
resigned as I cannot be 100% sure it's safe enough without touching proprietary
binary-only part to add something new under hw.nvidia, and clearly need patch
file, instead of REINPLACE_CMD.
(I'm not a nvidia insider, nor a person working with NDA to access binary only
parts of the source code and priviledged to commit to it.)

So OPTIONS or FLAVOR is needed until the transition (deletion) is finished.

And another things to mention is that nvidia sometimes pick patches from ports,
making needs to conditionalize to apply or not on ports side.

This is because I (maybe danfe@, too) basically prefer REINPLACE_CMD over patch
whenever I can implement. No-longer-applicalbe REINPLACE_CMD is simply ignored
(to be precise, runs, but does nothing without error), thus, no broken period.

And as sc driver was not removed before stable/15 branched, we have time at
least until 16.0. So I'll look closer into patches here once I can take enough
time for it.

-- 
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.