NVIDIA / NVIDIA/nvidia-installer

install nvidia driver success but execute `modprobe nvidia` get error

Open
#22 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
158
Forks
36
PR merge metrics
No merged PRs in 30d

Description

I try to install the NVIDIA driver in VM with Debian9 distro, after installing successful, I get an error when executing command modprobe nvidia, The output:

modprobe: ERROR: ../libkmod/libkmod.c:514 lookup_builtin_file() could not open builtin file '/lib/modules/5.10.25-nvidia-gpu/modules.builtin.bin'

Environment
OS:debian9 VM
uname -r: 5.10.25-nvidia-gpu
Driver Version: 470.94

Further information
I checked the file /lib/modules/5.10.25-nvidia-gpu/modules.builtin.bin, its size is zero,

-rw-r--r-- 1 root root    0 Apr 26 08:41 modules.builtin.bin

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing modprobe nvidia in the reported Debian 9 VM and inspect /lib/modules/5.10.25-nvidia-gpu/modules.builtin.bin, which the issue reports as zero bytes. Determine whether the installer or kernel-module setup leaves this file invalid; done means the NVIDIA module can be loaded without the reported lookup error.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.