[Bug 296195] graphics/nvidia-drm-612-kmod, graphics/drm-612-kmod: General Protection Fault in __nv_drm_gem_nvkms_handle_vma_fault, lkpi_vmf_insert_pnf_prot_locked, vm_page_busy_acquire

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

Tomoaki AOKI <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from Tomoaki AOKI <[email protected]> ---
First of all, assuming you have main (aka latest) branch of ports tree, as you
have graphics/nvidia-drm-612-kmod that current quarterly 2026Q2 doesn't have.

What need to confirm first is:

Is your src tree 100% matches with running kernel?
  *If you installed src distribution of 15.1-RELEASE, it should match.

  *If you pulled src tree using git or gitup, it should be at the same
   commit, at 96841ea08dcf of releng/15.1 branch.

    
https://cgit.freebsd.org/src/commit/?h=releng/15.1&id=96841ea08dcfa84b954a32dc5ae1a26c28966cf4

If you've pulled src repo other than releng/15.1 branch for 15.1-RELEASE,
it would promissingly cause this kind of faults.
Not limiting with NVIDIA, DRM/KMS drivers are quite keen in running
version of LinuxKPI and source codes used to build kmod ports.
Depending on what the commit to LinuxKPI actually does, but in many cases,
differences even for single commit can cause fatal issues.


Another thing you've not yet written is how you're loading driver kmods.

If loading via /boot/loader.conf, stop it and move loadings
via kld_list variable in /etc/rc.conf as suggested in pkg-message.
Loading via /boot/loader.conf could truncate the loaded kmods
as of insufficient memory size allocated, thus, causing undefined behaviors.
This shouldn't happen when loaded via /etc/rc.conf.

Note that definitions of tunables you mentioned needs to be in
/boot/loader.conf, as it needs to be defined BEFORE DRIVER KMODS ARE LOADED.
Otherwise, driver kmods cannot pick the defined values on loads.

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