[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

Tomoaki AOKI <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #266772|                            |maintainer-approval?(x11@Fr
              Flags|                            |eeBSD.org)

--- Comment #18 from Tomoaki AOKI <[email protected]> ---
Created attachment 266772
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=266772&action=edit
Updated patch that switches to limited symbols to export

Compared precisely between nvidia.ko, nvidia-modeset.ko and nvidia-drm.ko.
Turned out that 8 symbols are common to nvidia.ko and nvidia-drm.ko.
nvidia-modeset.ko didn't actually needed to be patched.

So created patch to limit to those symbols instead of "EXPORT_SYMS=  YES".

As there's no need to rebuild graphics/nvidia-drm-*-kmod[-devel],
bumped PORTREVISION only for x11/nvidia-kmod[-devel] that need rebuilds.

Tested on stable/15 at commit base 4e48e50ea5982387a1c9f164953315f7fe1f76a3
and main at commit base 7685aaea8850f5b6995a17740a016019e0956c70,
with driver version 590.48.01 (now landed on main branch of ports tree).

Intentionally keep previous one to allow rolling back.

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